Back to catalog
Cortexa research tool·cs ml·embedding
Embedding Database Add
Append documents to an existing per-collection datastore (<name>.db + <name>.faiss). Uses the same L2-normalized cosine setup. Enforces model/dimension consistency with the collection.
Livelast probed 2026-04-30 23:07Z· 110msCortexa
Status
The most recent probe succeeded. Safe to call from the agent today.
- Last probed
- 1d ago
- Last success
- 1d ago
- Last latency
- 110ms
Schema
JSON Schema the agent (or your API call) must match.
{
"properties": {
"action": {
"const": "add_docs",
"type": "string"
},
"database_name": {
"description": "Existing collection/database name",
"type": "string"
},
"documents": {
"description": "List of new document texts to embed and add",
"items": {
"type": "string"
},
"maxItems": 10000,
"minItems": 1,
"type": "array"
},
"metadata": {
"default": [],
"description": "Optional metadata per document (must match length of documents if provided)",
"items": {
"type": "object"
},
"type": "array"
},
"model": {
"description": "Embedding model/deployment id override. If omitted, uses collection model or env default.",
"type": "string"
},
"provider": {
"description": "Embedding backend override. If omitted, falls back to collection/env.",
"enum": [
"openai",
"azure",
"huggingface",
"local"
],
"type": "string"
}
},
"required": [
"database_name",
"documents"
],
"type": "object"
}Examples (1)
Default Embedding Database Add call
public-safeinput
{
"database_name": "",
"documents": [],
"metadata": []
}Expected response keys: success
Anonymous-safe example. Rate-limited; no sign-in required.
Identifiers
- Catalog ID
- tu_embedding_database_add
- Tool name
- embedding_database_add
- Added
- 2026-04-30 22:47Z
- Tags
- tooluniverse