From the course: Build with AI: Creating AI Agents with OpenAI's Responses API

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Complete agent assembly

Complete agent assembly

- [Instructor] Until now, we have built all the individual pieces for our agent; connection to the company knowledge, CRM integration, time zone calculations, and right now they're separate capabilities, but now we bring everything together into one unified agent that can seamlessly combine all of these tools to provide comprehensive sales support. When we wrote our agent spec, we defined how our agent should work, for example, including behavioral guidelines, such as professionalism, conciseness, not making assumptions, and so on. So let us see how we can prompt our agent to respect these guidelines. In the chat interface, we have this section called Developer Message. And the developer message is a special instruction designed to guide the behavior of the model, and set the tone for its interactions. And it is supposed to be the most important instruction that the model considers before answering. And this is also known as a system prompt. So the developer message is the perfect…

Contents