Get Started
Run locally
make run
Run docker compose
docker compose up
After running the above command, you can access the application at http://localhost:8071
Login:

Account: admin
Password: admin
Chat User Interface
Include features:
- Prompt: Instruction chatbot for generate answer
 - Config: Config model
 - Chat box: Chat with chatbot
 - Services button: Redirect to services page (Ingest, Kibana, Mongo Express)
 - Version: Note for update version
 

Citation

Ingest PDF:
Currently, we support only PDF file format.

MongoDB & Express
Ingest data to MongoDB
poetry run python src/ingest_database.py --mongodb-host "mongodb://localhost:27017/" --data-path "static/pdf/"
View data store in MongoDB

Elasticsearch & Kibana
Ingest data to Elasticsearch engine
poetry run python src/ingest_search.py --mongodb-host "mongodb://localhost:27017/" --es-host "http://localhost:9200/" --index_name "document"
View data store in Elasticsearch engine

Cache Chat History
For generating question takes a long time 97(s)/question, we use Redis to cache chat history

Quickly generate question 0.5(s)/question
