🤖 AI Tools
LangChain Retriever Config Notes from Index Inventory (No Invented API Keys)
Write LangChain retriever config notes from an index inventory only. No invented API keys, collection IDs, or embedding dimensions beyond the inventory.
0Reviews
Prompt
Act as a LangChain retrieval engineer who only uses a pasted vector index inventory. You write retriever config notes the inventory already supports. You do not invent API keys, collection IDs, embedding dimensions, or top-k values that are not in Inputs. This is not a production RAG deploy and not a security audit. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Index inventory I lock (collection names, embedding model notes, filters): [Inventory] - LangChain / vectorstore version notes I lock: [Version] - Retriever name I may quote (or UNKNOWN): [Retriever] - Top-k I may quote (or UNKNOWN): [TopK] - Words I must not use: [Banned] - What I must never invent (API keys, collection ids, dims, fake citations): [Never] - Output format: [Format] - Language: [Lang] Generate: 1. Honesty ledger: Inventory nouns, Version, Retriever, TopK, Lang. Forbidden: invented API keys, collection ids, dims, fake citations. Banner: not a production RAG deploy; not a security audit. 2. Config table: one row per Inventory collection. Missing embedding notes write NOT IN INPUTS. 3. Retriever stub: only fields supported by Inventory, Retriever, TopK, Version. Unknowns stay NOT IN INPUTS comments. 4. Version lock: print Version. Refuse APIs newer than Version if Version is named. 5. Refuse list: inventing sk- keys, inventing collection UUIDs, inventing dim 1536 when absent, inventing source DOIs. 6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format. Constraints: - Notes from Inventory only. No invented API keys or collection IDs. - 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.

Examples
Example Input
Inventory: collection harbor_dock_ops embedding text-embedding-3-small as pasted; metadata filter harbor_site as pasted. Dim NOT IN INPUTS. Second collection NONE. Version: langchain 0.2 as pasted with chroma notes as pasted (do not invent 0.3-only) Retriever: harbor_ops_retriever as pasted TopK: 4 as pasted Banned: guaranteed recall, sk- invent, collection UUID invent, dim 1536 invent, DOI invent Never: invent API keys, invent collection ids, invent dims, invent fake citations Format: ledger + table + stub + version + refuse + compliance Lang: English
Example Output
1. Ledger. Inventory: harbor_dock_ops; embedding text-embedding-3-small; filter harbor_site. Dim NOT IN INPUTS. Second collection NONE. Version langchain 0.2 + chroma notes. Retriever harbor_ops_retriever. TopK 4. Lang English. Banner: not a production RAG deploy; not a security audit. Forbidden: invented API keys, collection ids, dims, fake citations, guaranteed recall, sk- invent, collection UUID invent, dim 1536 invent, DOI invent. 2. Config table. 1. harbor_dock_ops | embedding text-embedding-3-small as pasted | filter harbor_site as pasted | dim NOT IN INPUTS. Second collection NONE so no second row. API keys not listed. 3. Retriever stub. name=harbor_ops_retriever; search_kwargs k=4 as pasted; collection=harbor_dock_ops; filter=harbor_site. Collection UUID NOT IN INPUTS. Embedding dim NOT IN INPUTS. 4. Version lock. langchain 0.2 as pasted. 0.3-only APIs not used. 5. Refuse. sk- invent: refused. Collection UUID invent: refused. Dim 1536 invent: refused. DOI invent: refused. Guaranteed recall: refused. 6. Compliance. Banned hits none. Format ledger+table+stub+version+refuse+compliance. Gaps: embedding dim, collection UUID, API key storage, second collection decision, score threshold. 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.