What problem does it solve?
This Skill helps you select, implement, and optimize embedding models, crucial for effective semantic search and Retrieval Augmented Generation (RAG) applications, ensuring your AI understands and retrieves information accurately.
Core Features & Use Cases
- Model Selection: Compares various embedding models (OpenAI, Sentence Transformers) based on dimensions, cost, and best use cases (code, multilingual, general).
- Embedding Pipelines: Provides templates for creating embeddings locally or via API, including preprocessing and chunking strategies (token, sentence, semantic sections, recursive).
- Quality Evaluation: Includes functions to evaluate retrieval quality using metrics like Precision@K, Recall@K, MRR, and NDCG.
- Use Case: You are building a RAG system for legal documents. This skill guides you in choosing the best embedding model for legal text, suggests optimal chunking strategies to maintain context, and provides code templates to implement the embedding pipeline.
Quick Start
Use the embedding-strategies skill to get embeddings for the provided text using the text-embedding-3-small model.