feat: 新增 Job Worker 系統與 API 文檔全面更新
This commit is contained in:
@@ -791,8 +791,8 @@ async fn search(
|
||||
uuid: chunk.uuid.clone(),
|
||||
chunk_id: chunk.chunk_id.clone(),
|
||||
chunk_type: chunk.chunk_type.as_str().to_string(),
|
||||
start_time: chunk.start_time,
|
||||
end_time: chunk.end_time,
|
||||
start_time: chunk.start_time().seconds(),
|
||||
end_time: chunk.end_time().seconds(),
|
||||
text,
|
||||
score: r.score,
|
||||
});
|
||||
@@ -868,8 +868,8 @@ async fn n8n_search(
|
||||
hits.push(N8nSearchHit {
|
||||
id: chunk.chunk_id.clone(),
|
||||
vid: chunk.uuid.clone(),
|
||||
start: chunk.start_time,
|
||||
end: chunk.end_time,
|
||||
start: chunk.start_time().seconds(),
|
||||
end: chunk.end_time().seconds(),
|
||||
title: if title.is_empty() {
|
||||
format!("Chunk {}", chunk.chunk_id)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user