-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Pr@main/bug md #2696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Pr@main/bug md #2696
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
## 概述 | ||
|
||
博查工具是一个支持自然语言搜索的 Web Search API,从近百亿网页和生态内容源中搜索高质量世界知识,包括新闻、图片、视频、百科、机酒、学术等. | ||
博查工具是一个支持自然语言搜索的 Web Search API,从近百亿网页和生态内容源中搜索高质量世界知识,包括新闻、图片、视频、百科、机酒、学术等。 | ||
|
||
|
||
## 配置 | ||
|
||
1. 获取API Key | ||
在[博查开放平台](https://open.bochaai.com/overview) 上申请 API 密钥。 | ||
 | ||
在[博查开放平台](https://open.bochaai.com/overview) 上申请 API 密钥。 | ||
 | ||
2. 在函数库中配置 | ||
在函数库的博查函数面板中,点击 … > 启用参数,填写 API 密钥,并启用博查函数。 | ||
 | ||
在函数库的博查函数面板中,点击 … > 启用参数,填写 API 密钥,并启用该函数。 | ||
 | ||
3. 在应用中使用 | ||
在高级编排应用中,点击添加组件->函数库->博查,设置使用参数。 | ||
 | ||
在高级编排应用中,点击添加组件->函数库->博查,设置使用参数。 | ||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
## 概述 | ||
|
||
博查工具是一个支持自然语言搜索的 Web Search API,从近百亿网页和生态内容源中搜索高质量世界知识,包括新闻、图片、视频、百科、机酒、学术等. | ||
LangSearch 是一个提供免费Web Search API和Rerank API的服务,支持新闻、图像、视频等内容。它结合了关键词和向量进行混合搜索,以提高准确性。 | ||
|
||
|
||
## 配置 | ||
|
||
1. 获取API Key | ||
在[博查开放平台](https://open.bochaai.com/overview) 上申请 API 密钥。 | ||
 | ||
在[Langsearch](https://langsearch.com/overview) 上申请 API 密钥。 | ||
 | ||
2. 在函数库中配置 | ||
在函数库的博查函数面板中,点击 … > 启用参数,填写 API 密钥,并启用博查函数。 | ||
 | ||
在函数库的LangSearch函数面板中,点击 … > 启用参数,填写 API 密钥,并启用该函数。 | ||
 | ||
3. 在应用中使用 | ||
在高级编排应用中,点击添加组件->函数库->博查,设置使用参数。 | ||
 | ||
在高级编排应用中,点击添加组件->函数库->LangSearch,设置使用参数。 | ||
 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
## 概述 | ||
|
||
MySQL查询是一个连接MySQL数据库执行SQL查询的工具。 | ||
|
||
|
||
## 配置 | ||
|
||
1. 在函数库中配置启动参数 | ||
在函数库的MySQL函数面板中,点击 … > 启用参数,填写数据库连接参数,并启用该函数。 | ||
 | ||
2. 在应用中使用 | ||
在高级编排应用中,点击添加组件->函数库->MySQL查询,设置查询内容。 | ||
 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
## 概述 | ||
|
||
PostgreSQL查询是一个连接PostgreSQL数据库执行SQL查询的工具。 | ||
|
||
|
||
## 配置 | ||
|
||
1. 在函数库中配置启动参数 | ||
在函数库的PostgreSQL函数面板中,点击 … > 启用参数,填写数据库连接参数,并启用该函数。 | ||
 | ||
2. 在应用中使用 | ||
在高级编排应用中,点击添加组件->函数库->PostgreSQL查询,设置查询内容。 | ||
 | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -425,5 +425,5 @@ | |
} | ||
|
||
.el-tree { | ||
--el-tree-node-content-height: 32px; | ||
--el-tree-node-content-height: 38px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code looks generally correct and has no significant issues or optimization opportunities based on the provided information. The structure of the component is organized well, with labels aligned correctly for readability. The conditional rendering based on the
mcp_enable
boolean ensures dynamic content display.Suggestions:
Avoid Redundant Comments: There seems to be some redundant comments within the
<el-form>
tag (e.g., before each property). Consider removing them if they do not add clarity.Simplify CSS Scope: If you intend to use specific styles only within this component, consider using local scoped CSS instead of global scoped styles (
scoped
). Ensure that all class names used match the scope prefix specified at the beginning of the SCSS file.Overall, the code is clean and functional. No further improvements are necessary without additional context about potential future needs or changes.