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