Spaces:
Build error
Build error
Update researchsimulation/InteractiveInterviewChatbot.py
Browse files
researchsimulation/InteractiveInterviewChatbot.py
CHANGED
|
@@ -496,7 +496,7 @@ def ask_interview_question(respondent_agents_dict, last_active_agent, question,
|
|
| 496 |
tailored_attempts += 1
|
| 497 |
continue
|
| 498 |
|
| 499 |
-
if validate_styled_answer(agent_name, agent_question,
|
| 500 |
tailored_answer = styled
|
| 501 |
break
|
| 502 |
|
|
|
|
| 496 |
tailored_attempts += 1
|
| 497 |
continue
|
| 498 |
|
| 499 |
+
if validate_styled_answer(agent_name, agent_question, styled, user_profile, processor_llm):
|
| 500 |
tailored_answer = styled
|
| 501 |
break
|
| 502 |
|