• Preparing search index...
  • The search index is not available
Arize Phoenix TS
  • Arize Phoenix TS
  • @arizeai/phoenix-client
  • schemas/llm/converters
  • toOpenAIChatPart

Function toOpenAIChatPart

  • toOpenAIChatPart(
        part: LLMMessagePart,
    ):
        | null
        | { text: string; type: "text" }
        | { image_url: { url: string }; type: "image_url" }

    Parameters

    • part: LLMMessagePart

    Returns
        | null
        | { text: string; type: "text" }
        | { image_url: { url: string }; type: "image_url" }

    • Defined in packages/phoenix-client/src/schemas/llm/converters.ts:124

Settings

Member Visibility
Arize Phoenix TS
  • Loading...

Generated using TypeDoc