Qore OpenAiDataProvider Module Reference 1.3
Loading...
Searching...
No Matches
OpenAiRunDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace OpenAiDataProvider {
29
30public:
32 const ProviderInfo = ...;
33
34
37
38
40 const RequestType = AbstractDataProviderTypeMap."nothing";
41
44
45protected:
47 string thread_id;
48
50 hash<auto> run;
51
53 const ChildMap = ...;
54
55
56public:
57
59 constructor(*RestClient rest, string thread_id, hash<auto> run) ;
60
61
63 string getName();
64
65
67
72protected:
73 auto doRequestImpl(auto req, *hash<auto> request_options);
74public:
75
76
78
80protected:
81 *DataProvider::AbstractDataProviderType getRequestTypeImpl();
82public:
83
84
86
88protected:
89 *DataProvider::AbstractDataProviderType getResponseTypeImpl();
90public:
91
92
94 *list<hash<DataProviderSummaryInfo>> getChildProviderSummaryInfo();
95
96
98
100protected:
102public:
103
104
106
110protected:
111 *AbstractDataProvider getChildProviderImpl(string name);
112public:
113
114
116protected:
117 hash<DataProviderInfo> getStaticInfoImpl();
118public:
119
120
122protected:
124public:
125
126};
127};
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 OpenAiRunDataProvider.qc.dox.h:28
const ResponseType
Response type.
Definition OpenAiRunDataProvider.qc.dox.h:43
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
*list< hash< DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
*AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or nothing if the given child is unknown.
const RequestType
Request type.
Definition OpenAiRunDataProvider.qc.dox.h:40
string getName()
Returns the data provider name.
const ProviderSummaryInfo
Provider summary info.
Definition OpenAiRunDataProvider.qc.dox.h:36
constructor(*RestClient rest, string thread_id, hash< auto > run)
Creates the object from the arguments.
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
const ProviderInfo
Provider info.
Definition OpenAiRunDataProvider.qc.dox.h:32
hash< auto > run
The run info.
Definition OpenAiRunDataProvider.qc.dox.h:50
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
const ChildMap
Child data providers.
Definition OpenAiRunDataProvider.qc.dox.h:53
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
string thread_id
The thread ID.
Definition OpenAiRunDataProvider.qc.dox.h:47
Qore OpenAiDataProvider module definition.
Definition OpenAiAssistantCreateDataProvider.qc.dox.h:26
const OpenAiRunDataType
Run type constant.
Definition OpenAiRunCreateDataProvider.qc.dox.h:232