Skip to content
Jael Gu edited this page May 29, 2023 · 13 revisions

Build a Demo

Before getting started, you need to have database services ready to connect. For example, if you're using default modules, you should prepare:

Follow steps below to build a Gradio demo:

  1. Downloads
$ git clone https://github.com/zilliztech/akcio.git
$ cd akcio
  1. Installation
$ pip install -r requirements.txt
  1. Configuration (Optional)

Modify store/config.py to change connection addresses:

# Vector db configs
vectordb_config = {
   'host': 'localhost',
   'port': 19530,
   'top_k': 10,
}

# Memory db configs
memorydb_config = {
   'connect_str': 'postgresql://postgres:postgres@localhost/chat_history'
}
  1. Start Gradio
python gradio_demo.py
  1. Open in browser

Open local or public url returned by step 4 to access the online demo.

Play it Online

  • Load data
  • Start conversation
Clone this wiki locally