#How to make API to only respond to queries about certain topics?

3 messages · Page 1 of 1 (latest)

cloud shadow
#

I'm loving this API! I'd like to test out use cases for specific queries, like say, an app just for sport-related questions. If the user asks about anything else, just return a "this isn't my wheelhouse dude!" or something.

In the chat.openai I can ask it to do just that. However, how does one achieve this through the API?

stray parcel
#

I'd recommend checking out fine-tuning within the docs