https://github.com/daviddprtma/cli-mindsdb
CLI Mindsdb help you to automate the process to do Knowledge Base (KB) from MindsDb
https://github.com/daviddprtma/cli-mindsdb
cli mindsdb mindsdb-cli mindsdb-python-sdk
Last synced: 2 months ago
JSON representation
CLI Mindsdb help you to automate the process to do Knowledge Base (KB) from MindsDb
- Host: GitHub
- URL: https://github.com/daviddprtma/cli-mindsdb
- Owner: daviddprtma
- License: mit
- Created: 2025-06-16T02:59:31.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-06-18T03:30:51.000Z (6 months ago)
- Last Synced: 2025-09-17T03:46:15.508Z (3 months ago)
- Topics: cli, mindsdb, mindsdb-cli, mindsdb-python-sdk
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Why CLI MindsDB✅
MindsDB enables humans, AI, agents, and applications to get highly accurate answers across disparate data sources and types. With this technology, we can make the complex process to be loveable and easy to handling by just create the data, store the data & make mindsdb process it from behind it.
CLI Mindsdb help you to automate the process from create knowledge base, ingest the data, do semantic search, execute mindsdb query, and create to sync a job all in one process by just called the command that you want to process it by a second.🔥
### Built With
- [MindsDB](https://mindsdb.com/)
- [Python](https://www.python.org/)
- [SQLite](https://sqlite.org/)
- [Docker](https://www.docker.com/)
### Key Features
1.) Knowledge Base with Metadata:
- Creates SQLite KB with metadata columns (source, category, importance)
- Builds MindsDB datasource for advanced querying
- ingest command with metadata parameters
2.) Semantic Search with Filtering:
- search command with content search and metadata filtering
- Combines LIKE queries with metadata conditions
- Example: search "AI" --source=research --min-importance=3
3.) Automated Data Sync:
- create_job sets up periodic data ingestion
- Simulates fetching from external sources
- Uses MindsDB's job scheduler (runs hourly)
### Prerequisites
Make sure that you install this prerequisite to make it work.
1.) Install [Docker Desktop](https://www.docker.com/products/docker-desktop/)
2.) Open Docker Desktop and type this in your terminal to start mindsdb:
```sh
docker run -p 47334:47334 mindsdb/mindsdb
```
3.) Do install requests package from python by type in your terminal:
```sh
pip install requests
```
### Installation
1. Clone the repo
```sh
git clone https://github.com/daviddprtma/cli-mindsdb.git
```
2. Create KB Structure
```sh
python kb_cli.py init
```
3. Create Sync Job
```sh
python kb_cli.py create_job
```
4. Create Ingest Data
```sh
python kb_cli.py ingest "Transformers revolutionized NLP" \--source=research --category=ml --importance=5
```
5. Find semantic search
```sh
python kb_cli.py search "AI" --category=ml
```
## The Architecture

### Video Presentation
Here's the video presentation of CLI MindsDB:
[](https://www.youtube.com/watch?v=tAXSHTLhkqg)