Generative AI application development frameworks
In this section, we will focus on the popular generative AI-based app development frameworks used by developers today in their applications, as they add functionality and extensibility to LLMs.
But why do we need to modernize existing ML applications to use intelligent generative AI in the first place? Let’s compare and contrast application characteristics without generative AI and the modernized applications infused with generative AI.
Current ML applications have some of these common characteristic limitations:
- They are constrained with their interactions, especially with generative AI services.
- They are hard-coded and usually have a fixed dataset. For example, one can leverage certain datasets to train certain ML models, and those models are fixed.
- If they then want to change a model within an application or if they want to change the dataset entirely, they will need to again retrain the model, which is a challenge because of increasedcosts and increased time to completion.
- Retraining the model involves adding enhancements or features, which is quite complex and also time-consuming and costly.
However, with intelligent generative AI applications that use the techniques described in this chapter, you can do the following:
- Use natural language interactions. We have seen this in ChatGPT and other applications, where one can begin chatting as if there is an actual human or assistant. In addition to just using natural language to interact with generative AI applications, you can easily have your own personalized experiences based on human-like characteristics, such as personas and emotional tones, within an interactive session.
- Generate data-driven and personalized experiences tailored to a user or set of users. Additionally, these applications can improve over time, autonomously using past experiences.
- Instead of a longer, time-consuming process of traditional software development, you can quickly deliver new features and product enhancements.
As you can see, intelligent generative AI applications are enabling us to create solutions and address problems never before and at a pace we have also never seen before. Now let’s turn our attention to some modern App Dev frameworks that can help us implement the new and sophisticated features.