refac: styling

This commit is contained in:
Timothy J. Baek
2024-05-06 15:14:33 -07:00
parent 38590da0b1
commit 4c490132ba
3 changed files with 30 additions and 23 deletions

View File

@@ -320,6 +320,7 @@ def rag_messages(
extracted_collections.extend(collection)
context_string = ""
citations = []
for context in relevant_contexts:
try:
@@ -335,6 +336,7 @@ def rag_messages(
)
except Exception as e:
log.exception(e)
context_string = context_string.strip()
ra_content = rag_template(