diff --git a/README.md b/README.md index 0b8b928..e325a72 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ Install `npm`, `python 3.11`, and [`pipenv`](https://pipenv.pypa.io/en/latest/). Some things (e.g. logging) require a database connection to work correctly. To make this easier, there is a script to set one up locally via Docker. To get this working: +* Install mysql on your local machine * [Install Docker](https://docs.docker.com/get-docker/) * Run the script: `./local_db.sh` diff --git a/api/src/stampy_chat/get_blocks.py b/api/src/stampy_chat/get_blocks.py index 94b1d5d..ad417b7 100644 --- a/api/src/stampy_chat/get_blocks.py +++ b/api/src/stampy_chat/get_blocks.py @@ -113,7 +113,7 @@ def get_top_k_blocks(index, user_query: str, k: int) -> List[Block]: logger.info('Pinecone index not found, performing semantic search on chat.stampy.ai endpoint.') response = requests.post( - REMOTE_CHAT_INSTANCE, + REMOTE_CHAT_INSTANCE + "/semantic", json = { "query": user_query, "k": k