rag-search
RAG Search
Semantic search using embeddings and vector storage. Search documents semantically using similarity matching.
Setup
No additional setup required. Uses in-memory vector storage with optional embedding providers.
Usage
Index Documents
{baseDir}/rag-search.js --index --path ./docs --chunk-size 500
Search Documents
{baseDir}/rag-search.js --search "how to configure authentication"
Query with Filters
{baseDir}/rag-search.js --search "deployment steps" --limit 5
Options
| Option | Description | Required |
|---|---|---|
--index |
Index documents | No |
--path |
Path to documents | For index |
--chunk-size |
Chunk size for splitting | No |
--search |
Search query | For search |
--limit |
Max results to return | No |
--list |
List indexed documents | No |
--clear |
Clear index | No |
Supported Formats
- Plain text (.txt)
- Markdown (.md)
- JSON (.json)
- JavaScript/TypeScript (.js, .ts)
- Python (.py)
- HTML (.html)
- YAML (.yaml, .yml)
Embedding Providers
- OpenAI (default, requires API key)
- Cohere (requires API key)
- Local (TF-IDF based, no API key needed)
Output Format
{
"results": [
{
"file": "docs/config.md",
"chunk": "To configure authentication...",
"score": 0.92,
"line": 15
}
]
}
When to Use
- Semantic search across codebase
- Finding relevant documentation
- Knowledge base queries
- RAG applications
More from winsorllc/upgraded-carnival
vector-memory
Vector-based semantic memory using embeddings for intelligent recall. Store and search memories by meaning rather than keywords. Use when you need semantic search, similar document retrieval, or context-aware memory.
132model-router
Route requests between different LLM providers and models. Configure routing rules, fallback providers, and model-specific parameters inspired by ZeroClaw and OpenClaw model routing systems.
63rss-monitor
Monitor RSS/Atom feeds and blogs for new content using feedparser.
60rss-reader
Read and parse RSS/Atom feeds. Use when: user wants to subscribe to feeds, get latest articles, or monitor news sources.
55video-frames
Production-grade video frame extraction with thumbnail grids, GIF creation, and batch frame processing. Includes intelligent quality presets, progress tracking, and comprehensive error handling.
39elevenlabs-tts
Convert text to speech using ElevenLabs API. Use when you need to generate voice audio for messages, narrations, or accessibility.
25