Examples#
LlamaIndex provides a rich collection of examples demonstrating diverse use cases, integrations, and features. This page highlights key examples to help you get started.
In the navigation to the left, you will also find many example notebooks, displaying the usage of various llama-index components and use-cases.
Agents#
Build powerful AI assistants with LlamaIndex's agent capabilities:
- Function Calling Agent - Learn the basics of Function Calling Agents and
AgentWorkflow
- React Agent - Use the ReAct (Reasoning and Acting) pattern with agents
- Code Act Agent - Agents that can write and execute code
- Multi-Agent Workflow - Build a multi-agent workflow with
AgentWorkflow
You might also be interested in the general introduction to agents.
Agentic Workflows#
Use LlamaIndex Workflows to build agentic systems:
- Function Calling Agent from Scratch - Build a Function Calling agent from scratch
- React Agent from Scratch - Build a ReAct agent from scratch
- CodeAct Agent from Scratch - Build a CodeAct agent from scratch
- Basic RAG - Simple RAG workflow implementation
- Advanced Text-to-SQL - Use LlamaIndex to generate SQL queries and execute them
You might also be interested in the general introduction to agentic workflows.
LLM Integrations#
Connect with popular LLM providers:
- OpenAI - Use OpenAI models (GPT-3.5, GPT-4, etc.)
- Anthropic - Integrate with Claude models
- Bedrock - Work with Meta's Llama 3 models
- Gemini/Vertex - Use Google's Gemini/Vertex models
- Mistral - Integrate with Mistral AI models
- Ollama - Use Ollama models locally
You might also be interested in the general introduction to LLM in LlamaIndex.
Embedding Models#
Various embedding model integrations:
- OpenAI Embeddings - OpenAI's text embedding models
- Cohere Embeddings - Cohere's embedding models
- HuggingFace Embeddings - Use open-source embeddings from HuggingFace locally
- Jina Embeddings - Jina AI's embedding models
- Ollama Embeddings - Ollama's embedding models
Vector Stores#
Store and retrieve vector embeddings:
- Pinecone - Pinecone vector database integration
- Chroma - Chroma vector store
- Weaviate - Weaviate vector database
- Qdrant - Qdrant vector database
- MongoDB Atlas - MongoDB Atlas Vector Search
- Redis - Redis vector database
- Milvus - Milvus vector database
- Azure AI Search - Azure AI Search vector database
You might also be interested in the general introduction to vector stores and retrieval.