⚡️ Ideas
Winston Winston Aug 1, 2023

Filling multiple fields with GPT3.5-4's function calling

Explain the problem as you see it

Currently, we only have one output from running one prompt. This means if we want to fill up multiple fields, we need to use multiple prompt:field pairs.

Why is this a problem for you?

This adds up to a lot of set up time, difficulty in editing these prompts later, etc. It also makes it difficult to combine these multiple field inputs with an external API or code, or perhaps another prompt. It would also save costs.

Suggest a solution

I suggest using function calling that openai has enabled. This means being able to specify a function name and description, and then allowing it to output the values of multiple variables. I also suggest that we are able to map these variables to fields.

⁨1⁩ ⁨Comment⁩