arindamkhaled4530
08/08/2025, 4:42 PMarindamkhaled4530
08/08/2025, 4:48 PMarindamkhaled4530
08/08/2025, 4:51 PMarindamkhaled4530
08/08/2025, 4:54 PMaaronv (BAML)
08/08/2025, 5:33 PMaaronv (BAML)
08/08/2025, 5:33 PMaaronv (BAML)
08/08/2025, 5:34 PMarindamkhaled4530
08/08/2025, 5:39 PMaaronv (BAML)
08/08/2025, 5:40 PMarindamkhaled4530
08/08/2025, 5:42 PMuv sync --frozen --prerelease=allow, just to make sure things are synchronizedarindamkhaled4530
08/08/2025, 5:45 PMbaml-cli 0.202.1arindamkhaled4530
08/08/2025, 5:46 PMarindamkhaled4530
08/08/2025, 5:49 PMgreg (BAML)
08/08/2025, 6:03 PMEvaluateQA BAML function, too? I can try to reproduce this locally.arindamkhaled4530
08/08/2025, 6:11 PMfunction EvaluateQA(
input: QAEvaluationInput
) -> Feedback {
client ReasoningModels
prompt #"
Review the provided Q/A list against the text and constraints.
**Task context**
text: {{ input.text }}
{% if input.instructions %}
user instructions: {{ input.instructions }}
{% endif %}
hierarchical level: {{ input.level }}
prompt: {{ Prompt() }}
{% if input.keypoints %}
Make sure the QA pair at least covers the following keypoints:
{% for keypoint in input.keypoints %}
- {{ keypoint }}
{% endfor %}
{% endif %}
Question answer pairs:
{% for qapair in input.qaList.qapairs %}
- question: {{ qapair.question }}
answer: {{ qapair.answer }}
{% endfor %}
Your response MUST be a single, valid JSON object matching the schema below. Do not include any other text, explanations, or markdown.
{{ ctx.output_format }}
"#
}arindamkhaled4530
08/08/2025, 6:13 PMclient<llm> ReasoningModels {
provider fallback
options {
// This will try the clients in order until one succeeds
strategy [DeepSeekQwen_32b, DeepSeekQwen_8b, Phi_4]
}
}arindamkhaled4530
08/08/2025, 6:13 PMgreg (BAML)
08/08/2025, 6:18 PMarindamkhaled4530
08/08/2025, 6:18 PMarindamkhaled4530
08/08/2025, 6:18 PMclient<llm> DeepSeekQwen_32b {
provider openai-generic
options {
api_key env.SEEKR_API_KEY
model "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B"
max_tokens env.ALIGNMENT_MAX_TOKENS
base_url env.SEEKR_API_BASE
temperature 0.5
default_role "user" // Required for using VLLM
}
}arindamkhaled4530
08/08/2025, 11:29 PMgreg (BAML)
08/09/2025, 7:50 PMgreg (BAML)
08/09/2025, 7:57 PMarindamkhaled4530
08/12/2025, 1:06 AMarindamkhaled4530
08/16/2025, 4:38 PM