parent
question-answer
Related:
The point off true/false is to get a yes/no or true/false answer to a prompt. OpenAI API adapts under some conditions and can get 0 shot results. For all examples, [EOP] indicates end of the context prompt before the API responds. Yes/No is combined with True/False here because they're basically the same.
Zero Shot
Phrased as a question ending in True/False, the API can answer without additional prompts.
Washington is the capital of the US, True or False?[EOP]
TrueIt can also answer yes/no questions well; e.g.
Is Washington the capital of the US?[EOP]
Yes, Washington is the capital of the United States.However, the following prompts do not appear to work:
Washington is the capital of the US, T/F?[EOP]
T/F: The US is a democracy.True of False: Washington is the capital of the US.[EOP]
True of False: The US is a democracy.few shot
The API can easily learn to answer with one word with a single example.
Was Washington the first president?
Yes
Is Washington the capital of the US?[EOP]
YesWashington is the largest state.
False
Is Washington the capital of the US?[EOP]
TrueCAUTION: Care should be used that responses to False context are not queried simultaneously. E.g. adding "Is washington the largest state" after the above prompt is primed to accept that Washingon is the largest state
Washington is the largest state.
False
Washington is the capital of the US
True
Is Washington the largest state?[EOP]
True