Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 697 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 697 Bytes

knn-search-chat

A super simple Q&A chat-bot

This repository supports a tutorial that experiments with using semantic textual similarity and neighborhood search to map natural language questions to answers.

https://colab.research.google.com/drive/18UIXqyQZIhcR7e6f-DBdubQShFRPv51n

Installation and Testing

Installation with Pipenv:

pipenv install
pipenv shell

Running Tests:

pytest

Running the Server

In one shell, start the flask server:

python -m server.server

In another, start the chat command prompt:

python -m server.chat

From the command prompt, begin typing a message using the command say:

(Cmd) say Hello
| Bot says: Hey