Skip to content

Conversation

@xhluca
Copy link
Owner

@xhluca xhluca commented Dec 1, 2025

  • Updated the BM25S CLI to import the MCP server dynamically, enhancing modularity.
  • Improved error messaging for missing MCP package, providing clearer installation instructions for users.

- Updated the BM25S CLI to import the MCP server dynamically, enhancing modularity.
- Improved error messaging for missing MCP package, providing clearer installation instructions for users.
- Introduced a terminal-based CLI for `bm25s` to facilitate quick indexing and searching of documents from CSV, TXT, JSON, and JSONL files.
- Implemented subcommands for `index` and `search`, allowing users to create an index and perform queries directly from the command line.
- Enhanced README documentation with examples for using the CLI, improving user guidance for indexing and searching workflows.
- Added comprehensive unit tests to validate CLI functionality and ensure robust error handling for various input scenarios.
- Introduced a new command-line argument `--save` to allow users to save search results to a specified JSON file.
- Updated the README to include examples of using the new save feature, enhancing user documentation.
- Added unit tests to verify the correct functionality of saving search results, ensuring robust implementation and validation of output structure.
- Added the ability to save indices to a central user directory (`~/.bm25s/indices/`) using the `-u` flag, improving organization and accessibility of user-created indices.
- Updated command-line arguments for indexing and searching to include shorthand options, enhancing usability.
- Introduced an interactive index picker for selecting indices from the user directory, requiring the `rich` package for a better user experience.
- Enhanced README documentation with examples for the new user directory features, providing clearer guidance for users.
- Added unit tests to validate the new user directory functionality and ensure robust error handling.
@xhluca xhluca merged commit 5b6eb48 into dev-0.3 Dec 1, 2025
4 checks passed
@xhluca xhluca deleted the add-terminal-cli branch December 1, 2025 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants