Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ feat(api.ts): add support for Azure OpenAI API #167

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
🔇 chore(AzureOpenAI.ts): remove console.log statement and translate J…
…apanese comment

The commented console.log statement was removed to improve code cleanliness.
  • Loading branch information
takuya-o committed May 7, 2023
commit 7613473b23630b00ef1316a94e41827259eb4987
3 changes: 1 addition & 2 deletions src/utils/AzureOpenAI.ts
Original file line number Diff line number Diff line change
@@ -53,10 +53,9 @@ export class AzureOpenAIApi extends BaseAPI {
...options.params,
}

// Azure OpenAI APIのREST call
// Azure OpenAI API REST call
const response = await this.axios.post(url, createChatCompletionRequest, options);

// console.log(response.data.usage);
return response;
}