Skip to main content
Loading navigation

Setup OpenAI Agent with Core Tools

Prompt source

implementation1 lines1 sectionsNo variables0 checklist items
Initialize your OpenAI Assistant (Agent) using the OpenAI Assistants API. Define a set of initial tools that the agent can use. These should include a custom 'retrieve_user_profile' function (simulating Featuretools output) and a 'knowledge_base_lookup' function. Use `gpt-4o` as the underlying model. Provide Python code for agent initialization and tool definition.