Package com.openai.models.responses
Class ResponseTextAnnotationDeltaEvent.Builder
-
- All Implemented Interfaces:
public final class ResponseTextAnnotationDeltaEvent.Builder
A builder for ResponseTextAnnotationDeltaEvent.
-
-
Method Summary
-
-
Method Detail
-
annotation
final ResponseTextAnnotationDeltaEvent.Builder annotation(ResponseTextAnnotationDeltaEvent.Annotation annotation)
A citation to a file.
-
annotation
final ResponseTextAnnotationDeltaEvent.Builder annotation(JsonField<ResponseTextAnnotationDeltaEvent.Annotation> annotation)
A citation to a file.
-
annotation
final ResponseTextAnnotationDeltaEvent.Builder annotation(ResponseTextAnnotationDeltaEvent.Annotation.FileCitation fileCitation)
A citation to a file.
-
annotation
final ResponseTextAnnotationDeltaEvent.Builder annotation(ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation urlCitation)
A citation for a web resource used to generate a model response.
-
annotation
final ResponseTextAnnotationDeltaEvent.Builder annotation(ResponseTextAnnotationDeltaEvent.Annotation.FilePath filePath)
A path to a file.
-
annotationIndex
final ResponseTextAnnotationDeltaEvent.Builder annotationIndex(Long annotationIndex)
The index of the annotation that was added.
-
annotationIndex
final ResponseTextAnnotationDeltaEvent.Builder annotationIndex(JsonField<Long> annotationIndex)
The index of the annotation that was added.
-
contentIndex
final ResponseTextAnnotationDeltaEvent.Builder contentIndex(Long contentIndex)
The index of the content part that the text annotation was added to.
-
contentIndex
final ResponseTextAnnotationDeltaEvent.Builder contentIndex(JsonField<Long> contentIndex)
The index of the content part that the text annotation was added to.
-
itemId
final ResponseTextAnnotationDeltaEvent.Builder itemId(String itemId)
The ID of the output item that the text annotation was added to.
-
itemId
final ResponseTextAnnotationDeltaEvent.Builder itemId(JsonField<String> itemId)
The ID of the output item that the text annotation was added to.
-
outputIndex
final ResponseTextAnnotationDeltaEvent.Builder outputIndex(Long outputIndex)
The index of the output item that the text annotation was added to.
-
outputIndex
final ResponseTextAnnotationDeltaEvent.Builder outputIndex(JsonField<Long> outputIndex)
The index of the output item that the text annotation was added to.
-
type
final ResponseTextAnnotationDeltaEvent.Builder type(JsonValue type)
The type of the event. Always
response.output_text.annotation.added
.
-
additionalProperties
final ResponseTextAnnotationDeltaEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseTextAnnotationDeltaEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseTextAnnotationDeltaEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseTextAnnotationDeltaEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseTextAnnotationDeltaEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseTextAnnotationDeltaEvent build()
-
-
-
-