UnisKB/ui/public/tool/langsearch/detail.md

17 lines
717 B
Markdown
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

## 概述
LangSearch 是一个提供免费Web Search API和Rerank API的服务支持新闻、图像、视频等内容。它结合了关键词和向量进行混合搜索以提高准确性。
## 配置
1. 获取API Key 
在[LangSearch](https://langsearch.com/overview) 上申请 API 密钥。
![API Key](/ui/tool/img/langsearch_APIKey.jpg)
2. 在函数库中配置
在函数库的LangSearch函数面板中点击 … > 启用参数,填写 API 密钥,并启用该函数。
![启动参数](/ui/tool/img/langsearch_setting.jpg)
3. 在应用中使用
在高级编排应用中,点击添加组件->函数库->LangSearch设置使用参数。
![应用中使用](/ui/tool/img/langsearch_app_used.jpg)