refactor: move chardet and pypdf dependencies to vector IO provider registries

Moves chardet and pypdf from main dependencies to provider-specific pip_packages
for all 12 vector IO providers that support file processing (Api.files).

Updated providers:
- inline::meta-reference, inline::faiss, inline::sqlite-vec, inline::sqlite_vec
- remote::chromadb, inline::chromadb, remote::pgvector, remote::weaviate
- inline::qdrant, remote::qdrant, remote::milvus, inline::milvus
This commit is contained in:
skamenan7 2025-09-29 12:27:57 -04:00
parent b96ffa4592
commit ddfd2ef018
3 changed files with 12 additions and 18 deletions

4
uv.lock generated
View file

@ -1768,7 +1768,6 @@ dependencies = [
{ name = "aiohttp" },
{ name = "aiosqlite" },
{ name = "asyncpg" },
{ name = "chardet" },
{ name = "fastapi" },
{ name = "fire" },
{ name = "h11" },
@ -1783,7 +1782,6 @@ dependencies = [
{ name = "pillow" },
{ name = "prompt-toolkit" },
{ name = "pydantic" },
{ name = "pypdf" },
{ name = "python-dotenv" },
{ name = "python-jose", extra = ["cryptography"] },
{ name = "python-multipart" },
@ -1893,7 +1891,6 @@ requires-dist = [
{ name = "aiohttp" },
{ name = "aiosqlite", specifier = ">=0.21.0" },
{ name = "asyncpg" },
{ name = "chardet" },
{ name = "fastapi", specifier = ">=0.115.0,<1.0" },
{ name = "fire" },
{ name = "h11", specifier = ">=0.16.0" },
@ -1910,7 +1907,6 @@ requires-dist = [
{ name = "pillow" },
{ name = "prompt-toolkit" },
{ name = "pydantic", specifier = ">=2.11.9" },
{ name = "pypdf" },
{ name = "python-dotenv" },
{ name = "python-jose", extras = ["cryptography"] },
{ name = "python-multipart", specifier = ">=0.0.20" },