feat: enhance RAG functionality with query rewriting, result reranking, and additional metadata in responses
Build and Release / release (push) Successful in 1m28s
Build and Release / release (push) Successful in 1m28s
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ RETURNING *;
|
||||
|
||||
-- name: SearchRagChunks :many
|
||||
SELECT
|
||||
id, source_type, source_id, project_id, chunk_index, content,
|
||||
id, source_type, source_id, project_id, chunk_index, content, created_at, updated_at,
|
||||
(1 - (embedding <=> sqlc.arg('embedding')))::float8 AS similarity
|
||||
FROM rag_chunks
|
||||
WHERE 1=1
|
||||
|
||||
Reference in New Issue
Block a user