mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 13:40:55 +00:00
feat: rag context logging
This commit is contained in:
parent
7563619e26
commit
a6c154d839
@ -156,6 +156,8 @@ def rag_messages(docs, messages, template, k, embedding_function):
|
|||||||
|
|
||||||
relevant_contexts.append(context)
|
relevant_contexts.append(context)
|
||||||
|
|
||||||
|
log.debug(f"relevant_contexts: {relevant_contexts}")
|
||||||
|
|
||||||
context_string = ""
|
context_string = ""
|
||||||
for context in relevant_contexts:
|
for context in relevant_contexts:
|
||||||
if context:
|
if context:
|
||||||
|
Loading…
Reference in New Issue
Block a user