Workout Planner Using Pega and Chatgpt
The Prompt used fro Chat gpt is Below:
{
“model”: “text-davinci-003”,
“prompt”: “create a 7 day workout plan for man with height 6ft weight 86.7 kg, target weight 75kg”,
“temperature”: 0.7,
“max_tokens”: 256,
“top_p”: 1,
“frequency_penalty”: 0,
“presence_penalty”: 0
}
Test the prompt in Postman first and then start implementing in Pega
The Documentation to setup pega and chat Gpt is below you can click on the button to download and try the integration yourself, first try the api in Postman and then do the Connector integration in pega