Qore OpenAiDataProvider Module Reference 1.3
Loading...
Searching...
No Matches
OpenAiFileGetDataProvider.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
43 const ResponseType = AbstractDataProviderTypeMap."any";
44
45protected:
47 hash<auto> file;
48
49public:
50
52 constructor(*RestClient rest, hash<auto> file) ;
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};
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 OpenAiFileGetDataProvider.qc.dox.h:28
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
const ProviderInfo
Provider info.
Definition OpenAiFileGetDataProvider.qc.dox.h:32
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
string getName()
Returns the data provider name.
constructor(*RestClient rest, hash< auto > file)
Creates the object from the arguments.
const ResponseType
Response type.
Definition OpenAiFileGetDataProvider.qc.dox.h:43
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
const ProviderSummaryInfo
Provider summary info.
Definition OpenAiFileGetDataProvider.qc.dox.h:36
const RequestType
Request type.
Definition OpenAiFileGetDataProvider.qc.dox.h:40
hash< auto > file
The file info.
Definition OpenAiFileGetDataProvider.qc.dox.h:47
Qore OpenAiDataProvider module definition.
Definition OpenAiAssistantCreateDataProvider.qc.dox.h:26