Skip to content

Commit 15f5a39

Browse files
committed
Support API QueryKnowledgeBasesContent.
1 parent f3328c6 commit 15f5a39

File tree

941 files changed

+3993
-2265
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

941 files changed

+3993
-2265
lines changed

gpdb-20160503/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
33

4-
project(alibabacloud_gpdb_20160503 VERSION "1.0.0")
4+
project(alibabacloud_gpdb20160503 VERSION "1.0.0")
55

66
# <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< General set up >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> #
77
set(CMAKE_CXX_STANDARD 11)
@@ -72,7 +72,7 @@ if(CMAKE_HOST_WIN32)
7272
_CRT_SECURE_NO_WARNINGS)
7373
elseif(APPLE)
7474
find_library(CFLIB CoreFoundation)
75-
find_library(UTIL_LIB alibabacloud_gpdb_20160503 ${CMAKE_CURRENT_SOURCE_DIR}/deps/lib)
75+
find_library(UTIL_LIB alibabacloud_gpdb20160503 ${CMAKE_CURRENT_SOURCE_DIR}/deps/lib)
7676
target_link_libraries(${PROJECT_NAME}
7777
OpenSSL::SSL OpenSSL::Crypto
7878
${CFLIB}
@@ -139,7 +139,7 @@ install(
139139
TARGETS
140140
${PROJECT_NAME}
141141
EXPORT
142-
alibabacloud_gpdb_20160503Targets
142+
alibabacloud_gpdb20160503Targets
143143
ARCHIVE
144144
DESTINATION ${INSTALL_LIBDIR}
145145
COMPONENT lib
@@ -157,9 +157,9 @@ install(
157157
# Install cmake config
158158
install(
159159
EXPORT
160-
alibabacloud_gpdb_20160503Targets
160+
alibabacloud_gpdb20160503Targets
161161
NAMESPACE
162-
"alibabacloud_gpdb_20160503::"
162+
"alibabacloud_gpdb20160503::"
163163
DESTINATION
164164
${INSTALL_CMAKEDIR}
165165
COMPONENT

gpdb-20160503/ChangeLog.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2025-10-30 Version: 2.11.0
2+
- Support API QueryKnowledgeBasesContent.
3+
- Update API ChatWithKnowledgeBase: add request parameters RegionId.
4+
- Update API ChatWithKnowledgeBase: add response parameters Body.ChatCompletion.Choices.$.Message.ReasoningContent.
5+
- Update API ChatWithKnowledgeBaseStream: add request parameters RegionId.
6+
- Update API ChatWithKnowledgeBaseStream: add response parameters Body.ChatCompletion.Choices.$.Message.ReasoningContent.
7+
- Update API QueryContent: add request parameters Offset.
8+
- Update API QueryContent: add request parameters OrderBy.
9+
10+
111
2025-09-30 Version: 2.10.0
212
- Support API ChatWithKnowledgeBase.
313
- Support API ChatWithKnowledgeBaseStream.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@PACKAGE_INIT@
2+
3+
include("${CMAKE_CURRENT_LIST_DIR}/alibabacloud_gpdb20160503Targets.cmake")
4+
check_required_components("alibabacloud_gpdb20160503")

gpdb-20160503/cmake/alibabacloud_gpdb_20160503Config.cmake.in

Lines changed: 0 additions & 4 deletions
This file was deleted.

gpdb-20160503/include/alibabacloud/Gpdb20160503.hpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3786,6 +3786,23 @@ namespace Gpdb20160503
37863786

37873787
Models::QueryContentResponse queryContentAdvance(const Models::QueryContentAdvanceRequest &request, const Darabonba::RuntimeOptions &runtime);
37883788

3789+
/**
3790+
* @summary 多知识库查询
3791+
*
3792+
* @param tmpReq QueryKnowledgeBasesContentRequest
3793+
* @param runtime runtime options for this request RuntimeOptions
3794+
* @return QueryKnowledgeBasesContentResponse
3795+
*/
3796+
Models::QueryKnowledgeBasesContentResponse queryKnowledgeBasesContentWithOptions(const Models::QueryKnowledgeBasesContentRequest &tmpReq, const Darabonba::RuntimeOptions &runtime);
3797+
3798+
/**
3799+
* @summary 多知识库查询
3800+
*
3801+
* @param request QueryKnowledgeBasesContentRequest
3802+
* @return QueryKnowledgeBasesContentResponse
3803+
*/
3804+
Models::QueryKnowledgeBasesContentResponse queryKnowledgeBasesContent(const Models::QueryKnowledgeBasesContentRequest &request);
3805+
37893806
/**
37903807
* @summary Rebalances an AnalyticDB for PostgreSQL instance.
37913808
*

gpdb-20160503/include/alibabacloud/Gpdb20160503Model.hpp

Lines changed: 305 additions & 288 deletions
Large diffs are not rendered by default.

gpdb-20160503/include/alibabacloud/models/AddAinodeRequest.hpp renamed to gpdb-20160503/include/alibabacloud/models/AddAiNodeRequest.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ namespace Models
3535
};
3636
virtual void fromMap(const Darabonba::Json &obj) override { from_json(obj, *this); validate(); };
3737
virtual Darabonba::Json toMap() const override { Darabonba::Json obj; to_json(obj, *this); return obj; };
38-
virtual bool empty() const override { this->AINodePoolId_ != nullptr
39-
&& this->AINodeSpecInfos_ != nullptr && this->DBInstanceId_ != nullptr; };
38+
virtual bool empty() const override { return this->AINodePoolId_ == nullptr
39+
&& return this->AINodeSpecInfos_ == nullptr && return this->DBInstanceId_ == nullptr; };
4040
// AINodePoolId Field Functions
4141
bool hasAINodePoolId() const { return this->AINodePoolId_ != nullptr;};
4242
void deleteAINodePoolId() { this->AINodePoolId_ = nullptr;};

gpdb-20160503/include/alibabacloud/models/AddAinodeRequestAinodeSpecInfos.hpp renamed to gpdb-20160503/include/alibabacloud/models/AddAiNodeRequestAiNodeSpecInfos.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ namespace Models
3131
};
3232
virtual void fromMap(const Darabonba::Json &obj) override { from_json(obj, *this); validate(); };
3333
virtual Darabonba::Json toMap() const override { Darabonba::Json obj; to_json(obj, *this); return obj; };
34-
virtual bool empty() const override { this->nodeNum_ != nullptr
35-
&& this->nodeSpec_ != nullptr; };
34+
virtual bool empty() const override { return this->nodeNum_ == nullptr
35+
&& return this->nodeSpec_ == nullptr; };
3636
// nodeNum Field Functions
3737
bool hasNodeNum() const { return this->nodeNum_ != nullptr;};
3838
void deleteNodeNum() { this->nodeNum_ = nullptr;};

gpdb-20160503/include/alibabacloud/models/AddAinodeResponse.hpp renamed to gpdb-20160503/include/alibabacloud/models/AddAiNodeResponse.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ namespace Models
3535
};
3636
virtual void fromMap(const Darabonba::Json &obj) override { from_json(obj, *this); validate(); };
3737
virtual Darabonba::Json toMap() const override { Darabonba::Json obj; to_json(obj, *this); return obj; };
38-
virtual bool empty() const override { this->headers_ != nullptr
39-
&& this->statusCode_ != nullptr && this->body_ != nullptr; };
38+
virtual bool empty() const override { return this->headers_ == nullptr
39+
&& return this->statusCode_ == nullptr && return this->body_ == nullptr; };
4040
// headers Field Functions
4141
bool hasHeaders() const { return this->headers_ != nullptr;};
4242
void deleteHeaders() { this->headers_ = nullptr;};

gpdb-20160503/include/alibabacloud/models/AddAinodeResponseBody.hpp renamed to gpdb-20160503/include/alibabacloud/models/AddAiNodeResponseBody.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ namespace Models
3131
};
3232
virtual void fromMap(const Darabonba::Json &obj) override { from_json(obj, *this); validate(); };
3333
virtual Darabonba::Json toMap() const override { Darabonba::Json obj; to_json(obj, *this); return obj; };
34-
virtual bool empty() const override { this->orderId_ != nullptr
35-
&& this->requestId_ != nullptr; };
34+
virtual bool empty() const override { return this->orderId_ == nullptr
35+
&& return this->requestId_ == nullptr; };
3636
// orderId Field Functions
3737
bool hasOrderId() const { return this->orderId_ != nullptr;};
3838
void deleteOrderId() { this->orderId_ = nullptr;};

0 commit comments

Comments
 (0)