Class ChatCompletionMessage.Annotation.UrlCitation
-
- All Implemented Interfaces:
public final class ChatCompletionMessage.Annotation.UrlCitationA URL citation when using web search.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatCompletionMessage.Annotation.UrlCitation.BuilderA builder for UrlCitation.
-
Method Summary
Modifier and Type Method Description final LongendIndex()The index of the last character of the URL citation in the message. final LongstartIndex()The index of the first character of the URL citation in the message. final Stringtitle()The title of the web resource. final Stringurl()The URL of the web resource. final JsonField<Long>_endIndex()Returns the raw JSON value of endIndex. final JsonField<Long>_startIndex()Returns the raw JSON value of startIndex. final JsonField<String>_title()Returns the raw JSON value of title. final JsonField<String>_url()Returns the raw JSON value of url. final Map<String, JsonValue>_additionalProperties()final ChatCompletionMessage.Annotation.UrlCitation.BuildertoBuilder()final ChatCompletionMessage.Annotation.UrlCitationvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionMessage.Annotation.UrlCitation.Builderbuilder()Returns a mutable builder for constructing an instance of UrlCitation. -
-
Method Detail
-
startIndex
final Long startIndex()
The index of the first character of the URL citation in the message.
-
_endIndex
final JsonField<Long> _endIndex()
Returns the raw JSON value of endIndex.
Unlike endIndex, this method doesn't throw if the JSON field has an unexpected type.
-
_startIndex
final JsonField<Long> _startIndex()
Returns the raw JSON value of startIndex.
Unlike startIndex, this method doesn't throw if the JSON field has an unexpected type.
-
_title
final JsonField<String> _title()
Returns the raw JSON value of title.
Unlike title, this method doesn't throw if the JSON field has an unexpected type.
-
_url
final JsonField<String> _url()
Returns the raw JSON value of url.
Unlike url, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ChatCompletionMessage.Annotation.UrlCitation.Builder toBuilder()
-
validate
final ChatCompletionMessage.Annotation.UrlCitation validate()
-
builder
final static ChatCompletionMessage.Annotation.UrlCitation.Builder builder()
Returns a mutable builder for constructing an instance of UrlCitation.
The following fields are required:
.endIndex() .startIndex() .title() .url()
-
-
-
-