Skip to content

Commit

Permalink
fix(rig-qdrant): Rig Qdrant dependency (#98)
Browse files Browse the repository at this point in the history
* fix: Outdated dependency

* docs: Improve example comments and README
  • Loading branch information
cvauclair authored Nov 12, 2024
1 parent efc38ea commit 1c44da4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rig-qdrant/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rig-qdrant"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "MIT"
readme = "README.md"
Expand Down
1 change: 0 additions & 1 deletion rig-qdrant/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Rig-Qdrant

Vector store index integration for [Qdrant](https://qdrant.tech/). This integration supports dense vector retrieval using Rig's embedding providers. It is also extensible to allow all [hybrid queries](https://qdrant.tech/documentation/concepts/hybrid-queries/) supported by Qdrant.

You can find end-to-end examples [here](https://github.com/0xPlaygrounds/rig/tree/main/rig-qdrant/examples).
2 changes: 2 additions & 0 deletions rig-qdrant/examples/qdrant_vector_search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ async fn main() -> Result<(), anyhow::Error> {
let client = Qdrant::from_url("http://localhost:6334").build()?;

// Create a collection with 1536 dimensions if it doesn't exist
// Note: Make sure the dimensions match the size of the embeddings returned by the
// model you are using
if !client.collection_exists(COLLECTION_NAME).await? {
client
.create_collection(
Expand Down

0 comments on commit 1c44da4

Please sign in to comment.