Gorse is an open-source recommendation system written in Go. This tutorial shows how to setup a Gorse support bot based on Gorse official documents.
Follow the instructions in README.md to deploy MidSearch and setup a Telegram bot.
- Clone gorse-io/docs to local:
git clone https://github.com/gorse-io/docs.git
cd docs
- Sync documents:
export MIDSEARCH_ENDPOINT=http://localhost:8080/api/
export MIDSEARCH_API_KEY=xxxxxxxx
midsearch sync src/docs/master
Conversation with the bot:
ChatGPT | MidSearch (ChaGPT + Knowledge Base) |
---|---|
- ChatGPT cannot answer the question about how to use the Python SDK, because it does not have any knowledge about the Python SDK.
- MidSearch can answer the question about how to use the Python SDK, because it has the knowledge about the Python SDK.
- The English answer from MidSearch is more accurate than the Chinese answer, because the native language of documents is English.