mirror of https://github.com/0xplaygrounds/rig
chore: satisfy ci (clippy)
This commit is contained in:
parent
8c2ed4552e
commit
eda2822bee
|
@ -277,7 +277,7 @@ impl Neo4jClient {
|
|||
/// ### Arguments
|
||||
/// * `index_name` - The name of the index to create.
|
||||
/// * `node_label` - The label of the nodes to which the index will be applied. For example, if your nodes have
|
||||
/// the label `:Movie`, pass "Movie" as the `node_label` parameter.
|
||||
/// the label `:Movie`, pass "Movie" as the `node_label` parameter.
|
||||
/// * `embedding_prop_name` (optional) - The name of the property that contains the embedding vectors. Defaults to "embedding".
|
||||
///
|
||||
pub async fn create_vector_index(
|
||||
|
|
|
@ -211,7 +211,7 @@ impl<M: EmbeddingModel + std::marker::Sync + Send> VectorStoreIndex for Neo4jVec
|
|||
/// #### Generic Type Parameters
|
||||
///
|
||||
/// - `T`: The type used to deserialize the result from the Neo4j query.
|
||||
/// It must implement the `serde::Deserialize` trait.
|
||||
/// It must implement the `serde::Deserialize` trait.
|
||||
///
|
||||
/// #### Returns
|
||||
///
|
||||
|
|
|
@ -29,7 +29,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,
|
||||
|
|
Loading…
Reference in New Issue