Canner / WrenAI

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

Multi Tenant Database vs System prompt #487

Open Namec999 opened 2 months ago

Namec999 commented 2 months ago

Hello,,

Currently doing my tests with this great piece of software.

My use case : having wren that expose an api endpoint to my users, and these users have a unique ID to retrieve their own data (have an ms sql multi tenant database)

My question : how to add the user ID to my prompts or any other Auth mechanism to achieve my goal, and make the endpoint retrieve only users Data .

Best.