Skip to content
Back to skills

Generate And Evaluate Retrieval Embeddings With Flagembedding

ASecurity

Use FlagEmbedding to choose BGE embedding or reranking models, encode documents and queries, evaluate retrieval quality, and feed stronger context into RAG workflows.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentspythongogitsecuritydocumentation

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 2, 2026

npx -y skills add agentskillexchange/skills --skill generate-and-evaluate-retrieval-embeddings-with-flagembedding --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Generate And Evaluate Retrieval Embeddings With Flagembedding?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Generate And Evaluate Retrieval Embeddings With Flagembedding
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-generate-and-evaluate-retrieval-embeddings-with-fl/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-generate-and-evaluate-retrieval-embeddings-with-fl)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Generate and evaluate retrieval embeddings with FlagEmbedding"
slug: "generate-and-evaluate-retrieval-embeddings-with-flagembedding"
description: "Use FlagEmbedding to choose BGE embedding or reranking models, encode documents and queries, evaluate retrieval quality, and feed stronger context into RAG workflows."
github_stars: 11807
verification: "security_reviewed"
source: "https://github.com/FlagOpen/FlagEmbedding"
author: "FlagOpen"
publisher_type: "open_source"
category: "Data Extraction & Transformation"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "FlagOpen/FlagEmbedding"
  github_stars: 11807
---

# Generate and evaluate retrieval embeddings with 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/FlagOpen/FlagEmbedding.git
- 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:

- Source: https://github.com/FlagOpen/FlagEmbedding
- Extracted from upstream docs: https://raw.githubusercontent.com/FlagOpen/FlagEmbedding/HEAD/README.md

## Documentation

- https://github.com/FlagOpen/FlagEmbedding

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/generate-and-evaluate-retrieval-embeddings-with-flagembedding/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.