News for hackers. Stuff that matters.
Re:GPT-Prompt-Engineer by msp26 on Tuesday July 11, 2023 @07:21AM (#36679399)
If you're using OAI function calling, you can define a json schema with boolean values. If you have a handful of values, you can use an enum with a list of possible values.

Unless your prompt seriously conflicts with the schema, it's pretty consistent.

There are no comments on this comment yet.