mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-23 01:08:33 +02:00
refactor: html-router builder pattern and structure
This commit is contained in:
@@ -22,7 +22,7 @@ use serde_json::{json, Value};
|
||||
|
||||
use crate::retrieve_entities;
|
||||
|
||||
use super::answer_retrieval_helper::{get_query_response_schema, QUERY_SYSTEM_PROMPT};
|
||||
use super::answer_retrieval_helper::get_query_response_schema;
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct Reference {
|
||||
|
||||
@@ -13,7 +13,6 @@ use common::{
|
||||
use futures::future::{try_join, try_join_all};
|
||||
use graph::{find_entities_by_relationship_by_id, find_entities_by_source_ids};
|
||||
use std::collections::HashMap;
|
||||
use tracing::info;
|
||||
use vector::find_items_by_vector_similarity;
|
||||
|
||||
/// Performs a comprehensive knowledge entity retrieval using multiple search strategies
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
use surrealdb::{engine::any::Any, Surreal};
|
||||
|
||||
use common::{error::AppError, utils::embedding::generate_embedding};
|
||||
use tracing::info;
|
||||
|
||||
/// Compares vectors and retrieves a number of items from the specified table.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user