Templates
Discover building blocks across the AI ecosystem. Browse by repository folder in the Templates sidebar, or search by template class, name, package, and tags.
Generate embedded code chunks from repository documents.
Generate embedded `TextNode` objects from text documents.
A template that connects to a specified PostgreSQL `PGVectorStore` table and deletes all its contents.
A template that permanently drops (deletes) a specific `PGVectorStore` table from PostgreSQL.
Insert embedded `TextNode` objects into a PostgreSQL `PGVectorStore`.
Retrieve relevant nodes from PGVector and attach them to packet state.
Rerank retrieved LLM contexts with LlamaIndex's `SentenceTransformerRerank`.
Lookup cached LLM responses in PGVector and hydrate conversation packets on hits.
Write completed LLM responses into a PGVector-backed semantic cache.