mit einem Klick
emdb-namespaces
// List and manage namespaces in EmergentDB. Use when the user wants to see their namespaces, organize vectors into groups, or understand namespace isolation.
// List and manage namespaces in EmergentDB. Use when the user wants to see their namespaces, organize vectors into groups, or understand namespace isolation.
View EmergentDB analytics and usage stats. Use when the user wants to check API usage, latency, errors, growth, or per-key stats.
Delete vectors from EmergentDB by ID. Use when the user wants to remove vectors, clean up data, or delete entries from the database.
Insert vectors into EmergentDB using the SDK. Use when the user wants to store embeddings, index documents, or batch upload vectors into EmergentDB.
Search for similar vectors in EmergentDB. Use when the user wants to query, find similar documents, or do semantic search against their vector database.
| name | emdb-namespaces |
| description | List and manage namespaces in EmergentDB. Use when the user wants to see their namespaces, organize vectors into groups, or understand namespace isolation. |
| allowed-tools | Bash, Read, Write, Edit |
Help the user work with namespaces to organize vectors into isolated groups.
import { EmergentDB } from "emergentdb";
const db = new EmergentDB("emdb_your_api_key");
// List all namespaces
const namespaces = await db.listNamespaces();
// ["default", "production", "staging"]
// Insert into a namespace (creates it automatically)
await db.insert(1, embedding, { title: "Doc" }, "production");
// Search within a namespace
const results = await db.search(queryVec, {
k: 10,
includeMetadata: true,
namespace: "production",
});
// Batch insert into a namespace
await db.batchInsert(vectors, "staging");
from emergentdb import EmergentDB
db = EmergentDB("emdb_your_api_key")
# List all namespaces
namespaces = db.list_namespaces()
# ["default", "production", "staging"]
# Insert into a namespace (creates it automatically)
db.insert(1, embedding, metadata={"title": "Doc"}, namespace="production")
# Search within a namespace
results = db.search(query_vec, k=10, include_metadata=True, namespace="production")
# Batch insert into a namespace
db.batch_insert(vectors, namespace="staging")
"default".listNamespaces() / list_namespaces() returns all namespaces for your account.| Plan | Vectors | Price |
|---|---|---|
| Free | 10,000 | $0/mo |
| Launch | 500,000 | $29/mo |
| Scale | 2,500,000 | $99/mo |
Namespaces share your account's total vector quota. Upgrade from the billing page.
from emergentdb import EmergentDB
db = EmergentDB("emdb_your_api_key")
# Separate environments by namespace
for doc in documents:
db.insert(doc["id"], doc["embedding"], metadata=doc["meta"], namespace="staging")
# Promote to production when ready
for doc in documents:
db.insert(doc["id"], doc["embedding"], metadata=doc["meta"], namespace="production")
When helping the user, suggest namespaces for organizing data by environment, tenant, or data type.