Hey guys, for some reason I continously get this error for azure proxy integration with langchain js, anyone have any idea what im missing?
error:
{"attemptNumber":1,"code":"404","error":{"code":"404","message":"Resource not found"}, ...
const model = new ChatOpenAI({
azureOpenAIApiKey: "[AZURE_OPENAI_API_KEY]",
azureOpenAIApiDeploymentName: "openai/deployments/gpt-35-turbo",
azureOpenAIApiVersion: "2023-03-15-preview",
azureOpenAIBasePath: "https://oai.hconeai.com",
configuration: {
organization: "[organization_name]",
baseOptions: {
headers: {
"Helicone-Auth": `Bearer ${heliconeApiKey}`,
"Helicone-OpenAI-Api-Base":
"https://[YOUR_AZURE_DOMAIN].openai.azure.com",
},
},
},
});
I have organization name, heliconeApiKey and AzureDomain in there, anything else im mising?