Classify a request

Classify sentences into topics

Open in Google AI Studio

Prompt examples

Input statement:
Output classification:

I'd like to listen a song by Daft Punk.

music

I'd like to organize my email inbox

productivity

I'd like a grilled chicken sandwich with extra mustard.

food

I need to get to JFK airport by 5pm

navigation

I need to make a todo list for this week's action items

productivity

How long does it take to get from home to the office?

navigation

Let's listen to some high tempo music while we make this presentation

music

Let's order a pizza with extra cheese.

food

I need news

-

I want to go fishing

-

Sample responses

Input statement:
Output classification:

I want to get a hot dog with fries

food

Let's listen to some Talking Heads

music

What's going on in the world today?

-

Get code

Enable API key to develop with the Gemini API

You can call this prompt from our Gemini API by integrating the following code into your project.