package org.ruoyi.common.chat.openai.function; import java.util.function.Function; /** * key 的获取策略 * jdk默认实现 * @see Function * * @author https:www.unfbx.com * @since 2023-04-03 */ @FunctionalInterface public interface KeyStrategyFunction { /** * Applies this function to the given argument. * * @param t the function argument * @return the function result */ R apply(T t); }