Class ChatCompletionMessage.Annotation.UrlCitation
-
- All Implemented Interfaces:
public final class ChatCompletionMessage.Annotation.UrlCitation
A URL citation when using web search.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionMessage.Annotation.UrlCitation.Builder
A builder for UrlCitation.
-
Method Summary
Modifier and Type Method Description final Long
endIndex()
The index of the last character of the URL citation in the message. final Long
startIndex()
The index of the first character of the URL citation in the message. final String
title()
The title of the web resource. final String
url()
The URL of the web resource. final JsonField<Long>
_endIndex()
The index of the last character of the URL citation in the message. final JsonField<Long>
_startIndex()
The index of the first character of the URL citation in the message. final JsonField<String>
_title()
The title of the web resource. final JsonField<String>
_url()
The URL of the web resource. final Map<String, JsonValue>
_additionalProperties()
final ChatCompletionMessage.Annotation.UrlCitation
validate()
final ChatCompletionMessage.Annotation.UrlCitation.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionMessage.Annotation.UrlCitation.Builder
builder()
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()
The index of the last character of the URL citation in the message.
-
_startIndex
final JsonField<Long> _startIndex()
The index of the first character of the URL citation in the message.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ChatCompletionMessage.Annotation.UrlCitation validate()
-
toBuilder
final ChatCompletionMessage.Annotation.UrlCitation.Builder toBuilder()
-
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()
-
-
-
-