quivr/Pipfile

71 lines
1.2 KiB
TOML
Raw Normal View History

[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
langchain = "*"
litellm = "*"
openai = "*"
gitpython = "*"
pdf2image = "*"
nest-asyncio = "*"
pypdf = "*"
supabase = "*"
tiktoken = "*"
fastapi = "*"
python-multipart = "*"
uvicorn = "*"
pypandoc = "*"
docx2txt = "*"
python-jose = "*"
asyncpg = "*"
flake8 = "*"
flake8-black = "*"
sentry-sdk = {extras = ["fastapi"] }
pyright = "*"
resend = "*"
html5lib = "*"
beautifulsoup4 = "*"
newspaper3k = "*"
xlrd = "*"
redis = "*"
flower = "*"
boto3 = "*"
botocore = "*"
python-dotenv = "*"
pytest-mock = "*"
pytest-celery = "*"
pytesseract = "*"
async-generator = "*"
posthog = "*"
jq = "*"
pytest = "*"
watchdog = "*"
langchain-community = "*"
langchain-openai = "*"
pydantic-settings = "*"
langfuse = "*"
pandasai = "*"
colorlog = "*"
psycopg2-binary = "*"
psycopg2 = "*"
celery = {extras = ["redis", "sqs"], version = "*"}
unstructured = {extras = ["all-docs"], version = "*"}
llama-parse = "*"
llama-index = "*"
lxml = {extras = ["html_clean"], version = "*"}
feat(backend): add RAG evaluation using Ragas (#2429) # Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. ## Checklist before requesting a review Please delete options that are not relevant. - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented hard-to-understand areas - [ ] I have ideally added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged ## Screenshots (if appropriate): <!-- ELLIPSIS_HIDDEN --> ---- | <a href="https://ellipsis.dev" target="_blank"><img src="https://avatars.githubusercontent.com/u/80834858?s=400&u=31e596315b0d8f7465b3ee670f25cea677299c96&v=4" alt="Ellipsis" width="30px" height="30px"/></a> | :rocket: This PR description was created by [Ellipsis](https://www.ellipsis.dev) for commit 5350e0a071d5196774100bbef5f1fd7e51edf4c4. | |--------|--------| ### Summary: This PR adds a new script for evaluating the RAG model using the Ragas library, with results saved as a JSON file and printed to the console. **Key points**: - New script `run_evaluation.py` added to `backend/tests/ragas_evaluation/`. - The script processes documents, generates replies using a QuivrRAG chain, and evaluates the replies using specified metrics. - Results are saved as a JSON file and printed to the console. - The script can be run from the command line with various options. ---- Generated with :heart: by [ellipsis.dev](https://www.ellipsis.dev) <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: Damien Mourot <damien.mourot@gmail.com> Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2024-04-15 16:53:48 +03:00
ragas = "*"
datasets = "*"
pytest-dotenv = "*"
feat(assistants): Add PDF generation functionality and nice emails (#2436) This pull request adds PDF generation functionality and improves the formatting of emails. It includes a new module for generating PDFs using the fpdf2 library and updates the email templates to use markdown formatting for better readability. <!-- ELLIPSIS_HIDDEN --> ---- | <a href="https://ellipsis.dev" target="_blank"><img src="https://avatars.githubusercontent.com/u/80834858?s=400&u=31e596315b0d8f7465b3ee670f25cea677299c96&v=4" alt="Ellipsis" width="30px" height="30px"/></a> | :rocket: This PR description was created by [Ellipsis](https://www.ellipsis.dev) for commit ccecff77a5de9d8a975807862390efa5dbcfe8df. | |--------|--------| ### Summary: This PR introduces PDF generation functionality, improves email formatting, sanitizes filenames, updates various files and dependencies, and updates `docker-compose.dev.yml`. **Key points**: - Added PDF generation functionality using the `fpdf2` library - Improved email formatting - Sanitized filenames using the `unidecode` library - Updated `backend/modules/assistant/ito/ito.py` to generate PDFs and sanitize filenames - Added `pdf_generator.py` in `backend/modules/assistant/ito/utils/` for PDF generation - Updated `Pipfile` and `Pipfile.lock` in `backend/modules/assistant/ito/utils/` to include `unidecode` - Updated `requirements.txt` with new dependencies - Updated `docker-compose.dev.yml` ---- Generated with :heart: by [ellipsis.dev](https://www.ellipsis.dev) <!-- ELLIPSIS_HIDDEN -->
2024-04-17 16:00:31 +03:00
fpdf2 = "*"
unidecode = "*"
flashrank = "*"
langchain-cohere = "*"
[dev-packages]
black = "*"
[requires]
python_version = "3.11"