Qore OpenAiDataProvider Module Reference 1.3
Loading...
Searching...
No Matches
OpenAiModelsDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace OpenAiDataProvider {
29
30public:
32 const ProviderInfo = ...;
33
34
37
38
40 constructor(*RestClient rest) ;
41
42
44 constructor(hash<auto> options) ;
45
46
48 string getName();
49
50
52 *list<hash<DataProviderSummaryInfo>> getChildProviderSummaryInfo();
53
54
56
58protected:
60public:
61
62
64
68protected:
69 *AbstractDataProvider getChildProviderImpl(string name);
70public:
71
72
74protected:
75 *list<hash<auto>> getModels();
76public:
77
78
80protected:
81 hash<DataProviderInfo> getStaticInfoImpl();
82public:
83
84};
85};
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 OpenAiModelsDataProvider.qc.dox.h:28
constructor(*RestClient rest)
Creates the object from the arguments.
*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.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
const ProviderSummaryInfo
Provider summary info.
Definition OpenAiModelsDataProvider.qc.dox.h:36
*list< hash< auto > > getModels()
Returns supported models.
string getName()
Returns the data provider name.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
const ProviderInfo
Provider info.
Definition OpenAiModelsDataProvider.qc.dox.h:32
constructor(hash< auto > options)
Creates the object from constructor options.
Qore OpenAiDataProvider module definition.
Definition OpenAiAssistantCreateDataProvider.qc.dox.h:26