Add legacy AI, RAG vector and Data Safe audit scenarios
Some checks failed
Repo Quality / structure (push) Has been cancelled
Some checks failed
Repo Quality / structure (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
SET PAGESIZE 100
|
||||
SET LINESIZE 220
|
||||
|
||||
PROMPT RAG retrieval simulation: retrieve chunks closest to the question embedding.
|
||||
|
||||
SELECT chunk_id,
|
||||
document_title,
|
||||
department,
|
||||
classification,
|
||||
chunk_text,
|
||||
VECTOR_DISTANCE(embedding, TO_VECTOR('[0.85,0.15,0.25]'), COSINE) AS distance
|
||||
FROM dds_rag_chunks
|
||||
ORDER BY distance
|
||||
FETCH FIRST 5 ROWS ONLY;
|
||||
|
||||
Reference in New Issue
Block a user