Setup OpenAI Agent with Core Tools

implementationChallenge

Prompt Content

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.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations