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

ユーザーごとのRateLimitを設ける #70

Open
2RiniaR opened this issue Aug 18, 2023 · 1 comment
Open

ユーザーごとのRateLimitを設ける #70

2RiniaR opened this issue Aug 18, 2023 · 1 comment
Labels
bot enhancement New feature or request

Comments

@2RiniaR
Copy link
Sponsor Contributor

2RiniaR commented Aug 18, 2023

概要

同一のdiscordIDから送信されるクエリに対して、一定時間あたりの回数制限を設ける。規定の回数を超えた場合には、その旨を返信する。

目的

  • 同一のユーザーによるクエリへの回答でチャットが流れるのを防ぐため。
  • 同一のユーザーがコンテキストを占有することを防ぐため。

議論

  • GPT-4の利用権限を持つユーザーに関しても、RateLimitを設けるか?
  • そもそもRateLimitという手段はこの課題解決に妥当か?
@m1sk9 m1sk9 added the enhancement New feature or request label Aug 18, 2023
@m1sk9
Copy link
Contributor

m1sk9 commented Aug 18, 2023

GPT-4の利用権限を持つユーザーに関しても、RateLimitを設けるか?

設けていいと思います.
GPT-4 は GitHub Sponsor の他にサーバーブーストでも使用できるので.

そもそもRateLimitという手段はこの課題解決に妥当か?

他の方法ももちろんあると思います.
ただすぐ思いつくものがこれくらいしかないというのは事実だけど.

@m1sk9 m1sk9 changed the title Feature: ユーザーごとのRateLimitを設ける ユーザーごとのRateLimitを設ける Sep 9, 2023
@m1sk9 m1sk9 added the bot label Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants