Interface: VectorStore
Implemented by
Properties
isEmbeddingQuery
• Optional
isEmbeddingQuery: boolean
Defined in
storage/vectorStore/types.ts:62
storesText
• storesText: boolean
Defined in
storage/vectorStore/types.ts:61
Methods
add
▸ add(embeddingResults
): Promise
<string
[]>
Parameters
Name | Type |
---|---|
embeddingResults | BaseNode [] |
Returns
Promise
<string
[]>
Defined in
storage/vectorStore/types.ts:64
client
▸ client(): any
Returns
any
Defined in
storage/vectorStore/types.ts:63
delete
▸ delete(refDocId
, deleteKwargs?
): Promise
<void
>
Parameters
Name | Type |
---|---|
refDocId | string |
deleteKwargs? | any |
Returns
Promise
<void
>
Defined in
storage/vectorStore/types.ts:65
persist
▸ persist(persistPath
, fs?
): Promise
<void
>
Parameters
Name | Type |
---|---|
persistPath | string |
fs? | GenericFileSystem |
Returns
Promise
<void
>
Defined in
storage/vectorStore/types.ts:67
query
▸ query(query
, kwargs?
): Promise
<VectorStoreQueryResult
>
Parameters
Name | Type |
---|---|
query | VectorStoreQuery |
kwargs? | any |
Returns
Promise
<VectorStoreQueryResult
>