feat: rag context logging

This commit is contained in:
Timothy J. Baek 2024-03-31 14:02:31 -07:00
parent 7563619e26
commit a6c154d839
1 changed files with 2 additions and 0 deletions

View File

@ -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: