How to add Functions in my assistant

hello, i would like my assistant could read, analyze and to interpret the files i upload (pdf, png, jpg…) do you know the code i should add in the “add function” of the tool section in playground? look at the attach, thank you
function

Functions are for local server procedures. See:

https://platform.openai.com/docs/api-reference/assistants/createAssistant#assistants-createassistant-tools

However, you’ve already ticked “Retrieval” and attached a file, so it should be available for interaction already without worrying about Functions for the time being.

HI @luiginewtrade refer to: Assistants API | Adding a file during run + submit_tool_outputs - API - OpenAI Developer Forum I did share the code to do it :slight_smile:

1 Like