Skip to content
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

Update for version 1.0.0 #707

Merged
merged 1 commit into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ AppBuilder-SDK不仅提供了百度智能云提供的基础能力组件,同时

## 如何安装AppBuilder-SDK

#### 百度智能云千帆AppBuilder-SDK 最新版本 0.9.8 (2024-12-10)
#### 百度智能云千帆AppBuilder-SDK 最新版本 1.0.0 (2025-01-03)

百度智能云千帆AppBuilder-SDK 更新记录&最新特性请查阅我们的[版本说明](/docs/DevelopGuide/ChangeLog/changelog.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/DevelopGuide/AdvancedDevelopment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
当前已集成Python版本AppBuilder-SDK 0.9.4及相关依赖,方便开发者融入个人已有的大模型应用程序。此部分仍在不断建设中。
二次开发可以采用官方提供的开发镜像,便于快速安装各种依赖库。也可在镜像中使用已安装的`appbuilder_trace_server`、`appbuilder_bce_deploy`工具。
``` shell
docker pull registry.baidubce.com/appbuilder/appbuilder-sdk-devel:0.9.8
docker pull registry.baidubce.com/appbuilder/appbuilder-sdk-devel:1.0.0
```
9 changes: 7 additions & 2 deletions docs/DevelopGuide/ChangeLog/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,13 @@
* 新增TreeMind组件
* 新增工作流Agent回复“信息收集节点”功能,支持多轮对话事件处理
* Python的ToolCall功能支持通过函数定义、装饰器的形式等生成ToolCall参数
* **2024.11.27 v0.9.8版本发布** [ReleaseNote](https://github.com/baidubce/app-builder/releases/tag/0.9.8)
* **2024.12.10 v0.9.8版本发布** [ReleaseNote](https://github.com/baidubce/app-builder/releases/tag/0.9.8)
* AppBuilderClient新增追问功能支持
* TTS组件新增更多语音效果
* 通用文字识别组件新增更多语言支持
* 实时语音通话功能内测
* 实时语音通话功能内测
* **2025.01.03 v1.0.0版本发布** [ReleaseNote](https://github.com/baidubce/app-builder/releases/tag/1.0.0)
* 工作流自定义组件支持SDK调用
* 新增RAG检索SDK
* Agent Python SDK支持Async调用
* 新增滚动日志功能
12 changes: 6 additions & 6 deletions docs/QuickStart/StartFirstAINativeApplication/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,29 @@ pip install --upgrade appbuilder-sdk
<dependency>
<groupId>com.baidubce</groupId>
<artifactId>appbuilder</artifactId>
<version>0.9.7</version>
<version>1.0.0</version>
</dependency>
```
#### Gradle
对于Kotlin DSL,在build.gradle.kts的dependencies中添加依赖
```kotlin
implementation("com.baidubce:appbuilder:0.9.7")
implementation("com.baidubce:appbuilder:1.0.0")
```
对于Groovy DSL,在build.gradle的dependencies中添加依赖
```groovy
implementation 'com.baidubce:appbuilder:0.9.7'
implementation 'com.baidubce:appbuilder:1.0.0'
```
#### 本地导入
点击[链接](https://repo1.maven.org/maven2/com/baidubce/appbuilder/0.9.7/appbuilder-0.9.7.jar) 下载Jar包,将Jar包导入到项目目录下。
点击[链接](https://repo1.maven.org/maven2/com/baidubce/appbuilder/1.0.0/appbuilder-1.0.0.jar) 下载Jar包,将Jar包导入到项目目录下。

### Go (仅支持调用端到端应用)
> 支持Go 1.18.1以上版本,当前最新tag为0.9.9
> 支持Go 1.18.1以上版本,当前最新tag为v1.0.0

```shell
go get github.com/baidubce/app-builder/go/appbuilder
````

### Docker (当前仅集成了Python版本AppBuilder-SDK)
``` shell
docker pull registry.baidubce.com/appbuilder/appbuilder-sdk-devel:0.9.8
docker pull registry.baidubce.com/appbuilder/appbuilder-sdk-devel:1.0.0
```
2 changes: 1 addition & 1 deletion docs/README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Baidu AI Cloud Qianfan AppBuilder-SDK offers the following essential features fo

## How to install?

#### The latest version of Baidu AI Cloud Qianfan AppBuilder SDK is 0.9.8 (2024-12-10)
#### The latest version of Baidu AI Cloud Qianfan AppBuilder SDK is 1.0.0 (2025-01-03)

Baidu AI Cloud Qianfan AppBuilder SDK ReleaseNote please refer to our [version description](/docs/DevelopGuide/ChangeLog/changelog.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/README_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Baidu AI Cloud Qianfan AppBuilder-SDKは、AIアプリケーション開発者

## どのようにインストールしますか?

#### Baidu AI Cloud Qianfan AppBuilder SDKの最新バージョンは0.9.8(2024-12-10)です
#### Baidu AI Cloud Qianfan AppBuilder SDKの最新バージョンは1.0.0(2025-01-03)です

Baidu AI Cloud Qianfan AppBuilder SDKのリリースノートについては、[バージョン説明](DevelopGuide/ChangeLog/changelog.md)をご覧ください。

Expand Down
2 changes: 1 addition & 1 deletion docs/Tools/SphinxSh/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
project = 'Appbuilder-SDK'
copyright = '2024, baidubce'
author = 'baidubce'
release = '0.9.8'
release = '1.0.0'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
2 changes: 1 addition & 1 deletion go/appbuilder/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (t *SDKConfig) authHeader() http.Header {
platform = "unknown"
}
header.Set("X-Appbuilder-Origin", "appbuilder_sdk")
header.Set("X-Appbuilder-Sdk-Config", "{\"appbuilder_sdk_version\":\"0.9.9\",\"appbuilder_sdk_language\":\"go\",\"appbuilder_sdk_platform\":\""+platform+"\"}")
header.Set("X-Appbuilder-Sdk-Config", "{\"appbuilder_sdk_version\":\"1.0.0\",\"appbuilder_sdk_language\":\"go\",\"appbuilder_sdk_platform\":\""+platform+"\"}")
header.Set("X-Appbuilder-Request-Id", uuid.New().String())
return header
}
Expand Down
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.baidubce</groupId>
<artifactId>appbuilder</artifactId>
<version>0.9.7</version>
<version>1.0.0</version>
<packaging>jar</packaging>

<name>app-builder</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public ClassicHttpRequest createPostRequest(String url, HttpEntity entity) {
? System.getenv("APPBUILDER_SDK_PLATFORM")
: "unknown";
httpPost.setHeader("X-Appbuilder-Sdk-Config",
"{\"appbuilder_sdk_version\":\"0.9.7\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
"{\"appbuilder_sdk_version\":\"1.0.0\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
+ platform + "\"}");
httpPost.setHeader("X-Appbuilder-Request-Id", java.util.UUID.randomUUID().toString());
httpPost.setEntity(entity);
Expand Down Expand Up @@ -134,7 +134,7 @@ public ClassicHttpRequest createPostRequestV2(String url, HttpEntity entity) {
? System.getenv("APPBUILDER_SDK_PLATFORM")
: "unknown";
httpPost.setHeader("X-Appbuilder-Sdk-Config",
"{\"appbuilder_sdk_version\":\"0.9.7\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
"{\"appbuilder_sdk_version\":\"1.0.0\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
+ platform + "\"}");
httpPost.setHeader("X-Appbuilder-Request-Id", java.util.UUID.randomUUID().toString());
httpPost.setEntity(entity);
Expand All @@ -158,7 +158,7 @@ public ClassicHttpRequest createGetRequestV2(String url, Map<String, Object> map
? System.getenv("APPBUILDER_SDK_PLATFORM")
: "unknown";
httpGet.setHeader("X-Appbuilder-Sdk-Config",
"{\"appbuilder_sdk_version\":\"0.9.7\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
"{\"appbuilder_sdk_version\":\"1.0.0\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
+ platform + "\"}");
httpGet.setHeader("X-Appbuilder-Request-Id", java.util.UUID.randomUUID().toString());
String headers = "headers: \n";
Expand All @@ -184,7 +184,7 @@ public ClassicHttpRequest createDeleteRequestV2(String url, Map<String, Object>
? System.getenv("APPBUILDER_SDK_PLATFORM")
: "unknown";
httpDelete.setHeader("X-Appbuilder-Sdk-Config",
"{\"appbuilder_sdk_version\":\"0.9.7\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
"{\"appbuilder_sdk_version\":\"1.0.0\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
+ platform + "\"}");
httpDelete.setHeader("X-Appbuilder-Request-Id", java.util.UUID.randomUUID().toString());
String headers = "headers: \n";
Expand Down
2 changes: 1 addition & 1 deletion python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.


__version__ = '0.9.8'
__version__ = '1.0.0'

import os
import sys
Expand Down
4 changes: 2 additions & 2 deletions python/utils/bce_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ def build_user_data(self):
+ f"rm {self.tar_file_name}\\n"
+ f"chmod a+x {self.run_script_name}\\n"
+ "yum install -y docker\\n"
+ "docker pull registry.baidubce.com/appbuilder/appbuilder-sdk-cloud:0.9.8\\n"
+ f"docker run -itd --net=host -v /root/test:{workspace} --name appbuilder-sdk registry.baidubce.com/appbuilder/appbuilder-sdk-cloud:0.9.8{workspace}/{self.run_script_name}"
+ "docker pull registry.baidubce.com/appbuilder/appbuilder-sdk-cloud:1.0.0\\n"
+ f"docker run -itd --net=host -v /root/test:{workspace} --name appbuilder-sdk registry.baidubce.com/appbuilder/appbuilder-sdk-cloud:1.0.0 {workspace}/{self.run_script_name}"
)

return user_data
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
setup(
name="appbuilder-sdk",
# NOTE(chengmo): 修改此版本号时,请注意同时修改 __init__.py 中的 __version__
version="0.9.8",
version="1.0.0",
author="dongdaxiang",
author_email="[email protected]",
packages=packages,
Expand Down
Loading