You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @denadai2 , thanks for reporting this issue! Sorry for the late response because I was occupied with some paper-related work.
Your output still seems to be valid JSON, but just its content is not expected. One possible reason for that is you may not describe the output structure in the prompt, but only rely on constraint decoding. This may not work well because LLM is not aware of the constraint. If this is the case, you can describe the structure in the prompt, say, "output a json object that contains a key 'guests' with a value that is a list of strings". That is helpful in practice.
Otherwise, could you provide your specific model and prompt? I can dig into that to see what the problem is.
Is it normal that constrained properties could be repeated a lot?
This is not a valid json: :/
thx
The text was updated successfully, but these errors were encountered: