All articles
  • LISSA
  • Data analysis

Large Language Model (LLM) - a powerful technology

1 minute read

Using Large Language Model technology to analyse your own data.

Summary

  • ChatGPT is limited to the data its LLM was trained on, and it answers from the user’s internal and own data only when the user supplies it in the prompt.
  • When LLMs are deployed suitably on your own unstructured data, the assistant can answer even a question about Petr Máchal from the fairy tale S čerty nejsou žerty.
  • To do this the data has to be processed and converted by an LLM into vectors in a vector database, and the demonstration with OpenAI’s GPT-4 model also shows entity detection.

General awareness of Large Language Model (LLM) technology and its capabilities arrived with the ChatGPT chatbot. ChatGPT and its ability to generate an answer, however, are limited to the data its LLM was trained on. It cannot give answers based on the user’s internal and own data (except for data supplied in the prompt). This limitation is illustrated by a question about the character Petr Máchal from the popular Czech fairy tale S čerty nejsou žerty (No Joking with Devils). Instead of the infernal book of sins, Lucifer could ask ChatGPT:

ChatGPT’s answer to the question of what Petr Máchal did: as of its knowledge cutoff in September 2021 it has no information about such a person

LLMs over your own data

Provided we are able to deploy and use LLMs suitably to analyse our own unstructured data, we can achieve the output illustrated below.

The assistant’s answers over our own data to the questions of what Petr Máchal did and what sentence he received, with the recognised entities “dvanácti let” (twelve years) and “Petrovi Máchalovi” (Petr Máchal)

What such a result requires

It is important to point out that achieving a similar result requires knowing how to work with unstructured data. The data has to be processed and converted by an LLM into vectors, which are stored in a vector database (or indices). In the answer generation phase an LLM is then used again. This demonstration uses OpenAI’s GPT-4 LLM. It also shows the possibility of detecting entities with an LLM.

Get in touch

A few sentences about what you are working on will help us prepare.

We describe how we handle personal data in our privacy policy.

You can also call us on +420 228 227 418 or email us at info@datera.cz.