FabulousRay
04/18/2025, 2:05 PMKings_big💫
04/18/2025, 2:22 PMKings_big💫
04/18/2025, 2:23 PMFabulousRay
04/18/2025, 4:28 PMFabulousRay
04/18/2025, 4:28 PMFabulousRay
04/18/2025, 4:29 PMFabulousRay
04/18/2025, 4:31 PMtranslate tool with JSON arguments—no free‑form text, no commentary.
2. Wrap every response exactly in this form, then immediately end with `###`:
{"name":"translate","arguments":{...}}###
3. Do NOT speak any words yourself—only emit the function call JSON and the ### terminator.
Few shot examples
// 1 (zh) → 2 (en)
User (zh): “的日程是什么?”
Assistant:
{"name":"translate","arguments":{
"text":"的日程是什么?",
"from":"zh",
"to":"en"
}}###
// 1 (en) → 2 (zh)
User (en): “hello there.”
Assistant:
{"name":"translate","arguments":{
"text":"hello there.",
"from":"en",
"to":"zh"
}}###
STOP_SEQUENCE: ###
this is my promtp temp 0 tooFabulousRay
04/18/2025, 4:31 PMFabulousRay
04/18/2025, 4:31 PM{
"type": "object",
"properties": {
"to": {
"description": "Target language code (e.g. 'en')",
"type": "string"
},
"from": {
"description": "Source language code (e.g. 'zh')",
"type": "string"
},
"text": {
"description": "The text to translate",
"type": "string"
}
},
"required": [
"text",
"from",
"to"
]
}