Classification within Sheets
GPT for Sheets can help you classify your catalog items, press articles, or any other text into the most relevant category within Google Sheets. This guide walks you through classifying apparel products for lifecycle inventory management, and improving your classification approach to get the best results.
Step 1: Get started
Prerequisites
- You have installed GPT for Sheets.
- You have opened a spreadsheet containing text to classify in a column.
Open the GPT for Sheets add-on and run the Classify bulk tool with categories Running, Workout, Casual, Yoga, Golf, Tennis
on a few rows to see how it works.
If you find the answers satisfactory, go ahead and launch your bulk classification! Otherwise, check how to improve your results in Step 2.
Step 2: Improve your results
For best results, use gpt-4o, which offers higher accuracy. Ensure Creativity is set to 0.
If your results are still not satisfactory (e.g., classification seems inaccurate, inconsistent, or too broad), you can further improve them by adding Classification instructions to give more specific guidelines to the AI.
info
You can provide specific instructions for multiple categories simultaneously. Separate each set of instructions with a new line for clarity.
Goal | Recommended approach |
---|---|
Improve accuracy | Minimize category overlap To the extent possible, make sure your categories don't overlap too much. If they do, provide instructions for disambiguation. For example:
|
Handle content outside categories | Add a fallback category Capture all irrelevant content into a fallback category. For example:
|
Classify into most specific category in a hierarchy | Use full paths to describe your hierarchy In a hierarchical system, use the full path of your most specific categories. For example:
|
Once you have refined your classification approach and are satisfied with the results from the initial rows, you are ready to launch your classification in bulk. Select more cells or even all cells, click Run rows, and watch GPT for Sheets handle the rest of the classification.