Views
No views yet
1from runtime import DEFAULT_SYSTEM_PROMPT, VoxMind
2
3model = VoxMind("/path/to/VoxMind")
4
5tools = []
6system_prompt = model.build_system_prompt(
7 DEFAULT_SYSTEM_PROMPT,
8 tools,
9 extra_context={"current_city": "Beijing", "user_language": "en"},
10)
11
12messages = [
13 {"role": "system", "content": system_prompt},
14 {"role": "user", "content": "What's the weather like in Beijing today?"},
15]
16
17response = model.generate(
18 messages,
19 post_think_prefix="After careful reasoning, here is my detailed answer:\n",
20 max_new_tokens=512,
21 temperature=0.6,
22 top_p=0.9,
23 do_sample=True,
24)
25
26print(response.think)
27print(response.answer)
28print(model.parse_tool_calls(response.answer))1@misc{liang2026voxmindendtoendagenticspoken,
2 title={VoxMind: An End-to-End Agentic Spoken Dialogue System},
3 author={Tianle Liang and Yifu Chen and Shengpeng Ji and Yijun Chen and Zhiyang Jia and Jingyu Lu and Fan Zhuo and Xueyi Pu and Yangzhuo Li and Zhou Zhao},
4 year={2026},
5 eprint={2604.15710},
6 archivePrefix={arXiv},
7 primaryClass={cs.SD},
8 url={https://arxiv.org/abs/2604.15710},
9}