#In the Conversations, I have the following data: • Direction: Inbound or Outbound • C

1 messages · Page 1 of 1 (latest)

rose badgeBOT
#
AI-generated Answer for lucasg.4472

To include this information in the agent's prompt you can use the dynamic conversation feature, which allows you to override the agent's configuration at the start of each conversation. This customization applies only to the current session and does not persist globally.

If you need to update the agent's system prompt dynamically based on the conversation data (e.g., Direction, Caller Number, Receiver Number), you can use the API to make a PATCH Update Agent request. However, keep in mind that changes to the system prompt must be set before the conversation starts, as mid-conversation updates will only take effect in the next session.

Additionally, if you need to update the agent settings during a session, you must make a separate API call, as agent settings cannot be updated through the same WebSocket connection used for user audio chunks and pong messages.

Let me know if you need further clarification!

lavish horizon
#

what are the system_ {{}} options we have?