embeddings
8 tutorials tagged “embeddings”.
- Building a RAG PipelineBuild a working RAG pipeline in Python: load documents, split them into chunks, embed and retrieve the best passages, and have a model answer from them.
- Chunking DocumentsChunking splits documents into passages for retrieval. See with real output how chunk size and overlap change whether the right answer is found.
- Similarity and Cosine DistanceCosine similarity measures the angle between two vectors: 1 for the same direction, 0 for unrelated, -1 for opposite. Compute it by hand, then on sentences.
- What Are EmbeddingsAn embedding turns text into a list of numbers so that similar meanings land close together. See it with real output: car, automobile, vehicle and banana.
- Semantic SearchSearch 50 school FAQ answers by meaning: embed them once, embed each question, and return the closest three, even when no words match.
- Vector DatabasesVector databases store embeddings with their text and metadata, and find the nearest ones fast. Build a tiny one in Python, with a category filter.
- What Is RAGRetrieval-augmented generation finds the right passages in your documents and gives them to a model, so answers come from your sources, with citations.
- Types of AI ModelsLanguage, image, speech, video, embedding and predictive models: what each takes in and gives out, and how systems combine them.