Embedding – explained simply
An embedding translates text into a list of numbers that represents its meaning; in image AI, it is also a small file for a new keyword.
Also: Embeddings, Embedding, Textual Inversion, Embedding model, Text embedding, Vector
For language models and RAG, an embedding model turns text into a vector, meaning a long string of numbers. Texts with similar meanings get similar numbers. This lets a program search your documents by meaning instead of exact words.
In image generation, embedding usually means a Textual Inversion file. It learns a new word from a few example images, which you then use in the prompt. The model itself is not changed; only the learned vectors are saved, so these files are very small.
Both meanings share the same core: a concept is represented as a numeric vector that the model can work with.
What does that mean for you? For RAG, you need your own embedding model; choose one that explicitly supports German as well.
Frequently Asked Questions
What are embeddings, explained simply?
Number sequences that describe the meaning of a text. Similar content gets similar numbers, which is why a program can use them to search by meaning.
What do I need an embedding model for?
For chatting with your own documents (RAG): programs like Open WebUI or AnythingLLM break your files into sections, convert them into vectors with the embedding model, and then find the matching passages for your question.
Can I use an embedding model locally?
Yes, for example nomic-embed-text through Ollama. Embedding models are small and run even without a powerful graphics card.