Chat with your PDFs with AI
See the code
Chat with your PDFs in seconds. Powered by Together AI and Chroma.
Tech Stack · Deploy Your Own · Common Errors · Credits · Future Tasks
You can deploy this template to Vercel or any other host. Note that you'll need to:
See .env.example for a list of all the required environment variables.
You will also need to prepare your database schema by running npx prisma db push.
This project uses Chroma Cloud for hybrid vector search. Embeddings are generated automatically by Chroma Cloud using Qwen (dense) and SPLADE (sparse), combined via Reciprocal Rank Fusion (RRF) at query time. No local embedding model is needed.
NEXT_PUBLIC_VECTORSTORE=chroma
CHROMA_API_KEY= # Your Chroma Cloud API key
CHROMA_TENANT= # Your tenant ID
CHROMA_DATABASE= # Your database name
Collections are created automatically per document — no manual index setup is required.
.env file that contains your valid (and working) API keys.NEXT_PUBLIC_VECTORSTORE is set to chroma and your Chroma credentials are correct.npx prisma db push to create the Document table in Postgres.These are some future tasks that I have planned. Contributions are welcome!
prose to decrease padding4,027 followers · starred Jan 2024
46 followers · starred Jan 2024
233 followers · starred Jan 2024
4 followers · starred Jan 2025
Chat with your PDFs with AI
See the code
Chat with your PDFs in seconds. Powered by Together AI and Chroma.
Tech Stack · Deploy Your Own · Common Errors · Credits · Future Tasks
You can deploy this template to Vercel or any other host. Note that you'll need to:
See .env.example for a list of all the required environment variables.
You will also need to prepare your database schema by running npx prisma db push.
This project uses Chroma Cloud for hybrid vector search. Embeddings are generated automatically by Chroma Cloud using Qwen (dense) and SPLADE (sparse), combined via Reciprocal Rank Fusion (RRF) at query time. No local embedding model is needed.
NEXT_PUBLIC_VECTORSTORE=chroma
CHROMA_API_KEY= # Your Chroma Cloud API key
CHROMA_TENANT= # Your tenant ID
CHROMA_DATABASE= # Your database name
Collections are created automatically per document — no manual index setup is required.
.env file that contains your valid (and working) API keys.NEXT_PUBLIC_VECTORSTORE is set to chroma and your Chroma credentials are correct.npx prisma db push to create the Document table in Postgres.These are some future tasks that I have planned. Contributions are welcome!
prose to decrease padding4,027 followers · starred Jan 2024
46 followers · starred Jan 2024
233 followers · starred Jan 2024
4 followers · starred Jan 2025