mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-02 08:40:53 +03:00
b62297341f
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> | 🚀 This PR
description was created by [Ellipsis](https://www.ellipsis.dev) for
commit ccecff77a5
. |
|--------|--------|
### 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 ❤️ by [ellipsis.dev](https://www.ellipsis.dev)
<!--
ELLIPSIS_HIDDEN
-->
69 lines
1.2 KiB
TOML
69 lines
1.2 KiB
TOML
[[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 = "*"}
|
|
ragas = "*"
|
|
datasets = "*"
|
|
pytest-dotenv = "*"
|
|
fpdf2 = "*"
|
|
unidecode = "*"
|
|
|
|
[dev-packages]
|
|
black = "*"
|
|
|
|
[requires]
|
|
python_version = "3.11"
|