Class InferenceEndpoint.AbstractBuilder<BuilderT extends InferenceEndpoint.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.inference.InferenceEndpoint.AbstractBuilder<BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
InferenceEndpoint.Builder,InferenceEndpointInfo.AbstractBuilder,InferenceEndpointInfoAi21.AbstractBuilder,InferenceEndpointInfoAlibabaCloudAI.AbstractBuilder,InferenceEndpointInfoAmazonBedrock.AbstractBuilder,InferenceEndpointInfoAmazonSageMaker.AbstractBuilder,InferenceEndpointInfoAnthropic.AbstractBuilder,InferenceEndpointInfoAzureAIStudio.AbstractBuilder,InferenceEndpointInfoAzureOpenAI.AbstractBuilder,InferenceEndpointInfoCohere.AbstractBuilder,InferenceEndpointInfoContextualAi.AbstractBuilder,InferenceEndpointInfoCustom.AbstractBuilder,InferenceEndpointInfoDeepSeek.AbstractBuilder,InferenceEndpointInfoElasticsearch.AbstractBuilder,InferenceEndpointInfoELSER.AbstractBuilder,InferenceEndpointInfoGoogleAIStudio.AbstractBuilder,InferenceEndpointInfoGoogleVertexAI.AbstractBuilder,InferenceEndpointInfoHuggingFace.AbstractBuilder,InferenceEndpointInfoJinaAi.AbstractBuilder,InferenceEndpointInfoLlama.AbstractBuilder,InferenceEndpointInfoMistral.AbstractBuilder,InferenceEndpointInfoOpenAI.AbstractBuilder,InferenceEndpointInfoVoyageAI.AbstractBuilder,InferenceEndpointInfoWatsonx.AbstractBuilder
- Enclosing class:
- InferenceEndpoint
public abstract static class InferenceEndpoint.AbstractBuilder<BuilderT extends InferenceEndpoint.AbstractBuilder<BuilderT>>
extends WithJsonObjectBuilderBase<BuilderT>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BuilderTChunking configuration objectfinal BuilderTchunkingSettings(Function<InferenceChunkingSettings.Builder, ObjectBuilder<InferenceChunkingSettings>> fn) Chunking configuration objectprotected abstract BuilderTself()final BuilderTRequired - The service typefinal BuilderTserviceSettings(JsonData value) Required - Settings specific to the servicefinal BuilderTtaskSettings(JsonData value) Task settings specific to the service and task typeMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
AbstractBuilder
public AbstractBuilder()
-
-
Method Details
-
chunkingSettings
Chunking configuration objectAPI name:
chunking_settings -
chunkingSettings
public final BuilderT chunkingSettings(Function<InferenceChunkingSettings.Builder, ObjectBuilder<InferenceChunkingSettings>> fn) Chunking configuration objectAPI name:
chunking_settings -
service
Required - The service typeAPI name:
service -
serviceSettings
Required - Settings specific to the serviceAPI name:
service_settings -
taskSettings
Task settings specific to the service and task typeAPI name:
task_settings -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<BuilderT extends InferenceEndpoint.AbstractBuilder<BuilderT>>
-