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
I am using OpenAI and generate.text() with a system prompt successfully; however, I do not see that there is a system_prompt argument for generate.choice(). Is there any way to pass a system prompt for a classification task? It looks like a prompt template may be the answer, but wanted to confirm this was the best approach. Also, can anyone confirm if generate.choice() will return multiple labels in the case of a multi-label classification task? The examples/recipes make reference to multi-label classification; however, each of the examples appears to only return a single label per example.
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
-
Hello,
I am using OpenAI and generate.text() with a system prompt successfully; however, I do not see that there is a system_prompt argument for generate.choice(). Is there any way to pass a system prompt for a classification task? It looks like a prompt template may be the answer, but wanted to confirm this was the best approach. Also, can anyone confirm if generate.choice() will return multiple labels in the case of a multi-label classification task? The examples/recipes make reference to multi-label classification; however, each of the examples appears to only return a single label per example.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions