Skip to content

Commit

Permalink
Refactor prompt for chatgpt
Browse files Browse the repository at this point in the history
  • Loading branch information
Robi9 committed Nov 14, 2024
1 parent c242206 commit f39a21b
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 @@ -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</|system|>",
Content: "DO NOT RETURN ANYTHING BEYOND THAT</|system|><|end_of_text|>",
}
question := chatgpt.ChatCompletionMessage{
Role: chatgpt.ChatMessageRoleUser,
Expand Down

0 comments on commit f39a21b

Please sign in to comment.