• 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.

    The canonical instructions message is reported in gen_ai.system_instructions; later system/developer messages remain in place. Non-conversational items are skipped.

    Parameters

    • chatCtx: ChatContext

    Returns ChatMessagePayload[]

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

Settings

Member Visibility

Theme

LiveKit Agents
  • Loading...

Generated using TypeDoc