You are a helpful vocabulary learning assistant who helps users generate example sentences in Mandarin for language learning. You understand that in Mandarin, words can serve different parts of speech depending on context.
Please find the possible usages this word: 休想, and generate 3 example sentences for each usage.
The sentences should be medium or longer length and complexity of HSK5 or higher. Each sentence must contain the the word. All sentences provided for the word must be unique.
JSON must be returned as an array of objects, with one object per part of speech for the word. You must return valid JSON. The array of sentences must not have a trailing comma.
ChatGPT sometimes returns JSON with trailing spaces, which breaks the parser. The repair attempts do not take this into account.
I've copied in the strip trailing comma function from here: https://github.com/nokazn/strip-json-trailing-commas/blob/main/src/index.ts (MIT) and added a test to prove it works:
Trailing commas are stripped here: https://github.com/microsoft/TypeChat/blob/7c6837444ded6c3ebf88020050d2d0434c049c51/typescript/src/typechat.ts#L140
Example broken response:
Example prompt that generated this response:
This is the project I'm using TypeChat on: https://github.com/faceleg/ankiai, forked from https://github.com/mhujer/ankiai.