Parameter | Type | Description |
---|---|---|
texts | List[str] | List of text strings to add to the store |
embedding | Union[str, Embeddings, SentenceTransformer] | Embedding model or model name |
metadatas | Optional[List[dict]] | (Optional) List of metadata dictionaries for each text |
**kwargs | Any | Additional arguments passed to constructor and add_texts |
Parameter | Type | Description |
---|---|---|
ids | List[str] | (Optional) IDs for the texts |
index_name | str | Name of the index (default: “langchain_index”) |
index_key | bytes | 32-byte encryption key (required) |
api_key | str | API key for CyborgDB (required) |
index_location | DBConfig | Index storage location (required) |
config_location | DBConfig | Config storage location (required) |
index_type | str | Index type (default: “ivfflat”) |
metric | str | Distance metric (default: “cosine”) |
CyborgVectorStore
: Initialized vector store with texts added
ValueError