Interface GeneratedResponseFormat

interface GeneratedResponseFormat {
    contentFormat?: ("text/plain" | "text/markdown")[];
}

Properties

Properties

contentFormat?: ("text/plain" | "text/markdown")[]

The content formats that are supported for rendering the answer. If no values are provided, text/plain is used. Formats:

  • text/plain: The answer can be streamed as plain text.
  • text/markdown: The answer can be streamed as a Markdown document.