Introduction

this repo implement QA system interactive with elasticsearch database

Usage

Install prerequisites

python3 -m pip install -r requirements.txt

Create index

python3 create_vectordb.py --host <host> --username <username> --password <password>

Run QA system

python3 main.py --host <host> --username <username> --password <password>

Example

CUDA_VISIBLE_DEVICES=0 python3 main.py --host http://es8.shuidata.cn:88 --password *****