Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit23900a5

Browse files
authored
docs: update semantic-search.md (#1561)
1 parentcafcef9 commit23900a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎pgml-cms/docs/open-source/korvus/example-apps/semantic-search.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const main = async () => {
4747

4848
// Perform vector_search
4949
// We are querying for the string "Is Korvus fast?"
50-
// Notice that the `mixedbread-ai/mxbai-embed-large-v1` embedding model takes a promptparamter when embedding for search
50+
// Notice that the `mixedbread-ai/mxbai-embed-large-v1` embedding model takes a promptparameter when embedding for search
5151
// 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
5252
// Limit the results to 5. In our case we only have two documents in our Collection so we will only get two results
5353
constresults=awaitcollection.vector_search(
@@ -122,7 +122,7 @@ async def main():
122122

123123
# Perform vector_search
124124
# We are querying for the string "Is Korvus fast?"
125-
# Notice that the `mixedbread-ai/mxbai-embed-large-v1` embedding model takes a promptparamter when embedding for search
125+
# Notice that the `mixedbread-ai/mxbai-embed-large-v1` embedding model takes a promptparameter when embedding for search
126126
# 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
127127
# Limit the results to 5. In our case we only have two documents in our Collection so we will only get two results
128128
results=await collection.vector_search(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp