An open API service indexing awesome lists of open source software.

https://github.com/alexcg1/example-chatbot

Chatbot using Jina, Jina Hub and DocArray with Streamlit frontend
https://github.com/alexcg1/example-chatbot

bot chatbot jina neural-search nlp

Last synced: 3 months ago
JSON representation

Chatbot using Jina, Jina Hub and DocArray with Streamlit frontend

Awesome Lists containing this project

README

          

# Jina Chatbot

This simple example adapts [Jina Hello Chatbot](https://docs.jina.ai/get-started/hello-world/covid-19-chatbot/) in the following ways:

- Use [Jina Hub](https://hub.jina.ai) Executors
- Use [Streamlit](https://streamlit.io/) front-end (with the awesome [Streamlit chat](https://github.com/AI-Yash/st-chat) library)
- Easy deployment with Docker-Compose

## Run

### Backend

1. `cd backend`
2. `python app.py`

### Frontend

1. `cd frontend`
2. `python frontend.py`

## Configure

- **Backend:** `backend/config.py`
- **Frontend:** `frontend/config.py` and `frontend/.streamlit/config.toml`

## Deploy

`docker-compose up`