eosphoros-ai / DB-GPT

AI Native Data App Development framework with AWEL(Agentic Workflow Expression Language) and Agents

Home Page:https://docs.dbgpt.site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to change AWEL project database config from using temp data to local Mysql database?

lastshogunshin opened this issue · comments

Search before asking

  • I had searched in the issues and found no similar issues.

Operating system information

Linux

Python version information

3.10

DB-GPT version

main

Related scenes

  • Chat Data
  • Chat Excel
  • Chat DB
  • Chat Knowledge
  • Model Management
  • Dashboard
  • Plugins

Installation Information

Device information

GPU 32G

Models information

1

What happened

Hi, I want to change this part to use my local Mysql database, how to modify this part of code?
image

What you expected to happen

1

How to reproduce

1

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

To further describe my question clearly, if I have already set up a local Mysql database session in AWEL script like this, how to connect it(or pass parameters) to this method db_query_task = DatasourceOperator(connector=mysql_local_database) for tasks?
image

This issue has been marked as stale, because it has been over 30 days without any activity.

This issue bas been closed, because it has been marked as stale and there has been no activity for over 7 days.