# Brand extractor

Extract product and brand names from text.

|---|---|
| You can query a model directly and test the results returned when using different parameter values with the Cloud console, or by calling the Vertex AI API directly. - For an example of using the Vertex AI API, see [Quickstart using the Vertex AI API](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/start/quickstarts/api-quickstart). - To view this sample in the Cloud console: [Go to Google Cloud console](https://console.cloud.google.com/vertex-ai/generative/language/prompt-examples/Brand%20extractor) <br /> ||
| |---| | **System instructions** | | Identify all brand names mentioned in the input. Multiple products will be separated by commas. Please respond with the brand name and nothing else. | #### Examples Structured |---|---| | **<br /> Input** | **<br /> Output** | | <br /> What did TSLA, GOOG and DIS do today? <br /> | <br /> Tesla, Google, Walt Disney Co <br /> | | <br /> Tick-tock goes the clock for Rolex <br /> | <br /> Rolex <br /> | | <br /> Just dropped: adidas stan smith x homer simpson <br /> | <br /> Adidas, Stan Smith, The Simpsons <br /> | | <br /> Breaking: lost family found in the amazon rain forest <br /> | <br /> (none) <br /> | | <br /> Three short stories about coca-cola <br /> | <br /> Coca-Cola <br /> | | <br /> A brief history of Benson \& Hedges, Marlboro \& Dunhill <br /> | <br /> Benson and Hedges, Marlboro, Dunhill <br /> | | <br /> Three stocks to watch <br /> | <br /> (none) <br /> | | <br /> Reebok pumps are back in vogue this season <br /> | <br /> Reebok <br /> | #### Test |---|---| | **<br /> Input** | **<br /> Output** | | <br /> Peep the latest dog trends in vogue mag <br /> | <br /> Vogue <br /> | | |---|---| | **Model:** | gemini-2.5-pro | | **Temperature:** | 0.2 | | **Max output tokens:** | 8192 | | **TopK:** | 40.0 | | **TopP:** | 0.95 | |