Merge pull request #23 from Shchoholiev/bug/SA-214-long-wishlist-name

bug/SA-214-long-wishlist-name
This commit is contained in:
Mykhailo Bilodid 2023-12-09 13:46:41 +02:00 committed by GitHub
commit 0022683192
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
{ {