From 034d73a4ebbd5c3ddc59c6323659c82354890f62 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Wed, 4 Oct 2023 05:18:15 +1000 Subject: [PATCH] misc: fix spelling --- HACKTOBERFEST.md | 2 +- application/vectorstore/elasticsearch.py | 2 +- setup.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HACKTOBERFEST.md b/HACKTOBERFEST.md index 2c3c6ee94..7a0e016e1 100644 --- a/HACKTOBERFEST.md +++ b/HACKTOBERFEST.md @@ -2,7 +2,7 @@ Welcome, contributors! We're excited to announce that DocsGPT is participating in Hacktoberfest. Get involved by submitting a **meaningful** pull request, and earn a free shirt in return! -All contributors with accepted PR's will recieve a cool holopin! 🤩 (Watchout for a reply in yout PR to collect it) +All contributors with accepted PR's will receive a cool holopin! 🤩 (Watchout for a reply in your PR to collect it) 📜 Here's How to Contribute: diff --git a/application/vectorstore/elasticsearch.py b/application/vectorstore/elasticsearch.py index 9df8800b7..734b34061 100644 --- a/application/vectorstore/elasticsearch.py +++ b/application/vectorstore/elasticsearch.py @@ -114,7 +114,7 @@ def search(self, question, k=2, index_name=settings.ELASTIC_INDEX, *args, **kwar "rank": {"rrf": {}}, } resp = self.docsearch.search(index=self.index_name, query=full_query['query'], size=k, knn=full_query['knn']) - # create Documnets objects from the results page_content ['_source']['text'], metadata ['_source']['metadata'] + # create Documents objects from the results page_content ['_source']['text'], metadata ['_source']['metadata'] doc_list = [] for hit in resp['hits']['hits']: diff --git a/setup.sh b/setup.sh index f9d3b8795..55986dadc 100755 --- a/setup.sh +++ b/setup.sh @@ -62,7 +62,7 @@ use_openai() { - echo "The application is will runn on http://localhost:5173" + echo "The application will run on http://localhost:5173" echo "You can stop the application by running the following command:" echo "docker-compose down" }