Record Class EndpointMetadata

java.lang.Object
java.lang.Record
org.elasticsearch.inference.metadata.EndpointMetadata
Record Components:
heuristics - contains information so clients of the Inference API can determine which models should be used as defaults and presented to users in different scenarios.
internal - contains information that is only used within Elasticsearch. The internal information helps the Inference API know when it needs to update the preconfigured endpoints by tracking the upstream fingerprint and an internal version.
display - contains information for how to display the endpoint in user interfaces (descriptive name, etc).
All Implemented Interfaces:
Writeable, ToXContent, ToXContentObject

public record EndpointMetadata(EndpointMetadata.Heuristics heuristics, EndpointMetadata.Internal internal, EndpointMetadata.Display display) extends Record implements ToXContentObject, Writeable
Endpoint metadata contains descriptive information for an inference endpoint. This information allows an upstream service to communicate the features a particular model supports and other properties to help clients of the Inference API determine which model to use for defaults in different scenarios.

The Elastic Inference Service populates these fields so that Kibana and semantic text fields determine the correct defaults.