Skip to content

daviddprtma/cli-mindsdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation


Logo

CLI MindsDB

A CLI Mindsdb tool to automate the process for Knowledge Base (KB)

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

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

2.) Open Docker Desktop and type this in your terminal to start mindsdb:

  docker run -p 47334:47334 mindsdb/mindsdb

3.) Do install requests package from python by type in your terminal:

pip install requests

Installation

  1. Clone the repo
    git clone https://github.com/daviddprtma/cli-mindsdb.git
  2. Create KB Structure
    python kb_cli.py init
  3. Create Sync Job
    python kb_cli.py create_job
  4. Create Ingest Data
    python kb_cli.py ingest "Transformers revolutionized NLP" \--source=research --category=ml --importance=5
  5. Find semantic search
    python kb_cli.py search "AI" --category=ml

The Architecture

image

Video Presentation

Here's the video presentation of CLI MindsDB:
IMAGE ALT TEXT HERE

About

CLI Mindsdb help you to automate the process to do Knowledge Base (KB) from MindsDb

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages