Skip to content

o3jvind/XOJO-ChatGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

This is a modified version of “ChatGPTConnection Class” example included with XOJO. Like the original this example includes a class called ChatGPTConnection you can use to send a prompt to ChatGPT and get back a response. But unlike the original, here you get a streaming response from ChatGPT. This example also tries to show how you can “control" ChatGPT's response by defining assistants. Included you'll find three caricatured stereotypes. The prompt is just a plain text statement you wish to send as is the response.

To try the ChatGPTConnection class in this example project or use it in your own projects, you'll need a ChatGPT API key. You can learn how to get an API key and more about the original ChatGPTConnection class in this blog post:

https://blog.xojo.com/2024/03/26/make-your-apps-super-smart-start-calling-chatgpt-in-xojo/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages