Spaces:
Running on T4
Running on T4
Claude commited on
Include messages in ConversationLog.to_dict() for report conversation examples
Browse filesWithout this, the training report's example conversations section would
have empty message histories since evaluate_prompt() calls to_dict().
https://claude.ai/code/session_01DPirJ78YYN4fJUvUFJ5D6V
- layer0/reward.py +1 -0
layer0/reward.py
CHANGED
|
@@ -78,6 +78,7 @@ class ConversationLog:
|
|
| 78 |
"customer_persona": self.customer_persona,
|
| 79 |
"true_intent": self.true_intent,
|
| 80 |
"agent_intent": self.agent_intent,
|
|
|
|
| 81 |
}
|
| 82 |
|
| 83 |
|
|
|
|
| 78 |
"customer_persona": self.customer_persona,
|
| 79 |
"true_intent": self.true_intent,
|
| 80 |
"agent_intent": self.agent_intent,
|
| 81 |
+
"messages": self.messages,
|
| 82 |
}
|
| 83 |
|
| 84 |
|