Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support permissions for models (and possibly tools/assistants) #1417

Open
zacps opened this issue Aug 19, 2024 · 1 comment
Open

Support permissions for models (and possibly tools/assistants) #1417

zacps opened this issue Aug 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@zacps
Copy link
Contributor

zacps commented Aug 19, 2024

Describe your feature request

We are considering using chat-ui for our own custom LLM tools. Because we want complete control over the generation we're currently implementing these as models. However, some of these tools will have access to documents that are not broadly available within the company. Because of this we want to be able to restrict model access by user.

Implementation idea

  • Retrieve groups via OIDC
  • Add an alllowed_groups field to each model
  • Restrict usage & visibility of each model by group membership

We're currently working on implementing this in our private fork, but I wanted to reach out to ask @nsarrazin if a patch would be accepted upstream, and if there would be any additional requirements.

@zacps zacps added the enhancement New feature or request label Aug 19, 2024
@nsarrazin
Copy link
Collaborator

I think that would be a great addition! We would definitely accept a patch for this as long as it's not a breaking change, which should be doable 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants