flagembedding
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "flagembedding" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c8d3196c75ef3e9e2df783a79361ed1fb2b2941f899aa6b30e247c100e3258c5. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/generate-and-evaluate-retrieval-embeddings-with-flagembedding before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
FlagEmbedding — uses FlagEmbedding to select BGE embedding or re-ranking models to encode documents and queries, evaluate retrieval quality, and provide stronger contextual inputs into RAG (retrieval-augmented generation) workflows.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Python environment, FlagEmbedding package, selected BGE embedding or reranker model, local corpus, query set, and a downstream vector or RAG pipeline.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "使用FlagEmbedding生成和评估检索嵌入"
slug: "generate-and-evaluate-retrieval-embeddings-with-flagembedding"
version: "1.0.0"
displayName: "使用FlagEmbedding生成和评估检索嵌入"
summary: "使用 FlagEmbedding 选择 BGE 嵌入或重排序模型,对文档和查询进行编码,评估检索质量,并将更强的上下文输入到 RAG 工作流中。"
license: "MIT"
description: "使用 FlagEmbedding 选择 BGE 嵌入或重排序模型,对文档和查询进行编码,评估检索质量,并将更强的上下文输入到 RAG 工作流中。"
github_stars: 11807
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Data Extraction & Transformation"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 11807使用FlagEmbedding生成和评估检索嵌入
Use FlagEmbedding to choose BGE embedding or reranking models, encode documents and queries, evaluate retrieval quality, and feed stronger context into RAG workflows.
Prerequisites
Python environment, FlagEmbedding package, selected BGE embedding or reranker model, local corpus, query set, and a downstream vector or RAG pipeline.
Installation
Use the upstream install or setup path that matches your environment:
- pip install -U FlagEmbedding
- pip install -U FlagEmbedding[finetune]
- git clone https://github.com/1991513ccie-png/skills
- pip install .
Basic usage or getting-started notes:
-
<a href=#quick-start>Quick Start</a> |
-
If you do not want to finetune the models, you can install the package without the finetune dependency:
-
If you want to finetune the models, you can install the package with the finetune dependency:
-
Extracted from upstream docs: https://raw.githubusercontent.com/FlagOpen/FlagEmbedding/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供基于 FlagEmbedding 的文档和查询编码能力,服务于 RAG 工作流,具有明确的技术实用价值。
Areas to improve
-
触发词描述不够具体 Reported severity: Minor
description 字段仅概括性描述功能,未包含 'FlagEmbedding'、'BGE'、'reranking' 等具体技术关键词,可能影响用户精准触发。
Recommendation: 建议在 description 字段中补充具体的技术关键词,如 'FlagEmbedding'、'BGE embedding'、'reranking models' 等,以提升触发精准度。
Highlights
- description 概括了 Skill 的核心功能,边界相对清晰。
Areas to improve
-
缺少具体执行步骤和端到端示例 Reported severity: Minor
文档缺少具体的 Phase/步骤划分和端到端的代码示例,用户难以直接执行。
Recommendation: 建议补充具体的执行步骤(如 Phase 1: 安装依赖, Phase 2: 加载模型, Phase 3: 编码文档等)和端到端的代码示例。
-
缺少 When to Use 场景说明 Reported severity: Minor
文档未明确说明在什么场景下使用此 Skill,用户难以判断适用性。
Recommendation: 建议补充 When to Use 章节,说明此 Skill 的典型应用场景。
Highlights
- 文档包含了 Prerequisites、Installation、Documentation 等基本结构。
Areas to improve
-
未覆盖主要异常情况 Reported severity: Minor
文档未提及安装失败、模型下载失败、编码错误等主要异常情况的处理方法。
Recommendation: 建议补充对主要异常情况的处理说明,如网络问题导致安装失败、模型文件损坏等。
Highlights
- 提供了 FlagEmbedding 的安装命令和 GitHub 源码链接,工具来源明确。
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 32, 33, 35
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Python environment, FlagEmbedding package, selected BGE embedding or reranker model, local corpus, query set, and a downstream vector or RAG pipeline.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.