h2oai / h2ogpt

Private chat with local GPT with document, images, video, etc. 100% private, Apache 2.0. Supports oLLaMa, Mixtral, llama.cpp, and more. Demo: https://gpt.h2o.ai/ https://codellama.h2o.ai/

Home Page:http://h2o.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Document Storage

jaysunl opened this issue · comments

I want to change this repository so that when I open the chatbot, it already has the documents pre-loaded and I don't have to manually upload the documents myself everytime I start it up (even without logging in). I'm guessing the db directory is created somewhere everytime I ingest some docs so if I pre-create the db directory and call python generate.py, does that load up the chatbot with the docs knowledge already? And also where is the db directory located?

use make_db.py to create database as shared folders refer the documentations in docs/readme_langchain