Jayashree Sridhar commited on
Commit
074e905
·
1 Parent(s): d20bb96

process func modification

Browse files
Files changed (1) hide show
  1. crew_config.py +3 -3
crew_config.py CHANGED
@@ -82,13 +82,13 @@ class PersonalCoachCrew:
82
  """
83
  print(dir(self.conversation_handler))
84
  # 1. Empathetic dialog
85
- conversation_response = self.conversation_handler(inputs)
86
  # 2. Wisdom/advice
87
- wisdom_response = self.wisdom_advisor(inputs)
88
  # (You may mix/compose these based on your agent logic)
89
  combined_response = f"{conversation_response}\n{wisdom_response}"
90
  # 3. Validate response
91
- validator_result = self.response_validator({'response': combined_response})
92
 
93
  # You may want to use a more sophisticated process (context, better merging, etc)
94
  # For MVP, just return this:
 
82
  """
83
  print(dir(self.conversation_handler))
84
  # 1. Empathetic dialog
85
+ conversation_response = self.conversation_handler.kickoff()(inputs)
86
  # 2. Wisdom/advice
87
+ wisdom_response = self.wisdom_advisor.kickoff()(inputs)
88
  # (You may mix/compose these based on your agent logic)
89
  combined_response = f"{conversation_response}\n{wisdom_response}"
90
  # 3. Validate response
91
+ validator_result = self.response_validator.kickoff()({'response': combined_response})
92
 
93
  # You may want to use a more sophisticated process (context, better merging, etc)
94
  # For MVP, just return this: