- During the call: Use awareness queries to focus the PAL’s live observations and registry tools to act on detected cues.
- After the call: Use
perception_analysis_queriesto shape the report delivered to your conversation callback.
Configuring the Perception Layer
Set these options in the PAL’slayers.perception object when you create or patch it.
perception_model
raven-2: Real-time emotional understanding from user audio, with improved camera and screen understanding for more context-aware responses. Raven-2 also introduces visual history within a conversation, dedicated screen-awareness queries and tools, and optional proactive callouts.raven-1(default): Real-time audio and visual perception, with limited screen understanding.off: Disables the perception layer.
Raven-2
Raven-2 helps your PAL follow what is happening now and refer back to what was shown earlier in the same call:- Live understanding: Camera and screen observations distinguish the latest visible state from recent changes. Audio perception supplies tone and emotional cues when enabled.
- Visual history: Camera and screen timelines let the PAL answer questions such as “What was the previous error?” or “Which object did I hold up first?”
- Dedicated screen perception:
screen_awareness_queriesfocus on shared-screen content, while tools withorigin: "screen"act on screen-specific cues. - Callouts: With
callouts: "on", the PAL can speak up about camera observations while the user is quiet. See Callouts.
perception_model still selects Raven-1:
layers.perception.perception_model to "raven-2", then start a new conversation.
During-call perception
Raven provides live perception without custom queries. Add awareness queries when the PAL should pay particular attention to something during the call. Their answers become context for the conversational LLM; they do not instruct it how to respond. Put response instructions in the PAL’ssystem_prompt.
Live analysis is available through the Utterance event as user_visual_analysis and user_audio_analysis. See custom LLM perception context for how observations and visual history reach your model.
Visual Perception Configuration
visual_awareness_queries
An array of questions evaluated against the camera feed during the call. For Raven-2 shared-screen content, use screen_awareness_queries instead.
Audio Perception Configuration
Raven-1 and Raven-2 analyze user tone and delivery. When emotion recognition is enabled, emotional cues also accompany utterances so the PAL can respond naturally. For example:audio_awareness_queries
An array of questions evaluated against the audio stream during the call. There is no separate post-call audio analysis report.
emotion_recognition
Controls whether Raven may infer emotion from biometric signals such as facial expression and tone of voice. See EU AI Act configuration.
full: Allows biometric emotion analysis.limited: Disables biometric-derived emotion analysis. Other cues, such as spoken content, objects, and activity, still flow through.auto(default): Follows the conversation’spolicy:limitedwhenpolicyiseu, otherwisefull.
Screen Perception Configuration (Raven-2)
We recommend Raven-2 for screen sharing. Limited screen perception remains available with Raven-1. A participant must start sharing their screen for Raven to observe it; see Screen Share.screen_awareness_queries
An array of questions evaluated against the shared screen during the call. Requires perception_model: "raven-2".
Perception tools
To trigger an action from a detected cue, create a registry tool and attach it to the PAL. Put the trigger conditions and extraction instructions in the tool’sdescription:
origin: "vision": Camera cues.origin: "audio": Audio cues.origin: "screen": Shared-screen cues; requires Raven-2.
Callouts (Raven-2)
Setcallouts to "on" to let the PAL proactively speak up about camera observations while the user is quiet. The default is "off". Enabling callouts requires perception_model: "raven-2".
Describe what to notice and what to say in the PAL’s top-level system_prompt, alongside layers when creating the PAL. visual_awareness_queries can focus its camera observations. For example:
Post-call perception analysis
Useperception_analysis_queries for a report generated after the conversation ends. These queries shape the report, rather than the PAL’s live behavior. The report combines visual observations, including shared-screen observations when available, with the transcript and its audio analysis.
perception_analysis_queries
An array of questions for the post-call report. For example, a support PAL can request a summary of the errors and pages shown during screen sharing:
Awareness queries are optional. You can request post-call analysis without setting
visual_awareness_queries or screen_awareness_queries. Post-call queries are not automatically converted into live awareness queries; add live queries only when you also want to focus the PAL’s observations during the call.application.perception_analysis event sent to your conversation callback. For example:
Legacy configuration
Existing integrations may still use separate perception tool-prompt fields. New integrations should put trigger conditions in the registry tool’sdescription; see legacy perception prompts.
Each awareness or post-call query and each legacy tool-prompt string has a 10,000-character limit. Longer entries are rejected by the API.

