Skip to content

Commit

Permalink
Update for version 0.9.5 (#549)
Browse files Browse the repository at this point in the history
* add base code

* update

* update java
  • Loading branch information
MrChengmo authored Oct 18, 2024
1 parent 706a5d4 commit e4df041
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 10 deletions.
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.4 (2024-09-10)
#### 百度智能云千帆AppBuilder-SDK 最新版本 0.9.5 (2024-10-18)

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

Expand Down
2 changes: 1 addition & 1 deletion appbuilder/__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.4'
__version__ = '0.9.5'

import os
import sys
Expand Down
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.4 (2024-09-10)
#### The latest version of Baidu AI Cloud Qianfan AppBuilder SDK is 0.9.5 (2024-10-18)

Baidu AI Cloud Qianfan AppBuilder SDK ReleaseNote please refer to our [version description](/docs/quick_start/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.4(2024-09-10)です
#### Baidu AI Cloud Qianfan AppBuilder SDKの最新バージョンは0.9.5(2024-10-18)です

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

Expand Down
4 changes: 4 additions & 0 deletions docs/quick_start/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,7 @@
* **2024.09.04 v0.9.4版本发布** [ReleaseNote](https://github.com/baidubce/app-builder/releases/tag/0.9.4)
* AppBuilderClient新增tool_choice / end_user_id功能
* 增加VScode setting,优化开发者使用体验
* **2024.10.18 v0.9.5版本发布** [ReleaseNote](https://github.com/baidubce/app-builder/releases/tag/0.9.5)
* 更新KnowledgeBase组件,新增`切片详情`获取接口,新增切片关联的图片ID字段
* AppBuilderTrace 支持SentrySDK
* AppBuilder新增[Sphinx API文档](/docs/sphinx_md/appbuilder.md)
2 changes: 1 addition & 1 deletion docs/sphinx_doc/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.4'
release = '0.9.5'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
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.4\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
"{\"appbuilder_sdk_version\":\"0.9.5\",\"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.4\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
"{\"appbuilder_sdk_version\":\"0.9.5\",\"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.4\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
"{\"appbuilder_sdk_version\":\"0.9.5\",\"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.4\",\"appbuilder_sdk_language\":\"java\",\"appbuilder_sdk_platform\":\""
"{\"appbuilder_sdk_version\":\"0.9.5\",\"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 setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
setup(
name="appbuilder-sdk",
# NOTE(chengmo): 修改此版本号时,请注意同时修改 __init__.py 中的 __version__
version="0.9.4",
version="0.9.5",
author="dongdaxiang",
author_email="[email protected]",
packages=packages,
Expand Down

0 comments on commit e4df041

Please sign in to comment.