mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-05 08:09:40 +00:00
added metadata for bm25 and also confidence levels
This commit is contained in:
1 parent
b3ba945b98
commit
c78a8f05ef
27 files changed
+511
-110
No files matched your search
@@ -67,14 +67,22 @@ pub struct QdrantEdgeStoragePoint {
|
||||
pub data_source_id: String,
|
||||
pub data_source_name: String,
|
||||
pub data_source_type: String,
|
||||
pub chunk_id: String,
|
||||
pub parent_file_id: String,
|
||||
pub file_path: String,
|
||||
pub absolute_path: String,
|
||||
pub file_name: String,
|
||||
pub relative_path: String,
|
||||
pub file_type: String,
|
||||
pub page_number: Option<i32>,
|
||||
pub chunk_index: i32,
|
||||
pub text: String,
|
||||
pub fingerprint: String,
|
||||
pub creation_utc: String,
|
||||
pub last_write_utc: String,
|
||||
pub embedded_at_utc: String,
|
||||
pub compliance_level: String,
|
||||
pub compliance_level_rank: i32,
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
@@ -509,14 +517,22 @@ fn to_qdrant_edge_point(point: QdrantEdgeStoragePoint) -> qdrant_edge::PointStru
|
||||
"data_source_id": point.data_source_id,
|
||||
"data_source_name": point.data_source_name,
|
||||
"data_source_type": point.data_source_type,
|
||||
"chunk_id": point.chunk_id,
|
||||
"parent_file_id": point.parent_file_id,
|
||||
"file_path": point.file_path,
|
||||
"absolute_path": point.absolute_path,
|
||||
"file_name": point.file_name,
|
||||
"relative_path": point.relative_path,
|
||||
"file_type": point.file_type,
|
||||
"page_number": point.page_number,
|
||||
"chunk_index": point.chunk_index,
|
||||
"text": point.text,
|
||||
"fingerprint": point.fingerprint,
|
||||
"creation_utc": point.creation_utc,
|
||||
"last_write_utc": point.last_write_utc,
|
||||
"embedded_at_utc": point.embedded_at_utc,
|
||||
"compliance_level": point.compliance_level,
|
||||
"compliance_level_rank": point.compliance_level_rank,
|
||||
}),
|
||||
)
|
||||
.into()
|
||||
|
||||
Reference in new issue
Block a user