Qore OpenAiDataProvider Module Reference 1.3
Loading...
Searching...
No Matches
OpenAiThreadCreateDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace OpenAiDataProvider {
29
30public:
32 const ProviderInfo = ...;
33
34
37
38
41
44
46 constructor(*RestClient rest) ;
47
48
50 string getName();
51
52
54
59protected:
60 auto doRequestImpl(auto req, *hash<auto> request_options);
61public:
62
63
65
67protected:
68 *DataProvider::AbstractDataProviderType getRequestTypeImpl();
69public:
70
71
73
75protected:
76 *DataProvider::AbstractDataProviderType getResponseTypeImpl();
77public:
78
79
81protected:
82 hash<DataProviderInfo> getStaticInfoImpl();
83public:
84
85};
86
88class OpenAiThreadCreateRequestType : public HashDataType {
89
90public:
92 const Fields = ...;
93
94
97
98};
99
102
104class OpenAiThreadCreateResponseDataType : public HashDataType {
105
106public:
108 const Fields = ...;
109
110
113
114};
115
118};
The OpenAi data provider common base class.
Definition OpenAiDataProviderCommon.qc.dox.h:28
*RestClient::RestClient rest
The REST client object for API calls.
Definition OpenAiDataProviderCommon.qc.dox.h:54
The OpenAi data provider class.
Definition OpenAiThreadCreateDataProvider.qc.dox.h:28
string getName()
Returns the data provider name.
const ResponseType
Response type.
Definition OpenAiThreadCreateDataProvider.qc.dox.h:43
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
const RequestType
Request type.
Definition OpenAiThreadCreateDataProvider.qc.dox.h:40
const ProviderInfo
Provider info.
Definition OpenAiThreadCreateDataProvider.qc.dox.h:32
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
constructor(*RestClient rest)
Creates the object from the arguments.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
const ProviderSummaryInfo
Provider summary info.
Definition OpenAiThreadCreateDataProvider.qc.dox.h:36
The file upload request type.
Definition OpenAiThreadCreateDataProvider.qc.dox.h:88
const Fields
fields
Definition OpenAiThreadCreateDataProvider.qc.dox.h:92
Thread type.
Definition OpenAiThreadCreateDataProvider.qc.dox.h:104
const Fields
fields
Definition OpenAiThreadCreateDataProvider.qc.dox.h:108
Qore OpenAiDataProvider module definition.
Definition OpenAiAssistantCreateDataProvider.qc.dox.h:26
const OpenAiThreadDataType
The thread data type constant.
Definition OpenAiThreadCreateRunDataProvider.qc.dox.h:106
const OpenAiThreadCreateResponseDataType
Thread type constant.
Definition OpenAiThreadCreateDataProvider.qc.dox.h:117
const OpenAiThreadCreateRequestType
File upload request type constant.
Definition OpenAiThreadCreateDataProvider.qc.dox.h:101