harshitv804 / LawGPT

A RAG based Generative AI Attorney fed with Indian Penal Code data. Developed using Streamlit, LangChain and TogetherAI API.
https://huggingface.co/spaces/harshitv804/LawGPT
42 stars 17 forks source link

installation error #2

Closed hemanthreddy243 closed 4 months ago

hemanthreddy243 commented 4 months ago

executing the 3 step is little bit difficult and required more steps on that to tackle it

harshitv804 commented 4 months ago

Hi, Ingest.py basically used to split the pdf into chunks of tokens, create vector embeddings of those chunks using the embedding model and then saves them in the FAISS vector database locally. This whole process will consume more CPU and RAM so I suggest to run this in cloud platform where, they offer more compute for free. There is being a frequent updates in the documentation so I suggest you to go through the basics of Langchain and their docs for the latest updates.

Thank You