Skip to main content

Class: AzureAISearchVectorStore<T>

Azure AI Search vector store.

Extends

Type Parameters

T extends R

Constructors

new AzureAISearchVectorStore()

new AzureAISearchVectorStore<T>(options): AzureAISearchVectorStore<T>

Parameters

options: AzureAISearchOptions<T> & VectorStoreBaseParams

Returns

AzureAISearchVectorStore<T>

Overrides

BaseVectorStore.constructor

Defined in

packages/llamaindex/src/vector-store/azure/AzureAISearchVectorStore.ts:160

Properties

embedModel

embedModel: BaseEmbedding

Inherited from

BaseVectorStore.embedModel

Defined in

packages/llamaindex/src/vector-store/types.ts:92


flatMetadata

flatMetadata: boolean = false

Defined in

packages/llamaindex/src/vector-store/azure/AzureAISearchVectorStore.ts:148


isEmbeddingQuery?

optional isEmbeddingQuery: boolean

Inherited from

BaseVectorStore.isEmbeddingQuery

Defined in

packages/llamaindex/src/vector-store/types.ts:94


searchClient

searchClient: undefined | SearchClient<T>

Defined in

packages/llamaindex/src/vector-store/azure/AzureAISearchVectorStore.ts:136


storesText

storesText: boolean = true

Overrides

BaseVectorStore.storesText

Defined in

packages/llamaindex/src/vector-store/azure/AzureAISearchVectorStore.ts:135

Methods

add()

add(nodes): Promise<string[]>

Parameters

nodes: BaseNode<Metadata>[]

Returns

Promise<string[]>

Overrides

BaseVectorStore.add

Defined in

packages/llamaindex/src/vector-store/azure/AzureAISearchVectorStore.ts:704


client()

client(): undefined | SearchClient<T>

Returns

undefined | SearchClient<T>

Overrides

BaseVectorStore.client

Defined in

packages/llamaindex/src/vector-store/azure/AzureAISearchVectorStore.ts:700


delete()

delete(refDocId): Promise<void>

Parameters

refDocId: string

Returns

Promise<void>

Overrides

BaseVectorStore.delete

Defined in

packages/llamaindex/src/vector-store/azure/AzureAISearchVectorStore.ts:767


query()

query(query, options): Promise<VectorStoreQueryResult>

Parameters

query: VectorStoreQuery

options: ODataFiltersType = {}

Returns

Promise<VectorStoreQueryResult>

Overrides

BaseVectorStore.query

Defined in

packages/llamaindex/src/vector-store/azure/AzureAISearchVectorStore.ts:807