From aa4230b6aedfe26c2d657424fa82ed3af8029bb7 Mon Sep 17 00:00:00 2001 From: Hiroshi Yoshioka <40815708+hyoshioka0128@users.noreply.github.com> Date: Sat, 25 Jan 2025 01:08:56 +0900 Subject: [PATCH] =?UTF-8?q?Update=20README.md=20(Typo=20"Azure=20Open=20AI?= =?UTF-8?q?=20api"=E2=86=92"Azure=20OpenAI=20API")?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/microsoft/NeuralInvariantRanker/blob/main/README.md #PingMSFTDocs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 76e0c2b..fa929c0 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ python data/get_initial_embeddings.py \ --token_per_minute TOKEN_PER_MINUTE \ --output_dir ``` -Note that, this script can both use [OpenAI api](https://github.com/openai/openai-python/releases/tag/v1.4.0) and [Azure OpenAI api](https://learn.microsoft.com/en-us/azure/ai-services/openai/overview). For using OpenAI api, the API key must be exported as `OPENAI_API_KEY` environment variable. Run `export OPENAI_API_KEY=`. For using Azure Open AI api, a azure config json file is needed with the above script (`--azure_config`). The Config file should be formatted as, +Note that, this script can both use [OpenAI API](https://github.com/openai/openai-python/releases/tag/v1.4.0) and [Azure OpenAI API](https://learn.microsoft.com/en-us/azure/ai-services/openai/overview). For using OpenAI API, the API key must be exported as `OPENAI_API_KEY` environment variable. Run `export OPENAI_API_KEY=`. For using Azure OpenAI API, a azure config json file is needed with the above script (`--azure_config`). The Config file should be formatted as, ```json { "API_BASE": "",