Spaces:
Sleeping
Sleeping
Update tools.py
Browse files
tools.py
CHANGED
|
@@ -219,7 +219,7 @@ def answer_image_question(task_id: str = "", file_path: str = "", question: str
|
|
| 219 |
""".strip()
|
| 220 |
|
| 221 |
response = client.chat.completions.create(
|
| 222 |
-
model=os.getenv("DASHSCOPE_VL_MODEL", "
|
| 223 |
messages=[
|
| 224 |
{
|
| 225 |
"role": "user",
|
|
@@ -647,7 +647,7 @@ def _extract_final_answer_from_transcript(
|
|
| 647 |
This is intentionally separate from transcription to reduce hallucination.
|
| 648 |
"""
|
| 649 |
client = _dashscope_client()
|
| 650 |
-
text_model = os.getenv("DASHSCOPE_TEXT_MODEL", "
|
| 651 |
|
| 652 |
prompt = f"""
|
| 653 |
You are an exact-match answer extractor for an evaluation benchmark.
|
|
|
|
| 219 |
""".strip()
|
| 220 |
|
| 221 |
response = client.chat.completions.create(
|
| 222 |
+
model=os.getenv("DASHSCOPE_VL_MODEL", "qwen3.6-plus"),
|
| 223 |
messages=[
|
| 224 |
{
|
| 225 |
"role": "user",
|
|
|
|
| 647 |
This is intentionally separate from transcription to reduce hallucination.
|
| 648 |
"""
|
| 649 |
client = _dashscope_client()
|
| 650 |
+
text_model = os.getenv("DASHSCOPE_TEXT_MODEL", "qwen3.5-flash")
|
| 651 |
|
| 652 |
prompt = f"""
|
| 653 |
You are an exact-match answer extractor for an evaluation benchmark.
|