ENCOURAGE
Project description
EncouRAGe
the all-in one solution for evaluate RAG methods.
This repository provides a flexible library for running local inference with or without context, leveraging a variety of popular LLM libraries for enhanced functionality:
- ⚙️ jinja2
- Offers a template engine for dynamic prompt generation.
- 📝 mlflow
- Designed to ensure observability of the model performance and tracing.
- 🔄 chroma
- Strong in-memory vector database for efficient data retrieval.
- 🧭 qdrant
- Supports robust vector search for efficient data retrieval.
🚀 Getting Started
pip install encourage
To initialize the environment using uv, run the following command:
uv sync
⚡ Usage Inference Runners
For understanding how to use the inference runners, refer to the following tutorials:
🔍 RAG Methods
Encourage provides several RAG (Retrieval-Augmented Generation) methods to enhance your LLM responses with relevant context:
📊 Evaluation Metrics
Encourage offers a comprehensive set of metrics for evaluating LLM and RAG performance:
- Metrics Overview - Table of all available metrics
- Metrics Explanation - Detailed explanations and formulas
- Metrics Tutorial - Step-by-step guide to using metrics
⚙️ Custom Templates
To use a custom template for the inference, follow the steps below:
📈 Model Tracking
For tracking the model performance, use the following commands:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file encourage_rag-0.3.1.tar.gz.
File metadata
- Download URL: encourage_rag-0.3.1.tar.gz
- Upload date:
- Size: 292.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5996f7f69f959a1a565f4da2b39e41b449975655d84072872a4ce6a8084de227
|
|
| MD5 |
d338f39ce7fa550d98af3906fdc4feaf
|
|
| BLAKE2b-256 |
03d5ccffc941d2538d46bc9a343eb24d274230a8e17a9606d22d769e3d271be9
|
File details
Details for the file encourage_rag-0.3.1-py3-none-any.whl.
File metadata
- Download URL: encourage_rag-0.3.1-py3-none-any.whl
- Upload date:
- Size: 76.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33a59813da34dd6448e77688d3d4cae242951d57d2988f05208a65fd20ce922a
|
|
| MD5 |
097a3686b2599cba0e3d22be6e5b6f42
|
|
| BLAKE2b-256 |
3c1b3d22d92a287dbdaa64819fd473d0f75f2a096fda1bb2056062107c47081e
|