About IA

43 views
Skip to first unread message

Juan Carlos Málaga Segovia

unread,
Feb 24, 2024, 9:18:05 PMFeb 24
to CLIPSESG
Dear friends, what would be the best proposal to integrate CLIPS with ChatGPT within the framework of a proposal for the development of a hybrid application.


Best regards,

JC

Ryan Johnston

unread,
Mar 22, 2024, 9:04:33 AMMar 22
to CLIPSESG
ChatGPT has a Rest API, and CLIPS is written in C. One way: make those calls with another c library cURL. In CLIPS, you can write User Defined Functions (UDF in the Advanced Programming Guide) to add custom functionality to your rules engine.

I wrote a small UDF that uses cURL to make arbitrary GET http calls. You can modify that to your needs and combine that with the Rest API as it is documented in the ChatGPT documentation to call ChatGPT from CLIPS.
Reply all
Reply to author
Forward
0 new messages