'description':'A multilingual translator that provides translation capabilities in multiple languages, translating user input into the language they need.',
'mode':'completion',
'model_config':AppModelConfig(
provider='openai',
model_id='text-davinci-003',
configs={
'prompt_template':"Please translate the following text into {{target_language}}:\n",
'prompt_variables':[
{
"key":"target_language",
"name":"Target Language",
"description":"The language you want to translate into.",
"type":"select",
"default":"Chinese",
'options':[
'Chinese',
'English',
'Japanese',
'French',
'Russian',
'German',
'Spanish',
'Korean',
'Italian',
]
}
],
'completion_params':{
'max_token':1000,
'temperature':0,
'top_p':0,
'presence_penalty':0.1,
'frequency_penalty':0.1,
}
},
opening_statement='',
suggested_questions=None,
pre_prompt="Please translate the following text into {{target_language}}:\n",
model=json.dumps({
"provider":"openai",
"name":"text-davinci-003",
"completion_params":{
"max_tokens":1000,
"temperature":0,
"top_p":0,
"presence_penalty":0.1,
"frequency_penalty":0.1
}
}),
user_input_form=json.dumps([
{
"select":{
"label":"Target Language",
"variable":"target_language",
"description":"The language you want to translate into.",
"default":"Chinese",
"required":True,
'options':[
'Chinese',
'English',
'Japanese',
'French',
'Russian',
'German',
'Spanish',
'Korean',
'Italian',
]
}
}
])
)
},
{
'name':'AI Front-end Interviewer',
'icon':'',
'icon_background':'',
'description':'A simulated front-end interviewer that tests the skill level of front-end development through questioning.',
'mode':'chat',
'model_config':AppModelConfig(
provider='openai',
model_id='gpt-3.5-turbo',
configs={
'introduction':'Hi, welcome to our interview. I am the interviewer for this technology company, and I will test your web front-end development skills. Next, I will ask you some technical questions. Please answer them as thoroughly as possible. ',
'prompt_template':"You will play the role of an interviewer for a technology company, examining the user's web front-end development skills and posing 5-10 sharp technical questions.\n\nPlease note:\n- Only ask one question at a time.\n- After the user answers a question, ask the next question directly, without trying to correct any mistakes made by the candidate.\n- If you think the user has not answered correctly for several consecutive questions, ask fewer questions.\n- After asking the last question, you can ask this question: Why did you leave your last job? After the user answers this question, please express your understanding and support.\n",
'prompt_variables':[],
'completion_params':{
'max_token':300,
'temperature':0.8,
'top_p':0.9,
'presence_penalty':0.1,
'frequency_penalty':0.1,
}
},
opening_statement='Hi, welcome to our interview. I am the interviewer for this technology company, and I will test your web front-end development skills. Next, I will ask you some technical questions. Please answer them as thoroughly as possible. ',
suggested_questions=None,
pre_prompt="You will play the role of an interviewer for a technology company, examining the user's web front-end development skills and posing 5-10 sharp technical questions.\n\nPlease note:\n- Only ask one question at a time.\n- After the user answers a question, ask the next question directly, without trying to correct any mistakes made by the candidate.\n- If you think the user has not answered correctly for several consecutive questions, ask fewer questions.\n- After asking the last question, you can ask this question: Why did you leave your last job? After the user answers this question, please express your understanding and support.\n",
'description':'According to the user\'s stated requirements, mermaid code blocks are generated by AI, and the code blocks are rendered into corresponding SVG vector drawings.',
'mode':'chat',
'model_config':AppModelConfig(
provider='openai',
model_id='gpt-3.5-turbo',
configs={
'introduction':'Warm reminder: Click 👍 for correct reply and 👎 for inaccurate reply, which will help me further improve myself and greatly improve the accuracy of reply to similar questions. Hello, please tell me about your image generation needs: ',
'prompt_template':"You will play as a mermaid graphics generator, generating code blocks that conform to mermaid format requirements based on user scenario descriptions. \n\n[Note]\n\n- Output mermaid code blocks only, no other explanation. \nLet\'s think step by step.\n",
'prompt_variables':[],
'completion_params':{
'max_token':300,
'temperature':0.8,
'top_p':0.9,
'presence_penalty':0.1,
'frequency_penalty':0.1,
}
},
opening_statement='Warm reminder: Click 👍 for correct reply and 👎 for inaccurate reply, which will help me further improve myself and greatly improve the accuracy of reply to similar questions. Hello, please tell me about your image generation needs: ',
suggested_questions=None,
pre_prompt="You will play as a mermaid graphics generator, generating code blocks that conform to mermaid format requirements based on user scenario descriptions. \n\n[Note]\n\n- Output mermaid code blocks only, no other explanation. \nLet\'s think step by step.\n",