I’d like to get specific information out of a text. E.g is it true/false or what is the name mentioned in the text. I’d like to get only true/false and names back. I’ve tried to use the examples, but it seems to tend to return more than just values
For true and false, you can simply prompt it to return bool value. “If the question is a true/false question, return only the bool output” or something along these lines.
Also, what temperature and max_tokens value are you using ? A lower temperature will cause GPT to stick to the input text to a certain extent while a lower value of max tokens should dissuade it from generating more than it should.