mirror of
https://github.com/perstarkse/minne.git
synced 2026-05-30 03:10:45 +02:00
chore: move serde helpers to common utils
Relocate SurrealDB serde helpers out of storage types so they can be reused broadly, and align retrieval-pipeline test setup with configured embedding dimensions.
This commit is contained in:
@@ -8,12 +8,8 @@ use axum::{
|
||||
extract::{Query, State},
|
||||
response::IntoResponse,
|
||||
};
|
||||
use common::storage::types::{
|
||||
serde_helpers::deserialize_flexible_id,
|
||||
text_content::TextContent,
|
||||
user::User,
|
||||
StoredObject,
|
||||
};
|
||||
use common::storage::types::{text_content::TextContent, user::User, StoredObject};
|
||||
use common::utils::serde_helpers::deserialize_flexible_id;
|
||||
use retrieval_pipeline::{RetrievalConfig, SearchResult, SearchTarget, StrategyOutput};
|
||||
use serde::{de, Deserialize, Deserializer, Serialize};
|
||||
use surrealdb::RecordId;
|
||||
|
||||
Reference in New Issue
Block a user