Skip to content

Commit

Permalink
Adjust chatgpt prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
Robi9 committed Mar 21, 2024
1 parent d4cc8d2 commit a5fef7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/external/weni/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ func GetProductListFromChatGPT(ctx context.Context, rtConfig *runtime.Config, co
}
prompt6 := chatgpt.ChatCompletionMessage{
Role: chatgpt.ChatMessageRoleSystem,
Content: "If the user does not provide a list of products, return an empty list of products.",
Content: "If the user does not provide a list of products or provides an invalid input, return an empty list of products.",
}
question := chatgpt.ChatCompletionMessage{
Role: chatgpt.ChatMessageRoleUser,
Expand Down

0 comments on commit a5fef7c

Please sign in to comment.