change prompt to process inpus without product request

This commit is contained in:
cuqmbr 2023-12-08 17:43:25 +02:00
parent c8db205c73
commit 094807fb05
Signed by: cuqmbr
GPG Key ID: 2D72ED98B6CB200F

View File

@ -83,7 +83,7 @@ public class WishlistsService : IWishlistsService
new OpenAiMessage
{
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
{