Toolverse
All skills

faiss

by davila7

Facebook's library for efficient similarity search and clustering of dense vectors. Supports billions of vectors, GPU acceleration, and various index types (Flat, IVF, HNSW). Use for fast k-NN search, large-scale vector retrieval, or when you need pure similarity search without

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
davila7
Category
Security
Views
8

About this skill

Facebook's library for efficient similarity search and clustering of dense vectors. Supports billions of vectors, GPU acceleration, and various index types (Flat, IVF, HNSW). Use for fast k-NN search, large-scale vector retrieval, or when you need pure similarity search without metadata. Best for high-performance applications.

How to use

  1. Zainstaluj FAISS — wybierz wersję CPU (pip install faiss-cpu) lub GPU (pip install faiss-gpu) w zależności od dostępnych zasobów. 2. Przygotuj dane wektorowe jako tablicę NumPy typu float32 — każdy wiersz to jeden wektor, liczba kolumn to wymiar wektora (np. 128). 3. Utwórz indeks wybierając typ — IndexFlatL2 dla dokładnego wyszukiwania euklidesowego, lub bardziej zaawansowane indeksy (IVF, HNSW) dla dużych zbiorów danych. 4. Dodaj wektory do indeksu metodą add() — FAISS automatycznie je zaindeksuje. 5. Wykonaj wyszukiwanie — przygotuj wektor zapytania w tym samym wymiarze, wywołaj index.search(query, k) gdzie k to liczba najbliższych sąsiadów, którą chcesz znaleźć. 6. Otrzymasz dwie tablice: indeksy znalezionych wektorów i ich odległości — użyj ich do pobrania oryginalnych danych lub dalszego przetwarzania.

Related skills

qmd

by tobi

Search personal markdown knowledge bases, notes, meeting transcripts, and documentation using QMD - a local hybrid search engine. Combines BM25 keyword search, vector semantic search, and LLM re-ranking. Use when users ask to search notes, find documents, look up information in

Security
1951

accessibility-compliance

by wshobson

Implement WCAG 2.2 compliant interfaces with mobile accessibility, inclusive design patterns, and assistive technology support. Use when auditing accessibility, implementing ARIA patterns, building for screen readers, or ensuring inclusive user experiences.

Security
2173

manim

by davila7

Comprehensive guide for Manim Community - Python framework for creating mathematical animations and educational videos with programmatic control

Security
1588

academic-researcher

by Shubhamsaboo

Academic research assistant for literature reviews, paper analysis, and scholarly writing.\nUse when: reviewing academic papers, conducting literature reviews, writing research summaries,\nanalyzing methodologies, formatting citations, or when user mentions academic research,

Security
1260

typescript-review

by metabase

Review TypeScript and JavaScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs containing TypeScript/JavaScript code.

Security
17133

content-creator

by alirezarezvani

Create SEO-optimized marketing content with consistent brand voice. Includes brand voice analyzer, SEO optimizer, content frameworks, and social media templates. Use when writing blog posts, creating social media content, analyzing brand voice, optimizing SEO, planning content

Security
25124