LlamaIndex

LlamaIndex Apr 23, 2024

LlamaIndex Newsletter 2024-04-23

Hello LlamaIndex Community! 🦙

Welcome to another thrilling weekly update from LlamaWorld! We're excited to bring you a variety of outstanding updates, including Cookbooks, demos, guides, and tutorials.

🤩 The highlights:

  • MistralAI's 8x22b Model Cookbook: Released cookbook for MistralAI's 8x22b model with detailed guidance on RAG, query routing, and tool applications. Docs, Tweet.
  • Llama 3 Model Cookbook: A comprehensive cookbook for Meta's Llama 3 model from simple prompt runs to complex RAG pipeline, agents and tools, accessible directly from Hugging Face. Docs, Tweet.
  • create-llama Llama 3 template: create-llama template for Meta's Llama 3 to quickly start building full-stack LLM applications using the nextjs-llama3 template with a single CLI command. Tweet.

✨ Feature Releases and Enhancements:

  1. We have released a cookbook for the latest MistralAI model, the powerful 8x22b, which sets a new standard for open models. The cookbook covers RAG, query routing, and tool use cases. Docs, Tweet.
  2. We have released a cookbook for latest Meta's new Llama 3 model, available directly from Hugging Face. This guide covers everything from running basic prompts to setting up a full RAG pipeline, agents and tools. Docs, Tweet.
  3. We have introduced a template for integrating Meta's Llama 3 in create-llama. Simply run npx create-llama and select the nextjs-llama3 template to build full-stack LLM application with Llama 3 in one CLI command. Tweet.

🎥 Demos:

  • Open Source AI Diagram Generator by Rohan using LlamaIndex's Pydantic program with partial JSON parsing and Vercel AI SDK to generate and stream diagrams dynamically for an enhanced user experience.
  • DREAM: A Distributed RAG Experimentation Framework by Aishwarya Prabhat, featuring a full-stack blueprint for optimizing RAG setups in a distributed environment. This setup includes Ray for computing, LlamaIndex for advanced techniques, Ragas for synthetic data, MinIO, MLflow, Project Jupyter, and ArgoCD.
  • Firecrawl from Mendable is an API service that crawls a given URL and converts its content, including all accessible subpages, into clean markdown format. It utilizes LlamaParse from LlamaIndex for PDF parsing.

🗺️ Guides:

  • Guide to integrating Qdrant Hybrid Cloud with LlamaIndex, featuring JinaAI embeddings, MistralAI's Mixtral 8x7b, and our LlamaParse document parser.
  • Guide to building RAG using completely open and free components from Elastic, featuring Ollama and MistralAI, demonstrates how to assemble a RAG application with LlamaIndex using entirely free software.
  • Guide to Building a Code-Writing Agent: TechWithTimm demonstrated how to create an agent that writes code by reading your documentation. Learn how to set up local LLMs with Ollama, parse documentation using LlamaParse, build an agent, and teach it to write code.
  • Guide to Fine-tuning Embedding Models for RAG with LoRA by Mariboo demonstrates how to enhance Hugging Face models using LlamaIndex's finetuning techniques, including steps from quantization to fine-tuning with QLoRA.

✍️ Tutorials:

  • Khye Wei's tutorial from Microsoft demonstrates how to use LlamaIndex with Azure's AI Search to create powerful RAG applications, including Hybrid Search, Query Rewriting, and SubQuestionQuery Engine.
  • Hanane Dupouy's tutorial on Building a Finance Agent with LlamaIndex to query public companies with tools for looking up stock prices, summarizing financial news, and plotting stock data, all streamlined through LlamaIndex's ReAct agent and API abstractions.
  • Andy Singal's tutorial on Building a ColBERT-powered Retrieval Agent with Memory demonstrates how to enhance a RAG pipeline with "state" storage for a more personalized, conversational assistant using LlamaIndex's custom agent and query pipeline abstractions.
  • Mariboo’s tutorial on Fine-tuning Embedding Models for RAG with LoRA using LlamaIndex's finetuning abstractions.