Skip to main content

No project description provided

Project description

Hive Logo

Navigate your knowledge base like a busy bee! ๐Ÿ๐Ÿ”โœจ

Black Code Style License

๐Ÿ Hive is a CLI tool for semantic searching of your knowledge base ๐Ÿ“š. It allows you to easily search through your collection of files and directories, extracting meaningful information based on your prompts. No more searching through haystacksโ€”let Hive find the golden honey! ๐Ÿฏ๐Ÿ Embrace the buzz and let your knowledge thrive! ๐Ÿš€๐Ÿ’ก

Getting Started

Installation

You can install Hive using pip:

pip install hive-cli

Initializing Hive

To get started with Hive, initialize it in your project directory using the following command:

hive init

This sets up Hive and creates the necessary configuration files to enable knowledge base searching.

Adding Files or Directories

You can add files or directories to your Hive knowledge base using the add command:

hive add <file_or_dir_to_add>

This command allows Hive to index and analyze the content of the specified files or directories, making them searchable within your knowledge base.

Supported File Types

Hive currently supports only Markdown and PDF files. Support for other file types is coming soon!

Searching the Knowledge Base

To perform a semantic search within your knowledge base, use the search command along with your prompt:

hive search "your prompt"

Hive will analyze your prompt and match it against the indexed content, providing you with the most relevant results based on semantic similarity.

Example Search Output

Here's an example output of a search performed with Hive:

hive search "are honey bees good?"              

โ•ญโ”€ ./data/the-problem-with-honey-bees.md โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                                                                                      โ”‚
โ”‚  But think about them, we must. I used to believe that honey bees were a gateway species, and that concern over      โ”‚
โ”‚  their health and prosperity would spill over onto native bees, benefitting them, too. While this may have happened  โ”‚
โ”‚  in some cases, evidence is mounting that misguided enthusiasm for honey bees has likely been to the native beesโ€™    โ”‚
โ”‚  detriment. Beekeeping doesnโ€™t make me feel good, anymore. In fact, quite the opposite.                              โ”‚
โ”‚                                                                                                                      โ”‚
โ•ฐโ”€ Match score: 73% โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

The search output displays the matched file, along with the relevant text snippet and a match score indicating the similarity between the prompt and the content.

๐Ÿ” Hive makes it easy to find the information you need, saving you time and effort!

Contributing

We welcome contributions to Hive! Feel free to open issues and submit pull requests for any enhancements or bug fixes. Let's make Hive even better together! ๐Ÿš€

License

Hive is licensed under the MIT License.

๐Ÿ Don't waste time searching, let Hive be your knowledge navigator! Start exploring your knowledge base effortlessly with Hive. Happy searching! ๐Ÿš€โœจ

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hive-cli-0.2.2.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

hive_cli-0.2.2-py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page