88 static hash<auto>
getTool(hash<auto> tool);
93 static hash<auto> getFilter(hash<auto> filter);
124class OpenAiModelInputItemContentDataType :
public HashDataType {
135const OpenAiModelInputItemContentDataType =
new OpenAiModelInputItemContentDataType();
137class OpenAiModelInputItemDataType :
public HashDataType {
148const OpenAiModelInputItemDataType =
new OpenAiModelInputItemDataType();
150class OpenAiModelInputDataType :
public HashDataType {
161const OpenAiModelInputDataType =
new OpenAiModelInputDataType();
163class ReasoningDataType :
public HashDataType {
174const ReasoningDataType =
new ReasoningDataType();
175const ReasoningOrNothingDataType = ReasoningDataType.getOrNothingType();
177class OpenAiModelRepsonseTextFormatDataType :
public HashDataType {
188const OpenAiModelRepsonseTextFormatDataType =
new OpenAiModelRepsonseTextFormatDataType();
190class OpenAiModelResponseTextDataType :
public HashDataType {
201const OpenAiModelResponseTextDataType =
new OpenAiModelResponseTextDataType();
202const OpenAiModelResponseTextOrNothingDataType = OpenAiModelResponseTextDataType.getOrNothingType();
204class OpenAiModelFileSearchToolComparisonFilterDataType :
public HashDataType {
215const OpenAiModelFileSearchToolComparisonFilterDataType =
new OpenAiModelFileSearchToolComparisonFilterDataType();
217class OpenAiModelFileSearchToolCompoundFilterDataType :
public HashDataType {
229const OpenAiModelFileSearchToolCompoundFilterDataType =
new OpenAiModelFileSearchToolCompoundFilterDataType();
231class OpenAiModelFileSearchToolFilterDataType :
public HashDataType {
242const OpenAiModelFileSearchToolFilterDataType =
new OpenAiModelFileSearchToolFilterDataType();
243const OpenAiModelFileSearchToolFilterOrNothingDataType =
244 OpenAiModelFileSearchToolFilterDataType.getOrNothingType();
246class OpenAiModelFileSearchToolRankingOptionsDataType :
public HashDataType {
257const OpenAiModelFileSearchToolRankingOptionsDataType =
new OpenAiModelFileSearchToolRankingOptionsDataType();
258const OpenAiModelFileSearchToolRankingOptionsOrNothingDataType =
259 OpenAiModelFileSearchToolRankingOptionsDataType.getOrNothingType();
261class OpenAiModelFileSearchToolDataType :
public HashDataType {
272const OpenAiModelFileSearchToolDataType =
new OpenAiModelFileSearchToolDataType();
274class OpenAiModelFunctionToolDataType :
public HashDataType {
285const OpenAiModelFunctionToolDataType =
new OpenAiModelFunctionToolDataType();
287class OpenAiModelUserLocationDataType :
public HashDataType {
298const OpenAiModelUserLocationDataType =
new OpenAiModelUserLocationDataType();
299const OpenAiModelUserLocationOrNothingDataType = OpenAiModelUserLocationDataType.getOrNothingType();
301class OpenAiModelWebSearchToolDataType :
public HashDataType {
312const OpenAiModelWebSearchToolDataType =
new OpenAiModelWebSearchToolDataType();
314class OpenAiModelComputerUseToolDataType :
public HashDataType {
325const OpenAiModelComputerUseToolDataType =
new OpenAiModelComputerUseToolDataType();
327class OpenAiModelToolDataType :
public HashDataType {
338const OpenAiModelToolDataType =
new OpenAiModelToolDataType();
340class OpenAiModelCreateResponseRequestDataType :
public HashDataType {
351const OpenAiModelCreateResponseRequestDataType =
new OpenAiModelCreateResponseRequestDataType();
353class OpenAiModelCreateErrorDataType :
public HashDataType {
364const OpenAiModelCreateErrorDataType =
new OpenAiModelCreateErrorDataType();
365const OpenAiModelCreateErrorOrNothingDataType = OpenAiModelCreateErrorDataType.getOrNothingType();
367class OpenAiModelCreateIncompleteDetailsDataType :
public HashDataType {
378const OpenAiModelCreateIncompleteDetailsDataType =
new OpenAiModelCreateIncompleteDetailsDataType();
379const OpenAiModelCreateIncompleteDetailsOrNothingDataType =
380 OpenAiModelCreateIncompleteDetailsDataType.getOrNothingType();
382class OpenAiModelUsageInputTokensDetailsDataType :
public HashDataType {
393const OpenAiModelUsageInputTokensDetailsDataType =
new OpenAiModelUsageInputTokensDetailsDataType();
395class OpenAiModelUsageOutputTokensDetailsDataType :
public HashDataType {
406const OpenAiModelUsageOutputTokensDetailsDataType =
new OpenAiModelUsageOutputTokensDetailsDataType();
408class OpenAiModelUsageDataType :
public HashDataType {
419const OpenAiModelUsageDataType =
new OpenAiModelUsageDataType();
421class OpenAiModelCreateResponseResponseDataType :
public HashDataType {
432const OpenAiModelCreateResponseResponseDataType =
new OpenAiModelCreateResponseResponseDataType();
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 OpenAiModelCreateResponseDataProvider.qc.dox.h:28
static hash< auto > getTool(hash< auto > tool)
Processes tools in a response request.
static auto getContent(hash< auto > content)
Processes content in a request.
const ProviderInfo
Provider info.
Definition OpenAiModelCreateResponseDataProvider.qc.dox.h:32
static auto getInput(hash< auto > input)
Processes input in a request.
const RequestType
Request type.
Definition OpenAiModelCreateResponseDataProvider.qc.dox.h:40
const ResponseType
Response type.
Definition OpenAiModelCreateResponseDataProvider.qc.dox.h:43
const ProviderSummaryInfo
Provider summary info.
Definition OpenAiModelCreateResponseDataProvider.qc.dox.h:36
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
string getName()
Returns the data provider name.
constructor(*RestClient rest)
Creates the object from the arguments.
constructor(*RestClient rest, hash< auto > model)
Creates the object from the arguments.
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
hash< auto > model
Model info.
Definition OpenAiModelCreateResponseDataProvider.qc.dox.h:47
*string getOutputText(list< auto > output)
Returns output text for the output.
Qore OpenAiDataProvider module definition.
Definition OpenAiAssistantCreateDataProvider.qc.dox.h:26