Module org.elasticsearch.xcore
Package org.elasticsearch.xpack.core.inference.results
package org.elasticsearch.xpack.core.inference.results
-
ClassDescriptionWrites a chat completion result in the following json format: { "completion": [ { "result": "some result 1" }, { "result": "some result 2" } ] }Writes a dense embedding result in the following json format.Writes a dense embedding result in the following json formatWrites a dense embedding result in the following json formatDenseEmbeddingResults<E extends EmbeddingResults.Embedding<E>>Abstract class from which other dense embedding bit result classes inherit their behaviourAbstract class from which other dense embedding byte result classes inherit their behaviourAbstract class from which other dense embedding float result classes inherit their behaviourEmbeddingResults<E extends EmbeddingResults.Embedding<E>>The results of a call to the inference service that contains embeddings (sparse or dense).A resulting embedding together with the offset into the input text.EmbeddingResults.Embedding<E extends EmbeddingResults.Embedding<E>>A resulting embedding for one of the input texts to the inference service.Writes a dense embedding result in the following json format.Writes a dense embedding result in the following json formatWrites a dense embedding result in the following json formatResponse for storing a model in the model registry using the bulk API.A record representing a document that has been ranked by the cohere rerank APIChat Completion results that only contain a Flow.Publisher.Chat Completion results that only contain a Flow.Publisher.Similar to
ElasticsearchWrapperException, this will wrap an Exception to generate an xContent usingElasticsearchException.generateFailureXContent(XContentBuilder, Params, Exception, boolean).