Package com.unfbx.chatgpt.function
Class KeyRandomStrategy
- java.lang.Object
-
- com.unfbx.chatgpt.function.KeyRandomStrategy
-
- All Implemented Interfaces:
KeyStrategyFunction<List<String>,String>
public class KeyRandomStrategy extends Object implements KeyStrategyFunction<List<String>,String>
描述:随机策略- Since:
- 2023-04-03
- Author:
- https:www.unfbx.com
-
-
Constructor Summary
Constructors Constructor Description KeyRandomStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
apply(List<String> apiKeys)
Applies this function to the given argument.
-
-
-
Method Detail
-
apply
public String apply(List<String> apiKeys)
Description copied from interface:KeyStrategyFunction
Applies this function to the given argument.- Specified by:
apply
in interfaceKeyStrategyFunction<List<String>,String>
- Parameters:
apiKeys
- the function argument- Returns:
- the function result
-
-