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

Add restrictions/usage limits #26

Closed
jurmy24 opened this issue Oct 7, 2024 · 3 comments · Fixed by #83
Closed

Add restrictions/usage limits #26

jurmy24 opened this issue Oct 7, 2024 · 3 comments · Fixed by #83
Assignees
Labels
enhancement New feature or request

Comments

@jurmy24
Copy link
Member

jurmy24 commented Oct 7, 2024

Restrict access to the chatbot to only approved phone numbers but also set usage limits (eg. by tokens) for each person per day.

@jurmy24 jurmy24 added the enhancement New feature or request label Oct 7, 2024
@jurmy24 jurmy24 added this to the October Limited Release milestone Oct 7, 2024
@jurmy24 jurmy24 self-assigned this Oct 7, 2024
@jurmy24
Copy link
Member Author

jurmy24 commented Nov 8, 2024

Remember to modify the create_message db function so that it also updates the last_message_at timestamp of that user to do this.

@jurmy24
Copy link
Member Author

jurmy24 commented Nov 9, 2024

This should also include a spam control!

@jurmy24 jurmy24 removed their assignment Dec 10, 2024
@jurmy24 jurmy24 added this to the Release v0.2.0 milestone Dec 10, 2024
@fredygerman fredygerman self-assigned this Jan 25, 2025
@fredygerman fredygerman linked a pull request Jan 28, 2025 that will close this issue
@fredygerman
Copy link
Collaborator

Usage limits will be added on the tagged PR #83, For Access Restriction @jurmy24 can you explain how this should work?

Should we have an env to list the allowed users and not check for limits on those users?
Also could there be a time where we only allow the allowed users use it?

@jurmy24 jurmy24 modified the milestones: Release v0.2.0, Release v0.1.0 Jan 28, 2025
@jurmy24 jurmy24 mentioned this issue Jan 30, 2025
@jurmy24 jurmy24 removed this from the Release v0.1.0 milestone Feb 1, 2025
@jurmy24 jurmy24 closed this as completed Feb 1, 2025
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

Successfully merging a pull request may close this issue.

2 participants