KnowledgeSourceVectorizer Class

  • java.lang.Object
    • com.azure.search.documents.knowledgebases.models.KnowledgeSourceVectorizer

Implements

public class KnowledgeSourceVectorizer
implements JsonSerializable<KnowledgeSourceVectorizer>

Specifies the vectorization method to be used for knowledge source embedding model.

Constructor Summary

Constructor Description
KnowledgeSourceVectorizer()

Creates an instance of KnowledgeSourceVectorizer class.

Method Summary

Modifier and Type Method and Description
static KnowledgeSourceVectorizer fromJson(JsonReader jsonReader)

Reads an instance of KnowledgeSourceVectorizer from the JsonReader.

VectorSearchVectorizerKind getKind()

Get the kind property: The name of the kind of vectorization method being configured for use with vector search.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

KnowledgeSourceVectorizer

public KnowledgeSourceVectorizer()

Creates an instance of KnowledgeSourceVectorizer class.

Method Details

fromJson

public static KnowledgeSourceVectorizer fromJson(JsonReader jsonReader)

Reads an instance of KnowledgeSourceVectorizer from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of KnowledgeSourceVectorizer if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the KnowledgeSourceVectorizer.

getKind

public VectorSearchVectorizerKind getKind()

Get the kind property: The name of the kind of vectorization method being configured for use with vector search.

Returns:

the kind value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to