Giter VIP home page Giter VIP logo

mindsdb's Introduction

MindsDB

With our AI SQL Server, personalizing AI using your data is just a matter of simple SQL queries.


MindsDB's AI SQL Server enables developers to build AI tools that need access to real-time data to perform their tasks. Tweet

🎯 Features βš™οΈ SQL Query Examples
πŸ€– Fine-Tuning FINETUNE mindsdb.hf_model FROM postgresql.table;
πŸ“š Knowledge Base CREATE KNOWLEDGE_BASE my_knowledge FROM (SELECT contents FROM drive.files);
πŸ” Semantic Search SELECT * FROM rag_model WHERE question='What product is best for treating a cold?';
⏱️ Real-Time Forecasting SELECT * FROM binance.trade_data WHERE symbol = 'BTCUSDT';
πŸ•΅οΈ Agents CREATE AGENT my_agent USING model='chatbot_agent', skills = ['knowledge_base'];
πŸ’¬ Chatbots CREATE CHATBOT slack_bot USING database='slack',agent='customer_support';
⏲️ Time Driven Automation CREATE JOB twitter_bot ( <sql_query1>, <sql_query2> ) START '2023-04-01 00:00:00';
πŸ”” Event Driven Automation 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:

---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:

docker pull mindsdb/mindsdb

or, use pip:

pip install mindsdb

Read more about Installation

πŸ”— 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.

❓ πŸ‘‹ Missing integration?

πŸ“– Documentation

You can find the complete documentation of MindsDB at docs.mindsdb.com.

🀍 Support

If you found a bug, please submit an issue on GitHub.

To get community support, you can:

If you need commercial support, please contact MindsDB team.

🀝 Contributing

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

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.

This project is released with a Contributor Code of Conduct. By participating in this project, you agree to follow its terms.

Also, check out the rewards and community programs.

πŸ’š Current contributors

Made with contributors-img.

πŸ”” Subscribe to updates

Join our Slack community and subscribe to the monthly Developer Newsletter 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

mindsdb's People

Contributors

stpmax avatar george3d6 avatar zoranpandovski avatar ea-rus avatar minurapunchihewa avatar mindsdbadmin avatar martyna-mindsdb avatar paxcema avatar torrmal avatar parthiv11 avatar dusvyat avatar tmichaeldb avatar ricram2 avatar maximlopin avatar sammiller06 avatar ilia-tsyplenkov avatar chandrevdw31 avatar better-boy avatar panos-span avatar hahabill avatar ktyborowski avatar hamishfagg avatar bala-ceg avatar ritwickrajmakhal avatar 2170chm avatar yuhuishi-convect avatar rutam21 avatar dylanketterer avatar tomhuds avatar aditya-azad avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.