Skip to main content

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! 🚀✨

Metadata

Release files for hive-cli 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hive-cli 0.2.2
File Size Uploaded
hive-cli-0.2.2.tar.gz 6.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hive-cli 0.2.2
File Interpreter ABI Platform
hive_cli-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 13.4 kB

Release files / hive-cli-0.2.2.tar.gz

Download URL hive-cli-0.2.2.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9402ecc88c6fd8bf09853ce6e9b30a6c1d87771251c9581d35f8cdfb1cfed66b
BLAKE2b-256 checksum
How to use checksums
30db416a6b71d2dcc7fe86b34ae29bf3f9a6aed4394c6cebbe22c36718015572
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.9.7 Darwin/21.6.0

Release files / hive_cli-0.2.2-py3-none-any.whl

Download URL hive_cli-0.2.2-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
997b0ac0309f7ad18f6b5bee46d3baebf70721e18fbdd28c6fb7c690984f4c08
BLAKE2b-256 checksum
How to use checksums
d05eb8707443490c724a158fa60b942960bf583d88dba6ed5328696176dbb68a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.9.7 Darwin/21.6.0

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page