Jason Fan
Mar 13, 2023

You provide it a list of possible examples, and then ask it to give its answer in JSON. For example:

{

"intent": string // "Question" or "Action"

}

Then you can use a JSON parser to convert it to an object/dict!

Re: getting more information, asking it to evaluate if it has enough information to answer the question can help with that. For example, you could ask it to return a "can_answer_question" field in the JSON

Jason Fan
Jason Fan

Responses (1)