assistant = client.beta.assistants.create(
name=“PaperBot”,
instructions=“You are a Knowledge-bot. Use your knowledge to make best respond.”,
tools=[{“type”: “retrieval”, “function”: function}],
model=‘gpt-3.5-turbo-1106’,
file_ids=[file.id]
)
If i want to use both retrieval and function calling, is it possible?
I tried “type”: “retrieval, function”, but it occurred error.
And then i tried the way i wrote above, but during debugging, assistant doesn’t seem to use both, but acts like ‘retrieval’ only.
Perhaps I’ve missed something and assistant worked perfectly? or Assistant API doesn’t support multi-tools yet?
(Sorry for bad english…)