AzureAIProjectsModelFactory.AIProjectIndexFieldMapping Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Field mapping configuration class.
public static Azure.AI.Projects.AIProjectIndexFieldMapping AIProjectIndexFieldMapping(System.Collections.Generic.IEnumerable<string> contentFields = default, string filepathField = default, string titleField = default, string urlField = default, System.Collections.Generic.IEnumerable<string> vectorFields = default, System.Collections.Generic.IEnumerable<string> metadataFields = default);
static member AIProjectIndexFieldMapping : seq<string> * string * string * string * seq<string> * seq<string> -> Azure.AI.Projects.AIProjectIndexFieldMapping
Public Shared Function AIProjectIndexFieldMapping (Optional contentFields As IEnumerable(Of String) = Nothing, Optional filepathField As String = Nothing, Optional titleField As String = Nothing, Optional urlField As String = Nothing, Optional vectorFields As IEnumerable(Of String) = Nothing, Optional metadataFields As IEnumerable(Of String) = Nothing) As AIProjectIndexFieldMapping
Parameters
- contentFields
- IEnumerable<String>
List of fields with text content.
- filepathField
- String
Path of file to be used as a source of text content.
- titleField
- String
Field containing the title of the document.
- urlField
- String
Field containing the url of the document.
- vectorFields
- IEnumerable<String>
List of fields with vector content.
- metadataFields
- IEnumerable<String>
List of fields with metadata content.
Returns
A new AIProjectIndexFieldMapping instance for mocking.