{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/5"}],"enrichment":{"capability":"FlagEmbedding provides embedding and reranking models for semantic search and retrieval-augmented generation (RAG), supporting dense retrieval, multilingual queries, and document ranking.","skillfed_tags":["embeddings","retrieval-augmented-generation","semantic-search"],"use_cases":["Build a semantic search engine over a document corpus by encoding documents and queries into embeddings and finding nearest neighbors.","Implement retrieval-augmented generation (RAG) by retrieving relevant documents to augment LLM context before generation.","Re-rank top-k search results using reranker models to improve relevance of retrieved documents.","Fine-tune embedding models on custom datasets to optimize for domain-specific or task-specific retrieval.","Support multilingual search applications where queries and documents span multiple languages."],"what_it_does":"FlagEmbedding is a toolkit for building semantic search and RAG systems using pre-trained embedding and reranking models. It wraps transformer-based models that convert text into dense vector representations, enabling similarity-based retrieval. The package integrates with torch, transformers, and sentence_transformers to handle model loading, inference, and fine-tuning workflows.\n\nThe toolkit supports multilingual queries, variable input lengths, and multiple retrieval strategies (dense, lexical, and multi-vector). It is commonly used to rank and retrieve relevant documents for LLM prompts, implement semantic search over document collections, and fine-tune embedding models on domain-specific data.","worth_installing":"Yes, with conditions. FlagEmbedding is actively maintained with no known vulnerabilities. Install if you need semantic search or RAG capabilities and can accommodate the heavy ML dependencies (torch, transformers). Verify the license terms in the repository first, as the package metadata does not declare a clear license. Not suitable if you need a lightweight embedding solution or cannot install PyTorch."},"id":"flagembedding","links":{"html":"https://skillfed.io/packages/flagembedding","md":"https://skillfed.io/packages/flagembedding.md","pypi":"https://pypi.org/project/flagembedding/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-22","license_spdx":null,"license_treatment":"unclear","name":"FlagEmbedding","python_support":"unspecified","summary":"FlagEmbedding"},"popularity":{"monthly_downloads":632761,"position":5649,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.4.0"}
