Did you notice that no one (except advocates) talk about AI nowadays ?
Actually, that statement is not entirely accurate. AI (Artificial Intelligence) is a widely discussed topic in various fields, including technology, science, and business. It has gained significant attention due to its potential impact on industries and society as a whole. Many experts, researchers, and companies are actively involved in AI development and application.
So, it’s not true to say that only advocates talk about AI nowadays…
Has anyone tried to create a Xojo plugin for chatGPT? (not a plugin in Xojo to use chatGPT, but the opposite : a plugin for chatGPT that allows it to understand the Xojo code and documentation more efficiently).
I’ve tried the new “code interpreter” and chat-GPT4 plugins, and it’s impressive. We can now send it files to be analysed, it can also generate files, and so on. An effective combination of AI and Python, apparently.
Example : Extract images from PDF - #9 by olivierV

Ask it to write python to read any files you give it for analysis.
I have the Xojo ChatGPT plugin available now, PM me or email me via www.cryptic.co.uk !
Done
I did send a message to you and I have a ChatGPT key
Replied to your IM
HI Nicholas,
The link http://www.cryptic.co.uk/ is going this error page;
errorpage | Access Defender
I would love to try the chat GPT plugin…
Thanks!
- Paul
I think you still have to pay $20/month… IMHO
Its a stand alone EXE i have built in GOLANG, which you pass a parameter -apikey= {youropenaikey} then it interacts like the chatgpt webpage, calling this as a shell in Xojo, you can send and receive data to the interactive shell, so that you can build chatgpt into any Xojo app, it has temporal coherance to 2000 tokens. PM or email me chatgpt@cryptic.co.uk
sorry that means that i can remember the conversation you are having, it has a memory about the conversation. so you can use it as an interactive bot.
I’ve speedily put a webpage www.cryptic.co.uk up so people can obtain the CHATGPT tool. The site is working and will evolve over time to include the 200+ Xojo tools and utilities I’ve built over the years. Most of it will be open source or free.
Not the OpenAI API?
Yes CHATGPT API calls are not free.
Yeah, I looked at whisper and 11labs for voice detection and speaking (11labs being so close to reality its scary) however, you need to decide when the audio in has stopped, and there is a big delay in getting the data back out of 11labs, adding the wait for the input sentence, there is a massive delay when you want to communicate with something seamlessly.
I went on vacation to the UK, the last few weeks.
During that time my head didn’t take a well deserved break.
(Why should it
)
Before my trip I have been working on my own little plugin, that combines several OpenAI APIs.
Last week, during the UK-trip, I thought of improving the context part. Since the API doesn’t “remember” the previous messages, they need to be added as a System-Prompt or Conversation-Prompts. But, this can add up quickly, as a conversation grows. This will result in a higher token usage.
My idea is to use the language model (which can be the cheaper one, like the 3.5 one) to create short context prompts, based on both the user’s input as the generated result. This generated context will be modified slightly each time the conversation grows.
The result would be way shorter than feeding parts of the conversation back as a prompt, to maintain the context.
I think this will decrease the token usage by a lot. At least, for longer conversations it will.
Ask GPT to summarise the previous conversation and use that for next prompt, that may help you reduce each question. I have built mine with temporal coherence in mind so that I don’t have to ‘replay’ all the previous conversations and use unnecessary tokens.
