Qore OpenAiDataProvider Module Reference 1.3
Loading...
Searching...
No Matches
OpenAiThreadCreateRunDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace OpenAiDataProvider {
29
30public:
32 const ProviderInfo = ...;
33
34
37
38
41
44
45protected:
47 hash<auto> assistant;
48
49public:
50
52 constructor(*RestClient rest, hash<auto> assistant) ;
53
54
56 string getName();
57
58
60
65protected:
66 auto doRequestImpl(auto req, *hash<auto> request_options);
67public:
68
69
71
73protected:
74 *DataProvider::AbstractDataProviderType getRequestTypeImpl();
75public:
76
77
79
81protected:
82 *DataProvider::AbstractDataProviderType getResponseTypeImpl();
83public:
84
85
87protected:
88 hash<DataProviderInfo> getStaticInfoImpl();
89public:
90
91};
92
94class OpenAiThreadDataType : public HashDataType {
95
96public:
99
102
103};
104
107
109class OpenAiThreadCreateRunRequestType : public HashDataType {
110
111public:
113 const Fields = ...;
114
115
118
119};
120
123};
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
const Fields
fields
Definition OpenAiThreadCreateDataProvider.qc.dox.h:92
The OpenAi data provider class.
Definition OpenAiThreadCreateRunDataProvider.qc.dox.h:28
*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.
const ProviderInfo
Provider info.
Definition OpenAiThreadCreateRunDataProvider.qc.dox.h:32
const ResponseType
Response type.
Definition OpenAiThreadCreateRunDataProvider.qc.dox.h:43
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
const RequestType
Request type.
Definition OpenAiThreadCreateRunDataProvider.qc.dox.h:40
const ProviderSummaryInfo
Provider summary info.
Definition OpenAiThreadCreateRunDataProvider.qc.dox.h:36
string getName()
Returns the data provider name.
constructor(*RestClient rest, hash< auto > assistant)
Creates the object from the arguments.
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
hash< auto > assistant
The assistant.
Definition OpenAiThreadCreateRunDataProvider.qc.dox.h:47
The file upload request type.
Definition OpenAiThreadCreateRunDataProvider.qc.dox.h:109
const Fields
fields
Definition OpenAiThreadCreateRunDataProvider.qc.dox.h:113
The thread data type.
Definition OpenAiThreadCreateRunDataProvider.qc.dox.h:94
const Fields
fields
Definition OpenAiThreadCreateRunDataProvider.qc.dox.h:98
Qore OpenAiDataProvider module definition.
Definition OpenAiAssistantCreateDataProvider.qc.dox.h:26
const OpenAiRunDataType
Run type constant.
Definition OpenAiRunCreateDataProvider.qc.dox.h:232
const OpenAiThreadDataType
The thread data type constant.
Definition OpenAiThreadCreateRunDataProvider.qc.dox.h:106
const OpenAiThreadCreateRunRequestType
File upload request type constant.
Definition OpenAiThreadCreateRunDataProvider.qc.dox.h:122