Class TextReasoningDetail.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.inference.BaseReasoningDetail.AbstractBuilder<TextReasoningDetail.Builder>
co.elastic.clients.elasticsearch.inference.TextReasoningDetail.Builder
- All Implemented Interfaces:
WithJson<TextReasoningDetail.Builder>,ObjectBuilder<TextReasoningDetail>
- Enclosing class:
- TextReasoningDetail
public static class TextReasoningDetail.Builder
extends BaseReasoningDetail.AbstractBuilder<TextReasoningDetail.Builder>
implements ObjectBuilder<TextReasoningDetail>
Builder for
TextReasoningDetail.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aTextReasoningDetail.protected TextReasoningDetail.Builderself()The signature of the reasoning text, which can be used to verify the authenticity and integrity of the reasoning information provided by the model.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.AbstractBuilder
format, id, indexMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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 -
self
- Specified by:
selfin classBaseReasoningDetail.AbstractBuilder<TextReasoningDetail.Builder>
-
build
Builds aTextReasoningDetail.- Specified by:
buildin interfaceObjectBuilder<TextReasoningDetail>- Throws:
NullPointerException- if some of the required fields are null.
-