Helicone Community Page

Home
Members
Outr3ach
O
Outr3ach
Offline, last seen 2 months ago
Joined August 29, 2024
Hey guys, just curious if this is because you need to add some extra functionality to support fine tuned models from openAI or what but all my custom model calls show this
4 comments
a
J
O
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"}, ...

Plain Text
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?
5 comments
O
C
J