Hi there,
I'm trying to build a simple app/api service where I got my inspiration from https://github.com/digitros/nextjs-fastapi/blob/main/package.json for packaging to Vercel.
Here are my requirements.txt :
fastapi==0.112.2langchain==0.2.14chromadb==0.5.3langchain_chroma==0.1.3langchain_community==0.2.12langchain_openai==0.1.22unstructured[md]~=0.15.7pydantic==2.8.2python-dotenv==1.0.1uvicorn==0.30.6But when I run my API, I get this error :
[1] import chromadb[1] File "/python312/lib/python3.12/site-packages/chromadb/__init__.py", line 72, in <module>[1] import sqlite3[1] File "/python312/lib/python3.12/sqlite3/__init__.py", line 57, in <module>[1] from sqlite3.dbapi2 import *[1] File "/python312/lib/python3.12/sqlite3/dbapi2.py", line 27, in <module>[1] from _sqlite3 import *[1] ModuleNotFoundError: No module named '_sqlite3'Even when adding pysqlite3-binary==0.5.3.post1, it doesn't work. It looks like Vercel is incompatible with SQLite, making ChromaDB apps incompatible.
This is a problem as ChromaDB is the leading technology in LLM apps. Vercel leadership should care in these AI times. Is there something planned to bring this compatibility ?
Also: the 250MB limit makes it very hard to deploy any Python-backed apps as requirements.txt are often large.
Thx.