During an inspiring lunch with Maarten, one of the founders of Squad Apps, we discussed the rise of artificial intelligence (AI) and the growing interest from customers in this technology. Many companies want to take advantage of AI, but often do not know how and where to implement it.
As I drive home after lunch, the conversation keeps running through my mind. The excitement about AI's possibilities is growing, and as a tech enthusiast, I can't help but think about what we can do with it. Suddenly, an idea strikes me: what if we use AI itself to generate AI use cases? It seems not only like a fun concept but also a practical way to show our customers how they can integrate AI into their processes.
Without a fully developed plan, I begin working on the development of an app. The concept takes shape naturally during the development process, an organic and creative process that rarely occurs in structured application development.
I decide to use OpenAI's API to set up an assistant that can process specific instructions and data. This API allows us to send up to 256,000 characters of instructions, including contextual data, via a REST call. This enables us to give the assistant detailed and complex tasks, keeping costs manageable. Then, I integrate the rest of the functionalities through various APIs in Mendix.
The main microflow of the GenerateUseCaseWithCompanyContext action is crucial in this process. This microflow starts by validating the input and retrieving the necessary settings. Next, API calls are made to send the desired instructions and process the response. The microflow then processes the received response into usable use cases and finally closes the input page to display the result.
The result is an app that functions as a repository of AI use cases. Users, even anonymously, can filter for specific use cases. Logged-in users also have the ability to try out demos linked to the use cases. However, the true power of the app lies in the administrator function. An administrator can submit a company context, and the app generates an AI use case specifically applicable to that context. This allows companies to directly see how AI can be integrated into their unique processes.
The app provides an innovative way for our customers to explore and apply AI. By using AI to generate AI use cases, we demonstrate how customers can leverage this powerful technology. The future looks bright for further development of this tool and we are excited to offer even more value to our customers.
Are you curious about the app that I’ve built? Reach out to us and I’ll be happy to show it to you!