Leveraging genAI to reduce redundant data in relational databases

Stefanos Peros

Stefanos Peros

Software engineer

July 18, 2024

With the widespread adoption of generative AI, textual content is increasingly being generated and stored in databases across various applications. From customer service responses to personalised content recommendations, AI-driven text generation is transforming how we interact with data.

Approach

As a working example, let's take a customer service chatbot that retrieves common responses from a relational database, which have previously been generated by an LLM, to help customers with various issues.

Let's start by defining 'similarity' of responses in a quantifiable way. This can be done by transforming the response text into an embedding, which is its numerical vector representation, by leveraging an embedding model.

Closing statement

With an increasing number of AI-powered digital products in our portfolio, we have frequently encountered the challenge of managing and maintaining database performance amidst the surge of generated text.

Let's build. Together!

We'll be happy to hear more about your latest product development initiatives. Let's discover how we can help!