Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/mindsdb/mindsdb

The platform for customizing AI from enterprise data
https://github.com/mindsdb/mindsdb

ai ai-agents artificial-intelligence auto-gpt chatbot database forecasting gpt gpt4all hacktoberfest huggingface llm machine-learning ml mongodb mysql postgres semantic-search timeseries

Last synced: 30 days ago
JSON representation

The platform for customizing AI from enterprise data

Lists

README

        


MindsDB



With our AI SQL Server, the future of data isn't just a possibility, it's in your SQL queries, happening in real-time.


ROSS Index - Fastest Growing Open-Source Startups | Runa Capital


MindsDB Release
Python supported
PyPi Version


PyPI - Downloads Docker pulls

MindsDB Website
MindsDB Community


Launch in Deepnote


Open in Gitpod


Website
|
Docs
|
Community Slack
|
Contribute
|
Hashnode Hackathon

----------------------------------------

[MindsDB's](https://mindsdb.com?utm_medium=community&utm_source=github&utm_campaign=mindsdb%20repo) **AI SQL Server** enables developers to build **AI tools** that need access to **real-time data** to perform their tasks.
[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Build%20AI%20using%20SQL%20&url=https://github.com/mindsdb/mindsdb&via=mindsdb&hashtags=ai,ml,nlp,machine_learning,neural_networks,databases,gpt3)

| 🎯 Features | ⚙️ SQL Query Examples |
|---------------------------|-----------|
| 🤖 [Fine-Tuning](https://docs.mindsdb.com/sql/api/finetune#example-3-openai-model) | FINETUNE mindsdb.hf_model FROM postgresql.table; |
| 📚 [Knowledge Base](https://docs.mindsdb.com/agents/knowledge-bases) | CREATE KNOWLEDGE_BASE my_knowledge FROM (SELECT contents FROM drive.files); |
| 🔍 [Semantic Search](https://docs.mindsdb.com/integrations/ai-engines/rag) | SELECT * FROM rag_model WHERE question='What product is best for treating a cold?'; |
| ⏱️ [Real-Time Forecasting](https://docs.mindsdb.com/sql/tutorials/eeg-forecasting) | SELECT * FROM binance.trade_data WHERE symbol = 'BTCUSDT'; |
| 🕵️ [Agents](https://docs.mindsdb.com/agents/agent) | CREATE AGENT my_agent USING model='chatbot_agent', skills = ['knowledge_base']; |
| 💬 [Chatbots](https://docs.mindsdb.com/agents/chatbot) | CREATE CHATBOT slack_bot USING database='slack',agent='customer_support'; |
| ⏲️ [Time Driven Automation](https://docs.mindsdb.com/sql/create/jobs) | CREATE JOB twitter_bot ( , ) START '2023-04-01 00:00:00'; |
| 🔔 [Event Driven Automation](https://docs.mindsdb.com/sql/create/trigger) | CREATE TRIGGER data_updated ON mysql.customers_data (sql_code) |

## ⚡️ Quick Example

Enrich datastores by passing new data thorugh an AI-model and writing results back in the database, this can be solved in a few lines of AI-SQL. Here is a reference architecture:

Let's look at automating shopify orders analysis:

```sql
---This query creates a job in MindsDB to analyze Shopify orders.
---It predicts customer engagement scores based on recent completed orders
---and inserts these insights into a customer_engagement table.
---The job runs every minute, providing ongoing updates to the engagement scores.

CREATE JOB mindsdb.shopify_customer_engagement_job AS (

-- Insert into a table insights about customer engagement based on recent Shopify orders
INSERT INTO shopify_insights.customer_engagement (customer_id, predicted_engagement_score)
SELECT
o.customer_id AS customer_id,
r.predicted_engagement_score AS predicted_engagement_score
FROM shopify_data.orders o
JOIN mindsdb.customer_engagement_model r
WHERE
o.order_date > LAST
AND o.status = 'completed'
LIMIT 100
)
EVERY minute;

```

## ⚙️ Installation

To install locally or on-premise, pull the latest [Docker image](https://hub.docker.com/r/mindsdb/mindsdb/tags?page=1&ordering=last_updated):

```
docker pull mindsdb/mindsdb
```

or, use [pip](https://pypi.org/project/MindsDB/):

```
pip install mindsdb
```

[Read more about Installation](https://docs.mindsdb.com/setup/self-hosted/docker)

## 🔗 Data Integrations

MindsDB allows querying hundreds of data sources, such as databases (both relational and non-relational), data warehouses, streams, and SaaS application data, using standard SQL. This capability stems from MindsDB’s unique ability to translate SQL into real-time data requests. You can find the list of all supported integrations [here](https://docs.mindsdb.com/data-integrations/all-data-integrations).

[:question: :wave: Missing integration?](https://github.com/mindsdb/mindsdb/issues/new?assignees=&labels=&template=feature-mindsdb-request.yaml)

## 📖 Documentation

You can find the complete documentation of MindsDB at [docs.mindsdb.com](https://docs.mindsdb.com?utm_medium=community&utm_source=github&utm_campaign=mindsdb%20repo).

## 🤍 Support

If you found a bug, please submit an [issue on GitHub](https://github.com/mindsdb/mindsdb/issues/new/choose).

To get community support, you can:

* Post a question at MindsDB [Slack community](https://mindsdb.com/joincommunity).
* Ask for help at our [GitHub Discussions](https://github.com/mindsdb/mindsdb/discussions).
* Ask a question at [Stackoverflow](https://stackoverflow.com/questions/tagged/mindsdb) with a MindsDB tag.

If you need commercial support, please [contact](https://mindsdb.com/contact/?utm_medium=community&utm_source=github&utm_campaign=mindsdb%20repo) MindsDB team.

## 🤝 Contributing

A great place to start contributing to MindsDB is to check our GitHub projects :checkered_flag:

* Community contributor's [dashboard tasks](https://github.com/mindsdb/mindsdb/projects/8).
* [First timers only issues](https://github.com/mindsdb/mindsdb/issues?q=is%3Aissue+is%3Aopen+label%3Afirst-timers-only), if this is your first time contributing to an open source project.

We are always open to suggestions, so feel free to open new issues with your ideas, and we can guide you!

Being part of the core team is accessible to anyone who is motivated and wants to be part of that journey!
If you'd like to contribute to the project, refer to the [contributing documentation](https://docs.mindsdb.com/contribute/?utm_medium=community&utm_source=github&utm_campaign=mindsdb%20repo).

This project is released with a [Contributor Code of Conduct](https://github.com/mindsdb/mindsdb/blob/stable/CODE_OF_CONDUCT.md). By participating in this project, you agree to follow its terms.

Also, check out the [rewards and community programs](https://mindsdb.com/community?utm_medium=community&utm_source=github&utm_campaign=mindsdb%20repo).

### 💚 Current contributors



Made with [contributors-img](https://contributors-img.web.app).

## 🔔 Subscribe to updates

Join our [Slack community](https://mindsdb.com/joincommunity) and subscribe to the monthly [Developer Newsletter](https://mindsdb.com/newsletter/?utm_medium=community&utm_source=github&utm_campaign=mindsdb%20repo) to get product updates, information about MindsDB events and contests, and useful content, like tutorials.

## ⚖️ License

For detailed licensing information, please refer to the [LICENSE file](https://github.com/mindsdb/mindsdb/blob/master/LICENSE)