Most companies already have the answers to their most important questions stored somewhere. They sit in the accounting system, in the ERP, in Excel sheets, in PDF contracts, in manuals and in emails. The problem is that only two kinds of people can get to them quickly: those who can write a database query, and those who have time to dig through dozens of folders.
Artificial intelligence is changing that. Instead of waiting for a report from a colleague in IT, you can simply ask: "Which customers bought less this year than last year?" or "What is the notice period in the contract with our packaging supplier?" A few seconds later you get an answer, together with a link to the source the AI used.
In this article we explain in plain words how this works, which specific technologies are used, how running it in the cloud differs from running it on your own server, and what to watch out for to keep your data safe.
Two types of questions, two types of solutions
The questions people ask inside a company fall into two groups. Each group uses a slightly different technical approach.
Questions about numbers: AI that understands your database
Typical questions: "What were the October sales by branch?", "Which products have not sold even once in the last 3 months?", "How many invoices are more than 30 days overdue?"
This kind of data lives in a database, for example in Odoo, in an accounting program or in an internal system. Databases, however, do not understand everyday language. They understand SQL, a language for writing precise queries.
Here the AI works as a translator. It reads your question, looks at how the database is organized (which tables and columns it has) and writes an SQL query. The system runs the query, gets the result, and the AI summarizes it in a sentence or two, or shows a table or a chart. This approach is called text to SQL.
To give you an idea, the question "What were the October sales by branch?" can turn into a query like this:
SELECT branch, SUM(amount_excl_vat) AS sales
FROM invoices
WHERE issue_date BETWEEN '2026-10-01' AND '2026-10-31'
GROUP BY branch
ORDER BY sales DESC;
You do not need to understand this code. What matters is that the AI writes it for you, and if needed, you can show it to someone in IT to double check.
This works with databases such as PostgreSQL (which is also what Odoo runs on), Microsoft SQL Server, MySQL or MariaDB. With accounting programs common in Slovakia, such as Pohoda, Money S3 or Omega, data is usually exported regularly into a separate analytics database that the AI works with.
Questions about text: RAG, the AI that reads your documents
Typical questions: "What is the procedure for a product complaint from a foreign customer?", "What does the business travel policy say about hotel costs?", "Which contracts expire in the first quarter?"
Here the answers are not in tables but in text. The technique used for this is called RAG, which stands for Retrieval Augmented Generation. In plain words: generating answers after looking things up in your sources.
An example explains it best. Imagine a new colleague who is very smart but has not read your documents yet. When you ask something, they first look up the right pages in the archive and only then answer. RAG works exactly like that:
- Preparation: Documents (PDF, Word, Excel, emails, SharePoint pages) are split into smaller parts, for example by paragraph.
- Meaning fingerprint: Each part is converted into a series of numbers that captures its meaning. The technical term is embedding. Thanks to this, the system finds related text even if your question uses different words than the document. If you ask about "vacation", it also finds text about "annual leave".
- Storage: These fingerprints are saved in a so called vector database, which is built for fast search by meaning.
- Answer: When you ask a question, the system finds the most relevant parts and passes them to the language model. The model writes the answer and states which document and page it came from.
Why is a regular ChatGPT not enough? Because it has never seen your internal documents. When it does not know the answer, it may make one up, which is called a hallucination. RAG greatly reduces this risk, because the AI answers only from your sources, and you can check every answer by clicking on its source.
What it can look like in practice
The following examples are illustrative. They show typical situations that small and medium sized companies in Slovakia deal with.
- A distribution company in Košice: In the morning, the sales director asks in the chat: "Which customers in eastern Slovakia reduced their orders by more than 20 percent compared to last year?" The AI checks the Odoo database and returns a list of customers with a comparison. Before, this meant asking for an export and spending half an hour in Excel.
- A manufacturing company: A technician on shift needs to know how to set up a specific machine after a tool change. Instead of browsing a 300 page manual, they ask the AI assistant in Microsoft Teams and get the exact procedure with the page number.
- Administration and legal: An assistant asks: "Which supplier contracts renew automatically, and when do we need to send a notice?" The AI goes through the contracts stored in SharePoint and prepares an overview with deadlines.
- Customer support: A new support colleague asks the internal assistant how a similar problem was solved in the past. The AI searches the ticket history and the internal documentation.
Which technologies are used
The solution has several parts. For each part there are several proven options, and the choice depends on your needs.
| Part of the solution | What it does | Example technologies |
|---|---|---|
| Language model | Understands the question and writes the answer | GPT (OpenAI, also via Microsoft Azure), Claude (Anthropic), Mistral, Llama (Meta), Qwen, Gemma (Google) |
| Embedding model | Turns text into "meaning fingerprints" | Embedding models from OpenAI or Cohere, open source models BGE M3 and multilingual E5, which handle Slovak well |
| Vector database | Stores the fingerprints and searches fast | PostgreSQL with the pgvector extension, Qdrant, Chroma, Weaviate |
| Document processing | Reads PDF, Word, spreadsheets and scans | Docling, Unstructured, Tesseract OCR for scanned documents |
| Orchestration | Runs the whole process from question to answer | LangChain, LlamaIndex or custom Python code |
| User interface | Where employees ask their questions | Web chat (for example Open WebUI or a custom app), Microsoft Teams, Slack, directly inside Odoo |
If you already use PostgreSQL, for example because of Odoo, you often do not need any extra database. The pgvector extension adds search by meaning directly to the database you already have.
Cloud or your own server?
This is one of the most important questions, because it decides where your data is processed. Both options are fine, and each has different advantages.
Running in the cloud
The language model runs in the provider's data center, and your solution connects to it over the internet. Examples:
- Azure OpenAI from Microsoft, with GPT models and the option to process data within the EU.
- Claude from Anthropic, available for example through Amazon Bedrock in European regions.
- Mistral AI, a European provider based in France.
Running on your own server
The language model runs at your place, on a server in your company or in a data center you choose. Tools such as Ollama (simple way to run models) or vLLM (high performance for many users at once) are used for this, together with open models like Llama, Mistral, Qwen or Gemma. The server needs a powerful graphics card, typically from NVIDIA.
Comparison
| Cloud | Your own server | |
|---|---|---|
| Where the data is | With the provider, protected by contract and settings | Never leaves your company |
| Answer quality | The most powerful models on the market | Very good, sometimes slightly weaker on complex tasks |
| Time to start | Fast, no hardware to buy | Longer, a server needs to be prepared |
| Costs | You pay for what you use | One time hardware investment, then predictable |
| Maintenance | Handled by the provider | Needs updates and administration |
| Without internet | Does not work | Works |
A combination of both
In practice we often recommend a hybrid solution. Sensitive documents, such as HR data, contracts or health information, are processed by a model on your own server. Less sensitive tasks, such as questions about the product catalog, can go to the cloud, where the highest performance is available. Which option is best for you depends on how sensitive the data is, on the number of users and on your internal rules.
Security and GDPR: what to watch out for
An AI assistant over company data must be at least as secure as the systems it connects to. In every project we focus on these points:
- Access rights: The AI shows a person only what they could see without the AI. If a warehouse worker cannot see salaries in the accounting system, they will not see them through the AI assistant either. Permissions can be taken over from SharePoint or Google Drive, for example.
- Read only: The connection to the database is read only. The AI can display data, but it cannot change or delete it.
- Question log: The system records who asked what. This helps with audits and with improving the solution.
- Data processing agreement: With cloud services you need a data processing agreement (DPA) with the provider, and settings that prevent your data from being used to train models.
- Transparency: Users should know they are talking to an AI. You can read more about the obligations under the European AI regulation in our article EU AI Act for small companies: what you need to know.
- Verifiability: Every answer includes its source. For questions about numbers, the SQL query behind the result can also be displayed.
How the rollout works
We do not start with a big project for the whole company. A step by step approach works best:
- Kickoff workshop: Together with your people we collect 10 to 20 questions that come up most often in your company and take the longest to answer today.
- Data overview: We find out where the answers are stored, what condition the data is in and who should have access to it.
- Pilot: We build the solution for one area, for example sales or internal documentation, and for a small group of users.
- Testing: We measure how many answers are correct and fine tune the solution based on user feedback.
- Expansion: We add more data sources, departments and users.
The price depends on the number and type of data sources, on how the solution runs and on the number of users. That is why we always prepare it individually after an initial consultation.
If you are also thinking about AI that carries out tasks, not just answers questions, read our article AI agents vs. chatbots: what is the difference and what will help your business?. For a quick start with automation, we also recommend Why Slovak SMEs lag behind in AI and how to start with 3 automations.
Frequently asked questions
Does the AI understand questions in Slovak and other languages?
Yes. Modern language models such as GPT, Claude, Mistral or Qwen handle Slovak, English and many other languages very well. For documents in Slovak, it is also important to choose a suitable search model, for example the multilingual BGE M3.
Do we need new software or a new database?
No. The AI assistant connects to the systems you already use, for example Odoo, Microsoft SQL Server, PostgreSQL, SharePoint or Google Drive. If you are still thinking about introducing an ERP system, read Odoo for small and medium sized companies: 5 signs it is time for an ERP.
Can the AI change or delete anything in the database?
No, if it is set up correctly. The AI assistant gets read only access, so it can display data but cannot change it.
What if the AI gives a wrong answer?
Every answer includes its source, either a link to the document or the database query that was used, so you can check it quickly. Before launch, we test the solution on real questions from your employees.
How much does a solution like this cost?
The price depends on the number and type of data sources, on how it runs (cloud or your own server) and on the number of users. The best start is a short consultation.
How we can help
At ZerumOne we design and build custom AI assistants over company data. We help you choose the right questions to start with, decide between the cloud and your own server, connect your systems securely and launch the solution. You can find more about this service on the page AI assisted data insights.
Want to know which questions AI could already answer in your company today? Get in touch and let's arrange a free consultation.