ChatGPT in Mendix Microflow (to send Requests(Prompts))

0
Hey,   are there any good Connectors or Tutorials/Documentation on how to implement ChatGPT in a Mendix Microflow to send Prompts to ChatgPT via API Calls and recieve Responses?   The few on the Marketplace that i tried have massive Errors from the start and seem not to work. Is it possible to do this via a normal REST Call?   Thanks,
asked
3 answers
1

Hi Burak,

 

on the marketplace you can find the platform-supported OpenAI Connector (see documentation for more information). To not get any errors, you also need to install GenAI Commons (and Encryption / Community Commons, but those are often in your project by default).

 

If you seek inspiration in how to use the connector, feel free to check out the GenAI Showcase App, which demonstrates the value of Mendix and GenAI.

 

I hope that helps you!

Best regards

Liam

answered
0

Yes, it shouldn't be too complex to call the REST ChatGPT API as documented in their developer quickstart Mendix.

 

These use the new REST client in Mendix 10.17:

 

image.png

 

image.png

 

image.png

answered
0

Hey, 

thanks everyone for their reponse.

 

I've tried calling ChatGPT via the "Call REST (POST)" action but i keep getting this Error:

image.png

 

This is how my Call looks.

 

image.pngimage.pngimage.pngimage.png

 

From the Screenshots u sent it looks like you are using something different. Is it not possible to do this with a " Call REST Service " from the Toolbox? What do you mean with REST Client?

 

I'd appreciate your Response a lot since im currently not getting around this Issue.

 

Thanks a lot,

 

Bur

answered