ProductPromotion
Logo

Python.py

made by https://0x3d.site

Things
we have.

GitHub - mindsdb/mindsdb: The platform for building AI from enterprise data
The platform for building AI from enterprise data. Contribute to mindsdb/mindsdb development by creating an account on GitHub.
Visit Site

GitHub - mindsdb/mindsdb: The platform for building AI from enterprise data

GitHub - mindsdb/mindsdb: The platform for building AI from enterprise data


MindsDB is the worldโ€™s most widely used platform for building AI that can learn from and answer questions across federated data.

Tweet

๐Ÿ“– About Us

MindsDB is a federated query engine designed for AI agents and applications that need to answer questions from one or multiple data sources, including both structured and unstructured data..

๐Ÿš€ Get Started

๐ŸŽฏ Use Cases

After connecting and preparing your data, you can leverage MindsDB to implement the following use cases:

๐ŸŽฏ Use Case โš™๏ธ Description Python SDK SQL
RAG Comprehensive RAG that can be populated from numerous data sources (Python) (SQL)
Agents Equip agents to answer questions over structured and unstructured data in MindsDB (Python) (SQL)
Automation Automate AI-data workflows using Jobs (Python) (SQL)

๐Ÿ’ก Example

Connecting AI Agents to structured and unstructired data

A common use case involves connecting agents to data. The following example shows how to connect an AI agent to a database so it can perform search over structured data:

First we connect the datasource, in this case we connect a postgres database (you can do this via the SQL editor or SDK)

-- Step 1: Connect a data source to MindsDB
CREATE DATABASE demo_postgres_db
WITH ENGINE = "postgres",
PARAMETERS = {
    "user": "demo_user",
    "password": "demo_password",
    "host": "samples.mindsdb.com",
    "port": "5432",
    "database": "demo",
    "schema": "demo_data"
};

-- See some of the data in there
SELECT * FROM demo_postgres_db.car_sales;

Now you can create an egent that can answer questions over unstructued information in this database (let's use the Python SDK)

import mindsdb_sdk

# connects to the default port (47334) on localhost 
server = mindsdb_sdk.connect()

# create an agent (lets create one that can answer questions over car_sales table
agent = server.agents.create('my_agent')
agent.add_database(
    database='demo_postgres_db',
    tables=['car_sales'], # alternatively, all tables will be taken into account if none specified []
    description='The table "car_sales" contains car sales data')

# send questions to the agent
agent = agents.get('my_agent')
answer = agent.completion([{'question': 'What cars do we have with normal transmission and gas?'}])
print(answer.content)

You add more data to the agent, lets add some unstructured data:

agent.add_file('./cars_info.pdf', 'Details about the cars')
answer = agent.completion([{'question': 'What cars do we have with normal transmission and gas? also include valuable info for a buyer of these cars?'}])
print(answer.content)

Agents are also accessible via API endpoints.

๐Ÿค Contribute

Interested in contributing to MindsDB? Follow our installation guide for development.

You can find our contribution guide here.

We welcome suggestions! Feel free to open new issues with your ideas, and weโ€™ll guide you.

This project adheres to a Contributor Code of Conduct. By participating, you agree to follow its terms.

Also, check out our community rewards and programs.

๐Ÿค Support

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

Hereโ€™s how you can get community support:

For commercial support, please contact the MindsDB team.

๐Ÿ’š Current Contributors

Generated with contributors-img.

๐Ÿ”” Subscribe for Updates

Join our [Slack community](https://mindsdb.com/j

Resources
which are currently available to browse on.

mail [email protected] to add your project or resources here ๐Ÿ”ฅ.

Queries
or most google FAQ's about Python.

mail [email protected] to add more queries here ๐Ÿ”.

More Sites
to check out once you're finished browsing here.

0x3d
https://www.0x3d.site/
0x3d is designed for aggregating information.
NodeJS
https://nodejs.0x3d.site/
NodeJS Online Directory
Cross Platform
https://cross-platform.0x3d.site/
Cross Platform Online Directory
Open Source
https://open-source.0x3d.site/
Open Source Online Directory
Analytics
https://analytics.0x3d.site/
Analytics Online Directory
JavaScript
https://javascript.0x3d.site/
JavaScript Online Directory
GoLang
https://golang.0x3d.site/
GoLang Online Directory
Python
https://python.0x3d.site/
Python Online Directory
Swift
https://swift.0x3d.site/
Swift Online Directory
Rust
https://rust.0x3d.site/
Rust Online Directory
Scala
https://scala.0x3d.site/
Scala Online Directory
Ruby
https://ruby.0x3d.site/
Ruby Online Directory
Clojure
https://clojure.0x3d.site/
Clojure Online Directory
Elixir
https://elixir.0x3d.site/
Elixir Online Directory
Elm
https://elm.0x3d.site/
Elm Online Directory
Lua
https://lua.0x3d.site/
Lua Online Directory
C Programming
https://c-programming.0x3d.site/
C Programming Online Directory
C++ Programming
https://cpp-programming.0x3d.site/
C++ Programming Online Directory
R Programming
https://r-programming.0x3d.site/
R Programming Online Directory
Perl
https://perl.0x3d.site/
Perl Online Directory
Java
https://java.0x3d.site/
Java Online Directory
Kotlin
https://kotlin.0x3d.site/
Kotlin Online Directory
PHP
https://php.0x3d.site/
PHP Online Directory
React JS
https://react.0x3d.site/
React JS Online Directory
Angular
https://angular.0x3d.site/
Angular JS Online Directory