WrenAI icon indicating copy to clipboard operation
WrenAI copied to clipboard

Multi Tenant Database vs System prompt

Open Namec999 opened this issue 7 months ago • 2 comments

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.

Namec999 avatar Jul 06 '24 09:07 Namec999