mirror of
https://github.com/Shchoholiev/shopping-assistant-api.git
synced 2025-04-04 16:49:36 +00:00
Merge pull request #23 from Shchoholiev/bug/SA-214-long-wishlist-name
bug/SA-214-long-wishlist-name
This commit is contained in:
commit
0022683192
@ -83,7 +83,7 @@ public class WishlistsService : IWishlistsService
|
|||||||
new OpenAiMessage
|
new OpenAiMessage
|
||||||
{
|
{
|
||||||
Role = OpenAiRole.System.RequestConvert(),
|
Role = OpenAiRole.System.RequestConvert(),
|
||||||
Content = "You will be provided with a general information about some product and your task is to generate general (not specific to any company or brand) chat name where recommendations on which specific product to buy will be given. Only name he product without adverbs and adjectives\nExamples:\n - Prompt: Hub For Macbook. Answer: Macbook Hub\n - Prompt: What is the best power bank for MacBook with capacity 20000 mAh and power near 20V? Answer: Macbook Powerbank"
|
Content = "You will be provided with a general information about some product and your task is to generate general (not specific to any company or brand) chat name where recommendations on which specific product to buy will be given. Only name he product without adverbs and adjectives. Limit the name length to 5 words\nExamples:\n - Prompt: Hub For Macbook. Answer: Macbook Hub\n - Prompt: What is the best power bank for MacBook with capacity 20000 mAh and power near 20V? Answer: Macbook Powerbank\nIf the information tells nothing about some product answer with short generic name"
|
||||||
},
|
},
|
||||||
new OpenAiMessage
|
new OpenAiMessage
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user