Skip to content

Commit f922f5a

Browse files
authored
docs: Update README.md GetQuery -> GetOptions (#26)
1 parent 7d57927 commit f922f5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The library reference can be found [here](https://docs.rs/chromadb).
2727

2828
```rust
2929
use chromadb::client::{ChromaAuthMethod, ChromaClient, ChromaClientOptions, ChromaTokenHeader};
30-
use chromadb::collection::{ChromaCollection, GetQuery, GetResult, CollectionEntries};
30+
use chromadb::collection::{ChromaCollection, GetOptions, GetResult, CollectionEntries};
3131

3232
// With default ChromaClientOptions
3333
// Defaults to http://localhost:8000
@@ -81,7 +81,7 @@ let where_document = json!({
8181

8282
// Get embeddings from a collection with filters and limit set to 1.
8383
// An empty IDs vec will return all embeddings.
84-
let get_query = GetQuery {
84+
let get_query = GetOptions {
8585
ids: vec![],
8686
where_metadata: None,
8787
limit: Some(1),

0 commit comments

Comments
 (0)