文章

顯示從 9月, 2024 起發佈的文章

coding language personality

 createTest("react.js or vue.js personality") caculateChoiceMethodDetails": 'a' = 2 points, 'b' = 1 points, 'c' = -1 point, 'd' = -2 points.  The total score determines the best fit coding language replyJsonOnlyFormat{ "questions":[     {     "q":str     "answerChoice":[str({options:a,b,c,d})]     }*20 ], "scoreRangeToJSFramework":[{         'type':str({options:'react','vue'}),         'rangeFrom':int,         'rangeTo':int,     }*?] } NoMarkDown

coding language personality

 createTest("coding language personality") caculateChoiceMethodDetails": 'a' = 2 points, 'b' = 1 points, 'c' = -1 point, 'd' = -2 points.  The total score determines the best fit coding language replyJsonOnlyFormat{ "questions":[     {     "q":str     "answerChoice":[str({options:a,b,c,d})]     }*20 ], "scoreRangeToCodingLanguage":[{         'type':str,         'rangeFrom':int,         'rangeTo':int,     }*?] } NoMarkDown

MBTI

 createTest("MBTI personality") caculateChoiceMethodDetails": 'a' = 2 points, 'b' = 1 points, 'c' = -1 point, 'd' = -2 points.  The total score determines the MBTI personality type based on predefined ranges." replyJsonOnlyFormat{ "questions":[     {     "q":str     "answerChoice":[str({options:a,b,c,d})]     }*20 ], "scoreRangeToMBTIType":[{         'type':str,         'rangeFrom':int,         'rangeTo':int,     }*?] } NoMarkDown

translate json

 json={    "ai_generating": {     "ai_generating": "AI Generating..."   },   "scene_start_page": {     "scene": "SCENE",     "experience": "experience",     "with_2_ai": "with 2 different Artificial Intelligence",     "start": "Start"   }, } translateToJP(): translates all value (but not key) to japanese translateToJP(json) replyJsonOnly NoMarkDown

NoMarkDown

words="I experienced content colourful mood yesterday" translateCN():translate to chinese translateJP():translate to japanese reply(): reply&response(not translate) with english and long text translate&reply(words) replyJsonOnlyFormat{     "translationCN":str,     "translationJP":str,    "reply":str,    "emotion":{        "happy":int(0to10),        "sad":int(0to10),        "angry":int(0to10),    } } NoMarkDown

multi function

 words="I experienced content colourful mood yesterday" translateCN():translate to chinese translateJP():translate to japanese reply(): reply&response(not translate) with english and long text translate&reply(words) replyJsonOnlyFormat{     "translationCN":str,     "translationJP":str,    "reply":str,    "emotion":{        "happy":int(0to10),        "sad":int(0to10),        "angry":int(0to10),    } }

reply&emotion

words="I experienced content mood yesterday" reply&emotion(words) replyJsonOnlyFormat{    "reply":str,    "emotion":{        "happy":int(0to10),        "sad":int(0to10),        "angry":int(0to10),    } }

createQ&A, yes no test

 createQ&A("depression yes/no test, yes:1score,no:0score") replyJsonOnlyFormat{     "qs":[     ({         "q":str     })*20 ],     "depressedIfTotalScore>":int }

createQ&A

 createQ&A("js interview") replyJsonOnlyFormat{     "qa":[     ({         "q":str,         "a":str     })*20 ] }

nullable variable and options and unit

 translate("我想租房") replyJsonOnlyFormat{ "location":null|str({options:['九龍','新界','香港島','其他']}), "size":null|float(unit:squareFeet) }

replyJsonOnlyFormat

chat(""" replyJsonOnlyFormat{ "data":[] } write10emotionWords """)

replyJsonOnly

chat(""" replyJsonOnly{ "happy":float(0to50) "sad":float(0to50) "angry":float(0to50) } emotion("I like ice cream it's good") """)