Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

Commit 53eda97

Browse files
authored
Merge pull request #143 from sourishkrout/fix-query-collection-to-use-javascript
Another little fix (Python -> JS)
2 parents 1d8c5f7 + d29abe4 commit 53eda97

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/usage-guide.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -516,14 +516,14 @@ When using get or query you can use the include parameter to specify which data
516516
```python
517517

518518
# Only get documents and ids
519-
collection.get(
520-
include=["documents"]
521-
)
519+
collection.get({
520+
include: [ "documents" ]
521+
})
522522

523-
collection.query(
524-
query_embeddings=[[11.1, 12.1, 13.1],[1.1, 2.3, 3.2], ...],
525-
include=["documents"]
526-
)
523+
collection.query({
524+
queryEmbeddings: [[11.1, 12.1, 13.1],[1.1, 2.3, 3.2], ...],
525+
include: [ "documents" ]
526+
})
527527
```
528528

529529
### Using Where filters

0 commit comments

Comments
 (0)