mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
feat: rag context logging
This commit is contained in:
@@ -156,6 +156,8 @@ def rag_messages(docs, messages, template, k, embedding_function):
|
||||
|
||||
relevant_contexts.append(context)
|
||||
|
||||
log.debug(f"relevant_contexts: {relevant_contexts}")
|
||||
|
||||
context_string = ""
|
||||
for context in relevant_contexts:
|
||||
if context:
|
||||
|
||||
Reference in New Issue
Block a user