From f39a21be7112b36acae5180dc846bc01e555d003 Mon Sep 17 00:00:00 2001 From: Robi9 Date: Thu, 14 Nov 2024 13:35:07 -0300 Subject: [PATCH] Refactor prompt for chatgpt --- services/external/weni/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/external/weni/service.go b/services/external/weni/service.go index 391cd5bc8..5b884f983 100644 --- a/services/external/weni/service.go +++ b/services/external/weni/service.go @@ -324,7 +324,7 @@ func GetProductListFromChatGPT(ctx context.Context, rtConfig *runtime.Config, co } prompt7 := chatgpt.ChatCompletionMessage{ Role: chatgpt.ChatMessageRoleSystem, - Content: "DO NOT RETURN ANYTHING BEYOND THAT", + Content: "DO NOT RETURN ANYTHING BEYOND THAT<|end_of_text|>", } question := chatgpt.ChatCompletionMessage{ Role: chatgpt.ChatMessageRoleUser,