I am creating a GPT4 API.
After giving GPT4 limited categories and criteria, we ask it to answer which category the example product name best fits.
example)
{
“model”: “gpt-4”,
“temperature” : 0,
“messages”: [
{
“role”: “system”,
“content”: “Category [Underwear, household appliances, jewelry, health food, kitchen appliances, household goods, kitchenware, miscellaneous goods, general food, furniture/interior, bedding, beauty, leisure sports, travel, clothing, rental, insurance, other, mobile products ] Among them, ["Kitchen appliances"] for products used in the kitchen and use electricity, ["Kitchen appliances"] for products used in the kitchen and do not use electricity, ["Kitchen appliances"] for products used in the kitchen and use electricity In the case of products, "household appliances"], [in the case of daily life-related products that do not use electricity, "household goods"], [in the case of bags, shoes, and sunglasses, "miscellaneous"], [automobile-related , In the case of medical devices, camping, leisure, massage guns, and massagers, please answer only one category, referring to "Leisports"], [If the word consultation is present but not related to insurance, "Rental"]”
},
{
“role”: “user”,
“content”: “Lizaday Camella Tote Bag”
}
]
}
Currently, I am sending category information to the system side of the API, but is there a better way?
Also, I would appreciate it if you could give me a better method and example, excluding fine-tuning.
Translated using a translator.
The question may be strange.
I’m sorry.
have a good day