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
fixRun()
Updates run data.
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