fiatrete / OpenDAN-Personal-AI-OS

OpenDAN is an open source Personal AI OS , which consolidates various AI modules in one place for your personal use.
https://opendan.ai
MIT License
1.58k stars 128 forks source link

Add database query agent #103

Closed wugren closed 7 months ago

wugren commented 7 months ago

If you need to use DBQueryer Agent, you must set the database URL. There are two ways to set it:

  1. Set the DATABASE_URL environment variable
  2. Include the database url in the problem description

The database url format is dialect://user:password@host/dbname[?key=value..] dialect is a database name such as mysql, oracle, postgresql, sqlite, mssql

The following software must be installed in the operating environment: sudo apt-get install python3-dev default-libmysqlclient-dev build-essential pkg-config