public static enum BaiduWebSearchRepository.SearchType extends Enum<BaiduWebSearchRepository.SearchType>
| Enum Constant and Description |
|---|
AI
AI搜索:结合大模型进行智能总结,传入model参数
|
BASIC
基础搜索:仅返回搜索结果,不传model参数
|
| Modifier and Type | Method and Description |
|---|---|
static BaiduWebSearchRepository.SearchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BaiduWebSearchRepository.SearchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaiduWebSearchRepository.SearchType BASIC
public static final BaiduWebSearchRepository.SearchType AI
public static BaiduWebSearchRepository.SearchType[] values()
for (BaiduWebSearchRepository.SearchType c : BaiduWebSearchRepository.SearchType.values()) System.out.println(c);
public static BaiduWebSearchRepository.SearchType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2025. All rights reserved.