Skip to content

Commit 5917a15

Browse files
committed
refactor: log debug message containing produced context
1 parent ff6e0df commit 5917a15

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

graph/rag.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,9 @@ def context_assembler(self) -> Runnable:
369369
def answer_inputs_transform(self, inputs: dict[str, Any]) -> dict[str, Any]:
370370
user_query = inputs["user_query"]
371371
context = inputs["kg"]["context"]
372+
373+
log.debug("Context:\n{}", context)
374+
372375
return dict(user_query=user_query, context=context)
373376

374377
@property

0 commit comments

Comments
 (0)