fix: RAG field mapping + flow-data.ts DB-Status + Security-Backlog/Quality Module
All checks were successful
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-ai-compliance (push) Successful in 34s
CI / test-python-backend-compliance (push) Successful in 35s
CI / test-python-document-crawler (push) Successful in 21s
CI / test-python-dsms-gateway (push) Successful in 19s
All checks were successful
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-ai-compliance (push) Successful in 34s
CI / test-python-backend-compliance (push) Successful in 35s
CI / test-python-document-crawler (push) Successful in 21s
CI / test-python-dsms-gateway (push) Successful in 19s
- RAG page.tsx: map r.text, r.regulation_name, r.regulation_code (statt metadata-Nested) - flow-data.ts: Obligations dbTables=['compliance_obligations'], dbMode='read/write' - flow-data.ts: Loeschfristen dbTables=['compliance_loeschfristen'], dbMode='read/write' - flow-data.ts: Security-Backlog + Quality als betrieb-Module ergaenzt (seq 4900/5000, completion 100) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -157,10 +157,10 @@ export default function RAGPage() {
|
||||
content = 'Zu dieser Frage wurden keine passenden Dokumente gefunden. Bitte formulieren Sie Ihre Frage anders oder waehlen Sie ein spezifischeres Thema.'
|
||||
} else {
|
||||
const snippets = results.map((r: any, i: number) => {
|
||||
const title = r.metadata?.title || r.metadata?.reference || `Dokument ${i + 1}`
|
||||
const ref = r.metadata?.reference || ''
|
||||
const title = r.regulation_name || r.regulation_short || `Dokument ${i + 1}`
|
||||
const ref = r.regulation_code || ''
|
||||
sources.push({ title, reference: ref, relevance: r.score || 0 })
|
||||
return `**${title}${ref ? ` (${ref})` : ''}**\n${r.content || ''}`
|
||||
return `**${title}${ref ? ` (${ref})` : ''}**\n${r.text || ''}`
|
||||
})
|
||||
content = snippets.join('\n\n---\n\n')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user