When we hit the limitations of the previous level, where a single API and prompt engineering are no longer sufficient, we need to move to the next level. AI development companies can be instrumental in creating a comprehensive AI stack.
Typically, the goal at this level is to significantly enhance an already viable digital product by integrating, fine-tuning, and creating a collaborative environment of multiple AI products and technologies. Here, our objective might include embedding significant specific knowledge into our system, as well as incorporating the possibility for feedback, learning, and improvement. In essence, we are creating a custom and collaborative AI stack.
This means that in practice, we do not rely on just one or two tools; rather, we use multiple tools whose cooperation yields the desired result. We use AI for certain tasks and control them with other AI tools and deterministic algorithms. The tools are fine-tuned, embedding significant unique knowledge specific to the problem. Often, the system is provided with memory using vector databases, classical databases, and document stores. It is also crucial to use ready-made products, technologies, models, and APIs that allow for the necessary customization.
Typical tools at this level include various programming libraries like Langchain, Llamaindex, AutoGPT, and usually the Python programming language, vector and other databases (e.g., Pinecone, PG-Vector, Elasticsearch), open-source language models (e.g., Llama 2 and it's further trained variants), MistralAI models (as of early 2024), and all APIs and technologies from the previous level (ChatGPT and similar). There are many available models and applications with fine-tuning options, providing a wide range of choices.
When to use in development
This approach is worth considering when dealing with more complex, multi-step workflows that handle multiple use cases exceed the limitations of APIs and cannot be consistently resolved with prompting alone, particularly when feedback is involved in the workflow.
We can confidently call this level AI development, which can set us apart in terms of the final result from those who only incorporate some external tool. The result is much harder to replicate. However, do not expect this level to solve new, unresolved problems, as this will likely require proprietary models and the next level of development.
At this level, real knowledge about the operation of AI tools is required, not just their use. We must know how to further fine-tune, parameterize, and operate the models, and the developers involved must understand the background as well. Typically, BSc/MSc professionals with a background in computer science education are needed.