feat(web-search): add baidu web search provider support #907
This commit is contained in:
@@ -19,6 +19,7 @@ const (
|
||||
WebSearchProviderTypeDuckDuckGo WebSearchProviderType = "duckduckgo"
|
||||
WebSearchProviderTypeTavily WebSearchProviderType = "tavily"
|
||||
WebSearchProviderTypeOllama WebSearchProviderType = "ollama"
|
||||
WebSearchProviderTypeBaidu WebSearchProviderType = "baidu"
|
||||
)
|
||||
|
||||
// WebSearchProviderEntity represents a configured web search provider instance for a tenant.
|
||||
@@ -161,5 +162,12 @@ func GetWebSearchProviderTypes() []WebSearchProviderTypeInfo {
|
||||
Description: "Ollama Cloud web search (requires Ollama API key)",
|
||||
DocsURL: "https://docs.ollama.com/capabilities/web-search",
|
||||
},
|
||||
{
|
||||
ID: "baidu",
|
||||
Name: "Baidu",
|
||||
RequiresAPIKey: true,
|
||||
Description: "Baidu AI Search (requires API key from Baidu Cloud)",
|
||||
DocsURL: "https://cloud.baidu.com/doc/AppBuilder/s/qlvEcai0p",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user