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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file hive-cli-0.2.2.tar.gz.

File metadata

  • Download URL: hive-cli-0.2.2.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.9.7 Darwin/21.6.0

File hashes

Hashes for hive-cli-0.2.2.tar.gz
Algorithm Hash digest
SHA256 9402ecc88c6fd8bf09853ce6e9b30a6c1d87771251c9581d35f8cdfb1cfed66b
MD5 7633896e6854caeb28b048231e31a582
BLAKE2b-256 30db416a6b71d2dcc7fe86b34ae29bf3f9a6aed4394c6cebbe22c36718015572

See more details on using hashes here.

File details

Details for the file hive_cli-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: hive_cli-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.9.7 Darwin/21.6.0

File hashes

Hashes for hive_cli-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 997b0ac0309f7ad18f6b5bee46d3baebf70721e18fbdd28c6fb7c690984f4c08
MD5 09d6f59d1f9ef11fc95409660107a07d
BLAKE2b-256 d05eb8707443490c724a158fa60b942960bf583d88dba6ed5328696176dbb68a

See more details on using hashes here.

Supported by

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