Skip to content

Instructor does not support multiple tool calls, use List[Model] instead #63

Closed Answered by ilanb
ilanb asked this question in Q&A
Discussion options

You must be logged in to vote

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,

    ... Thanks :-)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ilanb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant