> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lyzn.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Vector DB Upsert

> Store text documents in a vector database for semantic search

# Vector DB Upsert

Store text documents in a vector database for semantic search

## Properties

| Property   | Value            |
| ---------- | ---------------- |
| **Type**   | vector-db-upsert |
| **Family** | Actions          |
| **Group**  | Database         |

## Parameters

| Name      | Label              | Type   | Description                                                                                            | Required |
| --------- | ------------------ | ------ | ------------------------------------------------------------------------------------------------------ | -------- |
| provider  | Vector DB Provider | Select | Choose the vector database provider                                                                    | Yes      |
| documents | Documents          | JSON   | Array of documents to upsert. Each should have: id (string), text (string), optional metadata (object) | Yes      |

## Outputs

| Name          | Label         | Type    | Description                     |
| ------------- | ------------- | ------- | ------------------------------- |
| upsertedCount | upsertedCount | number  | Number of documents upserted    |
| success       | success       | boolean | Whether the operation succeeded |
