# Text embedders

Text embedders are a vital component in the inference workflow of a Retrieval-Augmented Generation (RAG) application. They transform text data into numerical vector representations, enabling efficient similarity searches. This process enhances retrieval accuracy and speed, making it a crucial part of the RAG system.

### Available Text Embedders

Several text embedders are available, each offering unique capabilities for vectorizing text data. These embedders convert text into high-dimensional vectors, capturing semantic meanings and relationships.

<figure><img src="/files/hBSeIRP98dBxQVbAy8ro" alt="" width="277"><figcaption></figcaption></figure>

### Key Features

<figure><img src="/files/mB48o3phktEeSu3PCLz3" alt="" width="375"><figcaption></figcaption></figure>

* **Model Selection:** Choose from various models to suit your specific needs. Different models offer varying levels of detail and performance.
* **Dimensions:** Specify the dimensionality of the vectors, which affects the granularity and detail of the representation. Higher dimensions can capture more nuanced semantic relationships.
* **Enable Caching:** Option to cache embeddings for faster retrieval and reduced computational load. This can significantly enhance performance by storing frequently accessed vectors.

### How to Use the Text Vectorizer

<figure><img src="/files/ppT8MyGILd8CkbitABrm" alt=""><figcaption></figcaption></figure>

1. **Input:**
   * Provide the text data that needs to be vectorized. The vectorizer will process this text to generate vector embeddings.
2. **Configuration:**
   * Select the appropriate embedder and model based on your requirements. Configure the dimensions to balance between detail and computational efficiency.
3. **Output:**
   * The vectorizer outputs the vectorized text, ready for storage and retrieval. These vectors are used to perform similarity searches during the inference phase.

### Benefits of Text Vectorization

* **Efficient Retrieval:** Vectors enable quick similarity searches, improving the speed of information retrieval.
* **Enhanced Accuracy:** Captures semantic relationships, ensuring that retrieved documents are contextually relevant.
* **Scalability:** Handles large datasets efficiently, making it suitable for extensive knowledge bases.

By effectively utilizing text embedders, you can optimize your data for retrieval, ensuring that your RAG application delivers precise and contextually relevant information.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getdynamiq.ai/low-code-builder/rag-nodes/inference-rag-workflow/text-embedders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
