Share via


AzureCosmosDBFieldMappingOptions Constructor

Definition

Initializes a new instance of AzureCosmosDBFieldMappingOptions.

public AzureCosmosDBFieldMappingOptions (System.Collections.Generic.IEnumerable<string> contentFieldNames, System.Collections.Generic.IEnumerable<string> vectorFieldNames);
new Azure.AI.OpenAI.AzureCosmosDBFieldMappingOptions : seq<string> * seq<string> -> Azure.AI.OpenAI.AzureCosmosDBFieldMappingOptions
Public Sub New (contentFieldNames As IEnumerable(Of String), vectorFieldNames As IEnumerable(Of String))

Parameters

contentFieldNames
IEnumerable<String>

The names of index fields that should be treated as content.

vectorFieldNames
IEnumerable<String>

The names of fields that represent vector data.

Exceptions

contentFieldNames or vectorFieldNames is null.

Applies to