Loading...
Searching...
No Matches
OpenAiFileDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace OpenAiDataProvider {
class OpenAiFileDataProvider : public OpenAiDataProviderCommon {
public:
const ProviderInfo = ...;
const ProviderSummaryInfo = ...;
const RequestType = AbstractDataProviderTypeMap."nothing";
const ResponseType = OpenAiFileDataType;
protected:
hash<auto> file;
const ChildMap = ...;
public:
constructor(*RestClient rest, hash<auto> file) ;
string getName();
protected:
auto doRequestImpl(auto req, *hash<auto> request_options);
public:
protected:
*DataProvider::AbstractDataProviderType getRequestTypeImpl();
public:
protected:
*DataProvider::AbstractDataProviderType getResponseTypeImpl();
public:
*list<hash<DataProviderSummaryInfo>> getChildProviderSummaryInfo();
protected:
*list<string> getChildProviderNamesImpl();
public:
protected:
*AbstractDataProvider getChildProviderImpl(string name);
public:
protected:
hash<DataProviderInfo> getStaticInfoImpl();
public:
};
class OpenAiFileDataType : public HashDataType {
public:
const Fields = ...;
constructor() ;
};
const OpenAiFileDataType = new OpenAiFileDataType();
};
OpenAiDataProvider::OpenAiDataProviderCommon
The OpenAi data provider common base class.
Definition OpenAiDataProviderCommon.qc.dox.h:28
OpenAiDataProvider::OpenAiDataProviderCommon::rest
*RestClient::RestClient rest
The REST client object for API calls.
Definition OpenAiDataProviderCommon.qc.dox.h:54
OpenAiDataProvider::OpenAiFileDataProvider
The OpenAi data provider class.
Definition OpenAiFileDataProvider.qc.dox.h:28
OpenAiDataProvider::OpenAiFileDataProvider::getChildProviderSummaryInfo
*list< hash< DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
OpenAiDataProvider::OpenAiFileDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition OpenAiFileDataProvider.qc.dox.h:36
OpenAiDataProvider::OpenAiFileDataProvider::getChildProviderNamesImpl
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
OpenAiDataProvider::OpenAiFileDataProvider::constructor
constructor(*RestClient rest, hash< auto > file)
Creates the object from the arguments.
OpenAiDataProvider::OpenAiFileDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
OpenAiDataProvider::OpenAiFileDataProvider::ResponseType
const ResponseType
Response type.
Definition OpenAiFileDataProvider.qc.dox.h:43
OpenAiDataProvider::OpenAiFileDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
OpenAiDataProvider::OpenAiFileDataProvider::getName
string getName()
Returns the data provider name.
OpenAiDataProvider::OpenAiFileDataProvider::getRequestTypeImpl
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
OpenAiDataProvider::OpenAiFileDataProvider::getResponseTypeImpl
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
OpenAiDataProvider::OpenAiFileDataProvider::file
hash< auto > file
The file info.
Definition OpenAiFileDataProvider.qc.dox.h:47
OpenAiDataProvider::OpenAiFileDataProvider::getChildProviderImpl
*AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or nothing if the given child is unknown.
OpenAiDataProvider::OpenAiFileDataProvider::ChildMap
const ChildMap
Child data providers.
Definition OpenAiFileDataProvider.qc.dox.h:50
OpenAiDataProvider::OpenAiFileDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition OpenAiFileDataProvider.qc.dox.h:32
OpenAiDataProvider::OpenAiFileDataProvider::RequestType
const RequestType
Request type.
Definition OpenAiFileDataProvider.qc.dox.h:40
OpenAiDataProvider::OpenAiFileDataType
The file type.
Definition OpenAiFileDataProvider.qc.dox.h:120
OpenAiDataProvider::OpenAiFileDataType::Fields
const Fields
fields
Definition OpenAiFileDataProvider.qc.dox.h:124
OpenAiDataProvider::OpenAiFileDataType::constructor
constructor()
Creates the type.
OpenAiDataProvider
Qore OpenAiDataProvider module definition.
Definition OpenAiAssistantCreateDataProvider.qc.dox.h:26
OpenAiDataProvider::OpenAiFileDataType
const OpenAiFileDataType
File type constant.
Definition OpenAiFileDataProvider.qc.dox.h:133