From 6c943c87c889c5c5ffe2f230c5f084d40ae60ee1 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Tue, 16 Jul 2024 01:03:29 +0900 Subject: [PATCH] docs: update semantic-search.md paramter -> parameter --- .../docs/open-source/korvus/example-apps/semantic-search.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pgml-cms/docs/open-source/korvus/example-apps/semantic-search.md b/pgml-cms/docs/open-source/korvus/example-apps/semantic-search.md index 88cf149cd..2aaf020fc 100644 --- a/pgml-cms/docs/open-source/korvus/example-apps/semantic-search.md +++ b/pgml-cms/docs/open-source/korvus/example-apps/semantic-search.md @@ -47,7 +47,7 @@ const main = async () => { // Perform vector_search // We are querying for the string "Is Korvus fast?" - // Notice that the `mixedbread-ai/mxbai-embed-large-v1` embedding model takes a prompt paramter when embedding for search + // Notice that the `mixedbread-ai/mxbai-embed-large-v1` embedding model takes a prompt parameter when embedding for search // We specify that we only want to return the `id` of documents. If the `document` key was blank it would return the entire document with every result // Limit the results to 5. In our case we only have two documents in our Collection so we will only get two results const results = await collection.vector_search( @@ -122,7 +122,7 @@ async def main(): # Perform vector_search # We are querying for the string "Is Korvus fast?" - # Notice that the `mixedbread-ai/mxbai-embed-large-v1` embedding model takes a prompt paramter when embedding for search + # Notice that the `mixedbread-ai/mxbai-embed-large-v1` embedding model takes a prompt parameter when embedding for search # We specify that we only want to return the `id` of documents. If the `document` key was blank it would return the entire document with every result # Limit the results to 5. In our case we only have two documents in our Collection so we will only get two results results = await collection.vector_search(