Update constant.ts

This commit is contained in:
Richard C Lim 2025-02-01 23:04:28 -05:00 committed by GitHub
parent d779b7b1d7
commit 5ce02fb933
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -175,7 +175,7 @@ export const OpenaiPath = {
export const Azure = { export const Azure = {
ChatPath: (deployName: string, apiVersion: string) => { ChatPath: (deployName: string, apiVersion: string) => {
return `${ExampleEndpoint}/chat/completions`; return `${this.ExampleEndpoint}/chat/completions`;
}, },
// https://<your_resource_name>.openai.azure.com/openai/deployments/<your_deployment_name>/images/generations?api-version=<api_version> // https://<your_resource_name>.openai.azure.com/openai/deployments/<your_deployment_name>/images/generations?api-version=<api_version>
ImagePath: (deployName: string, apiVersion: string) => ImagePath: (deployName: string, apiVersion: string) =>