Class TextReasoningDetail
java.lang.Object
co.elastic.clients.elasticsearch.inference.BaseReasoningDetail
co.elastic.clients.elasticsearch.inference.TextReasoningDetail
- All Implemented Interfaces:
ReasoningDetailVariant,JsonpSerializable
@JsonpDeserializable
public class TextReasoningDetail
extends BaseReasoningDetail
implements ReasoningDetailVariant
The reasoning text detail includes plaintext reasoning with optional
signature verification.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.inference.BaseReasoningDetail
BaseReasoningDetail.AbstractBuilder<BuilderT extends BaseReasoningDetail.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TextReasoningDetail>Json deserializer forTextReasoningDetail -
Method Summary
Modifier and TypeMethodDescriptionReasoningDetail variant kind.static TextReasoningDetailrebuild()protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringThe signature of the reasoning text, which can be used to verify the authenticity and integrity of the reasoning information provided by the model.final Stringtext()The plaintext reasoning generated by the model, which provides a detailed explanation of the model's reasoning process in human-readable form.Methods inherited from class co.elastic.clients.elasticsearch.inference.BaseReasoningDetail
format, id, index, serialize, setupBaseReasoningDetailDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.json.JsonpSerializable
serializeMethods inherited from interface co.elastic.clients.elasticsearch.inference.ReasoningDetailVariant
_toReasoningDetail
-
Field Details
-
_DESERIALIZER
Json deserializer forTextReasoningDetail
-
-
Method Details
-
of
public static TextReasoningDetail of(Function<TextReasoningDetail.Builder, ObjectBuilder<TextReasoningDetail>> fn) -
_reasoningDetailKind
ReasoningDetail variant kind.- Specified by:
_reasoningDetailKindin interfaceReasoningDetailVariant
-
signature
The signature of the reasoning text, which can be used to verify the authenticity and integrity of the reasoning information provided by the model.API name:
signature -
text
The plaintext reasoning generated by the model, which provides a detailed explanation of the model's reasoning process in human-readable form.API name:
text -
serializeInternal
- Overrides:
serializeInternalin classBaseReasoningDetail
-
rebuild
- Returns:
- New
TextReasoningDetail.Builderinitialized with field values of this instance
-
setupTextReasoningDetailDeserializer
protected static void setupTextReasoningDetailDeserializer(ObjectDeserializer<TextReasoningDetail.Builder> op)
-