Skip to content

Commit

Permalink
cargo fix --lib -p rig-qdrant
Browse files Browse the repository at this point in the history
Signed-off-by: Anush008 <[email protected]>
  • Loading branch information
Anush008 committed Nov 4, 2024
1 parent 3801d80 commit 7cce574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rig-qdrant/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use rig::{
};
use serde::Deserialize;

/// Represents a vector store implementation using Qdrant - https://qdrant.tech/ as the backend.
/// Represents a vector store implementation using Qdrant - <https://qdrant.tech/> as the backend.
pub struct QdrantVectorStore<M: EmbeddingModel> {
/// Model used to generate embeddings for the vector store
model: M,
Expand All @@ -25,7 +25,7 @@ impl<M: EmbeddingModel> QdrantVectorStore<M> {
/// * `client` - Qdrant client instance
/// * `model` - Embedding model instance
/// * `query_params` - Search parameters for vector queries
/// Reference: https://api.qdrant.tech/v-1-12-x/api-reference/search/query-points
/// Reference: <https://api.qdrant.tech/v-1-12-x/api-reference/search/query-points>
pub fn new(client: Qdrant, model: M, query_params: QueryPoints) -> Self {
Self {
client,
Expand Down

0 comments on commit 7cce574

Please sign in to comment.