# Using RAG in a virtual assistant application

DevFeed: [Using RAG in a virtual assistant application](<https://devfeed.tech/articles/using-rag-in-a-virtual-assistant-application-57271.md>)

Original publisher: [Read original article](<https://www.thoughtworks.com/insights/blog/generative-ai/rag-virtual-assistant-application>)

Author: Chetan Chhabra

Published: 2025-06-18T00:00:00Z

Content type: tutorial

Language: en

Sources: [Thoughtworks Insights](<https://devfeed.tech/sources/thoughtworks-insights.md>)

Topics: [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [AI Development](<https://devfeed.tech/topics/ai-development.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Natural language processing](<https://devfeed.tech/topics/nlp.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [Database](<https://devfeed.tech/topics/database.md>), [Prompt Engineering](<https://devfeed.tech/topics/prompt-engineering.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [application](<https://devfeed.tech/tags/application.md>), [database](<https://devfeed.tech/tags/database.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [llm](<https://devfeed.tech/tags/llm.md>), [natural-language-processing](<https://devfeed.tech/tags/natural-language-processing.md>), [rag](<https://devfeed.tech/tags/rag.md>)

## AI overview

This tutorial explains how retrieval-augmented generation can improve a virtual assistant's handling of user queries. It describes preparing a product catalog, splitting documents, generating embeddings, storing them in a vector database, and using prompts to retrieve relevant context for responses.

## Source excerpt

Using RAG in a virtual assistant application