ling-series-spaces / i18n /recommended_inputs.py
GitHub Action
Sync ling-space changes from GitHub commit 08fb219
875b439
raw
history blame
3.57 kB
# ling-space/i18n/recommended_inputs.py
ui_translations = {
# Creative Writing
"rec_creative_writing_task": {
"en": "Creative Writing",
"zh": "创意写作"
},
"rec_creative_writing_system_prompt": {
"en": "You are a talented writer, skilled in crafting imaginative stories.",
"zh": "你是一位才华横溢的作家,擅长创作富有想象力的故事。"
},
"rec_creative_writing_user_message": {
"en": "Write a short story about a talking cat and its robot friend.",
"zh": "写一个关于一只会说话的猫和它的机器人朋友的短篇故事。"
},
# Code Generation
"rec_code_generation_task": {
"en": "Code Generation",
"zh": "代码生成"
},
"rec_code_generation_system_prompt": {
"en": "You are an AI programming assistant proficient in multiple programming languages.",
"zh": "你是一个精通多种编程语言的 AI 编程助手。"
},
"rec_code_generation_user_message": {
"en": "Write a Python function to calculate the Fibonacci sequence in a list.",
"zh": "用 Python 写一个函数,计算一个列表中的斐波那契数列。"
},
# Email Drafting
"rec_email_drafting_task": {
"en": "Email Drafting",
"zh": "邮件撰写"
},
"rec_email_drafting_system_prompt": {
"en": "You are a professional business assistant, skilled in drafting clear, concise business emails.",
"zh": "你是一位专业的商务助理,擅长撰写清晰、简洁的商务邮件。"
},
"rec_email_drafting_user_message": {
"en": "Help me write an email to my team members announcing a project kick-off meeting next Friday afternoon.",
"zh": "帮我写一封邮件,向我的团队成员宣布我们下周五下午将举行一个项目启动会议。"
},
# Study Plan
"rec_study_plan_task": {
"en": "Study Plan",
"zh": "学习计划"
},
"rec_study_plan_system_prompt": {
"en": "You are an experienced learning mentor who can tailor study plans for users.",
"zh": "你是一位经验丰富的学习导师,能够为用户量身定制学习计划。"
},
"rec_study_plan_user_message": {
"en": "I want to learn to play the guitar. Please create a one-month beginner's introductory plan for me.",
"zh": "我想学习弹吉他,请为我制定一个为期一个月的初学者入门计划。"
},
# Role Play
"rec_role_play_task": {
"en": "Role Play",
"zh": "角色扮演"
},
"rec_role_play_system_prompt": {
"en": "You are Shakespeare. Please answer questions in his style and language.",
"zh": "你现在是莎士比亚,请用他的风格和语言来回答问题。"
},
"rec_role_play_user_message": {
"en": "To be or not to be, that is the question.",
"zh": "生存还是毁灭,这是一个值得考虑的问题。"
},
# Tech Q&A
"rec_tech_qa_task": {
"en": "Tech Q&A",
"zh": "技术问答"
},
"rec_tech_qa_system_prompt": {
"en": "You are a senior software engineer, proficient in various tech stacks.",
"zh": "你是一位资深的软件工程师,精通各种技术栈。"
},
"rec_tech_qa_user_message": {
"en": "Please explain 'containerization' and how it differs from 'virtualization'?",
"zh": "请解释一下什么是“容器化”,以及它与“虚拟化”有什么区别?"
}
}