#Django and RAG

1 messages · Page 1 of 1 (latest)

honest pike
#

Hi,
I would like to integrate a RAG into my Django project. Any recommendation on which package/framework should I use? Or even a tutorial would be great, thank you.

novel canopy
#

Langchain?

#

There is not much Django specific logic, you can use any tool you would normally use without Django

honest pike
#

Thank you

pine bridge
#

If you are using PostGres - you could leverage PG_Vector addin for the vector DB of a RAG project too. Otherwise somthing like Langchain with ChromaDB would work.

#

Normally you want to offload the processing of a "document" into the vector for Rag to another process instead of a normal Django. So something like Django_q2 or celery or the new tasks feature (if its launched yet) would let you do that part.