MerchantryTidbits

rag-retrieval / cli

SemTools

Capability: SemTools

Use it when

  • You want to grep a folder of text or markdown files by meaning rather than exact keywords, straight from the terminal without standing up a vector database
  • You need to convert PDFs or DOCX to markdown and pipe them through unix-style search or question answering in one shell pipeline

What it solves

Not the fit when

  • The parse subcommand sends documents to the cloud LlamaParse API (needs a LlamaCloud key; no local parsing backend yet), so avoid for confidential documents
  • The ask subcommand requires an OpenAI-compatible API key
  • Not a persistent retrieval server for production RAG apps; search and workspace are local CLI features
  • hosted retrieval API for a production RAG service
  • fully local PDF parsing
  • web page scraping

Install

npm i -g @llamaindex/semtools

Invoke

semtools search "some keywords" *.txt --max-distance 0.3; semtools parse my_dir/*.pdf | xargs semtools search "API endpoints"

Alternatives

No reviewed alternatives recorded yet.