-
I try to replace OpenAI in deep_research exemple, but I'v this error after choice_agent choosing search ! INFO:root:Début du traitement de la question: Quels exemples de souffrance dans la vie des proph... any idea to fix this ? or a working exemple with Ollama ? client = instructor.from_openai(OpenAI(base_url=AGENT_OLLAMA_BASE_URL,api_key="ollama")), Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
process_user_question function if needed :-) `def process_user_question(user_message: str):
|
Beta Was this translation helpful? Give feedback.
-
Ok sorry for disturbing :-) client = instructor.from_openai(OpenAI(base_url=AGENT_OLLAMA_BASE_URL,api_key="ollama"),mode=instructor.Mode.JSON),
|
Beta Was this translation helpful? Give feedback.
Ok sorry for disturbing :-)
the good use is :
client = instructor.from_openai(OpenAI(base_url=AGENT_OLLAMA_BASE_URL,api_key="ollama"),mode=instructor.Mode.JSON),
model=AGENT_ATOMICAGENTS_MODEL,