Repository navigation
added new cookbook - #36
Conversation
WalkthroughA new documentation file has been added to the cookbook detailing the process for building and incrementally improving RAG applications using Langchain. The guide includes dependency installation, configuration of OpenAI’s API, integration of the FutureAGI SDK for evaluation, code examples for data loading and document retrieval, and an analysis of evaluation metrics. Additionally, the configuration file Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant RAG_App as RAG Application
participant Langchain
participant Eval as FutureAGI Evaluator
User->>RAG_App: Send query/request
RAG_App->>Langchain: Load data & generate embeddings
Langchain-->>RAG_App: Retrieved documents & processed texts
RAG_App->>RAG_App: Aggregate results and perform text-splitting
RAG_App->>Eval: Submit evaluation metrics (context relevance, retrieval, etc.)
Eval-->>RAG_App: Return evaluation feedback
RAG_App-->>User: Return final response with evaluation insights
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Pull Request
Description
Describe the changes in this pull request:
Checklist
Related Issues
Closes #<issue_number>
Summary by CodeRabbit
Documentation
New Features