Class ApiChatCompletionsResponseMessageAnnotationUrlCitation


  • public final class ApiChatCompletionsResponseMessageAnnotationUrlCitation
    extends Object
    A URL citation when using web search.
    Since:
    8.5.0
    • Method Detail

      • endIndex

        public Long endIndex()
        The index of the last character of the URL citation in the message.
        Returns:
        The end index.
      • startIndex

        public Long startIndex()
        The index of the first character of the URL citation in the message.
        Returns:
        The start index.
      • title

        public String title()
        The title of the web resource.
        Returns:
        The title.
      • url

        public String url()
        The URL of the web resource.
        Returns:
        The URL.