📜Chat on PDF with UI
How to run the server
You can write a etl.json for the etl process and model.json to perform inference on the extracted data
etl.json
Run the ETL command:
model.json
Run the model command
This would start a uvicorn
Important Note: The vectordb section should be the same for the etl.json and model.json.
Explanation: During the ETL process all the data are extracted and stored into the vectordb as embeddings on which we can perform semantic search. So when we are using the model on top of contextual data we need to specify the source of the contextual data.
The source of contextual data in our case is the vectordb into which the ETL contents were loaded into . So that's why the vectordb content should be the same for both the model.json and etl.json
How to run the UI
This package is for the chat interface of the LLM stack.
Installation steps
Clone the repository
Create a new virtualenv and activate it(Optional).
Install the requirements
Run the streamlit app
Last updated