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:153

Properties

embedModel

embedModel: BaseEmbedding

Inherited from

BaseVectorStore.embedModel

Defined in

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


flatMetadata

flatMetadata: boolean = true

Defined in

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


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:128


storesText

storesText: boolean = true

Overrides

BaseVectorStore.storesText

Defined in

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

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:801


client()

client(): undefined | SearchClient<T>

Returns

undefined | SearchClient<T>

Overrides

BaseVectorStore.client

Defined in

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


delete()

delete(refDocId): Promise<void>

Parameters

refDocId: string

Returns

Promise<void>

Overrides

BaseVectorStore.delete

Defined in

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


query()

query(query): Promise<VectorStoreQueryResult>

Parameters

query: VectorStoreQuery & object

Returns

Promise<VectorStoreQueryResult>

Overrides

BaseVectorStore.query

Defined in

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