Skip to content

pingcap/Auto-GPT-TiDB-Serverless-Plugin

Repository files navigation

Auto-GPT-TiDB-Serverless-Plugin

Still under developement

Commands

  • tidb_sql_executor, directly exectue sql in your tidb database

Plugin Installation Steps

  1. Clone or download the plugin repository: Clone the plugin repository, or download the repository as a zip file.

    Download Zip

  2. Install the plugin's dependencies: Navigate to the plugin's folder in your terminal, and run the following command to install any required dependencies:

       pip install -r requirements.txt
  3. Package the plugin as a Zip file: If you cloned the repository, compress the plugin folder as a Zip file.

  4. Copy the plugin's Zip file: Place the plugin's Zip file in the plugins folder of the Auto-GPT repository.

  5. Allowlist the plugin (optional): Add the plugin's class name to the ALLOWLISTED_PLUGINS in the .env file to avoid being prompted with a warning when loading the plugin:

    ALLOWLISTED_PLUGINS=AutoGPTTiDB

    If the plugin is not allowlisted, you will be warned before it's loaded.

Configure Enviroments

Add following code in Auth-GPT/.env

TIDB_HOST="gateway01.<your-region>.prod.aws.tidbcloud.com"
TIDB_PORT=4000
TIDB_USER="<your-user>"
TIDB_PASSWORD="<your-password>"
TIDB_DATABASE="<your-database>"

Example

my-movie_Zgtj67Rk.mp4

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published