Class InferenceStringGroup

java.lang.Object
org.elasticsearch.inference.InferenceStringGroup
All Implemented Interfaces:
Writeable, ToXContent, ToXContentObject

public final class InferenceStringGroup extends Object implements Writeable, ToXContentObject
This class represents a group of one or more InferenceString which will produce a single embedding when passed to an embedding provider. Conceptually, this object is equivalent to a "content" object in the embedding request, e.g.
 "input": {
   "content": [
     {"type": "text", "format": "text", "value": "text input"},
     {"type": "image", "format": "base64", "value": "data:image/png;base64,..."}
   ]
 }