• Preparing search index...
  • The search index is not available
LiveKit Agents
  • LiveKit Agents
  • agents
  • telemetry
  • genAI
  • toInputMessages

Function toInputMessages

  • toInputMessages(chatCtx): ChatMessagePayload[]
  • gen_ai.input.messages — the conversation history, in the order it was sent.

    system/developer messages are reported in gen_ai.system_instructions instead, and non-conversational items (agent handoffs, config updates) are skipped.

    Parameters

    • chatCtx: ChatContext

    Returns ChatMessagePayload[]

    • Defined in agents/src/telemetry/gen_ai.ts:190

Settings

Member Visibility

Theme

LiveKit Agents
  • Loading...

Generated using TypeDoc