# Replicate — How to use retrieval augmented generation with ChromaDB and Mistral

- Company: Replicate (replicate.com)
- Announced: 2023-10-17
- Category: not stated
- Coverage: not counted
- Announcement: no
- Group: routine
- Source: https://replicate.com/blog/how-to-use-rag-with-chromadb-and-mistral-7b-instruct
- Record: https://forck.live/items/2550-how-to-use-retrieval-augmented-generation-with-chromadb-and-mistral
- Subject: Platform
- Models affected: Llama-2-70b-chat, mistral-7b-instruct, Llama2
- Context window: 4,096 tokens for Llama2

To build a retrieval augmented generation (RAG) application using ChromaDB and Mistral, with a toy example for generating Hacker News titles. It covers the basics of RAG, constructing a dataset, and using a vector store.

## Evidence

Verbatim from https://replicate.com/blog/how-to-use-rag-with-chromadb-and-mistral-7b-instruct:

> In this post, we’ll explore the creation of an example RAG “app” which helps you generate click-worthy titles for Hacker News submissions.

---

Record: https://forck.live/items/2550-how-to-use-retrieval-augmented-generation-with-chromadb-and-mistral
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
