Loading...
Searching...
No Matches
OpenAiFileUploadDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
// for the manual processing of the file API with a raw HTTP call
namespace OpenAiDataProvider {
class OpenAiFileUploadDataProvider : public OpenAiDataProviderCommon {
public:
const ProviderInfo = ...;
const ProviderSummaryInfo = ...;
const RequestType = OpenAiFileUploadRequestType;
const ResponseType = OpenAiFileDataType;
constructor(*RestClient rest) ;
string getName();
protected:
auto doRequestImpl(auto req, *hash<auto> request_options);
public:
protected:
*DataProvider::AbstractDataProviderType getRequestTypeImpl();
public:
protected:
*DataProvider::AbstractDataProviderType getResponseTypeImpl();
public:
protected:
hash<DataProviderInfo> getStaticInfoImpl();
public:
};
class OpenAiFileUploadRequestType : public HashDataType {
public:
const Fields = ...;
constructor() ;
};
const OpenAiFileUploadRequestType = new OpenAiFileUploadRequestType();
};
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::OpenAiFileUploadDataProvider
The OpenAi data provider class.
Definition OpenAiFileUploadDataProvider.qc.dox.h:30
OpenAiDataProvider::OpenAiFileUploadDataProvider::RequestType
const RequestType
Request type.
Definition OpenAiFileUploadDataProvider.qc.dox.h:42
OpenAiDataProvider::OpenAiFileUploadDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition OpenAiFileUploadDataProvider.qc.dox.h:38
OpenAiDataProvider::OpenAiFileUploadDataProvider::getName
string getName()
Returns the data provider name.
OpenAiDataProvider::OpenAiFileUploadDataProvider::ResponseType
const ResponseType
Response type.
Definition OpenAiFileUploadDataProvider.qc.dox.h:45
OpenAiDataProvider::OpenAiFileUploadDataProvider::constructor
constructor(*RestClient rest)
Creates the object from the arguments.
OpenAiDataProvider::OpenAiFileUploadDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
OpenAiDataProvider::OpenAiFileUploadDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition OpenAiFileUploadDataProvider.qc.dox.h:34
OpenAiDataProvider::OpenAiFileUploadDataProvider::getResponseTypeImpl
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
OpenAiDataProvider::OpenAiFileUploadDataProvider::getRequestTypeImpl
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
OpenAiDataProvider::OpenAiFileUploadDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
OpenAiDataProvider::OpenAiFileUploadRequestType
The file upload request type.
Definition OpenAiFileUploadDataProvider.qc.dox.h:90
OpenAiDataProvider::OpenAiFileUploadRequestType::constructor
constructor()
Creates the type.
OpenAiDataProvider::OpenAiFileUploadRequestType::Fields
const Fields
fields
Definition OpenAiFileUploadDataProvider.qc.dox.h:94
OpenAiDataProvider
Qore OpenAiDataProvider module definition.
Definition OpenAiAssistantCreateDataProvider.qc.dox.h:26
OpenAiDataProvider::OpenAiFileDataType
const OpenAiFileDataType
File type constant.
Definition OpenAiFileDataProvider.qc.dox.h:133
OpenAiDataProvider::OpenAiFileUploadRequestType
const OpenAiFileUploadRequestType
File upload request type constant.
Definition OpenAiFileUploadDataProvider.qc.dox.h:103