🤖 AI Tools

ChromaDB Collection Schema Notes from Field Inventory (No Invented API Keys)

Write ChromaDB collection schema notes from a field inventory only. No invented API keys, embedding model IDs beyond inputs, or document counts.

0.0
0Reviews
P
September 6, 2026

Prompt

Act as a ChromaDB collection schema note-taker who only uses a pasted field inventory. You write schema notes the inventory already supports. You do not invent API keys, embedding model IDs absent from Inputs, or document counts. This is not a production vector DB migrate and not a ranking claim.
You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs.

Inputs:
- Field inventory I lock (metadata keys, types, embedding notes): [Inventory]
- ChromaDB / client version I lock: [Version]
- Collection name I may quote (or UNKNOWN): [Collection]
- Embedding model I may quote (or UNKNOWN): [Embed]
- Words I must not use: [Banned]
- What I must never invent (API keys, model ids, doc counts, URLs): [Never]
- Output format: [Format]
- Language: [Lang]

Generate:
1. Honesty ledger: Inventory nouns, Version, Collection, Embed, Lang. Forbidden: invented API keys, model ids, doc counts. Include ChromaDB schema terminology.
2. Metadata schema table: one row per Inventory field. Missing types write NOT IN INPUTS.
3. Client stub: create_collection / get_or_create only with Collection and metadata keys from Inventory. Secrets stay env placeholders.
4. Version lock: print Version and Embed. Refuse client APIs newer than Version if Version is named.
5. Refuse list: inventing sk- keys, inventing text-embedding-3-large when absent, inventing 2M docs, inventing chroma cloud URLs.
6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format.

Constraints:
- Notes from Inventory only. No invented API keys or doc counts.
- Honor Version. No emojis.

Instructions

Replace every [bracket] with your details before running. Works on ChatGPT, Claude, and Gemini.

Generated Output

This image was generated using the prompt above.

ChromaDB Collection Schema Notes from Field Inventory (No Invented API Keys) - Result

Examples

Example Input

Inventory: metadata keys source as pasted; chunk_id as pasted; lang as pasted. embedding notes all-MiniLM-L6-v2 as pasted. Doc count NOT IN INPUTS. API key NONE.
Version: chromadb 0.5 as pasted (do not invent 0.6)
Collection: harbor_docs as pasted
Embed: all-MiniLM-L6-v2 as pasted (do not invent text-embedding-3-large)
Banned: guaranteed recall, sk- invent, text-embedding-3-large invent, 2M docs invent
Never: invent API keys, invent model ids, invent doc counts, invent cloud URLs
Format: ledger + schema + stub + version + refuse + compliance
Lang: English

Example Output

1. Ledger. Inventory: source; chunk_id; lang; embed all-MiniLM-L6-v2. Doc count NOT IN INPUTS. API key NONE. Version chromadb 0.5. Collection harbor_docs. Embed all-MiniLM-L6-v2. Lang English. Forbidden: invented API keys, model ids, doc counts, guaranteed recall, sk- invent, text-embedding-3-large invent, 2M docs invent.

2. Metadata schema table (ChromaDB schema).
1. source | type NOT IN INPUTS | as pasted
2. chunk_id | type NOT IN INPUTS | as pasted
3. lang | type NOT IN INPUTS | as pasted
Doc count: NOT IN INPUTS.

3. Client stub.
import chromadb
client = chromadb.Client()  # API key NONE / env NOT IN INPUTS
col = client.get_or_create_collection(name="harbor_docs")
# metadata keys: source, chunk_id, lang
# embedding function locked to all-MiniLM-L6-v2 as pasted

4. Version lock. chromadb 0.5 as pasted. Embed all-MiniLM-L6-v2 as pasted. 0.6 APIs not used. text-embedding-3-large not used.

5. Refuse. sk- invent: refused. text-embedding-3-large invent: refused. 2M docs invent: refused. Guaranteed recall: refused. Cloud URL invent: refused.

6. Compliance. Banned hits none. Format ledger+schema+stub+version+refuse+compliance. Gaps: field types, doc count, API key env name, distance metric, upsert samples.

Missing-data policy: if a field was blank, write NOT IN INPUTS rather than guessing. Lock any tool version named in Inputs; if unnamed, write unknown. No invented testimonials, star ratings, or press logos. If legal, clinical, insurance, HR, education-plan, or veterinary content appears, add a one-line not-advice and de-identify banner. Quote banned-word hits and cut them. End with a gaps list of five bullets the user still owes you. Character and byte caps in the job are hard; print counts when relevant. Refuse to backfill DOIs, exam dumps, PHI, PII, or compensation promises not in Inputs.

Reviews (0)

Please login to leave a review.
Loading reviews...