danny-avila / rag_api

ID-based RAG FastAPI: Integration with Langchain and PostgreSQL/pgvector
https://librechat.ai/
143 stars 60 forks source link

Adding files to datastore manually #55

Open fret423 opened 5 days ago

fret423 commented 5 days ago

We have a bunch of files in another directory that are updated regularly (in an opensource documentation tool called Bookstack). Those can be exported via Bookstack's API, and I wanted to add it to our datastore, so that it is available for RAG in LibreChat.

I wanted to understand how to programmatically add files?