refactor: html-router builder pattern and structure

This commit is contained in:
Per Stark
2025-03-25 12:03:05 +01:00
parent d01d8b6bd7
commit a40ed0fe94
38 changed files with 1050 additions and 938 deletions
@@ -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 {
-1
View File
@@ -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
View File
@@ -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.
///