Back to Prompt Library
implementation
Setup OpenAI Agent with Core Tools
Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.
Linked challenge: Real-time Voice Assistant with Personalized Context
Format
Code-aware
Lines
1
Sections
1
Linked challenge
Real-time Voice Assistant with Personalized Context
Prompt source
Original prompt text with formatting preserved for inspection.
1 lines
1 sections
No variables
0 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.
Adaptation plan
Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.
Keep stable
Hold the task contract and output shape stable so generated implementations remain comparable.
Tune next
Update libraries, interfaces, and environment assumptions to match the stack you actually run.
Verify after
Test failure handling, edge cases, and any code paths that depend on hidden context or secrets.