Skip to main content
Adds text documents to the vector store with optional metadata.

Parameters

Returns

List[str]: List of IDs for the added texts

Example Usage

Exceptions

  • Throws if length of ids doesn’t match length of texts

Async

The Embedded and Python SDK provide async versions of this method prefixed with a:
JS/TS methods are natively async — all signatures above already return Promise<...>. No separate async variant is needed.