Interface IInferenceProcessor
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IInferenceProcessor : IProcessor
Properties
| Edit this page View SourceFieldMap
Contains key-value pairs that specify the mapping of a text field to a vector field.
Key
being the name of the field from which to generate embeddings.Value
being the name of the vector field in which to store the generated embeddings.
Declaration
[DataMember(Name = "field_map")]
IInferenceFieldMap FieldMap { get; set; }
Property Value
Type | Description |
---|---|
IInferenceFieldMap |
ModelId
The ID of the model that will be used to generate the embeddings. The model must be deployed in OpenSearch before it can be used in neural search.
Declaration
[DataMember(Name = "model_id")]
string ModelId { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
For more information, see Using custom models within OpenSearch and Semantic search.