Provide Signals personalization context to the travel AI agent
You'll now personalize a chatbot experience by integrating Signals with an AI agent that uses OpenAI as the backend. The chatbot fetches user attributes via a tool call, allowing it to provide contextual, personalized responses based on the user's browsing behavior.
The demo site includes all necessary tools and SDKs, so you'll only need an OpenAI API key to implement this feature.
How it works
When a user asks the agent a question, the system fetches the attribute values for the user using the Signals API and uses these to modify the prompt sent to OpenAI. This allows personalized responses based on the user's preferences and behavior.
A toggle button on the chat widget allows you to enable or disable the tool call so you can see the difference in responses with and without Signals personalization.