Spaces:
Sleeping
Sleeping
Upload 67 files
Browse files
src/agents/agent_transcript/__pycache__/func.cpython-311.pyc
CHANGED
|
Binary files a/src/agents/agent_transcript/__pycache__/func.cpython-311.pyc and b/src/agents/agent_transcript/__pycache__/func.cpython-311.pyc differ
|
|
|
src/agents/agent_transcript/func.py
CHANGED
|
@@ -79,6 +79,8 @@ async def extract_transcript_and_comment(state: State):
|
|
| 79 |
],
|
| 80 |
"script_re_outline_prompt": prompt_template["script_re_outline_prompt"],
|
| 81 |
"script_writer_prompt": prompt_template["script_writer_prompt"],
|
|
|
|
|
|
|
| 82 |
}
|
| 83 |
|
| 84 |
|
|
@@ -121,7 +123,7 @@ def scientific_fact_finder(state: State):
|
|
| 121 |
"content": f"""Hãy tìm 3-5 nghiên cứu khoa học thực tế (PubMed, JAMA, Circulation, Nutrients…),
|
| 122 |
Tóm tắt số liệu, trích nguồn, gợi ý số liệu phù hợp cho từng đoạn trong script mới. Dựa trên các thông tin sau:
|
| 123 |
Script Structure Analyzer Response: {state["script_structure_analyzer_response"]}
|
| 124 |
-
Comment Insight Extractor Response: {state["comment_insight_extractor_response"]}
|
| 125 |
""",
|
| 126 |
}
|
| 127 |
]
|
|
|
|
| 79 |
],
|
| 80 |
"script_re_outline_prompt": prompt_template["script_re_outline_prompt"],
|
| 81 |
"script_writer_prompt": prompt_template["script_writer_prompt"],
|
| 82 |
+
"script_structure_analyzer_response": "",
|
| 83 |
+
"comment_insight_extractor_response": "",
|
| 84 |
}
|
| 85 |
|
| 86 |
|
|
|
|
| 123 |
"content": f"""Hãy tìm 3-5 nghiên cứu khoa học thực tế (PubMed, JAMA, Circulation, Nutrients…),
|
| 124 |
Tóm tắt số liệu, trích nguồn, gợi ý số liệu phù hợp cho từng đoạn trong script mới. Dựa trên các thông tin sau:
|
| 125 |
Script Structure Analyzer Response: {state["script_structure_analyzer_response"]}
|
| 126 |
+
Comment Insight Extractor Response: {state["comment_insight_extractor_response"] if state["comment_insight_extractor_response"] else "Không có comment insight"}
|
| 127 |
""",
|
| 128 |
}
|
| 129 |
]
|