We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
KeyStrategyFunction的默认实现KeyRandomStrategy是随机获取一个key; 目前想根据请求时的内容进行切换不同的场景key,例如ChatCompletion新增了scene字段,如何根据该字段切换每次请求时的key
KeyStrategyFunction
KeyRandomStrategy
ChatCompletion
scene
The text was updated successfully, but these errors were encountered:
或者说如何在KeyStrategyFunction的apply方法中获取当次请求中的ChatCompletion
apply
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
KeyStrategyFunction
的默认实现KeyRandomStrategy
是随机获取一个key;目前想根据请求时的内容进行切换不同的场景key,例如
ChatCompletion
新增了scene
字段,如何根据该字段切换每次请求时的keyThe text was updated successfully, but these errors were encountered: