Home/Data & Retrieval/FlagEmbedding
FlagEmbedding logo

FlagEmbedding

FlagOpen/FlagEmbedding

Retrieval and Retrieval-augmented LLMs

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

45views this month

12k stars917 forksLast push Aug 24, 2026 Python MIT

Decision brief

FlagEmbedding is a Python-based tool focused on developing components for embedding generation and enhancing retrieval systems for use in retrieval-augmented language models.

Good fit when

  • If you need to integrate semantic search capabilities within your application, particularly where sentence-level embeddings are critical for finding semantically similar text.
  • When working with large corpora of text data needing fine-grained similarity scores between sentences or phrases for advanced retrieval tasks.

Avoid when

  • Avoid using FlagEmbedding if you require real-time or extremely low-latency text matching, as the process may involve significant computational overhead and latency.
  • Do not adopt this tool if your application is already heavily invested in a different ecosystem where integration costs would outweigh benefits, unless specific retrieval-augmented capabilities are a亟

Observed Jul 11, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Active (27d since push)
As of Sep 20, 2026
Provenance
Not a fork · Organization account
As of Sep 20, 2026
Security (OSV)
No lockfile
As of Jul 11, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install FlagEmbedding
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

The FlagEmbedding repository focuses on developing tools for embeddings, information retrieval, and retrieval-augmented generative models.

Capability facts

Languages
python

Source: github.language · Sep 20, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Sep 20, 2026)

pip install .
Source link

Tags

README

Install from sources: Clone the repository and install For development in editable mode: from FlagEmbedding import FlagAutoModel model = FlagAutoModel.from finetuned('BAAI/bge base en v1.5', query instruction for retrieval="Represent this sentence for searching relevant passages:...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.