data-enrichment icon indicating copy to clipboard operation
data-enrichment copied to clipboard

Authentication seems to be broken for OpenAI

Open tpcgold opened this issue 1 year ago • 1 comments

With OPENAI_API_KEY defined in .env and llm = "openai/gpt-4o" in the notebook

the template fails due to:

Image

tpcgold avatar Jan 16 '25 12:01 tpcgold

You need to set the Open AI model under Manage Assistants on the studio.

The error you are seeing is an auth error from Anthrophic and not Open AI. It seems that the ~~studio~~ config defaults this settings to a Claude model version and that needs to be updated to the correct one if you are using Open AI.

Edit: The default is applied in the data enrichment configuration here https://github.com/langchain-ai/data-enrichment/blob/028fd9a96a1179397df5748e06870c2269308f20/src/enrichment_agent/configuration.py#L18

omkarkhair avatar Mar 13 '25 17:03 omkarkhair