- Preparation
Train the model
The language model is trained with examples to learn a specific writing style or answer format.
- User request
Ask a question
The user asks a question. The model answers it based on its trained capabilities.
- Language model Fine-tuning acts here
Adapted model
The model has been changed through additional training and applies the learned answer patterns.
- Answer
In the desired style
The AI answers in the trained style without automatically accessing current company data.
- Preparation
Connect data sources
Company documents, databases and other knowledge sources are connected to the AI application.
- User request RAG acts here
Retrieve information
For every question, matching information is searched for in the connected sources and provided.
- Language model
Unchanged model
The language model processes the question and the provided information without additional training.
- Answer
Based on the sources
The AI answers the question using the retrieved information and can state the sources it used.
Combining fine-tuning and RAG
The language model answers in the desired style and uses current company information.
- Preparation
Train the model and connect data
The language model is trained for the desired answer style. Company data is connected as well.
- User request RAG
Retrieve information
The AI searches the connected sources for matching information and adds it to the user's question.
- Language model Fine-tuning
Adapted model
The trained language model processes the provided information and formulates the answer in the desired style.
- Answer
In the desired style, with sources
The AI combines the trained style with the retrieved company information.