You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my ChatCompletionOptions I define my desired structure for the response. In my case, I am asking GPT to compose an email and the response nicely generates a title for the emailTitle property and the email content for the emailBody property.
How does the AI know what emailTitle and emailBody is? Does it infer what result it needs to generate for which property simply from the label alone or is something else happening here?
What if the purpose of these properties could not be assumed contextually, if I had them as gdfdfh and 123? How would I make sure the AI correctly structures its response and assigns the email subject to gdfdfh and the email body to 123?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In my
ChatCompletionOptions
I define my desired structure for the response. In my case, I am asking GPT to compose an email and the response nicely generates a title for theemailTitle
property and the email content for theemailBody
property.How does the AI know what
emailTitle
andemailBody
is? Does it infer what result it needs to generate for which property simply from the label alone or is something else happening here?What if the purpose of these properties could not be assumed contextually, if I had them as
gdfdfh
and123
? How would I make sure the AI correctly structures its response and assigns the email subject togdfdfh
and the email body to123
?Beta Was this translation helpful? Give feedback.
All reactions