Canner / WrenAI

🚀 Open-source SQL AI Agent for Text-to-SQL. Make Text2SQL Easy! 🙌
https://www.getwren.ai/oss
GNU Affero General Public License v3.0
1.69k stars 151 forks source link

how I switch different datasource?add multiple data sources? #546

Open aiwenForGit opened 1 month ago

aiwenForGit commented 1 month ago

Can I retain my current data source and add multiple data sources, and can multiple data sources be directly called by SQL.

onlyjackfrost commented 1 month ago

Hi @aiwenForGit, thanks for raising this. I've drafted a PR for this question, you can check "FAQ" part in this PR
https://github.com/Canner/WrenAI/pull/534

wwwy3y3 commented 1 month ago

Hi @aiwenForGit Additionally, by integrating with Trino, you could aggregate multiple databases directly using SQL.

@himanshu634 is working on Trino integration at https://github.com/Canner/WrenAI/pull/535 . Feel free to leverage Trino after he finishes this PR.

himanshu634 commented 1 month ago

@aiwenForGit @wwwy3y3 I am working now on backend part. Will be ready for next release.