This repository contains example code for Vectara.
- Notebooks used in our blog posts
- Examples for how to use Vectara with LlamaIndex, LangChain and DSPy.
A step-by-step tutorial series in notebooks/api-examples/ covering the Vectara API v2:
- Corpus Creation — Create and configure corpora
- Data Ingestion — Upload and index documents
- Query API — Search, retrieval, and generation
- Agent API — Build RAG agents
- Sub-Agents — Multi-agent orchestration
- Artifacts — Working with artifacts
- Lambda Tools for Data Analysis — NumPy/Pandas lambda tools for agent data analysis
- Reranker Instructions — Using reranker instructions with qwen3-reranker for role-based intent steering and jargon resolution