Replies: 3 comments 1 reply
-
It looks like the issue might be related to the endpoint or request format used in your Python code compared to the Here are steps to troubleshoot and align your Python code with the
If after these checks you're still facing issues, consider providing more details about the error message and the version of the Sources
|
Beta Was this translation helpful? Give feedback.
-
Have the same problem |
Beta Was this translation helpful? Give feedback.
-
Add constructor arguments llm = OpenAILike(model=OPENAI_API_MODEL,api_base=OPENAI_API_BASE,api_key=OPENAI_API_KEY,is_chat_model=True) |
Beta Was this translation helpful? Give feedback.
-
I tried to use the
OpenAILike
, but I am getting a404
. I used the code provided in the documentation. I am using Ollama in my local environment. I tested ollama with the openAI compatibility using curl and had no issues.Error
Curl ✅
The Ref Code ❌
Beta Was this translation helpful? Give feedback.
All reactions