Replies: 3 comments
-
Hey @Abhicurio! 👋 I'm here to help you with your coding conundrum. The error "Azure OpenAI API instance name not found" likely occurs because the const model = new AzureChatOpenAI({
azureADTokenProvider,
azureOpenAIApiDeploymentName: "text-embedding-model",
temperature: 0.9,
deploymentName: "text-embedding-model",
openAIApiVersion: process.env.OPENAI_API_VERSION,
openAIApiKey: process.env.AZURE_OPENAI_API_KEY,
openAIBasePath: "https://dev-curio.openai.azure.com/",
azureOpenAIApiInstanceName: process.env.AZURE_API_INSTANCE
}); Ensure that the environment variable
|
Beta Was this translation helpful? Give feedback.
-
i am stuck in same issue since 2 days if anyone know solution please let us know |
Beta Was this translation helpful? Give feedback.
-
you Azure OpenAI deployed service name |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
Iam trying to initialize the AzureChatOpenAI but I'm getting the error: "Azure OpenAI API instance name not found."
System Info
"@langchain/openai": "^0.0.33",
Beta Was this translation helpful? Give feedback.
All reactions