Spaces:
Runtime error
Runtime error
File size: 891 Bytes
dda94e6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
evaluate_guess = {"name": "evaluate_guess",
"description": "Calculate the score of a guess word and get the rank among the 1,000 words.",
"parameters": {
"type": "object",
"properties": {
"word": {
"type": "string",
"description": "A word, noun, verb, adverb or adjective. e.g. 空, 近い, 行く, etc."
},
"puzzle": {
"type": "object",
"description": "A puzzle data containing scores and ranks of words."
}
},
"required": ["word", "puzzle"]
}}
def get_functions():
functions = [evaluate_guess]
return functions |