Skip to content

Commit c4e2c5b

Browse files
author
ajosh0504
committed
2 parents 3c41cd5 + d562ca6 commit c4e2c5b

File tree

6 files changed

+1
-1
lines changed

6 files changed

+1
-1
lines changed

docs/30-perform-semantic-search/4-run-vector-search-queries.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ get_embedding(user_query, mode)
3737
"limit": 5,
3838
}
3939
},
40-
{"$project": {"_id": 0, "title": 1, "cover": 1, "score": {"$meta": "vectorSearchScore"}}},
40+
{"$project": {"_id": 0, "title": 1, "cover": 1, "year":1, "pages":1, "score": {"$meta": "vectorSearchScore"}}},
4141
]
4242
```
4343

static/img/query-sample/1.png

573 KB
Loading

static/img/query-sample/2.png

140 KB
Loading

static/img/query-sample/3.png

597 KB
Loading

static/img/query-sample/4.png

506 KB
Loading

static/img/query-sample/5.png

334 KB
Loading

0 commit comments

Comments
 (0)