Parallel tfidf search

From XuShuwenn/RedAct · View interactive version

Parallel tfidf search is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Parallelize TF-IDF search engine to achieve 1.5x indexing and 2x search speedup on multi-core systems.

How to use this skill

Skill file

Parallel TF-IDF Search Engine

When to Use

Before You Code

Required Functions

  1. build_tfidf_index_parallel(documents, num_workers=None, chunk_size=500)
  1. batch_search_parallel(queries, index, top_k=10, num_workers=None, documents=None)

Verification Workflow

Verification Workflow

Key Requirements

Implementation Approach

Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.