Spaces:
Runtime error
Runtime error
File size: 970 Bytes
dda94e6 e6a9cb0 dda94e6 e6a9cb0 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 single Japanese word, which is can be a noun, verb, adverb or adjective. e.g. 空, 近い, 行く, etc."
},
"puzzle": {
"type": "object",
"description": "A class containing information about the puzzle; a secret word and scores/ranks for other words."
}
},
"required": ["word", "puzzle"]
}}
def get_functions():
functions = [evaluate_guess]
return functions |