Skip to content

Commit

Permalink
Fix typo (#194)
Browse files Browse the repository at this point in the history
Signed-off-by: Gertjan "GJ" De Wilde <[email protected]>
  • Loading branch information
Gdewilde authored Oct 22, 2024
1 parent a3ee643 commit be2a95b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fern/pages/cookbooks/agentic-multi-stage-rag.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ We ask three questions that require different depths of retrieval. We will see h

## Disclaimer

One of the challenges in building a RAG system is that it has many moving pieces: vector database, type of embedding model, use of reranker, number of retrieved documents, chunking strategy, and more. These components can make debugging and evaluating RAG systems difficult. Since this notebook focuses on the concept of agentic RAG, it will simplify other parts of the RAG system. For example, we will only retrieve top 1 docuemnt to demonstrate what happens when retrieved document does not contain the answer needed.
One of the challenges in building a RAG system is that it has many moving pieces: vector database, type of embedding model, use of reranker, number of retrieved documents, chunking strategy, and more. These components can make debugging and evaluating RAG systems difficult. Since this notebook focuses on the concept of agentic RAG, it will simplify other parts of the RAG system. For example, we will only retrieve top 1 document to demonstrate what happens when retrieved document does not contain the answer needed.

## Result

Expand Down Expand Up @@ -497,7 +497,7 @@ tools = [

```python PYTHON
preamble2 = """# Instruction
You are an expert assistant that helps users answers question about legal documents and policies.
You are an expert assistant that helps users answer questions about legal documents and policies.
Please follow these steps:
1. Using user's query, use `retrieve_documents` tool to retrieve the most relevant document from the database.
Expand Down

0 comments on commit be2a95b

Please sign in to comment.