// rag · facebookresearch/faiss

faiss

faiss — проект с открытым исходным кодом из категории «RAG и базы знаний» от facebookresearch (facebookresearch/faiss на GitHub). У него 41 112 звёзд на GitHub и 4 551 форк, он распространяется по лицензии MIT и последний раз обновлялся на GitHub 7 октября 2026.

Meta's library for efficient similarity search and clustering of dense vectors, in C++ and Python

★ 41,1 тыс. звёзд⑂ 4,6 тыс. форковMITобновлено окт. 2026
▦ визуал — в README этого проекта нет встраиваемого скриншота,
поэтому здесь заглушка. Руководство ниже в любом случае полное.
// факты о проекте

Факты о проекте

Репозиторий
facebookresearch/faiss
Звёзды GitHub
41 112
Форки
4 551
Лицензия
MIT
Последнее обновление на GitHub
7 октября 2026
Тип страницы
Полное руководство по установке
Официальный сайт
Official site
// как это работает

Как это работает

  1. Clarify your goal

    Decide what you want from faiss and check the README and requirements to confirm it fits your setup and C++ environment.

  2. Get the code

    Clone the repository from GitHub (github.com/facebookresearch/faiss) or use the documented install channel if you do not need the source.

  3. Install and configure

    Follow the README quickstart to install dependencies and set any required configuration or credentials.

  4. Run your first task

    Work through the README's first example end to end, then adapt it to your own project or data.

// возможности

Почему его любят

Similarity search at scale

Searches sets of vectors of any size, up to sets that do not fit in RAM.

Many index types

Index types trade off speed, memory and accuracy, from exact search to compressed indexes.

GPU support

Useful algorithms are implemented on the GPU via CUDA or ROCm, with optional cuVS backends.

Python wrappers

Written in C++ with complete Python/NumPy wrappers.

Cosine and L2/dot product

Supports L2 distance, dot product and cosine similarity on normalized vectors.

Evaluation tooling

Includes supporting code for evaluation and parameter tuning.

Advertisement
// запустите сами

Запустите сами

  1. Clone the repository

    Start by getting the source and entering the project directory.

    git clone https://github.com/facebookresearch/faiss.git
    cd faiss
  2. Install via conda

    Precompiled Anaconda packages are the documented route for Python users.

    conda install -c pytorch faiss-cpu  # see README / INSTALL.md for variants
  3. Build your first index

    Create an index in Python, add vectors, and search for nearest neighbours.

    python -c "import faiss; print(faiss.__version__)"  # then follow the wiki Getting Started tutorial
// сценарии использования

Что можно создать

Advertisement
// вопросы и ответы

Вопросы и ответы

Who maintains faiss?

It is maintained by facebookresearch and contributors on GitHub, where the repository github.com/facebookresearch/faiss is the canonical home for code, issues and releases.

Is faiss free to use?

Yes — it is open source under the MIT license. Read the license in the repository for what is permitted, including any conditions on redistribution or commercial use.

Does it need a paid API key?

No. Faiss is a local library with no service or key involved.

How does faiss compare to alternatives?

Compared with a hosted vector database: Faiss is an embeddable library, not a server — you run it inside your own process with no database to operate.

How do I get started?

Clone github.com/facebookresearch/faiss, follow the README quickstart to install it, and run the documented first example before adapting it to your own work.

// продолжить изучение

Похожие инструменты

RAG и базы знаний

infinity

AI-native database for hybrid search across dense, sparse, and tensor vectors plus full text

★ 4,7 тыс. звёздApache-2.0
Смотреть руководство →
RAG и базы знаний

pgvector

Vector similarity search inside Postgres - store embeddings next to your data

★ 23,3 тыс. звёздNOASSERTION
Смотреть руководство →
RAG и базы знаний

fastembed

Fast, lightweight Python embeddings from Qdrant — dense, sparse, ColBERT, image and rerankers.

★ 3,2 тыс. звёздApache-2.0
Смотреть руководство →
RAG и базы знаний

Local_Pdf_Chat_RAG

Transparent Python RAG reference with FAISS + BM25 hybrid retrieval.

★ 957 звёздMIT
Смотреть руководство →
RAG и базы знаний

vespa

Vespa — the AI search platform: vector, text and tensor search at production scale.

★ 7,1 тыс. звёздApache-2.0
Смотреть руководство →
RAG и базы знаний

DocsGPT

A private AI platform for agents, assistants and enterprise search over your documents

★ 18,3 тыс. звёздMIT
Смотреть руководство →
// альтернативы

Альтернативы: RAG и базы знаний

Другие проекты из категории «RAG и базы знаний» с наибольшим числом звёзд в каталоге LibreAI — реалистичный список альтернатив, если faiss вам не подходит.

// ещё в категории rag

Больше проектов: RAG и базы знаний

Соседние проекты из категории «RAG и базы знаний» в каталоге, ближайшие по числу звёзд к faiss — продолжайте изучать полку по обе стороны от него.

Получить faiss

Бесплатно и открыто — забирайте исходный код, ставьте звезду репозиторию и начинайте создавать.