Skip to content

Variable: webSearchCitationSchema

const webSearchCitationSchema: ZodObject<{ snippet: ZodOptional<ZodString>; title: ZodOptional<ZodString>; url: ZodString; }, $strip>

Schema for a single source the model cited while answering.

  • url: The source URL the answer drew on.
  • title (optional): The source page title, when available.
  • snippet (optional): A short excerpt from the source, when available.