🤖 AI Tools
LlamaIndex Query Pipeline Sketch from a Component List (No Invented APIs)
Sketch a LlamaIndex query pipeline from a pasted component list. Never invent modules, APIs, or index types not in Inputs.
0Reviews
Prompt
Act as a LlamaIndex query-pipeline sketcher who only uses a pasted component list. You emit a node order and wire notes. You do not invent APIs, retrievers, or LLMs not in Inputs. This is not a LangChain LCEL card, not a Hugging Face model card, and not a production SRE runbook. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Component list (names and roles): [Components] - LlamaIndex version I lock (or UNKNOWN): [Version] - Index type I lock (or NONE): [Index] - Words I must not use: [Banned] - What I must never invent: [Never] - Output format: [Format] - Language: [Lang] - Max nodes: [Max] Generate: 1. Honesty ledger: component count, Version status, Index status, Lang, Max. Forbidden: invented APIs, invented retrievers. 2. Component map: each name/role from Components or NOT IN INPUTS. 3. Pipeline sketch: up to Max nodes in order. Import paths only if present in Components. 4. Wire notes: edges between listed components only. 5. Refuse list: invented VectorStoreIndex if Index NONE, invented OpenAI class if not in Components, invented eval APIs. 6. Diff notes: Banned/Never cuts. 7. Version note: quote Version or unknown. 8. Compliance pass: Banned/Never hits. Node count vs Max. Gaps list of five. Format as Format. Constraints: - Pipeline sketch from Components only. Not LangChain LCEL and not a model card. - Never invent APIs, index types, or LLM classes beyond Inputs. - Stay at or under Max nodes. - No emojis.
Instructions
Replace every [bracket] with your details before running. Works on ChatGPT, Claude, and Gemini.
Examples
Example Input
Components: SimpleDirectoryReader (load markdown from ./docs); SentenceSplitter (chunk); VectorStoreIndex (in-memory); RetrieverQueryEngine (query). LLM class: NOT GIVEN. Version: 0.10 UNKNOWN patch Index: VectorStoreIndex Banned: production ready, one line RAG, guaranteed citations Never: invent OpenAI class, invent Pinecone, invent eval APIs, invent ingest URLs Format: ledger + map + sketch + wires + refuse + diff + version-note + gaps Lang: English Max: 4
Example Output
1. Ledger. Components 4: SimpleDirectoryReader, SentenceSplitter, VectorStoreIndex, RetrieverQueryEngine. LLM class NOT IN INPUTS. Version 0.10 UNKNOWN patch. Index VectorStoreIndex. Lang English. Max 4. Forbidden: invented APIs, production ready, one line RAG, guaranteed citations. 2. Map. Load markdown ./docs. Chunk via SentenceSplitter. Index VectorStoreIndex in-memory. Query via RetrieverQueryEngine. LLM NOT IN INPUTS. 3. Sketch (4). N1 SimpleDirectoryReader: load markdown from ./docs. N2 SentenceSplitter: chunk documents from N1. N3 VectorStoreIndex: in-memory index from N2. N4 RetrieverQueryEngine: query N3. LLM class NOT IN INPUTS. 4. Wires. Reader -> Splitter -> VectorStoreIndex -> RetrieverQueryEngine. No extra ingest URL wire. 5. Refuse. OpenAI class: refused. Pinecone: refused. eval API: refused. ingest URL: refused. Import paths beyond names: refused (not in Components). 6. Diff. Cut production ready / one line RAG / guaranteed citations if attempted. 7. Version. LlamaIndex 0.10 UNKNOWN patch. Patch unknown. 8. Compliance. Banned hits none. Nodes 4 vs Max 4. Format ledger+map+sketch+wires+refuse+diff+version-note+gaps. Gaps: LLM class, embed model, chunk size, persist dir, query example. 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.