Class BaseReasoningDetail
java.lang.Object
co.elastic.clients.elasticsearch.inference.BaseReasoningDetail
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
EncryptedReasoningDetail,SummaryReasoningDetail,TextReasoningDetail
The base reasoning detail that includes common fields across different types
of reasoning details.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringformat()The format of the reasoning detail.final Stringid()The identifier of the reasoning detail.final Integerindex()The index of the reasoning detail, which indicates its position in the sequence of reasoning details generated by the model.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends BaseReasoningDetail.AbstractBuilder<BuilderT>>
voidsetupBaseReasoningDetailDeserializer(ObjectDeserializer<BuilderT> op) toString()
-
Constructor Details
-
BaseReasoningDetail
-
-
Method Details
-
format
The format of the reasoning detail.API name:
format -
id
The identifier of the reasoning detail.API name:
id -
index
The index of the reasoning detail, which indicates its position in the sequence of reasoning details generated by the model.API name:
index -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupBaseReasoningDetailDeserializer
protected static <BuilderT extends BaseReasoningDetail.AbstractBuilder<BuilderT>> void setupBaseReasoningDetailDeserializer(ObjectDeserializer<BuilderT> op)
-