Spaces:
Running
Running
debug the messages
Browse files- chatbot/nodes.py +2 -0
chatbot/nodes.py
CHANGED
@@ -40,6 +40,8 @@ def answer_generator(state) -> OutputState:
|
|
40 |
|
41 |
messages = chat_history + [HumanMessage(content=question)]
|
42 |
|
|
|
|
|
43 |
formatted_docs = format_docs(docs)
|
44 |
response = structured_llm.invoke(
|
45 |
[
|
|
|
40 |
|
41 |
messages = chat_history + [HumanMessage(content=question)]
|
42 |
|
43 |
+
print(messages)
|
44 |
+
|
45 |
formatted_docs = format_docs(docs)
|
46 |
response = structured_llm.invoke(
|
47 |
[
|