Loading...
Searching...
No Matches
OpenAiSimpleChatCompletionDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace OpenAiDataProvider {
class OpenAiSimpleChatCompletionDataProvider : public OpenAiDataProviderCommon {
public:
const ProviderInfo = ...;
const ProviderSummaryInfo = ...;
const RequestType = OpenAiSimpleChatCompletionRequestType;
const ResponseType = OpenAiSimpleChatCompletionResponseType;
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 OpenAiSimpleChatCompletionRequestType : public HashDataType {
public:
const Fields = ...;
constructor() ;
};
const OpenAiSimpleChatCompletionRequestType = new OpenAiSimpleChatCompletionRequestType();
class OpenAiSimpleChatCompletionResponseType : public HashDataType {
public:
const Fields = ...;
constructor() ;
};
const OpenAiSimpleChatCompletionResponseType = new OpenAiSimpleChatCompletionResponseType();
};
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::OpenAiSimpleChatCompletionDataProvider
The OpenAi data provider class.
Definition OpenAiSimpleChatCompletionDataProvider.qc.dox.h:28
OpenAiDataProvider::OpenAiSimpleChatCompletionDataProvider::getRequestTypeImpl
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
OpenAiDataProvider::OpenAiSimpleChatCompletionDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
OpenAiDataProvider::OpenAiSimpleChatCompletionDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition OpenAiSimpleChatCompletionDataProvider.qc.dox.h:32
OpenAiDataProvider::OpenAiSimpleChatCompletionDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition OpenAiSimpleChatCompletionDataProvider.qc.dox.h:36
OpenAiDataProvider::OpenAiSimpleChatCompletionDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
OpenAiDataProvider::OpenAiSimpleChatCompletionDataProvider::constructor
constructor(*RestClient rest)
Creates the object from the arguments.
OpenAiDataProvider::OpenAiSimpleChatCompletionDataProvider::ResponseType
const ResponseType
Response type.
Definition OpenAiSimpleChatCompletionDataProvider.qc.dox.h:43
OpenAiDataProvider::OpenAiSimpleChatCompletionDataProvider::getName
string getName()
Returns the data provider name.
OpenAiDataProvider::OpenAiSimpleChatCompletionDataProvider::getResponseTypeImpl
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
OpenAiDataProvider::OpenAiSimpleChatCompletionDataProvider::RequestType
const RequestType
Request type.
Definition OpenAiSimpleChatCompletionDataProvider.qc.dox.h:40
OpenAiDataProvider::OpenAiSimpleChatCompletionRequestType
The chat completion request type.
Definition OpenAiSimpleChatCompletionDataProvider.qc.dox.h:88
OpenAiDataProvider::OpenAiSimpleChatCompletionRequestType::Fields
const Fields
fields
Definition OpenAiSimpleChatCompletionDataProvider.qc.dox.h:92
OpenAiDataProvider::OpenAiSimpleChatCompletionRequestType::constructor
constructor()
Creates the type.
OpenAiDataProvider::OpenAiSimpleChatCompletionResponseType
The chat completion response type.
Definition OpenAiSimpleChatCompletionDataProvider.qc.dox.h:104
OpenAiDataProvider::OpenAiSimpleChatCompletionResponseType::Fields
const Fields
fields
Definition OpenAiSimpleChatCompletionDataProvider.qc.dox.h:108
OpenAiDataProvider::OpenAiSimpleChatCompletionResponseType::constructor
constructor()
Creates the type.
OpenAiDataProvider
Qore OpenAiDataProvider module definition.
Definition OpenAiAssistantCreateDataProvider.qc.dox.h:26
OpenAiDataProvider::OpenAiSimpleChatCompletionResponseType
const OpenAiSimpleChatCompletionResponseType
The chat completion response type.
Definition OpenAiSimpleChatCompletionDataProvider.qc.dox.h:117
OpenAiDataProvider::OpenAiSimpleChatCompletionRequestType
const OpenAiSimpleChatCompletionRequestType
The chat completion request type constant.
Definition OpenAiSimpleChatCompletionDataProvider.qc.dox.h:101