Documentation
¶
Overview ¶
Package mistral provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Package mistral is a Go client for the Mistral AI REST API, generated with oapi-codegen from the OpenAPI document Mistral AI publishes.
Example ¶
The README usage example. It calls the live API, so it is compiled but not run.
package main
import (
"context"
"net/http"
"os"
mistral "github.com/psyb0t/go-mistral"
)
func main() {
auth := mistral.WithRequestEditorFn(
func(_ context.Context, req *http.Request) error {
req.Header.Set(
"Authorization",
"Bearer "+os.Getenv("MISTRAL_API_KEY"),
)
return nil
},
)
client, err := mistral.NewClientWithResponses(
"https://api.mistral.ai",
auth,
)
if err != nil {
panic(err)
}
res, err := client.ListModelsV1ModelsGetWithResponse(
context.Background(),
&mistral.ListModelsV1ModelsGetParams{},
)
if err != nil {
panic(err)
}
_ = res.JSON200
}
Output:
Index ¶
- func NewAgentsApiV1AgentsCreateOrUpdateAliasRequest(server string, agentId string, ...) (*http.Request, error)
- func NewAgentsApiV1AgentsCreateRequest(server string, body AgentsApiV1AgentsCreateJSONRequestBody) (*http.Request, error)
- func NewAgentsApiV1AgentsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAgentsApiV1AgentsDeleteAliasRequest(server string, agentId string, params *AgentsApiV1AgentsDeleteAliasParams) (*http.Request, error)
- func NewAgentsApiV1AgentsDeleteRequest(server string, agentId string) (*http.Request, error)
- func NewAgentsApiV1AgentsGetRequest(server string, agentId string, params *AgentsApiV1AgentsGetParams) (*http.Request, error)
- func NewAgentsApiV1AgentsGetVersionRequest(server string, agentId string, version string) (*http.Request, error)
- func NewAgentsApiV1AgentsListPagesRequest(server string, params *AgentsApiV1AgentsListPagesParams) (*http.Request, error)
- func NewAgentsApiV1AgentsListRequest(server string, params *AgentsApiV1AgentsListParams) (*http.Request, error)
- func NewAgentsApiV1AgentsListVersionAliasesRequest(server string, agentId string) (*http.Request, error)
- func NewAgentsApiV1AgentsListVersionsRequest(server string, agentId string, params *AgentsApiV1AgentsListVersionsParams) (*http.Request, error)
- func NewAgentsApiV1AgentsUpdateRequest(server string, agentId string, body AgentsApiV1AgentsUpdateJSONRequestBody) (*http.Request, error)
- func NewAgentsApiV1AgentsUpdateRequestWithBody(server string, agentId string, contentType string, body io.Reader) (*http.Request, error)
- func NewAgentsApiV1AgentsUpdateVersionRequest(server string, agentId string, params *AgentsApiV1AgentsUpdateVersionParams) (*http.Request, error)
- func NewAgentsApiV1ConversationsAppendRequest(server string, conversationId string, ...) (*http.Request, error)
- func NewAgentsApiV1ConversationsAppendRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)
- func NewAgentsApiV1ConversationsAppendStreamRequest(server string, conversationId string, ...) (*http.Request, error)
- func NewAgentsApiV1ConversationsAppendStreamRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)
- func NewAgentsApiV1ConversationsDeleteRequest(server string, conversationId string) (*http.Request, error)
- func NewAgentsApiV1ConversationsGetRequest(server string, conversationId string) (*http.Request, error)
- func NewAgentsApiV1ConversationsHistoryRequest(server string, conversationId string) (*http.Request, error)
- func NewAgentsApiV1ConversationsListRequest(server string, params *AgentsApiV1ConversationsListParams) (*http.Request, error)
- func NewAgentsApiV1ConversationsMessagesRequest(server string, conversationId string) (*http.Request, error)
- func NewAgentsApiV1ConversationsRestartRequest(server string, conversationId string, ...) (*http.Request, error)
- func NewAgentsApiV1ConversationsRestartRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)
- func NewAgentsApiV1ConversationsRestartStreamRequest(server string, conversationId string, ...) (*http.Request, error)
- func NewAgentsApiV1ConversationsRestartStreamRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)
- func NewAgentsApiV1ConversationsStartRequest(server string, body AgentsApiV1ConversationsStartJSONRequestBody) (*http.Request, error)
- func NewAgentsApiV1ConversationsStartRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAgentsApiV1ConversationsStartStreamRequest(server string, body AgentsApiV1ConversationsStartStreamJSONRequestBody) (*http.Request, error)
- func NewAgentsApiV1ConversationsStartStreamRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAgentsCompletionV1AgentsCompletionsPostRequest(server string, body AgentsCompletionV1AgentsCompletionsPostJSONRequestBody) (*http.Request, error)
- func NewAgentsCompletionV1AgentsCompletionsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutRequest(server string, workflowIdentifier string) (*http.Request, error)
- func NewAudioApiV1TranscriptionsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAudioApiV1TranscriptionsPostStreamRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostRequest(server string, ...) (*http.Request, error)
- func NewBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostRequest(server string, ...) (*http.Request, error)
- func NewBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostRequest(server string, executionId string) (*http.Request, error)
- func NewChatClassificationsV1ChatClassificationsPostRequest(server string, ...) (*http.Request, error)
- func NewChatClassificationsV1ChatClassificationsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewChatCompletionV1ChatCompletionsPostRequest(server string, body ChatCompletionV1ChatCompletionsPostJSONRequestBody) (*http.Request, error)
- func NewChatCompletionV1ChatCompletionsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewChatModerationsV1ChatModerationsPostRequest(server string, body ChatModerationsV1ChatModerationsPostJSONRequestBody) (*http.Request, error)
- func NewChatModerationsV1ChatModerationsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewClassificationsV1ClassificationsPostRequest(server string, body ClassificationsV1ClassificationsPostJSONRequestBody) (*http.Request, error)
- func NewClassificationsV1ClassificationsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewConnectorCallToolV1Request(server string, connectorIdOrName string, toolName string, ...) (*http.Request, error)
- func NewConnectorCallToolV1RequestWithBody(server string, connectorIdOrName string, toolName string, ...) (*http.Request, error)
- func NewConnectorCreateOrUpdateOrganizationCredentialsV1Request(server string, connectorIdOrName string, ...) (*http.Request, error)
- func NewConnectorCreateOrUpdateOrganizationCredentialsV1RequestWithBody(server string, connectorIdOrName string, contentType string, body io.Reader) (*http.Request, error)
- func NewConnectorCreateOrUpdateUserCredentialsV1Request(server string, connectorIdOrName string, ...) (*http.Request, error)
- func NewConnectorCreateOrUpdateUserCredentialsV1RequestWithBody(server string, connectorIdOrName string, contentType string, body io.Reader) (*http.Request, error)
- func NewConnectorCreateOrUpdateWorkspaceCredentialsV1Request(server string, connectorIdOrName string, ...) (*http.Request, error)
- func NewConnectorCreateOrUpdateWorkspaceCredentialsV1RequestWithBody(server string, connectorIdOrName string, contentType string, body io.Reader) (*http.Request, error)
- func NewConnectorCreateV1Request(server string, body ConnectorCreateV1JSONRequestBody) (*http.Request, error)
- func NewConnectorCreateV1RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewConnectorDeleteOrganizationCredentialsV1Request(server string, connectorIdOrName string, credentialsName string) (*http.Request, error)
- func NewConnectorDeleteUserCredentialsV1Request(server string, connectorIdOrName string, credentialsName string) (*http.Request, error)
- func NewConnectorDeleteV1Request(server string, connectorId openapi_types.UUID) (*http.Request, error)
- func NewConnectorDeleteWorkspaceCredentialsV1Request(server string, connectorIdOrName string, credentialsName string) (*http.Request, error)
- func NewConnectorGetAuthUrlV1Request(server string, connectorIdOrName string, params *ConnectorGetAuthUrlV1Params) (*http.Request, error)
- func NewConnectorGetAuthenticationMethodsV1Request(server string, connectorIdOrName string) (*http.Request, error)
- func NewConnectorGetV1Request(server string, connectorIdOrName string, params *ConnectorGetV1Params) (*http.Request, error)
- func NewConnectorListOrganizationCredentialsV1Request(server string, connectorIdOrName string, ...) (*http.Request, error)
- func NewConnectorListToolsV1Request(server string, connectorIdOrName string, params *ConnectorListToolsV1Params) (*http.Request, error)
- func NewConnectorListUserCredentialsV1Request(server string, connectorIdOrName string, ...) (*http.Request, error)
- func NewConnectorListV1Request(server string, params *ConnectorListV1Params) (*http.Request, error)
- func NewConnectorListWorkspaceCredentialsV1Request(server string, connectorIdOrName string, ...) (*http.Request, error)
- func NewConnectorUpdateV1Request(server string, connectorId openapi_types.UUID, ...) (*http.Request, error)
- func NewConnectorUpdateV1RequestWithBody(server string, connectorId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewCreateCampaignV1ObservabilityCampaignsPostRequest(server string, body CreateCampaignV1ObservabilityCampaignsPostJSONRequestBody) (*http.Request, error)
- func NewCreateCampaignV1ObservabilityCampaignsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostRequest(server string, datasetId openapi_types.UUID, ...) (*http.Request, error)
- func NewCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewCreateDatasetV1ObservabilityDatasetsPostRequest(server string, body CreateDatasetV1ObservabilityDatasetsPostJSONRequestBody) (*http.Request, error)
- func NewCreateDatasetV1ObservabilityDatasetsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateJudgeV1ObservabilityJudgesPostRequest(server string, body CreateJudgeV1ObservabilityJudgesPostJSONRequestBody) (*http.Request, error)
- func NewCreateJudgeV1ObservabilityJudgesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateVoiceV1AudioVoicesPostRequest(server string, body CreateVoiceV1AudioVoicesPostJSONRequestBody) (*http.Request, error)
- func NewCreateVoiceV1AudioVoicesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteRequest(server string, campaignId openapi_types.UUID) (*http.Request, error)
- func NewDeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteRequest(server string, datasetRecordId openapi_types.UUID) (*http.Request, error)
- func NewDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostRequest(server string, ...) (*http.Request, error)
- func NewDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteRequest(server string, datasetId openapi_types.UUID) (*http.Request, error)
- func NewDeleteJudgeV1ObservabilityJudgesJudgeIdDeleteRequest(server string, judgeId openapi_types.UUID) (*http.Request, error)
- func NewDeleteModelV1ModelsModelIdDeleteRequest(server string, modelId string) (*http.Request, error)
- func NewDeleteVoiceV1AudioVoicesVoiceIdDeleteRequest(server string, voiceId openapi_types.UUID) (*http.Request, error)
- func NewEmbeddingsV1EmbeddingsPostRequest(server string, body EmbeddingsV1EmbeddingsPostJSONRequestBody) (*http.Request, error)
- func NewEmbeddingsV1EmbeddingsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostRequest(server string, workflowRegistrationId openapi_types.UUID, ...) (*http.Request, error)
- func NewExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostRequestWithBody(server string, workflowRegistrationId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostRequest(server string, workflowIdentifier string, ...) (*http.Request, error)
- func NewExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostRequestWithBody(server string, workflowIdentifier string, contentType string, body io.Reader) (*http.Request, error)
- func NewExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetRequest(server string, datasetId openapi_types.UUID) (*http.Request, error)
- func NewFilesApiRoutesDeleteFileRequest(server string, fileId openapi_types.UUID) (*http.Request, error)
- func NewFilesApiRoutesDownloadFileRequest(server string, fileId openapi_types.UUID) (*http.Request, error)
- func NewFilesApiRoutesGetSignedUrlRequest(server string, fileId openapi_types.UUID, ...) (*http.Request, error)
- func NewFilesApiRoutesListFilesRequest(server string, params *FilesApiRoutesListFilesParams) (*http.Request, error)
- func NewFilesApiRoutesRetrieveFileRequest(server string, fileId openapi_types.UUID) (*http.Request, error)
- func NewFilesApiRoutesUploadFileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewFimCompletionV1FimCompletionsPostRequest(server string, body FimCompletionV1FimCompletionsPostJSONRequestBody) (*http.Request, error)
- func NewFimCompletionV1FimCompletionsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetCampaignByIdV1ObservabilityCampaignsCampaignIdGetRequest(server string, campaignId openapi_types.UUID) (*http.Request, error)
- func NewGetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetRequest(server string, campaignId openapi_types.UUID, ...) (*http.Request, error)
- func NewGetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetRequest(server string, campaignId openapi_types.UUID) (*http.Request, error)
- func NewGetCampaignsV1ObservabilityCampaignsGetRequest(server string, params *GetCampaignsV1ObservabilityCampaignsGetParams) (*http.Request, error)
- func NewGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostRequest(server string, ...) (*http.Request, error)
- func NewGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetRequest(server string, eventId openapi_types.UUID) (*http.Request, error)
- func NewGetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostRequest(server string, ...) (*http.Request, error)
- func NewGetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostRequestWithBody(server string, ...) (*http.Request, error)
- func NewGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostRequest(server string, fieldName string, ...) (*http.Request, error)
- func NewGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostRequestWithBody(server string, fieldName string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetRequest(server string, fieldName string, ...) (*http.Request, error)
- func NewGetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetRequest(server string) (*http.Request, error)
- func NewGetDatasetByIdV1ObservabilityDatasetsDatasetIdGetRequest(server string, datasetId openapi_types.UUID) (*http.Request, error)
- func NewGetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetRequest(server string, datasetId openapi_types.UUID, taskId openapi_types.UUID) (*http.Request, error)
- func NewGetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetRequest(server string, datasetId openapi_types.UUID, ...) (*http.Request, error)
- func NewGetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetRequest(server string, datasetRecordId openapi_types.UUID) (*http.Request, error)
- func NewGetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetRequest(server string, datasetId openapi_types.UUID, ...) (*http.Request, error)
- func NewGetDatasetsV1ObservabilityDatasetsGetRequest(server string, params *GetDatasetsV1ObservabilityDatasetsGetParams) (*http.Request, error)
- func NewGetDeploymentV1WorkflowsDeploymentsNameGetRequest(server string, name string) (*http.Request, error)
- func NewGetJudgeByIdV1ObservabilityJudgesJudgeIdGetRequest(server string, judgeId openapi_types.UUID) (*http.Request, error)
- func NewGetJudgesV1ObservabilityJudgesGetRequest(server string, params *GetJudgesV1ObservabilityJudgesGetParams) (*http.Request, error)
- func NewGetRunHistoryV1WorkflowsRunsRunIdHistoryGetRequest(server string, runId openapi_types.UUID, ...) (*http.Request, error)
- func NewGetRunV1WorkflowsRunsRunIdGetRequest(server string, runId openapi_types.UUID) (*http.Request, error)
- func NewGetSchedulesV1WorkflowsSchedulesGetRequest(server string) (*http.Request, error)
- func NewGetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetRequest(server string, eventId openapi_types.UUID) (*http.Request, error)
- func NewGetStreamEventsV1WorkflowsEventsStreamGetRequest(server string, params *GetStreamEventsV1WorkflowsEventsStreamGetParams) (*http.Request, error)
- func NewGetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetRequest(server string, voiceId string) (*http.Request, error)
- func NewGetVoiceV1AudioVoicesVoiceIdGetRequest(server string, voiceId string) (*http.Request, error)
- func NewGetWorkerInfoV1WorkflowsWorkersWhoamiGetRequest(server string) (*http.Request, error)
- func NewGetWorkflowEventsV1WorkflowsEventsListGetRequest(server string, params *GetWorkflowEventsV1WorkflowsEventsListGetParams) (*http.Request, error)
- func NewGetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetRequest(server string, executionId string, ...) (*http.Request, error)
- func NewGetWorkflowExecutionTraceEventsRequest(server string, executionId string, ...) (*http.Request, error)
- func NewGetWorkflowExecutionTraceOtelRequest(server string, executionId string) (*http.Request, error)
- func NewGetWorkflowExecutionTraceSummaryRequest(server string, executionId string) (*http.Request, error)
- func NewGetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetRequest(server string, executionId string) (*http.Request, error)
- func NewGetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetRequest(server string, workflowName string, ...) (*http.Request, error)
- func NewGetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetRequest(server string, workflowRegistrationId openapi_types.UUID, ...) (*http.Request, error)
- func NewGetWorkflowRegistrationsV1WorkflowsRegistrationsGetRequest(server string, ...) (*http.Request, error)
- func NewGetWorkflowV1WorkflowsWorkflowIdentifierGetRequest(server string, workflowIdentifier string) (*http.Request, error)
- func NewJobsApiRoutesBatchCancelBatchJobRequest(server string, jobId openapi_types.UUID) (*http.Request, error)
- func NewJobsApiRoutesBatchCreateBatchJobRequest(server string, body JobsApiRoutesBatchCreateBatchJobJSONRequestBody) (*http.Request, error)
- func NewJobsApiRoutesBatchCreateBatchJobRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewJobsApiRoutesBatchGetBatchJobRequest(server string, jobId openapi_types.UUID, ...) (*http.Request, error)
- func NewJobsApiRoutesBatchGetBatchJobsRequest(server string, params *JobsApiRoutesBatchGetBatchJobsParams) (*http.Request, error)
- func NewJobsApiRoutesFineTuningArchiveFineTunedModelRequest(server string, modelId string) (*http.Request, error)
- func NewJobsApiRoutesFineTuningCancelFineTuningJobRequest(server string, jobId openapi_types.UUID) (*http.Request, error)
- func NewJobsApiRoutesFineTuningCreateFineTuningJobRequest(server string, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, ...) (*http.Request, error)
- func NewJobsApiRoutesFineTuningCreateFineTuningJobRequestWithBody(server string, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, ...) (*http.Request, error)
- func NewJobsApiRoutesFineTuningGetFineTuningJobRequest(server string, jobId openapi_types.UUID) (*http.Request, error)
- func NewJobsApiRoutesFineTuningGetFineTuningJobsRequest(server string, params *JobsApiRoutesFineTuningGetFineTuningJobsParams) (*http.Request, error)
- func NewJobsApiRoutesFineTuningStartFineTuningJobRequest(server string, jobId openapi_types.UUID) (*http.Request, error)
- func NewJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest(server string, modelId string) (*http.Request, error)
- func NewJobsApiRoutesFineTuningUpdateFineTunedModelRequest(server string, modelId string, ...) (*http.Request, error)
- func NewJobsApiRoutesFineTuningUpdateFineTunedModelRequestWithBody(server string, modelId string, contentType string, body io.Reader) (*http.Request, error)
- func NewJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostRequest(server string, eventId openapi_types.UUID, ...) (*http.Request, error)
- func NewJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostRequestWithBody(server string, eventId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostRequest(server string, judgeId openapi_types.UUID, ...) (*http.Request, error)
- func NewJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostRequestWithBody(server string, judgeId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostRequest(server string, datasetRecordId openapi_types.UUID, ...) (*http.Request, error)
- func NewJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostRequestWithBody(server string, datasetRecordId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewLibrariesCreateV1Request(server string, body LibrariesCreateV1JSONRequestBody) (*http.Request, error)
- func NewLibrariesCreateV1RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewLibrariesDeleteV1Request(server string, libraryId openapi_types.UUID) (*http.Request, error)
- func NewLibrariesDocumentsDeleteV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)
- func NewLibrariesDocumentsGetExtractedTextSignedUrlV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)
- func NewLibrariesDocumentsGetSignedUrlV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)
- func NewLibrariesDocumentsGetStatusV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)
- func NewLibrariesDocumentsGetTextContentV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)
- func NewLibrariesDocumentsGetV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)
- func NewLibrariesDocumentsListV1Request(server string, libraryId openapi_types.UUID, ...) (*http.Request, error)
- func NewLibrariesDocumentsReprocessV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)
- func NewLibrariesDocumentsUpdateV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID, ...) (*http.Request, error)
- func NewLibrariesDocumentsUpdateV1RequestWithBody(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID, ...) (*http.Request, error)
- func NewLibrariesDocumentsUploadV1RequestWithBody(server string, libraryId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewLibrariesGetV1Request(server string, libraryId openapi_types.UUID) (*http.Request, error)
- func NewLibrariesListV1Request(server string) (*http.Request, error)
- func NewLibrariesShareCreateV1Request(server string, libraryId openapi_types.UUID, ...) (*http.Request, error)
- func NewLibrariesShareCreateV1RequestWithBody(server string, libraryId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewLibrariesShareDeleteV1Request(server string, libraryId openapi_types.UUID, ...) (*http.Request, error)
- func NewLibrariesShareDeleteV1RequestWithBody(server string, libraryId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewLibrariesShareListV1Request(server string, libraryId openapi_types.UUID) (*http.Request, error)
- func NewLibrariesUpdateV1Request(server string, libraryId openapi_types.UUID, ...) (*http.Request, error)
- func NewLibrariesUpdateV1RequestWithBody(server string, libraryId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewListDeploymentsV1WorkflowsDeploymentsGetRequest(server string, params *ListDeploymentsV1WorkflowsDeploymentsGetParams) (*http.Request, error)
- func NewListModelsV1ModelsGetRequest(server string, params *ListModelsV1ModelsGetParams) (*http.Request, error)
- func NewListRunsV1WorkflowsRunsGetRequest(server string, params *ListRunsV1WorkflowsRunsGetParams) (*http.Request, error)
- func NewListVoicesV1AudioVoicesGetRequest(server string, params *ListVoicesV1AudioVoicesGetParams) (*http.Request, error)
- func NewModerationsV1ModerationsPostRequest(server string, body ModerationsV1ModerationsPostJSONRequestBody) (*http.Request, error)
- func NewModerationsV1ModerationsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewOcrV1OcrPostRequest(server string, body OcrV1OcrPostJSONRequestBody) (*http.Request, error)
- func NewOcrV1OcrPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequest(server string, datasetId openapi_types.UUID, ...) (*http.Request, error)
- func NewPostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewPostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostRequest(server string, datasetId openapi_types.UUID, ...) (*http.Request, error)
- func NewPostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewPostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostRequest(server string, datasetId openapi_types.UUID, ...) (*http.Request, error)
- func NewPostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewPostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostRequest(server string, datasetId openapi_types.UUID, ...) (*http.Request, error)
- func NewPostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewPostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequest(server string, datasetId openapi_types.UUID, ...) (*http.Request, error)
- func NewPostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostRequest(server string, executionId string, ...) (*http.Request, error)
- func NewQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostRequestWithBody(server string, executionId string, contentType string, body io.Reader) (*http.Request, error)
- func NewResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostRequest(server string, executionId string, ...) (*http.Request, error)
- func NewResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostRequestWithBody(server string, executionId string, contentType string, body io.Reader) (*http.Request, error)
- func NewRetrieveModelV1ModelsModelIdGetRequest(server string, modelId string) (*http.Request, error)
- func NewScheduleWorkflowV1WorkflowsSchedulesPostRequest(server string, body ScheduleWorkflowV1WorkflowsSchedulesPostJSONRequestBody) (*http.Request, error)
- func NewScheduleWorkflowV1WorkflowsSchedulesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostRequest(server string, executionId string, ...) (*http.Request, error)
- func NewSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostRequestWithBody(server string, executionId string, contentType string, body io.Reader) (*http.Request, error)
- func NewSpeechV1AudioSpeechPostRequest(server string, body SpeechV1AudioSpeechPostJSONRequestBody) (*http.Request, error)
- func NewSpeechV1AudioSpeechPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewStreamV1WorkflowsExecutionsExecutionIdStreamGetRequest(server string, executionId string, ...) (*http.Request, error)
- func NewTerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostRequest(server string, executionId string) (*http.Request, error)
- func NewUnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutRequest(server string, workflowIdentifier string) (*http.Request, error)
- func NewUnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteRequest(server string, scheduleId string) (*http.Request, error)
- func NewUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutRequest(server string, datasetRecordId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutRequestWithBody(server string, datasetRecordId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutRequest(server string, datasetRecordId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutRequestWithBody(server string, datasetRecordId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchRequest(server string, datasetId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewUpdateJudgeV1ObservabilityJudgesJudgeIdPutRequest(server string, judgeId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateJudgeV1ObservabilityJudgesJudgeIdPutRequestWithBody(server string, judgeId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateVoiceV1AudioVoicesVoiceIdPatchRequest(server string, voiceId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateVoiceV1AudioVoicesVoiceIdPatchRequestWithBody(server string, voiceId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequest(server string, executionId string, ...) (*http.Request, error)
- func NewUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequestWithBody(server string, executionId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWorkflowV1WorkflowsWorkflowIdentifierPutRequest(server string, workflowIdentifier string, ...) (*http.Request, error)
- func NewUpdateWorkflowV1WorkflowsWorkflowIdentifierPutRequestWithBody(server string, workflowIdentifier string, contentType string, body io.Reader) (*http.Request, error)
- type APIKeyAuth
- type APIKeyAuthType
- type ActivityTaskCompletedAttributesResponse
- type ActivityTaskCompletedResponse
- type ActivityTaskCompletedResponseEventType
- type ActivityTaskFailedAttributes
- type ActivityTaskFailedResponse
- type ActivityTaskFailedResponseEventType
- type ActivityTaskRetryingAttributes
- type ActivityTaskRetryingResponse
- type ActivityTaskRetryingResponseEventType
- type ActivityTaskStartedAttributesResponse
- type ActivityTaskStartedResponse
- type ActivityTaskStartedResponseEventType
- type Agent
- type AgentAliasResponse
- type AgentConversation
- type AgentConversationAgentVersion0
- type AgentConversationAgentVersion1
- type AgentConversationObject
- type AgentConversation_AgentVersion
- func (t AgentConversation_AgentVersion) AsAgentConversationAgentVersion0() (AgentConversationAgentVersion0, error)
- func (t AgentConversation_AgentVersion) AsAgentConversationAgentVersion1() (AgentConversationAgentVersion1, error)
- func (t *AgentConversation_AgentVersion) FromAgentConversationAgentVersion0(v AgentConversationAgentVersion0) error
- func (t *AgentConversation_AgentVersion) FromAgentConversationAgentVersion1(v AgentConversationAgentVersion1) error
- func (t AgentConversation_AgentVersion) MarshalJSON() ([]byte, error)
- func (t *AgentConversation_AgentVersion) MergeAgentConversationAgentVersion0(v AgentConversationAgentVersion0) error
- func (t *AgentConversation_AgentVersion) MergeAgentConversationAgentVersion1(v AgentConversationAgentVersion1) error
- func (t *AgentConversation_AgentVersion) UnmarshalJSON(b []byte) error
- type AgentCreationRequest
- type AgentCreationRequest_Tools_Item
- func (t AgentCreationRequest_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)
- func (t AgentCreationRequest_Tools_Item) AsCustomConnector() (CustomConnector, error)
- func (t AgentCreationRequest_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)
- func (t AgentCreationRequest_Tools_Item) AsFunctionTool() (FunctionTool, error)
- func (t AgentCreationRequest_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)
- func (t AgentCreationRequest_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)
- func (t AgentCreationRequest_Tools_Item) AsWebSearchTool() (WebSearchTool, error)
- func (t AgentCreationRequest_Tools_Item) Discriminator() (string, error)
- func (t *AgentCreationRequest_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error
- func (t *AgentCreationRequest_Tools_Item) FromCustomConnector(v CustomConnector) error
- func (t *AgentCreationRequest_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error
- func (t *AgentCreationRequest_Tools_Item) FromFunctionTool(v FunctionTool) error
- func (t *AgentCreationRequest_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error
- func (t *AgentCreationRequest_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error
- func (t *AgentCreationRequest_Tools_Item) FromWebSearchTool(v WebSearchTool) error
- func (t AgentCreationRequest_Tools_Item) MarshalJSON() ([]byte, error)
- func (t *AgentCreationRequest_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error
- func (t *AgentCreationRequest_Tools_Item) MergeCustomConnector(v CustomConnector) error
- func (t *AgentCreationRequest_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error
- func (t *AgentCreationRequest_Tools_Item) MergeFunctionTool(v FunctionTool) error
- func (t *AgentCreationRequest_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error
- func (t *AgentCreationRequest_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error
- func (t *AgentCreationRequest_Tools_Item) MergeWebSearchTool(v WebSearchTool) error
- func (t *AgentCreationRequest_Tools_Item) UnmarshalJSON(b []byte) error
- func (t AgentCreationRequest_Tools_Item) ValueByDiscriminator() (interface{}, error)
- type AgentHandoffDoneEvent
- type AgentHandoffDoneEventType
- type AgentHandoffEntry
- type AgentHandoffEntryObject
- type AgentHandoffEntryType
- type AgentHandoffStartedEvent
- type AgentHandoffStartedEventType
- type AgentListPage
- type AgentListPageObject
- type AgentObject
- type AgentUpdateRequest
- type AgentUpdateRequest_Tools_Item
- func (t AgentUpdateRequest_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)
- func (t AgentUpdateRequest_Tools_Item) AsCustomConnector() (CustomConnector, error)
- func (t AgentUpdateRequest_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)
- func (t AgentUpdateRequest_Tools_Item) AsFunctionTool() (FunctionTool, error)
- func (t AgentUpdateRequest_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)
- func (t AgentUpdateRequest_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)
- func (t AgentUpdateRequest_Tools_Item) AsWebSearchTool() (WebSearchTool, error)
- func (t AgentUpdateRequest_Tools_Item) Discriminator() (string, error)
- func (t *AgentUpdateRequest_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error
- func (t *AgentUpdateRequest_Tools_Item) FromCustomConnector(v CustomConnector) error
- func (t *AgentUpdateRequest_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error
- func (t *AgentUpdateRequest_Tools_Item) FromFunctionTool(v FunctionTool) error
- func (t *AgentUpdateRequest_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error
- func (t *AgentUpdateRequest_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error
- func (t *AgentUpdateRequest_Tools_Item) FromWebSearchTool(v WebSearchTool) error
- func (t AgentUpdateRequest_Tools_Item) MarshalJSON() ([]byte, error)
- func (t *AgentUpdateRequest_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error
- func (t *AgentUpdateRequest_Tools_Item) MergeCustomConnector(v CustomConnector) error
- func (t *AgentUpdateRequest_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error
- func (t *AgentUpdateRequest_Tools_Item) MergeFunctionTool(v FunctionTool) error
- func (t *AgentUpdateRequest_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error
- func (t *AgentUpdateRequest_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error
- func (t *AgentUpdateRequest_Tools_Item) MergeWebSearchTool(v WebSearchTool) error
- func (t *AgentUpdateRequest_Tools_Item) UnmarshalJSON(b []byte) error
- func (t AgentUpdateRequest_Tools_Item) ValueByDiscriminator() (interface{}, error)
- type Agent_Tools_Item
- func (t Agent_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)
- func (t Agent_Tools_Item) AsCustomConnector() (CustomConnector, error)
- func (t Agent_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)
- func (t Agent_Tools_Item) AsFunctionTool() (FunctionTool, error)
- func (t Agent_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)
- func (t Agent_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)
- func (t Agent_Tools_Item) AsWebSearchTool() (WebSearchTool, error)
- func (t Agent_Tools_Item) Discriminator() (string, error)
- func (t *Agent_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error
- func (t *Agent_Tools_Item) FromCustomConnector(v CustomConnector) error
- func (t *Agent_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error
- func (t *Agent_Tools_Item) FromFunctionTool(v FunctionTool) error
- func (t *Agent_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error
- func (t *Agent_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error
- func (t *Agent_Tools_Item) FromWebSearchTool(v WebSearchTool) error
- func (t Agent_Tools_Item) MarshalJSON() ([]byte, error)
- func (t *Agent_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error
- func (t *Agent_Tools_Item) MergeCustomConnector(v CustomConnector) error
- func (t *Agent_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error
- func (t *Agent_Tools_Item) MergeFunctionTool(v FunctionTool) error
- func (t *Agent_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error
- func (t *Agent_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error
- func (t *Agent_Tools_Item) MergeWebSearchTool(v WebSearchTool) error
- func (t *Agent_Tools_Item) UnmarshalJSON(b []byte) error
- func (t Agent_Tools_Item) ValueByDiscriminator() (interface{}, error)
- type AgentsApiV1AgentsCreateJSONRequestBody
- type AgentsApiV1AgentsCreateOrUpdateAliasParams
- type AgentsApiV1AgentsCreateOrUpdateAliasResponse
- func (r AgentsApiV1AgentsCreateOrUpdateAliasResponse) ContentType() string
- func (r AgentsApiV1AgentsCreateOrUpdateAliasResponse) GetBody() []byte
- func (r AgentsApiV1AgentsCreateOrUpdateAliasResponse) GetJSON200() *AgentAliasResponse
- func (r AgentsApiV1AgentsCreateOrUpdateAliasResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1AgentsCreateOrUpdateAliasResponse) Status() string
- func (r AgentsApiV1AgentsCreateOrUpdateAliasResponse) StatusCode() int
- type AgentsApiV1AgentsCreateResponse
- func (r AgentsApiV1AgentsCreateResponse) ContentType() string
- func (r AgentsApiV1AgentsCreateResponse) GetBody() []byte
- func (r AgentsApiV1AgentsCreateResponse) GetJSON200() *Agent
- func (r AgentsApiV1AgentsCreateResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1AgentsCreateResponse) Status() string
- func (r AgentsApiV1AgentsCreateResponse) StatusCode() int
- type AgentsApiV1AgentsDeleteAliasParams
- type AgentsApiV1AgentsDeleteAliasResponse
- func (r AgentsApiV1AgentsDeleteAliasResponse) ContentType() string
- func (r AgentsApiV1AgentsDeleteAliasResponse) GetBody() []byte
- func (r AgentsApiV1AgentsDeleteAliasResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1AgentsDeleteAliasResponse) Status() string
- func (r AgentsApiV1AgentsDeleteAliasResponse) StatusCode() int
- type AgentsApiV1AgentsDeleteResponse
- func (r AgentsApiV1AgentsDeleteResponse) ContentType() string
- func (r AgentsApiV1AgentsDeleteResponse) GetBody() []byte
- func (r AgentsApiV1AgentsDeleteResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1AgentsDeleteResponse) Status() string
- func (r AgentsApiV1AgentsDeleteResponse) StatusCode() int
- type AgentsApiV1AgentsGetParams
- type AgentsApiV1AgentsGetParamsAgentVersion0
- type AgentsApiV1AgentsGetParamsAgentVersion1
- type AgentsApiV1AgentsGetResponse
- func (r AgentsApiV1AgentsGetResponse) ContentType() string
- func (r AgentsApiV1AgentsGetResponse) GetBody() []byte
- func (r AgentsApiV1AgentsGetResponse) GetJSON200() *Agent
- func (r AgentsApiV1AgentsGetResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1AgentsGetResponse) Status() string
- func (r AgentsApiV1AgentsGetResponse) StatusCode() int
- type AgentsApiV1AgentsGetVersionResponse
- func (r AgentsApiV1AgentsGetVersionResponse) ContentType() string
- func (r AgentsApiV1AgentsGetVersionResponse) GetBody() []byte
- func (r AgentsApiV1AgentsGetVersionResponse) GetJSON200() *Agent
- func (r AgentsApiV1AgentsGetVersionResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1AgentsGetVersionResponse) Status() string
- func (r AgentsApiV1AgentsGetVersionResponse) StatusCode() int
- type AgentsApiV1AgentsListPagesParams
- type AgentsApiV1AgentsListPagesResponse
- func (r AgentsApiV1AgentsListPagesResponse) ContentType() string
- func (r AgentsApiV1AgentsListPagesResponse) GetBody() []byte
- func (r AgentsApiV1AgentsListPagesResponse) GetJSON200() *AgentListPage
- func (r AgentsApiV1AgentsListPagesResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1AgentsListPagesResponse) Status() string
- func (r AgentsApiV1AgentsListPagesResponse) StatusCode() int
- type AgentsApiV1AgentsListParams
- type AgentsApiV1AgentsListResponse
- func (r AgentsApiV1AgentsListResponse) ContentType() string
- func (r AgentsApiV1AgentsListResponse) GetBody() []byte
- func (r AgentsApiV1AgentsListResponse) GetJSON200() *[]Agent
- func (r AgentsApiV1AgentsListResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1AgentsListResponse) Status() string
- func (r AgentsApiV1AgentsListResponse) StatusCode() int
- type AgentsApiV1AgentsListVersionAliasesResponse
- func (r AgentsApiV1AgentsListVersionAliasesResponse) ContentType() string
- func (r AgentsApiV1AgentsListVersionAliasesResponse) GetBody() []byte
- func (r AgentsApiV1AgentsListVersionAliasesResponse) GetJSON200() *[]AgentAliasResponse
- func (r AgentsApiV1AgentsListVersionAliasesResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1AgentsListVersionAliasesResponse) Status() string
- func (r AgentsApiV1AgentsListVersionAliasesResponse) StatusCode() int
- type AgentsApiV1AgentsListVersionsParams
- type AgentsApiV1AgentsListVersionsResponse
- func (r AgentsApiV1AgentsListVersionsResponse) ContentType() string
- func (r AgentsApiV1AgentsListVersionsResponse) GetBody() []byte
- func (r AgentsApiV1AgentsListVersionsResponse) GetJSON200() *[]Agent
- func (r AgentsApiV1AgentsListVersionsResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1AgentsListVersionsResponse) Status() string
- func (r AgentsApiV1AgentsListVersionsResponse) StatusCode() int
- type AgentsApiV1AgentsUpdateJSONRequestBody
- type AgentsApiV1AgentsUpdateResponse
- func (r AgentsApiV1AgentsUpdateResponse) ContentType() string
- func (r AgentsApiV1AgentsUpdateResponse) GetBody() []byte
- func (r AgentsApiV1AgentsUpdateResponse) GetJSON200() *Agent
- func (r AgentsApiV1AgentsUpdateResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1AgentsUpdateResponse) Status() string
- func (r AgentsApiV1AgentsUpdateResponse) StatusCode() int
- type AgentsApiV1AgentsUpdateVersionParams
- type AgentsApiV1AgentsUpdateVersionResponse
- func (r AgentsApiV1AgentsUpdateVersionResponse) ContentType() string
- func (r AgentsApiV1AgentsUpdateVersionResponse) GetBody() []byte
- func (r AgentsApiV1AgentsUpdateVersionResponse) GetJSON200() *Agent
- func (r AgentsApiV1AgentsUpdateVersionResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1AgentsUpdateVersionResponse) Status() string
- func (r AgentsApiV1AgentsUpdateVersionResponse) StatusCode() int
- type AgentsApiV1ConversationsAppendJSONRequestBody
- type AgentsApiV1ConversationsAppendResponse
- func (r AgentsApiV1ConversationsAppendResponse) ContentType() string
- func (r AgentsApiV1ConversationsAppendResponse) GetBody() []byte
- func (r AgentsApiV1ConversationsAppendResponse) GetJSON200() *ConversationResponse
- func (r AgentsApiV1ConversationsAppendResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1ConversationsAppendResponse) Status() string
- func (r AgentsApiV1ConversationsAppendResponse) StatusCode() int
- type AgentsApiV1ConversationsAppendStreamJSONRequestBody
- type AgentsApiV1ConversationsAppendStreamResponse
- func (r AgentsApiV1ConversationsAppendStreamResponse) ContentType() string
- func (r AgentsApiV1ConversationsAppendStreamResponse) GetBody() []byte
- func (r AgentsApiV1ConversationsAppendStreamResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1ConversationsAppendStreamResponse) Status() string
- func (r AgentsApiV1ConversationsAppendStreamResponse) StatusCode() int
- type AgentsApiV1ConversationsDeleteResponse
- func (r AgentsApiV1ConversationsDeleteResponse) ContentType() string
- func (r AgentsApiV1ConversationsDeleteResponse) GetBody() []byte
- func (r AgentsApiV1ConversationsDeleteResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1ConversationsDeleteResponse) Status() string
- func (r AgentsApiV1ConversationsDeleteResponse) StatusCode() int
- type AgentsApiV1ConversationsGet200JSONResponseBody
- func (t AgentsApiV1ConversationsGet200JSONResponseBody) AsAgentConversation() (AgentConversation, error)
- func (t AgentsApiV1ConversationsGet200JSONResponseBody) AsModelConversation() (ModelConversation, error)
- func (t *AgentsApiV1ConversationsGet200JSONResponseBody) FromAgentConversation(v AgentConversation) error
- func (t *AgentsApiV1ConversationsGet200JSONResponseBody) FromModelConversation(v ModelConversation) error
- func (t AgentsApiV1ConversationsGet200JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *AgentsApiV1ConversationsGet200JSONResponseBody) MergeAgentConversation(v AgentConversation) error
- func (t *AgentsApiV1ConversationsGet200JSONResponseBody) MergeModelConversation(v ModelConversation) error
- func (t *AgentsApiV1ConversationsGet200JSONResponseBody) UnmarshalJSON(b []byte) error
- type AgentsApiV1ConversationsGetResponse
- func (r AgentsApiV1ConversationsGetResponse) ContentType() string
- func (r AgentsApiV1ConversationsGetResponse) GetBody() []byte
- func (r AgentsApiV1ConversationsGetResponse) GetJSON200() *AgentsApiV1ConversationsGet200JSONResponseBody
- func (r AgentsApiV1ConversationsGetResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1ConversationsGetResponse) Status() string
- func (r AgentsApiV1ConversationsGetResponse) StatusCode() int
- type AgentsApiV1ConversationsHistoryResponse
- func (r AgentsApiV1ConversationsHistoryResponse) ContentType() string
- func (r AgentsApiV1ConversationsHistoryResponse) GetBody() []byte
- func (r AgentsApiV1ConversationsHistoryResponse) GetJSON200() *ConversationHistory
- func (r AgentsApiV1ConversationsHistoryResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1ConversationsHistoryResponse) Status() string
- func (r AgentsApiV1ConversationsHistoryResponse) StatusCode() int
- type AgentsApiV1ConversationsList200JSONResponseBody_Item
- func (t AgentsApiV1ConversationsList200JSONResponseBody_Item) AsAgentConversation() (AgentConversation, error)
- func (t AgentsApiV1ConversationsList200JSONResponseBody_Item) AsModelConversation() (ModelConversation, error)
- func (t *AgentsApiV1ConversationsList200JSONResponseBody_Item) FromAgentConversation(v AgentConversation) error
- func (t *AgentsApiV1ConversationsList200JSONResponseBody_Item) FromModelConversation(v ModelConversation) error
- func (t AgentsApiV1ConversationsList200JSONResponseBody_Item) MarshalJSON() ([]byte, error)
- func (t *AgentsApiV1ConversationsList200JSONResponseBody_Item) MergeAgentConversation(v AgentConversation) error
- func (t *AgentsApiV1ConversationsList200JSONResponseBody_Item) MergeModelConversation(v ModelConversation) error
- func (t *AgentsApiV1ConversationsList200JSONResponseBody_Item) UnmarshalJSON(b []byte) error
- type AgentsApiV1ConversationsListParams
- type AgentsApiV1ConversationsListResponse
- func (r AgentsApiV1ConversationsListResponse) ContentType() string
- func (r AgentsApiV1ConversationsListResponse) GetBody() []byte
- func (r AgentsApiV1ConversationsListResponse) GetJSON200() *[]AgentsApiV1ConversationsList200JSONResponseBody_Item
- func (r AgentsApiV1ConversationsListResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1ConversationsListResponse) Status() string
- func (r AgentsApiV1ConversationsListResponse) StatusCode() int
- type AgentsApiV1ConversationsMessagesResponse
- func (r AgentsApiV1ConversationsMessagesResponse) ContentType() string
- func (r AgentsApiV1ConversationsMessagesResponse) GetBody() []byte
- func (r AgentsApiV1ConversationsMessagesResponse) GetJSON200() *ConversationMessages
- func (r AgentsApiV1ConversationsMessagesResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1ConversationsMessagesResponse) Status() string
- func (r AgentsApiV1ConversationsMessagesResponse) StatusCode() int
- type AgentsApiV1ConversationsRestartJSONRequestBody
- type AgentsApiV1ConversationsRestartResponse
- func (r AgentsApiV1ConversationsRestartResponse) ContentType() string
- func (r AgentsApiV1ConversationsRestartResponse) GetBody() []byte
- func (r AgentsApiV1ConversationsRestartResponse) GetJSON200() *ConversationResponse
- func (r AgentsApiV1ConversationsRestartResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1ConversationsRestartResponse) Status() string
- func (r AgentsApiV1ConversationsRestartResponse) StatusCode() int
- type AgentsApiV1ConversationsRestartStreamJSONRequestBody
- type AgentsApiV1ConversationsRestartStreamResponse
- func (r AgentsApiV1ConversationsRestartStreamResponse) ContentType() string
- func (r AgentsApiV1ConversationsRestartStreamResponse) GetBody() []byte
- func (r AgentsApiV1ConversationsRestartStreamResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1ConversationsRestartStreamResponse) Status() string
- func (r AgentsApiV1ConversationsRestartStreamResponse) StatusCode() int
- type AgentsApiV1ConversationsStartJSONRequestBody
- type AgentsApiV1ConversationsStartResponse
- func (r AgentsApiV1ConversationsStartResponse) ContentType() string
- func (r AgentsApiV1ConversationsStartResponse) GetBody() []byte
- func (r AgentsApiV1ConversationsStartResponse) GetJSON200() *ConversationResponse
- func (r AgentsApiV1ConversationsStartResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1ConversationsStartResponse) Status() string
- func (r AgentsApiV1ConversationsStartResponse) StatusCode() int
- type AgentsApiV1ConversationsStartStreamJSONRequestBody
- type AgentsApiV1ConversationsStartStreamResponse
- func (r AgentsApiV1ConversationsStartStreamResponse) ContentType() string
- func (r AgentsApiV1ConversationsStartStreamResponse) GetBody() []byte
- func (r AgentsApiV1ConversationsStartStreamResponse) GetJSON422() *HTTPValidationError
- func (r AgentsApiV1ConversationsStartStreamResponse) Status() string
- func (r AgentsApiV1ConversationsStartStreamResponse) StatusCode() int
- type AgentsCompletionRequest
- type AgentsCompletionRequestReasoningEffort
- type AgentsCompletionRequestStop0
- type AgentsCompletionRequestStop1
- type AgentsCompletionRequest_Messages_Item
- func (t AgentsCompletionRequest_Messages_Item) AsAssistantMessage() (AssistantMessage, error)
- func (t AgentsCompletionRequest_Messages_Item) AsSystemMessage() (SystemMessage, error)
- func (t AgentsCompletionRequest_Messages_Item) AsToolMessage() (ToolMessage, error)
- func (t AgentsCompletionRequest_Messages_Item) AsUserMessage() (UserMessage, error)
- func (t AgentsCompletionRequest_Messages_Item) Discriminator() (string, error)
- func (t *AgentsCompletionRequest_Messages_Item) FromAssistantMessage(v AssistantMessage) error
- func (t *AgentsCompletionRequest_Messages_Item) FromSystemMessage(v SystemMessage) error
- func (t *AgentsCompletionRequest_Messages_Item) FromToolMessage(v ToolMessage) error
- func (t *AgentsCompletionRequest_Messages_Item) FromUserMessage(v UserMessage) error
- func (t AgentsCompletionRequest_Messages_Item) MarshalJSON() ([]byte, error)
- func (t *AgentsCompletionRequest_Messages_Item) MergeAssistantMessage(v AssistantMessage) error
- func (t *AgentsCompletionRequest_Messages_Item) MergeSystemMessage(v SystemMessage) error
- func (t *AgentsCompletionRequest_Messages_Item) MergeToolMessage(v ToolMessage) error
- func (t *AgentsCompletionRequest_Messages_Item) MergeUserMessage(v UserMessage) error
- func (t *AgentsCompletionRequest_Messages_Item) UnmarshalJSON(b []byte) error
- func (t AgentsCompletionRequest_Messages_Item) ValueByDiscriminator() (interface{}, error)
- type AgentsCompletionRequest_Stop
- func (t AgentsCompletionRequest_Stop) AsAgentsCompletionRequestStop0() (AgentsCompletionRequestStop0, error)
- func (t AgentsCompletionRequest_Stop) AsAgentsCompletionRequestStop1() (AgentsCompletionRequestStop1, error)
- func (t *AgentsCompletionRequest_Stop) FromAgentsCompletionRequestStop0(v AgentsCompletionRequestStop0) error
- func (t *AgentsCompletionRequest_Stop) FromAgentsCompletionRequestStop1(v AgentsCompletionRequestStop1) error
- func (t AgentsCompletionRequest_Stop) MarshalJSON() ([]byte, error)
- func (t *AgentsCompletionRequest_Stop) MergeAgentsCompletionRequestStop0(v AgentsCompletionRequestStop0) error
- func (t *AgentsCompletionRequest_Stop) MergeAgentsCompletionRequestStop1(v AgentsCompletionRequestStop1) error
- func (t *AgentsCompletionRequest_Stop) UnmarshalJSON(b []byte) error
- type AgentsCompletionRequest_ToolChoice
- func (t AgentsCompletionRequest_ToolChoice) AsToolChoice() (ToolChoice, error)
- func (t AgentsCompletionRequest_ToolChoice) AsToolChoiceEnum() (ToolChoiceEnum, error)
- func (t *AgentsCompletionRequest_ToolChoice) FromToolChoice(v ToolChoice) error
- func (t *AgentsCompletionRequest_ToolChoice) FromToolChoiceEnum(v ToolChoiceEnum) error
- func (t AgentsCompletionRequest_ToolChoice) MarshalJSON() ([]byte, error)
- func (t *AgentsCompletionRequest_ToolChoice) MergeToolChoice(v ToolChoice) error
- func (t *AgentsCompletionRequest_ToolChoice) MergeToolChoiceEnum(v ToolChoiceEnum) error
- func (t *AgentsCompletionRequest_ToolChoice) UnmarshalJSON(b []byte) error
- type AgentsCompletionV1AgentsCompletionsPostJSONRequestBodydeprecated
- type AgentsCompletionV1AgentsCompletionsPostResponse
- func (r AgentsCompletionV1AgentsCompletionsPostResponse) ContentType() string
- func (r AgentsCompletionV1AgentsCompletionsPostResponse) GetBody() []byte
- func (r AgentsCompletionV1AgentsCompletionsPostResponse) GetJSON200() *ChatCompletionResponse
- func (r AgentsCompletionV1AgentsCompletionsPostResponse) GetJSON422() *HTTPValidationError
- func (r AgentsCompletionV1AgentsCompletionsPostResponse) Status() string
- func (r AgentsCompletionV1AgentsCompletionsPostResponse) StatusCode() int
- type Annotations
- type AnnotationsAudience
- type ApiEndpoint
- type ArchiveFTModelOut
- type ArchiveFTModelOutObject
- type ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse
- func (r ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) ContentType() string
- func (r ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) GetBody() []byte
- func (r ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) GetJSON200() *WorkflowArchiveResponse
- func (r ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) GetJSON422() *HTTPValidationError
- func (r ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) Status() string
- func (r ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) StatusCode() int
- type AssistantMessage
- type AssistantMessageContent0
- type AssistantMessageContent2
- type AssistantMessageRole
- type AssistantMessage_Content
- func (t AssistantMessage_Content) AsAssistantMessageContent0() (AssistantMessageContent0, error)
- func (t AssistantMessage_Content) AsAssistantMessageContent2() (AssistantMessageContent2, error)
- func (t *AssistantMessage_Content) FromAssistantMessageContent0(v AssistantMessageContent0) error
- func (t *AssistantMessage_Content) FromAssistantMessageContent2(v AssistantMessageContent2) error
- func (t AssistantMessage_Content) MarshalJSON() ([]byte, error)
- func (t *AssistantMessage_Content) MergeAssistantMessageContent0(v AssistantMessageContent0) error
- func (t *AssistantMessage_Content) MergeAssistantMessageContent2(v AssistantMessageContent2) error
- func (t *AssistantMessage_Content) UnmarshalJSON(b []byte) error
- type AudioApiV1TranscriptionsPostMultipartRequestBody
- type AudioApiV1TranscriptionsPostResponse
- func (r AudioApiV1TranscriptionsPostResponse) ContentType() string
- func (r AudioApiV1TranscriptionsPostResponse) GetBody() []byte
- func (r AudioApiV1TranscriptionsPostResponse) GetJSON200() *TranscriptionResponse
- func (r AudioApiV1TranscriptionsPostResponse) Status() string
- func (r AudioApiV1TranscriptionsPostResponse) StatusCode() int
- type AudioApiV1TranscriptionsPostStreamMultipartRequestBody
- type AudioApiV1TranscriptionsPostStreamResponse
- type AudioChunk
- type AudioChunkInputAudio0
- type AudioChunkInputAudio1
- type AudioChunkType
- type AudioChunk_InputAudio
- func (t AudioChunk_InputAudio) AsAudioChunkInputAudio0() (AudioChunkInputAudio0, error)
- func (t AudioChunk_InputAudio) AsAudioChunkInputAudio1() (AudioChunkInputAudio1, error)
- func (t *AudioChunk_InputAudio) FromAudioChunkInputAudio0(v AudioChunkInputAudio0) error
- func (t *AudioChunk_InputAudio) FromAudioChunkInputAudio1(v AudioChunkInputAudio1) error
- func (t AudioChunk_InputAudio) MarshalJSON() ([]byte, error)
- func (t *AudioChunk_InputAudio) MergeAudioChunkInputAudio0(v AudioChunkInputAudio0) error
- func (t *AudioChunk_InputAudio) MergeAudioChunkInputAudio1(v AudioChunkInputAudio1) error
- func (t *AudioChunk_InputAudio) UnmarshalJSON(b []byte) error
- type AudioContent
- type AudioContentType
- type AudioTranscriptionRequest
- type AudioTranscriptionRequestStream
- type AuthData
- type AuthUrlResponse
- type AuthenticationConfiguration
- type BaseFieldDefinition
- type BaseFieldDefinitionSupportedOperators
- type BaseFieldDefinitionType
- type BaseModelCard
- type BaseModelCardType
- type BaseTaskStatus
- type BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostJSONRequestBody
- type BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse
- func (r BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) ContentType() string
- func (r BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) GetBody() []byte
- func (r BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) GetJSON200() *BatchExecutionResponse
- func (r BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) GetJSON422() *HTTPValidationError
- func (r BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) Status() string
- func (r BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) StatusCode() int
- type BatchError
- type BatchExecutionBody
- type BatchExecutionResponse
- type BatchExecutionResult
- type BatchJobIn
- type BatchJobOut
- type BatchJobOutObject
- type BatchJobStatus
- type BatchJobsOut
- type BatchJobsOutObject
- type BatchRequest
- type BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostJSONRequestBody
- type BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse
- func (r BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) ContentType() string
- func (r BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) GetBody() []byte
- func (r BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) GetJSON200() *BatchExecutionResponse
- func (r BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) GetJSON422() *HTTPValidationError
- func (r BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) Status() string
- func (r BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) StatusCode() int
- type BlobResourceContents
- type BuiltInConnectors
- type CampaignPreview
- type CampaignPreviews
- type CampaignSelectedEvents
- type CampaignStatus
- type CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse
- func (r CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) ContentType() string
- func (r CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) GetBody() []byte
- func (r CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) GetJSON422() *HTTPValidationError
- func (r CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) Status() string
- func (r CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) StatusCode() int
- type ChatClassificationRequest
- type ChatClassificationRequestInputs
- func (t ChatClassificationRequestInputs) AsChatClassificationRequestInputs1() (ChatClassificationRequestInputs1, error)
- func (t ChatClassificationRequestInputs) AsInstructRequest() (InstructRequest, error)
- func (t *ChatClassificationRequestInputs) FromChatClassificationRequestInputs1(v ChatClassificationRequestInputs1) error
- func (t *ChatClassificationRequestInputs) FromInstructRequest(v InstructRequest) error
- func (t ChatClassificationRequestInputs) MarshalJSON() ([]byte, error)
- func (t *ChatClassificationRequestInputs) MergeChatClassificationRequestInputs1(v ChatClassificationRequestInputs1) error
- func (t *ChatClassificationRequestInputs) MergeInstructRequest(v InstructRequest) error
- func (t *ChatClassificationRequestInputs) UnmarshalJSON(b []byte) error
- type ChatClassificationRequestInputs1
- type ChatClassificationsV1ChatClassificationsPostJSONRequestBody
- type ChatClassificationsV1ChatClassificationsPostResponse
- func (r ChatClassificationsV1ChatClassificationsPostResponse) ContentType() string
- func (r ChatClassificationsV1ChatClassificationsPostResponse) GetBody() []byte
- func (r ChatClassificationsV1ChatClassificationsPostResponse) GetJSON200() *ClassificationResponse
- func (r ChatClassificationsV1ChatClassificationsPostResponse) GetJSON422() *HTTPValidationError
- func (r ChatClassificationsV1ChatClassificationsPostResponse) Status() string
- func (r ChatClassificationsV1ChatClassificationsPostResponse) StatusCode() int
- type ChatCompletionChoice
- type ChatCompletionChoiceFinishReason
- type ChatCompletionEvent
- type ChatCompletionEventExtraFields0
- type ChatCompletionEventExtraFields1
- type ChatCompletionEventExtraFields2
- type ChatCompletionEventExtraFields3
- type ChatCompletionEventExtraFields4
- type ChatCompletionEventExtraFields5
- type ChatCompletionEventIds
- type ChatCompletionEventPreview
- type ChatCompletionEventPreviewExtraFields0
- type ChatCompletionEventPreviewExtraFields1
- type ChatCompletionEventPreviewExtraFields2
- type ChatCompletionEventPreviewExtraFields3
- type ChatCompletionEventPreviewExtraFields4
- type ChatCompletionEventPreviewExtraFields5
- type ChatCompletionEventPreview_ExtraFields_AdditionalProperties
- func (t ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields0() (ChatCompletionEventPreviewExtraFields0, error)
- func (t ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields1() (ChatCompletionEventPreviewExtraFields1, error)
- func (t ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields2() (ChatCompletionEventPreviewExtraFields2, error)
- func (t ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields3() (ChatCompletionEventPreviewExtraFields3, error)
- func (t ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields4() (ChatCompletionEventPreviewExtraFields4, error)
- func (t ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields5() (ChatCompletionEventPreviewExtraFields5, error)
- func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields0(v ChatCompletionEventPreviewExtraFields0) error
- func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields1(v ChatCompletionEventPreviewExtraFields1) error
- func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields2(v ChatCompletionEventPreviewExtraFields2) error
- func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields3(v ChatCompletionEventPreviewExtraFields3) error
- func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields4(v ChatCompletionEventPreviewExtraFields4) error
- func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields5(v ChatCompletionEventPreviewExtraFields5) error
- func (t ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MarshalJSON() ([]byte, error)
- func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields0(v ChatCompletionEventPreviewExtraFields0) error
- func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields1(v ChatCompletionEventPreviewExtraFields1) error
- func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields2(v ChatCompletionEventPreviewExtraFields2) error
- func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields3(v ChatCompletionEventPreviewExtraFields3) error
- func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields4(v ChatCompletionEventPreviewExtraFields4) error
- func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields5(v ChatCompletionEventPreviewExtraFields5) error
- func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) UnmarshalJSON(b []byte) error
- type ChatCompletionEvent_ExtraFields_AdditionalProperties
- func (t ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields0() (ChatCompletionEventExtraFields0, error)
- func (t ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields1() (ChatCompletionEventExtraFields1, error)
- func (t ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields2() (ChatCompletionEventExtraFields2, error)
- func (t ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields3() (ChatCompletionEventExtraFields3, error)
- func (t ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields4() (ChatCompletionEventExtraFields4, error)
- func (t ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields5() (ChatCompletionEventExtraFields5, error)
- func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields0(v ChatCompletionEventExtraFields0) error
- func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields1(v ChatCompletionEventExtraFields1) error
- func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields2(v ChatCompletionEventExtraFields2) error
- func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields3(v ChatCompletionEventExtraFields3) error
- func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields4(v ChatCompletionEventExtraFields4) error
- func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields5(v ChatCompletionEventExtraFields5) error
- func (t ChatCompletionEvent_ExtraFields_AdditionalProperties) MarshalJSON() ([]byte, error)
- func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields0(v ChatCompletionEventExtraFields0) error
- func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields1(v ChatCompletionEventExtraFields1) error
- func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields2(v ChatCompletionEventExtraFields2) error
- func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields3(v ChatCompletionEventExtraFields3) error
- func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields4(v ChatCompletionEventExtraFields4) error
- func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields5(v ChatCompletionEventExtraFields5) error
- func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) UnmarshalJSON(b []byte) error
- type ChatCompletionEvents
- type ChatCompletionFieldOptions
- type ChatCompletionFieldOptionsOptions0
- type ChatCompletionFieldOptionsOptions1
- type ChatCompletionFieldOptions_Options_Item
- func (t ChatCompletionFieldOptions_Options_Item) AsChatCompletionFieldOptionsOptions0() (ChatCompletionFieldOptionsOptions0, error)
- func (t ChatCompletionFieldOptions_Options_Item) AsChatCompletionFieldOptionsOptions1() (ChatCompletionFieldOptionsOptions1, error)
- func (t *ChatCompletionFieldOptions_Options_Item) FromChatCompletionFieldOptionsOptions0(v ChatCompletionFieldOptionsOptions0) error
- func (t *ChatCompletionFieldOptions_Options_Item) FromChatCompletionFieldOptionsOptions1(v ChatCompletionFieldOptionsOptions1) error
- func (t ChatCompletionFieldOptions_Options_Item) MarshalJSON() ([]byte, error)
- func (t *ChatCompletionFieldOptions_Options_Item) MergeChatCompletionFieldOptionsOptions0(v ChatCompletionFieldOptionsOptions0) error
- func (t *ChatCompletionFieldOptions_Options_Item) MergeChatCompletionFieldOptionsOptions1(v ChatCompletionFieldOptionsOptions1) error
- func (t *ChatCompletionFieldOptions_Options_Item) UnmarshalJSON(b []byte) error
- type ChatCompletionFields
- type ChatCompletionRequest
- type ChatCompletionRequestReasoningEffort
- type ChatCompletionRequestStop0
- type ChatCompletionRequestStop1
- type ChatCompletionRequest_Messages_Item
- func (t ChatCompletionRequest_Messages_Item) AsAssistantMessage() (AssistantMessage, error)
- func (t ChatCompletionRequest_Messages_Item) AsSystemMessage() (SystemMessage, error)
- func (t ChatCompletionRequest_Messages_Item) AsToolMessage() (ToolMessage, error)
- func (t ChatCompletionRequest_Messages_Item) AsUserMessage() (UserMessage, error)
- func (t ChatCompletionRequest_Messages_Item) Discriminator() (string, error)
- func (t *ChatCompletionRequest_Messages_Item) FromAssistantMessage(v AssistantMessage) error
- func (t *ChatCompletionRequest_Messages_Item) FromSystemMessage(v SystemMessage) error
- func (t *ChatCompletionRequest_Messages_Item) FromToolMessage(v ToolMessage) error
- func (t *ChatCompletionRequest_Messages_Item) FromUserMessage(v UserMessage) error
- func (t ChatCompletionRequest_Messages_Item) MarshalJSON() ([]byte, error)
- func (t *ChatCompletionRequest_Messages_Item) MergeAssistantMessage(v AssistantMessage) error
- func (t *ChatCompletionRequest_Messages_Item) MergeSystemMessage(v SystemMessage) error
- func (t *ChatCompletionRequest_Messages_Item) MergeToolMessage(v ToolMessage) error
- func (t *ChatCompletionRequest_Messages_Item) MergeUserMessage(v UserMessage) error
- func (t *ChatCompletionRequest_Messages_Item) UnmarshalJSON(b []byte) error
- func (t ChatCompletionRequest_Messages_Item) ValueByDiscriminator() (interface{}, error)
- type ChatCompletionRequest_Stop
- func (t ChatCompletionRequest_Stop) AsChatCompletionRequestStop0() (ChatCompletionRequestStop0, error)
- func (t ChatCompletionRequest_Stop) AsChatCompletionRequestStop1() (ChatCompletionRequestStop1, error)
- func (t *ChatCompletionRequest_Stop) FromChatCompletionRequestStop0(v ChatCompletionRequestStop0) error
- func (t *ChatCompletionRequest_Stop) FromChatCompletionRequestStop1(v ChatCompletionRequestStop1) error
- func (t ChatCompletionRequest_Stop) MarshalJSON() ([]byte, error)
- func (t *ChatCompletionRequest_Stop) MergeChatCompletionRequestStop0(v ChatCompletionRequestStop0) error
- func (t *ChatCompletionRequest_Stop) MergeChatCompletionRequestStop1(v ChatCompletionRequestStop1) error
- func (t *ChatCompletionRequest_Stop) UnmarshalJSON(b []byte) error
- type ChatCompletionRequest_ToolChoice
- func (t ChatCompletionRequest_ToolChoice) AsToolChoice() (ToolChoice, error)
- func (t ChatCompletionRequest_ToolChoice) AsToolChoiceEnum() (ToolChoiceEnum, error)
- func (t *ChatCompletionRequest_ToolChoice) FromToolChoice(v ToolChoice) error
- func (t *ChatCompletionRequest_ToolChoice) FromToolChoiceEnum(v ToolChoiceEnum) error
- func (t ChatCompletionRequest_ToolChoice) MarshalJSON() ([]byte, error)
- func (t *ChatCompletionRequest_ToolChoice) MergeToolChoice(v ToolChoice) error
- func (t *ChatCompletionRequest_ToolChoice) MergeToolChoiceEnum(v ToolChoiceEnum) error
- func (t *ChatCompletionRequest_ToolChoice) UnmarshalJSON(b []byte) error
- type ChatCompletionResponse
- type ChatCompletionResponseBase
- type ChatCompletionV1ChatCompletionsPostJSONRequestBody
- type ChatCompletionV1ChatCompletionsPostResponse
- func (r ChatCompletionV1ChatCompletionsPostResponse) ContentType() string
- func (r ChatCompletionV1ChatCompletionsPostResponse) GetBody() []byte
- func (r ChatCompletionV1ChatCompletionsPostResponse) GetJSON200() *ChatCompletionResponse
- func (r ChatCompletionV1ChatCompletionsPostResponse) GetJSON422() *HTTPValidationError
- func (r ChatCompletionV1ChatCompletionsPostResponse) Status() string
- func (r ChatCompletionV1ChatCompletionsPostResponse) StatusCode() int
- type ChatModerationRequest
- type ChatModerationRequestInput0
- type ChatModerationRequestInput1
- type ChatModerationRequest_Input
- func (t ChatModerationRequest_Input) AsChatModerationRequestInput0() (ChatModerationRequestInput0, error)
- func (t ChatModerationRequest_Input) AsChatModerationRequestInput1() (ChatModerationRequestInput1, error)
- func (t *ChatModerationRequest_Input) FromChatModerationRequestInput0(v ChatModerationRequestInput0) error
- func (t *ChatModerationRequest_Input) FromChatModerationRequestInput1(v ChatModerationRequestInput1) error
- func (t ChatModerationRequest_Input) MarshalJSON() ([]byte, error)
- func (t *ChatModerationRequest_Input) MergeChatModerationRequestInput0(v ChatModerationRequestInput0) error
- func (t *ChatModerationRequest_Input) MergeChatModerationRequestInput1(v ChatModerationRequestInput1) error
- func (t *ChatModerationRequest_Input) UnmarshalJSON(b []byte) error
- type ChatModerationRequest_Input_0_Item
- func (t ChatModerationRequest_Input_0_Item) AsAssistantMessage() (AssistantMessage, error)
- func (t ChatModerationRequest_Input_0_Item) AsSystemMessage() (SystemMessage, error)
- func (t ChatModerationRequest_Input_0_Item) AsToolMessage() (ToolMessage, error)
- func (t ChatModerationRequest_Input_0_Item) AsUserMessage() (UserMessage, error)
- func (t ChatModerationRequest_Input_0_Item) Discriminator() (string, error)
- func (t *ChatModerationRequest_Input_0_Item) FromAssistantMessage(v AssistantMessage) error
- func (t *ChatModerationRequest_Input_0_Item) FromSystemMessage(v SystemMessage) error
- func (t *ChatModerationRequest_Input_0_Item) FromToolMessage(v ToolMessage) error
- func (t *ChatModerationRequest_Input_0_Item) FromUserMessage(v UserMessage) error
- func (t ChatModerationRequest_Input_0_Item) MarshalJSON() ([]byte, error)
- func (t *ChatModerationRequest_Input_0_Item) MergeAssistantMessage(v AssistantMessage) error
- func (t *ChatModerationRequest_Input_0_Item) MergeSystemMessage(v SystemMessage) error
- func (t *ChatModerationRequest_Input_0_Item) MergeToolMessage(v ToolMessage) error
- func (t *ChatModerationRequest_Input_0_Item) MergeUserMessage(v UserMessage) error
- func (t *ChatModerationRequest_Input_0_Item) UnmarshalJSON(b []byte) error
- func (t ChatModerationRequest_Input_0_Item) ValueByDiscriminator() (interface{}, error)
- type ChatModerationRequest_Input_1_Item
- func (t ChatModerationRequest_Input_1_Item) AsAssistantMessage() (AssistantMessage, error)
- func (t ChatModerationRequest_Input_1_Item) AsSystemMessage() (SystemMessage, error)
- func (t ChatModerationRequest_Input_1_Item) AsToolMessage() (ToolMessage, error)
- func (t ChatModerationRequest_Input_1_Item) AsUserMessage() (UserMessage, error)
- func (t ChatModerationRequest_Input_1_Item) Discriminator() (string, error)
- func (t *ChatModerationRequest_Input_1_Item) FromAssistantMessage(v AssistantMessage) error
- func (t *ChatModerationRequest_Input_1_Item) FromSystemMessage(v SystemMessage) error
- func (t *ChatModerationRequest_Input_1_Item) FromToolMessage(v ToolMessage) error
- func (t *ChatModerationRequest_Input_1_Item) FromUserMessage(v UserMessage) error
- func (t ChatModerationRequest_Input_1_Item) MarshalJSON() ([]byte, error)
- func (t *ChatModerationRequest_Input_1_Item) MergeAssistantMessage(v AssistantMessage) error
- func (t *ChatModerationRequest_Input_1_Item) MergeSystemMessage(v SystemMessage) error
- func (t *ChatModerationRequest_Input_1_Item) MergeToolMessage(v ToolMessage) error
- func (t *ChatModerationRequest_Input_1_Item) MergeUserMessage(v UserMessage) error
- func (t *ChatModerationRequest_Input_1_Item) UnmarshalJSON(b []byte) error
- func (t ChatModerationRequest_Input_1_Item) ValueByDiscriminator() (interface{}, error)
- type ChatModerationsV1ChatModerationsPostJSONRequestBody
- type ChatModerationsV1ChatModerationsPostResponse
- func (r ChatModerationsV1ChatModerationsPostResponse) ContentType() string
- func (r ChatModerationsV1ChatModerationsPostResponse) GetBody() []byte
- func (r ChatModerationsV1ChatModerationsPostResponse) GetJSON200() *ModerationResponse
- func (r ChatModerationsV1ChatModerationsPostResponse) GetJSON422() *HTTPValidationError
- func (r ChatModerationsV1ChatModerationsPostResponse) Status() string
- func (r ChatModerationsV1ChatModerationsPostResponse) StatusCode() int
- type ChatTranscriptionEvent
- type CheckpointOut
- type ClassificationRequest
- type ClassificationRequestInput0
- type ClassificationRequestInput1
- type ClassificationRequest_Input
- func (t ClassificationRequest_Input) AsClassificationRequestInput0() (ClassificationRequestInput0, error)
- func (t ClassificationRequest_Input) AsClassificationRequestInput1() (ClassificationRequestInput1, error)
- func (t *ClassificationRequest_Input) FromClassificationRequestInput0(v ClassificationRequestInput0) error
- func (t *ClassificationRequest_Input) FromClassificationRequestInput1(v ClassificationRequestInput1) error
- func (t ClassificationRequest_Input) MarshalJSON() ([]byte, error)
- func (t *ClassificationRequest_Input) MergeClassificationRequestInput0(v ClassificationRequestInput0) error
- func (t *ClassificationRequest_Input) MergeClassificationRequestInput1(v ClassificationRequestInput1) error
- func (t *ClassificationRequest_Input) UnmarshalJSON(b []byte) error
- type ClassificationResponse
- type ClassificationTargetResult
- type ClassificationsV1ClassificationsPostJSONRequestBody
- type ClassificationsV1ClassificationsPostResponse
- func (r ClassificationsV1ClassificationsPostResponse) ContentType() string
- func (r ClassificationsV1ClassificationsPostResponse) GetBody() []byte
- func (r ClassificationsV1ClassificationsPostResponse) GetJSON200() *ClassificationResponse
- func (r ClassificationsV1ClassificationsPostResponse) GetJSON422() *HTTPValidationError
- func (r ClassificationsV1ClassificationsPostResponse) Status() string
- func (r ClassificationsV1ClassificationsPostResponse) StatusCode() int
- type ClassifierDetailedJobOut
- type ClassifierDetailedJobOutJobType
- type ClassifierDetailedJobOutObject
- type ClassifierDetailedJobOutStatus
- type ClassifierDetailedJobOut_Integrations_Item
- func (t ClassifierDetailedJobOut_Integrations_Item) AsWandbIntegrationOut() (WandbIntegrationOut, error)
- func (t ClassifierDetailedJobOut_Integrations_Item) Discriminator() (string, error)
- func (t *ClassifierDetailedJobOut_Integrations_Item) FromWandbIntegrationOut(v WandbIntegrationOut) error
- func (t ClassifierDetailedJobOut_Integrations_Item) MarshalJSON() ([]byte, error)
- func (t *ClassifierDetailedJobOut_Integrations_Item) MergeWandbIntegrationOut(v WandbIntegrationOut) error
- func (t *ClassifierDetailedJobOut_Integrations_Item) UnmarshalJSON(b []byte) error
- func (t ClassifierDetailedJobOut_Integrations_Item) ValueByDiscriminator() (interface{}, error)
- type ClassifierFTModelOut
- type ClassifierFTModelOutModelType
- type ClassifierFTModelOutObject
- type ClassifierJobOut
- type ClassifierJobOutJobType
- type ClassifierJobOutObject
- type ClassifierJobOutStatus
- type ClassifierJobOut_Integrations_Item
- func (t ClassifierJobOut_Integrations_Item) AsWandbIntegrationOut() (WandbIntegrationOut, error)
- func (t ClassifierJobOut_Integrations_Item) Discriminator() (string, error)
- func (t *ClassifierJobOut_Integrations_Item) FromWandbIntegrationOut(v WandbIntegrationOut) error
- func (t ClassifierJobOut_Integrations_Item) MarshalJSON() ([]byte, error)
- func (t *ClassifierJobOut_Integrations_Item) MergeWandbIntegrationOut(v WandbIntegrationOut) error
- func (t *ClassifierJobOut_Integrations_Item) UnmarshalJSON(b []byte) error
- func (t ClassifierJobOut_Integrations_Item) ValueByDiscriminator() (interface{}, error)
- type ClassifierTargetIn
- type ClassifierTargetOut
- type ClassifierTrainingParameters
- type ClassifierTrainingParametersIn
- type Client
- func (c *Client) AgentsApiV1AgentsCreate(ctx context.Context, body AgentsApiV1AgentsCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1AgentsCreateOrUpdateAlias(ctx context.Context, agentId string, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1AgentsCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1AgentsDelete(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AgentsApiV1AgentsDeleteAlias(ctx context.Context, agentId string, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1AgentsGet(ctx context.Context, agentId string, params *AgentsApiV1AgentsGetParams, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1AgentsGetVersion(ctx context.Context, agentId string, version string, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1AgentsList(ctx context.Context, params *AgentsApiV1AgentsListParams, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1AgentsListPages(ctx context.Context, params *AgentsApiV1AgentsListPagesParams, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1AgentsListVersionAliases(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AgentsApiV1AgentsListVersions(ctx context.Context, agentId string, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1AgentsUpdate(ctx context.Context, agentId string, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1AgentsUpdateVersion(ctx context.Context, agentId string, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1AgentsUpdateWithBody(ctx context.Context, agentId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1ConversationsAppend(ctx context.Context, conversationId string, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1ConversationsAppendStream(ctx context.Context, conversationId string, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1ConversationsAppendStreamWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1ConversationsAppendWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1ConversationsDelete(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AgentsApiV1ConversationsGet(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AgentsApiV1ConversationsHistory(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AgentsApiV1ConversationsList(ctx context.Context, params *AgentsApiV1ConversationsListParams, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1ConversationsMessages(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AgentsApiV1ConversationsRestart(ctx context.Context, conversationId string, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1ConversationsRestartStream(ctx context.Context, conversationId string, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1ConversationsRestartStreamWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1ConversationsRestartWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1ConversationsStart(ctx context.Context, body AgentsApiV1ConversationsStartJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1ConversationsStartStream(ctx context.Context, body AgentsApiV1ConversationsStartStreamJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1ConversationsStartStreamWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AgentsApiV1ConversationsStartWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AgentsCompletionV1AgentsCompletionsPost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) AgentsCompletionV1AgentsCompletionsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AudioApiV1TranscriptionsPostStreamWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AudioApiV1TranscriptionsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ChatClassificationsV1ChatClassificationsPost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) ChatClassificationsV1ChatClassificationsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ChatCompletionV1ChatCompletionsPost(ctx context.Context, body ChatCompletionV1ChatCompletionsPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ChatCompletionV1ChatCompletionsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ChatModerationsV1ChatModerationsPost(ctx context.Context, body ChatModerationsV1ChatModerationsPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ChatModerationsV1ChatModerationsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ClassificationsV1ClassificationsPost(ctx context.Context, body ClassificationsV1ClassificationsPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ClassificationsV1ClassificationsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ConnectorCallToolV1(ctx context.Context, connectorIdOrName string, toolName string, ...) (*http.Response, error)
- func (c *Client) ConnectorCallToolV1WithBody(ctx context.Context, connectorIdOrName string, toolName string, ...) (*http.Response, error)
- func (c *Client) ConnectorCreateOrUpdateOrganizationCredentialsV1(ctx context.Context, connectorIdOrName string, ...) (*http.Response, error)
- func (c *Client) ConnectorCreateOrUpdateOrganizationCredentialsV1WithBody(ctx context.Context, connectorIdOrName string, contentType string, ...) (*http.Response, error)
- func (c *Client) ConnectorCreateOrUpdateUserCredentialsV1(ctx context.Context, connectorIdOrName string, ...) (*http.Response, error)
- func (c *Client) ConnectorCreateOrUpdateUserCredentialsV1WithBody(ctx context.Context, connectorIdOrName string, contentType string, ...) (*http.Response, error)
- func (c *Client) ConnectorCreateOrUpdateWorkspaceCredentialsV1(ctx context.Context, connectorIdOrName string, ...) (*http.Response, error)
- func (c *Client) ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBody(ctx context.Context, connectorIdOrName string, contentType string, ...) (*http.Response, error)
- func (c *Client) ConnectorCreateV1(ctx context.Context, body ConnectorCreateV1JSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ConnectorCreateV1WithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ConnectorDeleteOrganizationCredentialsV1(ctx context.Context, connectorIdOrName string, credentialsName string, ...) (*http.Response, error)
- func (c *Client) ConnectorDeleteUserCredentialsV1(ctx context.Context, connectorIdOrName string, credentialsName string, ...) (*http.Response, error)
- func (c *Client) ConnectorDeleteV1(ctx context.Context, connectorId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ConnectorDeleteWorkspaceCredentialsV1(ctx context.Context, connectorIdOrName string, credentialsName string, ...) (*http.Response, error)
- func (c *Client) ConnectorGetAuthUrlV1(ctx context.Context, connectorIdOrName string, ...) (*http.Response, error)
- func (c *Client) ConnectorGetAuthenticationMethodsV1(ctx context.Context, connectorIdOrName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ConnectorGetV1(ctx context.Context, connectorIdOrName string, params *ConnectorGetV1Params, ...) (*http.Response, error)
- func (c *Client) ConnectorListOrganizationCredentialsV1(ctx context.Context, connectorIdOrName string, ...) (*http.Response, error)
- func (c *Client) ConnectorListToolsV1(ctx context.Context, connectorIdOrName string, ...) (*http.Response, error)
- func (c *Client) ConnectorListUserCredentialsV1(ctx context.Context, connectorIdOrName string, ...) (*http.Response, error)
- func (c *Client) ConnectorListV1(ctx context.Context, params *ConnectorListV1Params, ...) (*http.Response, error)
- func (c *Client) ConnectorListWorkspaceCredentialsV1(ctx context.Context, connectorIdOrName string, ...) (*http.Response, error)
- func (c *Client) ConnectorUpdateV1(ctx context.Context, connectorId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ConnectorUpdateV1WithBody(ctx context.Context, connectorId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateCampaignV1ObservabilityCampaignsPost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) CreateCampaignV1ObservabilityCampaignsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost(ctx context.Context, datasetId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateDatasetV1ObservabilityDatasetsPost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) CreateDatasetV1ObservabilityDatasetsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateJudgeV1ObservabilityJudgesPost(ctx context.Context, body CreateJudgeV1ObservabilityJudgesPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateJudgeV1ObservabilityJudgesPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateVoiceV1AudioVoicesPost(ctx context.Context, body CreateVoiceV1AudioVoicesPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateVoiceV1AudioVoicesPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete(ctx context.Context, campaignId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete(ctx context.Context, datasetRecordId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete(ctx context.Context, datasetId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteJudgeV1ObservabilityJudgesJudgeIdDelete(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteModelV1ModelsModelIdDelete(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteVoiceV1AudioVoicesVoiceIdDelete(ctx context.Context, voiceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) EmbeddingsV1EmbeddingsPost(ctx context.Context, body EmbeddingsV1EmbeddingsPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EmbeddingsV1EmbeddingsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost(ctx context.Context, workflowRegistrationId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBody(ctx context.Context, workflowRegistrationId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost(ctx context.Context, workflowIdentifier string, ...) (*http.Response, error)
- func (c *Client) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBody(ctx context.Context, workflowIdentifier string, contentType string, ...) (*http.Response, error)
- func (c *Client) ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet(ctx context.Context, datasetId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) FilesApiRoutesDeleteFile(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FilesApiRoutesDownloadFile(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FilesApiRoutesGetSignedUrl(ctx context.Context, fileId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) FilesApiRoutesListFiles(ctx context.Context, params *FilesApiRoutesListFilesParams, ...) (*http.Response, error)
- func (c *Client) FilesApiRoutesRetrieveFile(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FilesApiRoutesUploadFileWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) FimCompletionV1FimCompletionsPost(ctx context.Context, body FimCompletionV1FimCompletionsPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) FimCompletionV1FimCompletionsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet(ctx context.Context, campaignId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet(ctx context.Context, campaignId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet(ctx context.Context, campaignId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetCampaignsV1ObservabilityCampaignsGet(ctx context.Context, params *GetCampaignsV1ObservabilityCampaignsGetParams, ...) (*http.Response, error)
- func (c *Client) GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBody(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost(ctx context.Context, fieldName string, ...) (*http.Response, error)
- func (c *Client) GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBody(ctx context.Context, fieldName string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet(ctx context.Context, fieldName string, ...) (*http.Response, error)
- func (c *Client) GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet(ctx context.Context, datasetId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet(ctx context.Context, datasetId openapi_types.UUID, taskId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet(ctx context.Context, datasetId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet(ctx context.Context, datasetRecordId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet(ctx context.Context, datasetId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetDatasetsV1ObservabilityDatasetsGet(ctx context.Context, params *GetDatasetsV1ObservabilityDatasetsGetParams, ...) (*http.Response, error)
- func (c *Client) GetDeploymentV1WorkflowsDeploymentsNameGet(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetJudgeByIdV1ObservabilityJudgesJudgeIdGet(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetJudgesV1ObservabilityJudgesGet(ctx context.Context, params *GetJudgesV1ObservabilityJudgesGetParams, ...) (*http.Response, error)
- func (c *Client) GetRunHistoryV1WorkflowsRunsRunIdHistoryGet(ctx context.Context, runId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetRunV1WorkflowsRunsRunIdGet(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSchedulesV1WorkflowsSchedulesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetStreamEventsV1WorkflowsEventsStreamGet(ctx context.Context, params *GetStreamEventsV1WorkflowsEventsStreamGetParams, ...) (*http.Response, error)
- func (c *Client) GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet(ctx context.Context, voiceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetVoiceV1AudioVoicesVoiceIdGet(ctx context.Context, voiceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWorkerInfoV1WorkflowsWorkersWhoamiGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWorkflowEventsV1WorkflowsEventsListGet(ctx context.Context, params *GetWorkflowEventsV1WorkflowsEventsListGetParams, ...) (*http.Response, error)
- func (c *Client) GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet(ctx context.Context, executionId string, ...) (*http.Response, error)
- func (c *Client) GetWorkflowExecutionTraceEvents(ctx context.Context, executionId string, ...) (*http.Response, error)
- func (c *Client) GetWorkflowExecutionTraceOtel(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWorkflowExecutionTraceSummary(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet(ctx context.Context, workflowName string, ...) (*http.Response, error)
- func (c *Client) GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet(ctx context.Context, workflowRegistrationId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetWorkflowRegistrationsV1WorkflowsRegistrationsGet(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) GetWorkflowV1WorkflowsWorkflowIdentifierGet(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) JobsApiRoutesBatchCancelBatchJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) JobsApiRoutesBatchCreateBatchJob(ctx context.Context, body JobsApiRoutesBatchCreateBatchJobJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) JobsApiRoutesBatchCreateBatchJobWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) JobsApiRoutesBatchGetBatchJob(ctx context.Context, jobId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) JobsApiRoutesBatchGetBatchJobs(ctx context.Context, params *JobsApiRoutesBatchGetBatchJobsParams, ...) (*http.Response, error)
- func (c *Client) JobsApiRoutesFineTuningArchiveFineTunedModel(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) JobsApiRoutesFineTuningCancelFineTuningJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) JobsApiRoutesFineTuningCreateFineTuningJob(ctx context.Context, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, ...) (*http.Response, error)
- func (c *Client) JobsApiRoutesFineTuningCreateFineTuningJobWithBody(ctx context.Context, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, ...) (*http.Response, error)
- func (c *Client) JobsApiRoutesFineTuningGetFineTuningJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) JobsApiRoutesFineTuningGetFineTuningJobs(ctx context.Context, params *JobsApiRoutesFineTuningGetFineTuningJobsParams, ...) (*http.Response, error)
- func (c *Client) JobsApiRoutesFineTuningStartFineTuningJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) JobsApiRoutesFineTuningUnarchiveFineTunedModel(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) JobsApiRoutesFineTuningUpdateFineTunedModel(ctx context.Context, modelId string, ...) (*http.Response, error)
- func (c *Client) JobsApiRoutesFineTuningUpdateFineTunedModelWithBody(ctx context.Context, modelId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost(ctx context.Context, eventId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBody(ctx context.Context, eventId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost(ctx context.Context, judgeId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBody(ctx context.Context, judgeId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost(ctx context.Context, datasetRecordId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBody(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) LibrariesCreateV1(ctx context.Context, body LibrariesCreateV1JSONRequestBody, ...) (*http.Response, error)
- func (c *Client) LibrariesCreateV1WithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) LibrariesDeleteV1(ctx context.Context, libraryId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) LibrariesDocumentsDeleteV1(ctx context.Context, libraryId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) LibrariesDocumentsGetExtractedTextSignedUrlV1(ctx context.Context, libraryId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) LibrariesDocumentsGetSignedUrlV1(ctx context.Context, libraryId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) LibrariesDocumentsGetStatusV1(ctx context.Context, libraryId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) LibrariesDocumentsGetTextContentV1(ctx context.Context, libraryId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) LibrariesDocumentsGetV1(ctx context.Context, libraryId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) LibrariesDocumentsListV1(ctx context.Context, libraryId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) LibrariesDocumentsReprocessV1(ctx context.Context, libraryId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) LibrariesDocumentsUpdateV1(ctx context.Context, libraryId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) LibrariesDocumentsUpdateV1WithBody(ctx context.Context, libraryId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) LibrariesDocumentsUploadV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) LibrariesGetV1(ctx context.Context, libraryId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) LibrariesListV1(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LibrariesShareCreateV1(ctx context.Context, libraryId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) LibrariesShareCreateV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) LibrariesShareDeleteV1(ctx context.Context, libraryId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) LibrariesShareDeleteV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) LibrariesShareListV1(ctx context.Context, libraryId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) LibrariesUpdateV1(ctx context.Context, libraryId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) LibrariesUpdateV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) ListDeploymentsV1WorkflowsDeploymentsGet(ctx context.Context, params *ListDeploymentsV1WorkflowsDeploymentsGetParams, ...) (*http.Response, error)
- func (c *Client) ListModelsV1ModelsGet(ctx context.Context, params *ListModelsV1ModelsGetParams, ...) (*http.Response, error)
- func (c *Client) ListRunsV1WorkflowsRunsGet(ctx context.Context, params *ListRunsV1WorkflowsRunsGetParams, ...) (*http.Response, error)
- func (c *Client) ListVoicesV1AudioVoicesGet(ctx context.Context, params *ListVoicesV1AudioVoicesGetParams, ...) (*http.Response, error)
- func (c *Client) ModerationsV1ModerationsPost(ctx context.Context, body ModerationsV1ModerationsPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ModerationsV1ModerationsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) OcrV1OcrPost(ctx context.Context, body OcrV1OcrPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) OcrV1OcrPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost(ctx context.Context, datasetId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost(ctx context.Context, datasetId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost(ctx context.Context, datasetId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost(ctx context.Context, datasetId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost(ctx context.Context, datasetId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost(ctx context.Context, executionId string, ...) (*http.Response, error)
- func (c *Client) QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBody(ctx context.Context, executionId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost(ctx context.Context, executionId string, ...) (*http.Response, error)
- func (c *Client) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBody(ctx context.Context, executionId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RetrieveModelV1ModelsModelIdGet(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ScheduleWorkflowV1WorkflowsSchedulesPost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) ScheduleWorkflowV1WorkflowsSchedulesPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost(ctx context.Context, executionId string, ...) (*http.Response, error)
- func (c *Client) SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBody(ctx context.Context, executionId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SpeechV1AudioSpeechPost(ctx context.Context, body SpeechV1AudioSpeechPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SpeechV1AudioSpeechPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) StreamV1WorkflowsExecutionsExecutionIdStreamGet(ctx context.Context, executionId string, ...) (*http.Response, error)
- func (c *Client) TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete(ctx context.Context, scheduleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut(ctx context.Context, datasetRecordId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBody(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut(ctx context.Context, datasetRecordId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBody(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch(ctx context.Context, datasetId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateJudgeV1ObservabilityJudgesJudgeIdPut(ctx context.Context, judgeId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBody(ctx context.Context, judgeId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateVoiceV1AudioVoicesVoiceIdPatch(ctx context.Context, voiceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateVoiceV1AudioVoicesVoiceIdPatchWithBody(ctx context.Context, voiceId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost(ctx context.Context, executionId string, ...) (*http.Response, error)
- func (c *Client) UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBody(ctx context.Context, executionId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateWorkflowV1WorkflowsWorkflowIdentifierPut(ctx context.Context, workflowIdentifier string, ...) (*http.Response, error)
- func (c *Client) UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBody(ctx context.Context, workflowIdentifier string, contentType string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AgentsApiV1AgentsCreateOrUpdateAliasWithResponse(ctx context.Context, agentId string, ...) (*AgentsApiV1AgentsCreateOrUpdateAliasResponse, error)
- func (c *ClientWithResponses) AgentsApiV1AgentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AgentsApiV1AgentsCreateResponse, error)
- func (c *ClientWithResponses) AgentsApiV1AgentsCreateWithResponse(ctx context.Context, body AgentsApiV1AgentsCreateJSONRequestBody, ...) (*AgentsApiV1AgentsCreateResponse, error)
- func (c *ClientWithResponses) AgentsApiV1AgentsDeleteAliasWithResponse(ctx context.Context, agentId string, ...) (*AgentsApiV1AgentsDeleteAliasResponse, error)
- func (c *ClientWithResponses) AgentsApiV1AgentsDeleteWithResponse(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsDeleteResponse, error)
- func (c *ClientWithResponses) AgentsApiV1AgentsGetVersionWithResponse(ctx context.Context, agentId string, version string, ...) (*AgentsApiV1AgentsGetVersionResponse, error)
- func (c *ClientWithResponses) AgentsApiV1AgentsGetWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsGetParams, ...) (*AgentsApiV1AgentsGetResponse, error)
- func (c *ClientWithResponses) AgentsApiV1AgentsListPagesWithResponse(ctx context.Context, params *AgentsApiV1AgentsListPagesParams, ...) (*AgentsApiV1AgentsListPagesResponse, error)
- func (c *ClientWithResponses) AgentsApiV1AgentsListVersionAliasesWithResponse(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsListVersionAliasesResponse, error)
- func (c *ClientWithResponses) AgentsApiV1AgentsListVersionsWithResponse(ctx context.Context, agentId string, ...) (*AgentsApiV1AgentsListVersionsResponse, error)
- func (c *ClientWithResponses) AgentsApiV1AgentsListWithResponse(ctx context.Context, params *AgentsApiV1AgentsListParams, ...) (*AgentsApiV1AgentsListResponse, error)deprecated
- func (c *ClientWithResponses) AgentsApiV1AgentsUpdateVersionWithResponse(ctx context.Context, agentId string, ...) (*AgentsApiV1AgentsUpdateVersionResponse, error)
- func (c *ClientWithResponses) AgentsApiV1AgentsUpdateWithBodyWithResponse(ctx context.Context, agentId string, contentType string, body io.Reader, ...) (*AgentsApiV1AgentsUpdateResponse, error)
- func (c *ClientWithResponses) AgentsApiV1AgentsUpdateWithResponse(ctx context.Context, agentId string, ...) (*AgentsApiV1AgentsUpdateResponse, error)
- func (c *ClientWithResponses) AgentsApiV1ConversationsAppendStreamWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, ...) (*AgentsApiV1ConversationsAppendStreamResponse, error)
- func (c *ClientWithResponses) AgentsApiV1ConversationsAppendStreamWithResponse(ctx context.Context, conversationId string, ...) (*AgentsApiV1ConversationsAppendStreamResponse, error)
- func (c *ClientWithResponses) AgentsApiV1ConversationsAppendWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, ...) (*AgentsApiV1ConversationsAppendResponse, error)
- func (c *ClientWithResponses) AgentsApiV1ConversationsAppendWithResponse(ctx context.Context, conversationId string, ...) (*AgentsApiV1ConversationsAppendResponse, error)
- func (c *ClientWithResponses) AgentsApiV1ConversationsDeleteWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsDeleteResponse, error)
- func (c *ClientWithResponses) AgentsApiV1ConversationsGetWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsGetResponse, error)
- func (c *ClientWithResponses) AgentsApiV1ConversationsHistoryWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsHistoryResponse, error)
- func (c *ClientWithResponses) AgentsApiV1ConversationsListWithResponse(ctx context.Context, params *AgentsApiV1ConversationsListParams, ...) (*AgentsApiV1ConversationsListResponse, error)
- func (c *ClientWithResponses) AgentsApiV1ConversationsMessagesWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsMessagesResponse, error)
- func (c *ClientWithResponses) AgentsApiV1ConversationsRestartStreamWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, ...) (*AgentsApiV1ConversationsRestartStreamResponse, error)
- func (c *ClientWithResponses) AgentsApiV1ConversationsRestartStreamWithResponse(ctx context.Context, conversationId string, ...) (*AgentsApiV1ConversationsRestartStreamResponse, error)
- func (c *ClientWithResponses) AgentsApiV1ConversationsRestartWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, ...) (*AgentsApiV1ConversationsRestartResponse, error)
- func (c *ClientWithResponses) AgentsApiV1ConversationsRestartWithResponse(ctx context.Context, conversationId string, ...) (*AgentsApiV1ConversationsRestartResponse, error)
- func (c *ClientWithResponses) AgentsApiV1ConversationsStartStreamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AgentsApiV1ConversationsStartStreamResponse, error)
- func (c *ClientWithResponses) AgentsApiV1ConversationsStartStreamWithResponse(ctx context.Context, body AgentsApiV1ConversationsStartStreamJSONRequestBody, ...) (*AgentsApiV1ConversationsStartStreamResponse, error)
- func (c *ClientWithResponses) AgentsApiV1ConversationsStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AgentsApiV1ConversationsStartResponse, error)
- func (c *ClientWithResponses) AgentsApiV1ConversationsStartWithResponse(ctx context.Context, body AgentsApiV1ConversationsStartJSONRequestBody, ...) (*AgentsApiV1ConversationsStartResponse, error)
- func (c *ClientWithResponses) AgentsCompletionV1AgentsCompletionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AgentsCompletionV1AgentsCompletionsPostResponse, error)deprecated
- func (c *ClientWithResponses) AgentsCompletionV1AgentsCompletionsPostWithResponse(ctx context.Context, ...) (*AgentsCompletionV1AgentsCompletionsPostResponse, error)
- func (c *ClientWithResponses) ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutWithResponse(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse, error)
- func (c *ClientWithResponses) AudioApiV1TranscriptionsPostStreamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AudioApiV1TranscriptionsPostStreamResponse, error)
- func (c *ClientWithResponses) AudioApiV1TranscriptionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AudioApiV1TranscriptionsPostResponse, error)
- func (c *ClientWithResponses) BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse, error)
- func (c *ClientWithResponses) BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithResponse(ctx context.Context, ...) (*BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse, error)
- func (c *ClientWithResponses) BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse, ...)
- func (c *ClientWithResponses) BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithResponse(ctx context.Context, ...) (*BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse, ...)
- func (c *ClientWithResponses) CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse, ...)
- func (c *ClientWithResponses) ChatClassificationsV1ChatClassificationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ChatClassificationsV1ChatClassificationsPostResponse, error)
- func (c *ClientWithResponses) ChatClassificationsV1ChatClassificationsPostWithResponse(ctx context.Context, ...) (*ChatClassificationsV1ChatClassificationsPostResponse, error)
- func (c *ClientWithResponses) ChatCompletionV1ChatCompletionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ChatCompletionV1ChatCompletionsPostResponse, error)
- func (c *ClientWithResponses) ChatCompletionV1ChatCompletionsPostWithResponse(ctx context.Context, body ChatCompletionV1ChatCompletionsPostJSONRequestBody, ...) (*ChatCompletionV1ChatCompletionsPostResponse, error)
- func (c *ClientWithResponses) ChatModerationsV1ChatModerationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ChatModerationsV1ChatModerationsPostResponse, error)
- func (c *ClientWithResponses) ChatModerationsV1ChatModerationsPostWithResponse(ctx context.Context, body ChatModerationsV1ChatModerationsPostJSONRequestBody, ...) (*ChatModerationsV1ChatModerationsPostResponse, error)
- func (c *ClientWithResponses) ClassificationsV1ClassificationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ClassificationsV1ClassificationsPostResponse, error)
- func (c *ClientWithResponses) ClassificationsV1ClassificationsPostWithResponse(ctx context.Context, body ClassificationsV1ClassificationsPostJSONRequestBody, ...) (*ClassificationsV1ClassificationsPostResponse, error)
- func (c *ClientWithResponses) ConnectorCallToolV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, toolName string, ...) (*ConnectorCallToolV1Response, error)
- func (c *ClientWithResponses) ConnectorCallToolV1WithResponse(ctx context.Context, connectorIdOrName string, toolName string, ...) (*ConnectorCallToolV1Response, error)
- func (c *ClientWithResponses) ConnectorCreateOrUpdateOrganizationCredentialsV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, contentType string, ...) (*ConnectorCreateOrUpdateOrganizationCredentialsV1Response, error)
- func (c *ClientWithResponses) ConnectorCreateOrUpdateOrganizationCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, ...) (*ConnectorCreateOrUpdateOrganizationCredentialsV1Response, error)
- func (c *ClientWithResponses) ConnectorCreateOrUpdateUserCredentialsV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, contentType string, ...) (*ConnectorCreateOrUpdateUserCredentialsV1Response, error)
- func (c *ClientWithResponses) ConnectorCreateOrUpdateUserCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, ...) (*ConnectorCreateOrUpdateUserCredentialsV1Response, error)
- func (c *ClientWithResponses) ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, contentType string, ...) (*ConnectorCreateOrUpdateWorkspaceCredentialsV1Response, error)
- func (c *ClientWithResponses) ConnectorCreateOrUpdateWorkspaceCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, ...) (*ConnectorCreateOrUpdateWorkspaceCredentialsV1Response, error)
- func (c *ClientWithResponses) ConnectorCreateV1WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ConnectorCreateV1Response, error)
- func (c *ClientWithResponses) ConnectorCreateV1WithResponse(ctx context.Context, body ConnectorCreateV1JSONRequestBody, ...) (*ConnectorCreateV1Response, error)
- func (c *ClientWithResponses) ConnectorDeleteOrganizationCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, credentialsName string, ...) (*ConnectorDeleteOrganizationCredentialsV1Response, error)
- func (c *ClientWithResponses) ConnectorDeleteUserCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, credentialsName string, ...) (*ConnectorDeleteUserCredentialsV1Response, error)
- func (c *ClientWithResponses) ConnectorDeleteV1WithResponse(ctx context.Context, connectorId openapi_types.UUID, ...) (*ConnectorDeleteV1Response, error)
- func (c *ClientWithResponses) ConnectorDeleteWorkspaceCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, credentialsName string, ...) (*ConnectorDeleteWorkspaceCredentialsV1Response, error)
- func (c *ClientWithResponses) ConnectorGetAuthUrlV1WithResponse(ctx context.Context, connectorIdOrName string, ...) (*ConnectorGetAuthUrlV1Response, error)
- func (c *ClientWithResponses) ConnectorGetAuthenticationMethodsV1WithResponse(ctx context.Context, connectorIdOrName string, reqEditors ...RequestEditorFn) (*ConnectorGetAuthenticationMethodsV1Response, error)
- func (c *ClientWithResponses) ConnectorGetV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorGetV1Params, ...) (*ConnectorGetV1Response, error)
- func (c *ClientWithResponses) ConnectorListOrganizationCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, ...) (*ConnectorListOrganizationCredentialsV1Response, error)
- func (c *ClientWithResponses) ConnectorListToolsV1WithResponse(ctx context.Context, connectorIdOrName string, ...) (*ConnectorListToolsV1Response, error)
- func (c *ClientWithResponses) ConnectorListUserCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, ...) (*ConnectorListUserCredentialsV1Response, error)
- func (c *ClientWithResponses) ConnectorListV1WithResponse(ctx context.Context, params *ConnectorListV1Params, ...) (*ConnectorListV1Response, error)
- func (c *ClientWithResponses) ConnectorListWorkspaceCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, ...) (*ConnectorListWorkspaceCredentialsV1Response, error)
- func (c *ClientWithResponses) ConnectorUpdateV1WithBodyWithResponse(ctx context.Context, connectorId openapi_types.UUID, contentType string, ...) (*ConnectorUpdateV1Response, error)
- func (c *ClientWithResponses) ConnectorUpdateV1WithResponse(ctx context.Context, connectorId openapi_types.UUID, ...) (*ConnectorUpdateV1Response, error)
- func (c *ClientWithResponses) CreateCampaignV1ObservabilityCampaignsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateCampaignV1ObservabilityCampaignsPostResponse, error)
- func (c *ClientWithResponses) CreateCampaignV1ObservabilityCampaignsPostWithResponse(ctx context.Context, ...) (*CreateCampaignV1ObservabilityCampaignsPostResponse, error)
- func (c *ClientWithResponses) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, ...) (*CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse, error)
- func (c *ClientWithResponses) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, ...) (*CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse, error)
- func (c *ClientWithResponses) CreateDatasetV1ObservabilityDatasetsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateDatasetV1ObservabilityDatasetsPostResponse, error)
- func (c *ClientWithResponses) CreateDatasetV1ObservabilityDatasetsPostWithResponse(ctx context.Context, ...) (*CreateDatasetV1ObservabilityDatasetsPostResponse, error)
- func (c *ClientWithResponses) CreateJudgeV1ObservabilityJudgesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateJudgeV1ObservabilityJudgesPostResponse, error)
- func (c *ClientWithResponses) CreateJudgeV1ObservabilityJudgesPostWithResponse(ctx context.Context, body CreateJudgeV1ObservabilityJudgesPostJSONRequestBody, ...) (*CreateJudgeV1ObservabilityJudgesPostResponse, error)
- func (c *ClientWithResponses) CreateVoiceV1AudioVoicesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateVoiceV1AudioVoicesPostResponse, error)
- func (c *ClientWithResponses) CreateVoiceV1AudioVoicesPostWithResponse(ctx context.Context, body CreateVoiceV1AudioVoicesPostJSONRequestBody, ...) (*CreateVoiceV1AudioVoicesPostResponse, error)
- func (c *ClientWithResponses) DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteWithResponse(ctx context.Context, campaignId openapi_types.UUID, ...) (*DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, ...) (*DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse, ...)
- func (c *ClientWithResponses) DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse, ...)
- func (c *ClientWithResponses) DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithResponse(ctx context.Context, ...) (*DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse, ...)
- func (c *ClientWithResponses) DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteWithResponse(ctx context.Context, datasetId openapi_types.UUID, ...) (*DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteWithResponse(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteModelV1ModelsModelIdDeleteWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*DeleteModelV1ModelsModelIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteVoiceV1AudioVoicesVoiceIdDeleteWithResponse(ctx context.Context, voiceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse, error)
- func (c *ClientWithResponses) EmbeddingsV1EmbeddingsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*EmbeddingsV1EmbeddingsPostResponse, error)
- func (c *ClientWithResponses) EmbeddingsV1EmbeddingsPostWithResponse(ctx context.Context, body EmbeddingsV1EmbeddingsPostJSONRequestBody, ...) (*EmbeddingsV1EmbeddingsPostResponse, error)
- func (c *ClientWithResponses) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBodyWithResponse(ctx context.Context, workflowRegistrationId openapi_types.UUID, ...) (...)deprecated
- func (c *ClientWithResponses) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithResponse(ctx context.Context, workflowRegistrationId openapi_types.UUID, ...) (...)
- func (c *ClientWithResponses) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBodyWithResponse(ctx context.Context, workflowIdentifier string, contentType string, ...) (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse, error)
- func (c *ClientWithResponses) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithResponse(ctx context.Context, workflowIdentifier string, ...) (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse, error)
- func (c *ClientWithResponses) ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, ...) (*ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse, ...)
- func (c *ClientWithResponses) FilesApiRoutesDeleteFileWithResponse(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*FilesApiRoutesDeleteFileResponse, error)
- func (c *ClientWithResponses) FilesApiRoutesDownloadFileWithResponse(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*FilesApiRoutesDownloadFileResponse, error)
- func (c *ClientWithResponses) FilesApiRoutesGetSignedUrlWithResponse(ctx context.Context, fileId openapi_types.UUID, ...) (*FilesApiRoutesGetSignedUrlResponse, error)
- func (c *ClientWithResponses) FilesApiRoutesListFilesWithResponse(ctx context.Context, params *FilesApiRoutesListFilesParams, ...) (*FilesApiRoutesListFilesResponse, error)
- func (c *ClientWithResponses) FilesApiRoutesRetrieveFileWithResponse(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*FilesApiRoutesRetrieveFileResponse, error)
- func (c *ClientWithResponses) FilesApiRoutesUploadFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*FilesApiRoutesUploadFileResponse, error)
- func (c *ClientWithResponses) FimCompletionV1FimCompletionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*FimCompletionV1FimCompletionsPostResponse, error)
- func (c *ClientWithResponses) FimCompletionV1FimCompletionsPostWithResponse(ctx context.Context, body FimCompletionV1FimCompletionsPostJSONRequestBody, ...) (*FimCompletionV1FimCompletionsPostResponse, error)
- func (c *ClientWithResponses) GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetWithResponse(ctx context.Context, campaignId openapi_types.UUID, ...) (*GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse, error)
- func (c *ClientWithResponses) GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetWithResponse(ctx context.Context, campaignId openapi_types.UUID, ...) (...)
- func (c *ClientWithResponses) GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetWithResponse(ctx context.Context, campaignId openapi_types.UUID, ...) (*GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse, ...)
- func (c *ClientWithResponses) GetCampaignsV1ObservabilityCampaignsGetWithResponse(ctx context.Context, params *GetCampaignsV1ObservabilityCampaignsGetParams, ...) (*GetCampaignsV1ObservabilityCampaignsGetResponse, error)
- func (c *ClientWithResponses) GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (...)
- func (c *ClientWithResponses) GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithResponse(ctx context.Context, ...) (...)
- func (c *ClientWithResponses) GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetWithResponse(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse, ...)
- func (c *ClientWithResponses) GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBodyWithResponse(ctx context.Context, ...) (*GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse, ...)
- func (c *ClientWithResponses) GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithResponse(ctx context.Context, ...) (*GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse, ...)
- func (c *ClientWithResponses) GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBodyWithResponse(ctx context.Context, fieldName string, contentType string, body io.Reader, ...) (...)
- func (c *ClientWithResponses) GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithResponse(ctx context.Context, fieldName string, ...) (...)
- func (c *ClientWithResponses) GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetWithResponse(ctx context.Context, fieldName string, ...) (...)
- func (c *ClientWithResponses) GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse, error)
- func (c *ClientWithResponses) GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, ...) (*GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse, error)
- func (c *ClientWithResponses) GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, taskId openapi_types.UUID, ...) (*GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse, ...)
- func (c *ClientWithResponses) GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, ...) (*GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse, error)
- func (c *ClientWithResponses) GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, ...) (*GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse, ...)
- func (c *ClientWithResponses) GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, ...) (*GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse, error)
- func (c *ClientWithResponses) GetDatasetsV1ObservabilityDatasetsGetWithResponse(ctx context.Context, params *GetDatasetsV1ObservabilityDatasetsGetParams, ...) (*GetDatasetsV1ObservabilityDatasetsGetResponse, error)
- func (c *ClientWithResponses) GetDeploymentV1WorkflowsDeploymentsNameGetWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDeploymentV1WorkflowsDeploymentsNameGetResponse, error)
- func (c *ClientWithResponses) GetJudgeByIdV1ObservabilityJudgesJudgeIdGetWithResponse(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse, error)
- func (c *ClientWithResponses) GetJudgesV1ObservabilityJudgesGetWithResponse(ctx context.Context, params *GetJudgesV1ObservabilityJudgesGetParams, ...) (*GetJudgesV1ObservabilityJudgesGetResponse, error)
- func (c *ClientWithResponses) GetRunHistoryV1WorkflowsRunsRunIdHistoryGetWithResponse(ctx context.Context, runId openapi_types.UUID, ...) (*GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse, error)
- func (c *ClientWithResponses) GetRunV1WorkflowsRunsRunIdGetWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRunV1WorkflowsRunsRunIdGetResponse, error)
- func (c *ClientWithResponses) GetSchedulesV1WorkflowsSchedulesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSchedulesV1WorkflowsSchedulesGetResponse, error)
- func (c *ClientWithResponses) GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetWithResponse(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (...)
- func (c *ClientWithResponses) GetStreamEventsV1WorkflowsEventsStreamGetWithResponse(ctx context.Context, params *GetStreamEventsV1WorkflowsEventsStreamGetParams, ...) (*GetStreamEventsV1WorkflowsEventsStreamGetResponse, error)
- func (c *ClientWithResponses) GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetWithResponse(ctx context.Context, voiceId string, reqEditors ...RequestEditorFn) (*GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse, error)
- func (c *ClientWithResponses) GetVoiceV1AudioVoicesVoiceIdGetWithResponse(ctx context.Context, voiceId string, reqEditors ...RequestEditorFn) (*GetVoiceV1AudioVoicesVoiceIdGetResponse, error)
- func (c *ClientWithResponses) GetWorkerInfoV1WorkflowsWorkersWhoamiGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse, error)
- func (c *ClientWithResponses) GetWorkflowEventsV1WorkflowsEventsListGetWithResponse(ctx context.Context, params *GetWorkflowEventsV1WorkflowsEventsListGetParams, ...) (*GetWorkflowEventsV1WorkflowsEventsListGetResponse, error)
- func (c *ClientWithResponses) GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetWithResponse(ctx context.Context, executionId string, ...) (*GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse, ...)
- func (c *ClientWithResponses) GetWorkflowExecutionTraceEventsWithResponse(ctx context.Context, executionId string, ...) (*GetWorkflowExecutionTraceEventsResponse, error)
- func (c *ClientWithResponses) GetWorkflowExecutionTraceOtelWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionTraceOtelResponse, error)
- func (c *ClientWithResponses) GetWorkflowExecutionTraceSummaryWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionTraceSummaryResponse, error)
- func (c *ClientWithResponses) GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse, error)
- func (c *ClientWithResponses) GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetWithResponse(ctx context.Context, workflowName string, ...) (*GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse, error)
- func (c *ClientWithResponses) GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetWithResponse(ctx context.Context, workflowRegistrationId openapi_types.UUID, ...) (...)
- func (c *ClientWithResponses) GetWorkflowRegistrationsV1WorkflowsRegistrationsGetWithResponse(ctx context.Context, ...) (*GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse, error)
- func (c *ClientWithResponses) GetWorkflowV1WorkflowsWorkflowIdentifierGetWithResponse(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse, error)
- func (c *ClientWithResponses) JobsApiRoutesBatchCancelBatchJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchCancelBatchJobResponse, error)
- func (c *ClientWithResponses) JobsApiRoutesBatchCreateBatchJobWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*JobsApiRoutesBatchCreateBatchJobResponse, error)
- func (c *ClientWithResponses) JobsApiRoutesBatchCreateBatchJobWithResponse(ctx context.Context, body JobsApiRoutesBatchCreateBatchJobJSONRequestBody, ...) (*JobsApiRoutesBatchCreateBatchJobResponse, error)
- func (c *ClientWithResponses) JobsApiRoutesBatchGetBatchJobWithResponse(ctx context.Context, jobId openapi_types.UUID, ...) (*JobsApiRoutesBatchGetBatchJobResponse, error)
- func (c *ClientWithResponses) JobsApiRoutesBatchGetBatchJobsWithResponse(ctx context.Context, params *JobsApiRoutesBatchGetBatchJobsParams, ...) (*JobsApiRoutesBatchGetBatchJobsResponse, error)
- func (c *ClientWithResponses) JobsApiRoutesFineTuningArchiveFineTunedModelWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningArchiveFineTunedModelResponse, error)
- func (c *ClientWithResponses) JobsApiRoutesFineTuningCancelFineTuningJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningCancelFineTuningJobResponse, error)
- func (c *ClientWithResponses) JobsApiRoutesFineTuningCreateFineTuningJobWithBodyWithResponse(ctx context.Context, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, ...) (*JobsApiRoutesFineTuningCreateFineTuningJobResponse, error)
- func (c *ClientWithResponses) JobsApiRoutesFineTuningCreateFineTuningJobWithResponse(ctx context.Context, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, ...) (*JobsApiRoutesFineTuningCreateFineTuningJobResponse, error)
- func (c *ClientWithResponses) JobsApiRoutesFineTuningGetFineTuningJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningGetFineTuningJobResponse, error)
- func (c *ClientWithResponses) JobsApiRoutesFineTuningGetFineTuningJobsWithResponse(ctx context.Context, params *JobsApiRoutesFineTuningGetFineTuningJobsParams, ...) (*JobsApiRoutesFineTuningGetFineTuningJobsResponse, error)
- func (c *ClientWithResponses) JobsApiRoutesFineTuningStartFineTuningJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningStartFineTuningJobResponse, error)
- func (c *ClientWithResponses) JobsApiRoutesFineTuningUnarchiveFineTunedModelWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse, error)
- func (c *ClientWithResponses) JobsApiRoutesFineTuningUpdateFineTunedModelWithBodyWithResponse(ctx context.Context, modelId string, contentType string, body io.Reader, ...) (*JobsApiRoutesFineTuningUpdateFineTunedModelResponse, error)
- func (c *ClientWithResponses) JobsApiRoutesFineTuningUpdateFineTunedModelWithResponse(ctx context.Context, modelId string, ...) (*JobsApiRoutesFineTuningUpdateFineTunedModelResponse, error)
- func (c *ClientWithResponses) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBodyWithResponse(ctx context.Context, eventId openapi_types.UUID, contentType string, ...) (...)
- func (c *ClientWithResponses) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithResponse(ctx context.Context, eventId openapi_types.UUID, ...) (...)
- func (c *ClientWithResponses) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBodyWithResponse(ctx context.Context, judgeId openapi_types.UUID, contentType string, ...) (*JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse, error)
- func (c *ClientWithResponses) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithResponse(ctx context.Context, judgeId openapi_types.UUID, ...) (*JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse, error)
- func (c *ClientWithResponses) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBodyWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, ...) (...)
- func (c *ClientWithResponses) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, ...) (...)
- func (c *ClientWithResponses) LibrariesCreateV1WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*LibrariesCreateV1Response, error)
- func (c *ClientWithResponses) LibrariesCreateV1WithResponse(ctx context.Context, body LibrariesCreateV1JSONRequestBody, ...) (*LibrariesCreateV1Response, error)
- func (c *ClientWithResponses) LibrariesDeleteV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, ...) (*LibrariesDeleteV1Response, error)
- func (c *ClientWithResponses) LibrariesDocumentsDeleteV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, ...) (*LibrariesDocumentsDeleteV1Response, error)
- func (c *ClientWithResponses) LibrariesDocumentsGetExtractedTextSignedUrlV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, ...) (*LibrariesDocumentsGetExtractedTextSignedUrlV1Response, error)
- func (c *ClientWithResponses) LibrariesDocumentsGetSignedUrlV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, ...) (*LibrariesDocumentsGetSignedUrlV1Response, error)
- func (c *ClientWithResponses) LibrariesDocumentsGetStatusV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, ...) (*LibrariesDocumentsGetStatusV1Response, error)
- func (c *ClientWithResponses) LibrariesDocumentsGetTextContentV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, ...) (*LibrariesDocumentsGetTextContentV1Response, error)
- func (c *ClientWithResponses) LibrariesDocumentsGetV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, ...) (*LibrariesDocumentsGetV1Response, error)
- func (c *ClientWithResponses) LibrariesDocumentsListV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, ...) (*LibrariesDocumentsListV1Response, error)
- func (c *ClientWithResponses) LibrariesDocumentsReprocessV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, ...) (*LibrariesDocumentsReprocessV1Response, error)
- func (c *ClientWithResponses) LibrariesDocumentsUpdateV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, ...) (*LibrariesDocumentsUpdateV1Response, error)
- func (c *ClientWithResponses) LibrariesDocumentsUpdateV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, ...) (*LibrariesDocumentsUpdateV1Response, error)
- func (c *ClientWithResponses) LibrariesDocumentsUploadV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, ...) (*LibrariesDocumentsUploadV1Response, error)
- func (c *ClientWithResponses) LibrariesGetV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, ...) (*LibrariesGetV1Response, error)
- func (c *ClientWithResponses) LibrariesListV1WithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LibrariesListV1Response, error)
- func (c *ClientWithResponses) LibrariesShareCreateV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, ...) (*LibrariesShareCreateV1Response, error)
- func (c *ClientWithResponses) LibrariesShareCreateV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, ...) (*LibrariesShareCreateV1Response, error)
- func (c *ClientWithResponses) LibrariesShareDeleteV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, ...) (*LibrariesShareDeleteV1Response, error)
- func (c *ClientWithResponses) LibrariesShareDeleteV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, ...) (*LibrariesShareDeleteV1Response, error)
- func (c *ClientWithResponses) LibrariesShareListV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, ...) (*LibrariesShareListV1Response, error)
- func (c *ClientWithResponses) LibrariesUpdateV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, ...) (*LibrariesUpdateV1Response, error)
- func (c *ClientWithResponses) LibrariesUpdateV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, ...) (*LibrariesUpdateV1Response, error)
- func (c *ClientWithResponses) ListDeploymentsV1WorkflowsDeploymentsGetWithResponse(ctx context.Context, params *ListDeploymentsV1WorkflowsDeploymentsGetParams, ...) (*ListDeploymentsV1WorkflowsDeploymentsGetResponse, error)
- func (c *ClientWithResponses) ListModelsV1ModelsGetWithResponse(ctx context.Context, params *ListModelsV1ModelsGetParams, ...) (*ListModelsV1ModelsGetResponse, error)
- func (c *ClientWithResponses) ListRunsV1WorkflowsRunsGetWithResponse(ctx context.Context, params *ListRunsV1WorkflowsRunsGetParams, ...) (*ListRunsV1WorkflowsRunsGetResponse, error)
- func (c *ClientWithResponses) ListVoicesV1AudioVoicesGetWithResponse(ctx context.Context, params *ListVoicesV1AudioVoicesGetParams, ...) (*ListVoicesV1AudioVoicesGetResponse, error)
- func (c *ClientWithResponses) ModerationsV1ModerationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ModerationsV1ModerationsPostResponse, error)
- func (c *ClientWithResponses) ModerationsV1ModerationsPostWithResponse(ctx context.Context, body ModerationsV1ModerationsPostJSONRequestBody, ...) (*ModerationsV1ModerationsPostResponse, error)
- func (c *ClientWithResponses) OcrV1OcrPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*OcrV1OcrPostResponse, error)
- func (c *ClientWithResponses) OcrV1OcrPostWithResponse(ctx context.Context, body OcrV1OcrPostJSONRequestBody, ...) (*OcrV1OcrPostResponse, error)
- func (c *ClientWithResponses) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, ...) (...)
- func (c *ClientWithResponses) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, ...) (...)
- func (c *ClientWithResponses) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, ...) (...)
- func (c *ClientWithResponses) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, ...) (...)
- func (c *ClientWithResponses) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, ...) (...)
- func (c *ClientWithResponses) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, ...) (...)
- func (c *ClientWithResponses) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, ...) (...)
- func (c *ClientWithResponses) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithResponse(ctx context.Context, datasetId openapi_types.UUID, ...) (...)
- func (c *ClientWithResponses) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, ...) (...)
- func (c *ClientWithResponses) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, ...) (...)
- func (c *ClientWithResponses) QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, ...) (*QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse, ...)
- func (c *ClientWithResponses) QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithResponse(ctx context.Context, executionId string, ...) (*QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse, ...)
- func (c *ClientWithResponses) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, ...) (*ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse, error)
- func (c *ClientWithResponses) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithResponse(ctx context.Context, executionId string, ...) (*ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse, error)
- func (c *ClientWithResponses) RetrieveModelV1ModelsModelIdGetWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*RetrieveModelV1ModelsModelIdGetResponse, error)
- func (c *ClientWithResponses) ScheduleWorkflowV1WorkflowsSchedulesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ScheduleWorkflowV1WorkflowsSchedulesPostResponse, error)
- func (c *ClientWithResponses) ScheduleWorkflowV1WorkflowsSchedulesPostWithResponse(ctx context.Context, ...) (*ScheduleWorkflowV1WorkflowsSchedulesPostResponse, error)
- func (c *ClientWithResponses) SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, ...) (*SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse, ...)
- func (c *ClientWithResponses) SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithResponse(ctx context.Context, executionId string, ...) (*SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse, ...)
- func (c *ClientWithResponses) SpeechV1AudioSpeechPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SpeechV1AudioSpeechPostResponse, error)
- func (c *ClientWithResponses) SpeechV1AudioSpeechPostWithResponse(ctx context.Context, body SpeechV1AudioSpeechPostJSONRequestBody, ...) (*SpeechV1AudioSpeechPostResponse, error)
- func (c *ClientWithResponses) StreamV1WorkflowsExecutionsExecutionIdStreamGetWithResponse(ctx context.Context, executionId string, ...) (*StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse, error)
- func (c *ClientWithResponses) TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (...)
- func (c *ClientWithResponses) UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutWithResponse(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse, error)
- func (c *ClientWithResponses) UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteWithResponse(ctx context.Context, scheduleId string, reqEditors ...RequestEditorFn) (*UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse, error)
- func (c *ClientWithResponses) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBodyWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, ...) (...)
- func (c *ClientWithResponses) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, ...) (...)
- func (c *ClientWithResponses) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBodyWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, ...) (...)
- func (c *ClientWithResponses) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, ...) (...)
- func (c *ClientWithResponses) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, ...) (*UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse, error)
- func (c *ClientWithResponses) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithResponse(ctx context.Context, datasetId openapi_types.UUID, ...) (*UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse, error)
- func (c *ClientWithResponses) UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBodyWithResponse(ctx context.Context, judgeId openapi_types.UUID, contentType string, ...) (*UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse, error)
- func (c *ClientWithResponses) UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithResponse(ctx context.Context, judgeId openapi_types.UUID, ...) (*UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse, error)
- func (c *ClientWithResponses) UpdateVoiceV1AudioVoicesVoiceIdPatchWithBodyWithResponse(ctx context.Context, voiceId openapi_types.UUID, contentType string, ...) (*UpdateVoiceV1AudioVoicesVoiceIdPatchResponse, error)
- func (c *ClientWithResponses) UpdateVoiceV1AudioVoicesVoiceIdPatchWithResponse(ctx context.Context, voiceId openapi_types.UUID, ...) (*UpdateVoiceV1AudioVoicesVoiceIdPatchResponse, error)
- func (c *ClientWithResponses) UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, ...) (*UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse, ...)
- func (c *ClientWithResponses) UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithResponse(ctx context.Context, executionId string, ...) (*UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse, ...)
- func (c *ClientWithResponses) UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBodyWithResponse(ctx context.Context, workflowIdentifier string, contentType string, ...) (*UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse, error)
- func (c *ClientWithResponses) UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithResponse(ctx context.Context, workflowIdentifier string, ...) (*UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse, error)
- type ClientWithResponsesInterface
- type CodeInterpreterTool
- type CodeInterpreterToolType
- type CompletionArgs
- type CompletionArgsReasoningEffort
- type CompletionArgsStop
- func (t CompletionArgsStop) AsCompletionArgsStop0() (CompletionArgsStop0, error)
- func (t CompletionArgsStop) AsCompletionArgsStop1() (CompletionArgsStop1, error)
- func (t *CompletionArgsStop) FromCompletionArgsStop0(v CompletionArgsStop0) error
- func (t *CompletionArgsStop) FromCompletionArgsStop1(v CompletionArgsStop1) error
- func (t CompletionArgsStop) MarshalJSON() ([]byte, error)
- func (t *CompletionArgsStop) MergeCompletionArgsStop0(v CompletionArgsStop0) error
- func (t *CompletionArgsStop) MergeCompletionArgsStop1(v CompletionArgsStop1) error
- func (t *CompletionArgsStop) UnmarshalJSON(b []byte) error
- type CompletionArgsStop0
- type CompletionArgsStop1
- type CompletionChunk
- type CompletionDetailedJobOut
- type CompletionDetailedJobOutJobType
- type CompletionDetailedJobOutObject
- type CompletionDetailedJobOutStatus
- type CompletionDetailedJobOut_Integrations_Item
- func (t CompletionDetailedJobOut_Integrations_Item) AsWandbIntegrationOut() (WandbIntegrationOut, error)
- func (t CompletionDetailedJobOut_Integrations_Item) Discriminator() (string, error)
- func (t *CompletionDetailedJobOut_Integrations_Item) FromWandbIntegrationOut(v WandbIntegrationOut) error
- func (t CompletionDetailedJobOut_Integrations_Item) MarshalJSON() ([]byte, error)
- func (t *CompletionDetailedJobOut_Integrations_Item) MergeWandbIntegrationOut(v WandbIntegrationOut) error
- func (t *CompletionDetailedJobOut_Integrations_Item) UnmarshalJSON(b []byte) error
- func (t CompletionDetailedJobOut_Integrations_Item) ValueByDiscriminator() (interface{}, error)
- type CompletionDetailedJobOut_Repositories_Item
- func (t CompletionDetailedJobOut_Repositories_Item) AsGithubRepositoryOut() (GithubRepositoryOut, error)
- func (t CompletionDetailedJobOut_Repositories_Item) Discriminator() (string, error)
- func (t *CompletionDetailedJobOut_Repositories_Item) FromGithubRepositoryOut(v GithubRepositoryOut) error
- func (t CompletionDetailedJobOut_Repositories_Item) MarshalJSON() ([]byte, error)
- func (t *CompletionDetailedJobOut_Repositories_Item) MergeGithubRepositoryOut(v GithubRepositoryOut) error
- func (t *CompletionDetailedJobOut_Repositories_Item) UnmarshalJSON(b []byte) error
- func (t CompletionDetailedJobOut_Repositories_Item) ValueByDiscriminator() (interface{}, error)
- type CompletionEvent
- type CompletionFTModelOut
- type CompletionFTModelOutModelType
- type CompletionFTModelOutObject
- type CompletionJobOut
- type CompletionJobOutJobType
- type CompletionJobOutObject
- type CompletionJobOutStatus
- type CompletionJobOut_Integrations_Item
- func (t CompletionJobOut_Integrations_Item) AsWandbIntegrationOut() (WandbIntegrationOut, error)
- func (t CompletionJobOut_Integrations_Item) Discriminator() (string, error)
- func (t *CompletionJobOut_Integrations_Item) FromWandbIntegrationOut(v WandbIntegrationOut) error
- func (t CompletionJobOut_Integrations_Item) MarshalJSON() ([]byte, error)
- func (t *CompletionJobOut_Integrations_Item) MergeWandbIntegrationOut(v WandbIntegrationOut) error
- func (t *CompletionJobOut_Integrations_Item) UnmarshalJSON(b []byte) error
- func (t CompletionJobOut_Integrations_Item) ValueByDiscriminator() (interface{}, error)
- type CompletionJobOut_Repositories_Item
- func (t CompletionJobOut_Repositories_Item) AsGithubRepositoryOut() (GithubRepositoryOut, error)
- func (t CompletionJobOut_Repositories_Item) Discriminator() (string, error)
- func (t *CompletionJobOut_Repositories_Item) FromGithubRepositoryOut(v GithubRepositoryOut) error
- func (t CompletionJobOut_Repositories_Item) MarshalJSON() ([]byte, error)
- func (t *CompletionJobOut_Repositories_Item) MergeGithubRepositoryOut(v GithubRepositoryOut) error
- func (t *CompletionJobOut_Repositories_Item) UnmarshalJSON(b []byte) error
- func (t CompletionJobOut_Repositories_Item) ValueByDiscriminator() (interface{}, error)
- type CompletionResponseStreamChoice
- type CompletionResponseStreamChoiceFinishReason
- type CompletionTrainingParameters
- type CompletionTrainingParametersIn
- type ConnectionCredentials
- type Connector
- type ConnectorAuthenticationHeader
- type ConnectorCallToolV1JSONRequestBody
- type ConnectorCallToolV1Params
- type ConnectorCallToolV1Response
- func (r ConnectorCallToolV1Response) ContentType() string
- func (r ConnectorCallToolV1Response) GetBody() []byte
- func (r ConnectorCallToolV1Response) GetJSON200() *MCPToolCallResponse
- func (r ConnectorCallToolV1Response) GetJSON422() *HTTPValidationError
- func (r ConnectorCallToolV1Response) Status() string
- func (r ConnectorCallToolV1Response) StatusCode() int
- type ConnectorCreateOrUpdateOrganizationCredentialsV1JSONRequestBody
- type ConnectorCreateOrUpdateOrganizationCredentialsV1Response
- func (r ConnectorCreateOrUpdateOrganizationCredentialsV1Response) ContentType() string
- func (r ConnectorCreateOrUpdateOrganizationCredentialsV1Response) GetBody() []byte
- func (r ConnectorCreateOrUpdateOrganizationCredentialsV1Response) GetJSON200() *MessageResponse
- func (r ConnectorCreateOrUpdateOrganizationCredentialsV1Response) GetJSON422() *HTTPValidationError
- func (r ConnectorCreateOrUpdateOrganizationCredentialsV1Response) Status() string
- func (r ConnectorCreateOrUpdateOrganizationCredentialsV1Response) StatusCode() int
- type ConnectorCreateOrUpdateUserCredentialsV1JSONRequestBody
- type ConnectorCreateOrUpdateUserCredentialsV1Response
- func (r ConnectorCreateOrUpdateUserCredentialsV1Response) ContentType() string
- func (r ConnectorCreateOrUpdateUserCredentialsV1Response) GetBody() []byte
- func (r ConnectorCreateOrUpdateUserCredentialsV1Response) GetJSON200() *MessageResponse
- func (r ConnectorCreateOrUpdateUserCredentialsV1Response) GetJSON422() *HTTPValidationError
- func (r ConnectorCreateOrUpdateUserCredentialsV1Response) Status() string
- func (r ConnectorCreateOrUpdateUserCredentialsV1Response) StatusCode() int
- type ConnectorCreateOrUpdateWorkspaceCredentialsV1JSONRequestBody
- type ConnectorCreateOrUpdateWorkspaceCredentialsV1Response
- func (r ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) ContentType() string
- func (r ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) GetBody() []byte
- func (r ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) GetJSON200() *MessageResponse
- func (r ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) GetJSON422() *HTTPValidationError
- func (r ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) Status() string
- func (r ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) StatusCode() int
- type ConnectorCreateV1JSONRequestBody
- type ConnectorCreateV1Response
- func (r ConnectorCreateV1Response) ContentType() string
- func (r ConnectorCreateV1Response) GetBody() []byte
- func (r ConnectorCreateV1Response) GetJSON201() *Connector
- func (r ConnectorCreateV1Response) GetJSON422() *HTTPValidationError
- func (r ConnectorCreateV1Response) Status() string
- func (r ConnectorCreateV1Response) StatusCode() int
- type ConnectorDeleteOrganizationCredentialsV1Response
- func (r ConnectorDeleteOrganizationCredentialsV1Response) ContentType() string
- func (r ConnectorDeleteOrganizationCredentialsV1Response) GetBody() []byte
- func (r ConnectorDeleteOrganizationCredentialsV1Response) GetJSON200() *MessageResponse
- func (r ConnectorDeleteOrganizationCredentialsV1Response) GetJSON422() *HTTPValidationError
- func (r ConnectorDeleteOrganizationCredentialsV1Response) Status() string
- func (r ConnectorDeleteOrganizationCredentialsV1Response) StatusCode() int
- type ConnectorDeleteUserCredentialsV1Response
- func (r ConnectorDeleteUserCredentialsV1Response) ContentType() string
- func (r ConnectorDeleteUserCredentialsV1Response) GetBody() []byte
- func (r ConnectorDeleteUserCredentialsV1Response) GetJSON200() *MessageResponse
- func (r ConnectorDeleteUserCredentialsV1Response) GetJSON422() *HTTPValidationError
- func (r ConnectorDeleteUserCredentialsV1Response) Status() string
- func (r ConnectorDeleteUserCredentialsV1Response) StatusCode() int
- type ConnectorDeleteV1Response
- func (r ConnectorDeleteV1Response) ContentType() string
- func (r ConnectorDeleteV1Response) GetBody() []byte
- func (r ConnectorDeleteV1Response) GetJSON200() *MessageResponse
- func (r ConnectorDeleteV1Response) GetJSON422() *HTTPValidationError
- func (r ConnectorDeleteV1Response) Status() string
- func (r ConnectorDeleteV1Response) StatusCode() int
- type ConnectorDeleteWorkspaceCredentialsV1Response
- func (r ConnectorDeleteWorkspaceCredentialsV1Response) ContentType() string
- func (r ConnectorDeleteWorkspaceCredentialsV1Response) GetBody() []byte
- func (r ConnectorDeleteWorkspaceCredentialsV1Response) GetJSON200() *MessageResponse
- func (r ConnectorDeleteWorkspaceCredentialsV1Response) GetJSON422() *HTTPValidationError
- func (r ConnectorDeleteWorkspaceCredentialsV1Response) Status() string
- func (r ConnectorDeleteWorkspaceCredentialsV1Response) StatusCode() int
- type ConnectorGetAuthUrlV1Params
- type ConnectorGetAuthUrlV1Response
- func (r ConnectorGetAuthUrlV1Response) ContentType() string
- func (r ConnectorGetAuthUrlV1Response) GetBody() []byte
- func (r ConnectorGetAuthUrlV1Response) GetJSON200() *AuthUrlResponse
- func (r ConnectorGetAuthUrlV1Response) GetJSON422() *HTTPValidationError
- func (r ConnectorGetAuthUrlV1Response) Status() string
- func (r ConnectorGetAuthUrlV1Response) StatusCode() int
- type ConnectorGetAuthenticationMethodsV1Response
- func (r ConnectorGetAuthenticationMethodsV1Response) ContentType() string
- func (r ConnectorGetAuthenticationMethodsV1Response) GetBody() []byte
- func (r ConnectorGetAuthenticationMethodsV1Response) GetJSON200() *[]PublicAuthenticationMethod
- func (r ConnectorGetAuthenticationMethodsV1Response) Status() string
- func (r ConnectorGetAuthenticationMethodsV1Response) StatusCode() int
- type ConnectorGetV1Params
- type ConnectorGetV1Response
- func (r ConnectorGetV1Response) ContentType() string
- func (r ConnectorGetV1Response) GetBody() []byte
- func (r ConnectorGetV1Response) GetJSON200() *Connector
- func (r ConnectorGetV1Response) GetJSON422() *HTTPValidationError
- func (r ConnectorGetV1Response) Status() string
- func (r ConnectorGetV1Response) StatusCode() int
- type ConnectorListOrganizationCredentialsV1Params
- type ConnectorListOrganizationCredentialsV1Response
- func (r ConnectorListOrganizationCredentialsV1Response) ContentType() string
- func (r ConnectorListOrganizationCredentialsV1Response) GetBody() []byte
- func (r ConnectorListOrganizationCredentialsV1Response) GetJSON200() *CredentialsResponse
- func (r ConnectorListOrganizationCredentialsV1Response) GetJSON422() *HTTPValidationError
- func (r ConnectorListOrganizationCredentialsV1Response) Status() string
- func (r ConnectorListOrganizationCredentialsV1Response) StatusCode() int
- type ConnectorListToolsV1Params
- type ConnectorListToolsV1Response
- func (r ConnectorListToolsV1Response) ContentType() string
- func (r ConnectorListToolsV1Response) GetBody() []byte
- func (r ConnectorListToolsV1Response) GetJSON200() *ConnectorListToolsV1200JSONResponseBody
- func (r ConnectorListToolsV1Response) GetJSON422() *HTTPValidationError
- func (r ConnectorListToolsV1Response) Status() string
- func (r ConnectorListToolsV1Response) StatusCode() int
- type ConnectorListToolsV1200JSONResponseBody
- func (t ConnectorListToolsV1200JSONResponseBody) AsConnectorListToolsV1200JSONResponseBody0() (ConnectorListToolsV1200JSONResponseBody0, error)
- func (t ConnectorListToolsV1200JSONResponseBody) AsConnectorListToolsV1200JSONResponseBody1() (ConnectorListToolsV1200JSONResponseBody1, error)
- func (t ConnectorListToolsV1200JSONResponseBody) AsConnectorListToolsV1200JSONResponseBody2() (ConnectorListToolsV1200JSONResponseBody2, error)
- func (t *ConnectorListToolsV1200JSONResponseBody) FromConnectorListToolsV1200JSONResponseBody0(v ConnectorListToolsV1200JSONResponseBody0) error
- func (t *ConnectorListToolsV1200JSONResponseBody) FromConnectorListToolsV1200JSONResponseBody1(v ConnectorListToolsV1200JSONResponseBody1) error
- func (t *ConnectorListToolsV1200JSONResponseBody) FromConnectorListToolsV1200JSONResponseBody2(v ConnectorListToolsV1200JSONResponseBody2) error
- func (t ConnectorListToolsV1200JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *ConnectorListToolsV1200JSONResponseBody) MergeConnectorListToolsV1200JSONResponseBody0(v ConnectorListToolsV1200JSONResponseBody0) error
- func (t *ConnectorListToolsV1200JSONResponseBody) MergeConnectorListToolsV1200JSONResponseBody1(v ConnectorListToolsV1200JSONResponseBody1) error
- func (t *ConnectorListToolsV1200JSONResponseBody) MergeConnectorListToolsV1200JSONResponseBody2(v ConnectorListToolsV1200JSONResponseBody2) error
- func (t *ConnectorListToolsV1200JSONResponseBody) UnmarshalJSON(b []byte) error
- type ConnectorListToolsV1200JSONResponseBody0
- type ConnectorListToolsV1200JSONResponseBody1
- type ConnectorListToolsV1200JSONResponseBody2
- type ConnectorListUserCredentialsV1Params
- type ConnectorListUserCredentialsV1Response
- func (r ConnectorListUserCredentialsV1Response) ContentType() string
- func (r ConnectorListUserCredentialsV1Response) GetBody() []byte
- func (r ConnectorListUserCredentialsV1Response) GetJSON200() *CredentialsResponse
- func (r ConnectorListUserCredentialsV1Response) GetJSON422() *HTTPValidationError
- func (r ConnectorListUserCredentialsV1Response) Status() string
- func (r ConnectorListUserCredentialsV1Response) StatusCode() int
- type ConnectorListV1Params
- type ConnectorListV1Response
- func (r ConnectorListV1Response) ContentType() string
- func (r ConnectorListV1Response) GetBody() []byte
- func (r ConnectorListV1Response) GetJSON200() *PaginatedConnectors
- func (r ConnectorListV1Response) GetJSON422() *HTTPValidationError
- func (r ConnectorListV1Response) Status() string
- func (r ConnectorListV1Response) StatusCode() int
- type ConnectorListWorkspaceCredentialsV1Params
- type ConnectorListWorkspaceCredentialsV1Response
- func (r ConnectorListWorkspaceCredentialsV1Response) ContentType() string
- func (r ConnectorListWorkspaceCredentialsV1Response) GetBody() []byte
- func (r ConnectorListWorkspaceCredentialsV1Response) GetJSON200() *CredentialsResponse
- func (r ConnectorListWorkspaceCredentialsV1Response) GetJSON422() *HTTPValidationError
- func (r ConnectorListWorkspaceCredentialsV1Response) Status() string
- func (r ConnectorListWorkspaceCredentialsV1Response) StatusCode() int
- type ConnectorMCPCreate
- type ConnectorMCPUpdate
- type ConnectorUpdateV1JSONRequestBody
- type ConnectorUpdateV1Response
- func (r ConnectorUpdateV1Response) ContentType() string
- func (r ConnectorUpdateV1Response) GetBody() []byte
- func (r ConnectorUpdateV1Response) GetJSON200() *Connector
- func (r ConnectorUpdateV1Response) GetJSON422() *HTTPValidationError
- func (r ConnectorUpdateV1Response) Status() string
- func (r ConnectorUpdateV1Response) StatusCode() int
- type ConnectorsQueryFilters
- type ContentChunk
- func (t ContentChunk) AsAudioChunk() (AudioChunk, error)
- func (t ContentChunk) AsDocumentURLChunk() (DocumentURLChunk, error)
- func (t ContentChunk) AsFileChunk() (FileChunk, error)
- func (t ContentChunk) AsImageURLChunk() (ImageURLChunk, error)
- func (t ContentChunk) AsReferenceChunk() (ReferenceChunk, error)
- func (t ContentChunk) AsTextChunk() (TextChunk, error)
- func (t ContentChunk) AsThinkChunk() (ThinkChunk, error)
- func (t ContentChunk) Discriminator() (string, error)
- func (t *ContentChunk) FromAudioChunk(v AudioChunk) error
- func (t *ContentChunk) FromDocumentURLChunk(v DocumentURLChunk) error
- func (t *ContentChunk) FromFileChunk(v FileChunk) error
- func (t *ContentChunk) FromImageURLChunk(v ImageURLChunk) error
- func (t *ContentChunk) FromReferenceChunk(v ReferenceChunk) error
- func (t *ContentChunk) FromTextChunk(v TextChunk) error
- func (t *ContentChunk) FromThinkChunk(v ThinkChunk) error
- func (t ContentChunk) MarshalJSON() ([]byte, error)
- func (t *ContentChunk) MergeAudioChunk(v AudioChunk) error
- func (t *ContentChunk) MergeDocumentURLChunk(v DocumentURLChunk) error
- func (t *ContentChunk) MergeFileChunk(v FileChunk) error
- func (t *ContentChunk) MergeImageURLChunk(v ImageURLChunk) error
- func (t *ContentChunk) MergeReferenceChunk(v ReferenceChunk) error
- func (t *ContentChunk) MergeTextChunk(v TextChunk) error
- func (t *ContentChunk) MergeThinkChunk(v ThinkChunk) error
- func (t *ContentChunk) UnmarshalJSON(b []byte) error
- func (t ContentChunk) ValueByDiscriminator() (interface{}, error)
- type ConversationAppendRequest
- type ConversationAppendRequestBase
- type ConversationAppendRequestBaseHandoffExecution
- type ConversationAppendRequestHandoffExecution
- type ConversationAppendRequestStream
- type ConversationAppendStreamRequest
- type ConversationAppendStreamRequestHandoffExecution
- type ConversationAppendStreamRequestStream
- type ConversationEvents
- type ConversationEvents_Data
- func (t ConversationEvents_Data) AsAgentHandoffDoneEvent() (AgentHandoffDoneEvent, error)
- func (t ConversationEvents_Data) AsAgentHandoffStartedEvent() (AgentHandoffStartedEvent, error)
- func (t ConversationEvents_Data) AsFunctionCallEvent() (FunctionCallEvent, error)
- func (t ConversationEvents_Data) AsMessageOutputEvent() (MessageOutputEvent, error)
- func (t ConversationEvents_Data) AsResponseDoneEvent() (ResponseDoneEvent, error)
- func (t ConversationEvents_Data) AsResponseErrorEvent() (ResponseErrorEvent, error)
- func (t ConversationEvents_Data) AsResponseStartedEvent() (ResponseStartedEvent, error)
- func (t ConversationEvents_Data) AsToolExecutionDeltaEvent() (ToolExecutionDeltaEvent, error)
- func (t ConversationEvents_Data) AsToolExecutionDoneEvent() (ToolExecutionDoneEvent, error)
- func (t ConversationEvents_Data) AsToolExecutionStartedEvent() (ToolExecutionStartedEvent, error)
- func (t ConversationEvents_Data) Discriminator() (string, error)
- func (t *ConversationEvents_Data) FromAgentHandoffDoneEvent(v AgentHandoffDoneEvent) error
- func (t *ConversationEvents_Data) FromAgentHandoffStartedEvent(v AgentHandoffStartedEvent) error
- func (t *ConversationEvents_Data) FromFunctionCallEvent(v FunctionCallEvent) error
- func (t *ConversationEvents_Data) FromMessageOutputEvent(v MessageOutputEvent) error
- func (t *ConversationEvents_Data) FromResponseDoneEvent(v ResponseDoneEvent) error
- func (t *ConversationEvents_Data) FromResponseErrorEvent(v ResponseErrorEvent) error
- func (t *ConversationEvents_Data) FromResponseStartedEvent(v ResponseStartedEvent) error
- func (t *ConversationEvents_Data) FromToolExecutionDeltaEvent(v ToolExecutionDeltaEvent) error
- func (t *ConversationEvents_Data) FromToolExecutionDoneEvent(v ToolExecutionDoneEvent) error
- func (t *ConversationEvents_Data) FromToolExecutionStartedEvent(v ToolExecutionStartedEvent) error
- func (t ConversationEvents_Data) MarshalJSON() ([]byte, error)
- func (t *ConversationEvents_Data) MergeAgentHandoffDoneEvent(v AgentHandoffDoneEvent) error
- func (t *ConversationEvents_Data) MergeAgentHandoffStartedEvent(v AgentHandoffStartedEvent) error
- func (t *ConversationEvents_Data) MergeFunctionCallEvent(v FunctionCallEvent) error
- func (t *ConversationEvents_Data) MergeMessageOutputEvent(v MessageOutputEvent) error
- func (t *ConversationEvents_Data) MergeResponseDoneEvent(v ResponseDoneEvent) error
- func (t *ConversationEvents_Data) MergeResponseErrorEvent(v ResponseErrorEvent) error
- func (t *ConversationEvents_Data) MergeResponseStartedEvent(v ResponseStartedEvent) error
- func (t *ConversationEvents_Data) MergeToolExecutionDeltaEvent(v ToolExecutionDeltaEvent) error
- func (t *ConversationEvents_Data) MergeToolExecutionDoneEvent(v ToolExecutionDoneEvent) error
- func (t *ConversationEvents_Data) MergeToolExecutionStartedEvent(v ToolExecutionStartedEvent) error
- func (t *ConversationEvents_Data) UnmarshalJSON(b []byte) error
- func (t ConversationEvents_Data) ValueByDiscriminator() (interface{}, error)
- type ConversationHistory
- type ConversationHistoryObject
- type ConversationHistory_Entries_Item
- func (t ConversationHistory_Entries_Item) AsAgentHandoffEntry() (AgentHandoffEntry, error)
- func (t ConversationHistory_Entries_Item) AsFunctionCallEntry() (FunctionCallEntry, error)
- func (t ConversationHistory_Entries_Item) AsFunctionResultEntry() (FunctionResultEntry, error)
- func (t ConversationHistory_Entries_Item) AsMessageInputEntry() (MessageInputEntry, error)
- func (t ConversationHistory_Entries_Item) AsMessageOutputEntry() (MessageOutputEntry, error)
- func (t ConversationHistory_Entries_Item) AsToolExecutionEntry() (ToolExecutionEntry, error)
- func (t *ConversationHistory_Entries_Item) FromAgentHandoffEntry(v AgentHandoffEntry) error
- func (t *ConversationHistory_Entries_Item) FromFunctionCallEntry(v FunctionCallEntry) error
- func (t *ConversationHistory_Entries_Item) FromFunctionResultEntry(v FunctionResultEntry) error
- func (t *ConversationHistory_Entries_Item) FromMessageInputEntry(v MessageInputEntry) error
- func (t *ConversationHistory_Entries_Item) FromMessageOutputEntry(v MessageOutputEntry) error
- func (t *ConversationHistory_Entries_Item) FromToolExecutionEntry(v ToolExecutionEntry) error
- func (t ConversationHistory_Entries_Item) MarshalJSON() ([]byte, error)
- func (t *ConversationHistory_Entries_Item) MergeAgentHandoffEntry(v AgentHandoffEntry) error
- func (t *ConversationHistory_Entries_Item) MergeFunctionCallEntry(v FunctionCallEntry) error
- func (t *ConversationHistory_Entries_Item) MergeFunctionResultEntry(v FunctionResultEntry) error
- func (t *ConversationHistory_Entries_Item) MergeMessageInputEntry(v MessageInputEntry) error
- func (t *ConversationHistory_Entries_Item) MergeMessageOutputEntry(v MessageOutputEntry) error
- func (t *ConversationHistory_Entries_Item) MergeToolExecutionEntry(v ToolExecutionEntry) error
- func (t *ConversationHistory_Entries_Item) UnmarshalJSON(b []byte) error
- type ConversationInputs
- func (t ConversationInputs) AsConversationInputs0() (ConversationInputs0, error)
- func (t ConversationInputs) AsInputEntries() (InputEntries, error)
- func (t *ConversationInputs) FromConversationInputs0(v ConversationInputs0) error
- func (t *ConversationInputs) FromInputEntries(v InputEntries) error
- func (t ConversationInputs) MarshalJSON() ([]byte, error)
- func (t *ConversationInputs) MergeConversationInputs0(v ConversationInputs0) error
- func (t *ConversationInputs) MergeInputEntries(v InputEntries) error
- func (t *ConversationInputs) UnmarshalJSON(b []byte) error
- type ConversationInputs0
- type ConversationMessages
- type ConversationMessagesObject
- type ConversationPayload
- type ConversationRequest
- type ConversationRequestAgentVersion0
- type ConversationRequestAgentVersion1
- type ConversationRequestBase
- type ConversationRequestBaseAgentVersion0
- type ConversationRequestBaseAgentVersion1
- type ConversationRequestBaseHandoffExecution
- type ConversationRequestBase_AgentVersion
- func (t ConversationRequestBase_AgentVersion) AsConversationRequestBaseAgentVersion0() (ConversationRequestBaseAgentVersion0, error)
- func (t ConversationRequestBase_AgentVersion) AsConversationRequestBaseAgentVersion1() (ConversationRequestBaseAgentVersion1, error)
- func (t *ConversationRequestBase_AgentVersion) FromConversationRequestBaseAgentVersion0(v ConversationRequestBaseAgentVersion0) error
- func (t *ConversationRequestBase_AgentVersion) FromConversationRequestBaseAgentVersion1(v ConversationRequestBaseAgentVersion1) error
- func (t ConversationRequestBase_AgentVersion) MarshalJSON() ([]byte, error)
- func (t *ConversationRequestBase_AgentVersion) MergeConversationRequestBaseAgentVersion0(v ConversationRequestBaseAgentVersion0) error
- func (t *ConversationRequestBase_AgentVersion) MergeConversationRequestBaseAgentVersion1(v ConversationRequestBaseAgentVersion1) error
- func (t *ConversationRequestBase_AgentVersion) UnmarshalJSON(b []byte) error
- type ConversationRequestBase_Tools_Item
- func (t ConversationRequestBase_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)
- func (t ConversationRequestBase_Tools_Item) AsCustomConnector() (CustomConnector, error)
- func (t ConversationRequestBase_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)
- func (t ConversationRequestBase_Tools_Item) AsFunctionTool() (FunctionTool, error)
- func (t ConversationRequestBase_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)
- func (t ConversationRequestBase_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)
- func (t ConversationRequestBase_Tools_Item) AsWebSearchTool() (WebSearchTool, error)
- func (t ConversationRequestBase_Tools_Item) Discriminator() (string, error)
- func (t *ConversationRequestBase_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error
- func (t *ConversationRequestBase_Tools_Item) FromCustomConnector(v CustomConnector) error
- func (t *ConversationRequestBase_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error
- func (t *ConversationRequestBase_Tools_Item) FromFunctionTool(v FunctionTool) error
- func (t *ConversationRequestBase_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error
- func (t *ConversationRequestBase_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error
- func (t *ConversationRequestBase_Tools_Item) FromWebSearchTool(v WebSearchTool) error
- func (t ConversationRequestBase_Tools_Item) MarshalJSON() ([]byte, error)
- func (t *ConversationRequestBase_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error
- func (t *ConversationRequestBase_Tools_Item) MergeCustomConnector(v CustomConnector) error
- func (t *ConversationRequestBase_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error
- func (t *ConversationRequestBase_Tools_Item) MergeFunctionTool(v FunctionTool) error
- func (t *ConversationRequestBase_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error
- func (t *ConversationRequestBase_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error
- func (t *ConversationRequestBase_Tools_Item) MergeWebSearchTool(v WebSearchTool) error
- func (t *ConversationRequestBase_Tools_Item) UnmarshalJSON(b []byte) error
- func (t ConversationRequestBase_Tools_Item) ValueByDiscriminator() (interface{}, error)
- type ConversationRequestHandoffExecution
- type ConversationRequestStream
- type ConversationRequest_AgentVersion
- func (t ConversationRequest_AgentVersion) AsConversationRequestAgentVersion0() (ConversationRequestAgentVersion0, error)
- func (t ConversationRequest_AgentVersion) AsConversationRequestAgentVersion1() (ConversationRequestAgentVersion1, error)
- func (t *ConversationRequest_AgentVersion) FromConversationRequestAgentVersion0(v ConversationRequestAgentVersion0) error
- func (t *ConversationRequest_AgentVersion) FromConversationRequestAgentVersion1(v ConversationRequestAgentVersion1) error
- func (t ConversationRequest_AgentVersion) MarshalJSON() ([]byte, error)
- func (t *ConversationRequest_AgentVersion) MergeConversationRequestAgentVersion0(v ConversationRequestAgentVersion0) error
- func (t *ConversationRequest_AgentVersion) MergeConversationRequestAgentVersion1(v ConversationRequestAgentVersion1) error
- func (t *ConversationRequest_AgentVersion) UnmarshalJSON(b []byte) error
- type ConversationRequest_Tools_Item
- func (t ConversationRequest_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)
- func (t ConversationRequest_Tools_Item) AsCustomConnector() (CustomConnector, error)
- func (t ConversationRequest_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)
- func (t ConversationRequest_Tools_Item) AsFunctionTool() (FunctionTool, error)
- func (t ConversationRequest_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)
- func (t ConversationRequest_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)
- func (t ConversationRequest_Tools_Item) AsWebSearchTool() (WebSearchTool, error)
- func (t ConversationRequest_Tools_Item) Discriminator() (string, error)
- func (t *ConversationRequest_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error
- func (t *ConversationRequest_Tools_Item) FromCustomConnector(v CustomConnector) error
- func (t *ConversationRequest_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error
- func (t *ConversationRequest_Tools_Item) FromFunctionTool(v FunctionTool) error
- func (t *ConversationRequest_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error
- func (t *ConversationRequest_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error
- func (t *ConversationRequest_Tools_Item) FromWebSearchTool(v WebSearchTool) error
- func (t ConversationRequest_Tools_Item) MarshalJSON() ([]byte, error)
- func (t *ConversationRequest_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error
- func (t *ConversationRequest_Tools_Item) MergeCustomConnector(v CustomConnector) error
- func (t *ConversationRequest_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error
- func (t *ConversationRequest_Tools_Item) MergeFunctionTool(v FunctionTool) error
- func (t *ConversationRequest_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error
- func (t *ConversationRequest_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error
- func (t *ConversationRequest_Tools_Item) MergeWebSearchTool(v WebSearchTool) error
- func (t *ConversationRequest_Tools_Item) UnmarshalJSON(b []byte) error
- func (t ConversationRequest_Tools_Item) ValueByDiscriminator() (interface{}, error)
- type ConversationResponse
- type ConversationResponseObject
- type ConversationResponse_Outputs_Item
- func (t ConversationResponse_Outputs_Item) AsAgentHandoffEntry() (AgentHandoffEntry, error)
- func (t ConversationResponse_Outputs_Item) AsFunctionCallEntry() (FunctionCallEntry, error)
- func (t ConversationResponse_Outputs_Item) AsMessageOutputEntry() (MessageOutputEntry, error)
- func (t ConversationResponse_Outputs_Item) AsToolExecutionEntry() (ToolExecutionEntry, error)
- func (t *ConversationResponse_Outputs_Item) FromAgentHandoffEntry(v AgentHandoffEntry) error
- func (t *ConversationResponse_Outputs_Item) FromFunctionCallEntry(v FunctionCallEntry) error
- func (t *ConversationResponse_Outputs_Item) FromMessageOutputEntry(v MessageOutputEntry) error
- func (t *ConversationResponse_Outputs_Item) FromToolExecutionEntry(v ToolExecutionEntry) error
- func (t ConversationResponse_Outputs_Item) MarshalJSON() ([]byte, error)
- func (t *ConversationResponse_Outputs_Item) MergeAgentHandoffEntry(v AgentHandoffEntry) error
- func (t *ConversationResponse_Outputs_Item) MergeFunctionCallEntry(v FunctionCallEntry) error
- func (t *ConversationResponse_Outputs_Item) MergeMessageOutputEntry(v MessageOutputEntry) error
- func (t *ConversationResponse_Outputs_Item) MergeToolExecutionEntry(v ToolExecutionEntry) error
- func (t *ConversationResponse_Outputs_Item) UnmarshalJSON(b []byte) error
- type ConversationRestartRequest
- type ConversationRestartRequestAgentVersion0
- type ConversationRestartRequestAgentVersion1
- type ConversationRestartRequestBase
- type ConversationRestartRequestBaseAgentVersion0
- type ConversationRestartRequestBaseAgentVersion1
- type ConversationRestartRequestBaseHandoffExecution
- type ConversationRestartRequestBase_AgentVersion
- func (t ConversationRestartRequestBase_AgentVersion) AsConversationRestartRequestBaseAgentVersion0() (ConversationRestartRequestBaseAgentVersion0, error)
- func (t ConversationRestartRequestBase_AgentVersion) AsConversationRestartRequestBaseAgentVersion1() (ConversationRestartRequestBaseAgentVersion1, error)
- func (t *ConversationRestartRequestBase_AgentVersion) FromConversationRestartRequestBaseAgentVersion0(v ConversationRestartRequestBaseAgentVersion0) error
- func (t *ConversationRestartRequestBase_AgentVersion) FromConversationRestartRequestBaseAgentVersion1(v ConversationRestartRequestBaseAgentVersion1) error
- func (t ConversationRestartRequestBase_AgentVersion) MarshalJSON() ([]byte, error)
- func (t *ConversationRestartRequestBase_AgentVersion) MergeConversationRestartRequestBaseAgentVersion0(v ConversationRestartRequestBaseAgentVersion0) error
- func (t *ConversationRestartRequestBase_AgentVersion) MergeConversationRestartRequestBaseAgentVersion1(v ConversationRestartRequestBaseAgentVersion1) error
- func (t *ConversationRestartRequestBase_AgentVersion) UnmarshalJSON(b []byte) error
- type ConversationRestartRequestHandoffExecution
- type ConversationRestartRequestStream
- type ConversationRestartRequest_AgentVersion
- func (t ConversationRestartRequest_AgentVersion) AsConversationRestartRequestAgentVersion0() (ConversationRestartRequestAgentVersion0, error)
- func (t ConversationRestartRequest_AgentVersion) AsConversationRestartRequestAgentVersion1() (ConversationRestartRequestAgentVersion1, error)
- func (t *ConversationRestartRequest_AgentVersion) FromConversationRestartRequestAgentVersion0(v ConversationRestartRequestAgentVersion0) error
- func (t *ConversationRestartRequest_AgentVersion) FromConversationRestartRequestAgentVersion1(v ConversationRestartRequestAgentVersion1) error
- func (t ConversationRestartRequest_AgentVersion) MarshalJSON() ([]byte, error)
- func (t *ConversationRestartRequest_AgentVersion) MergeConversationRestartRequestAgentVersion0(v ConversationRestartRequestAgentVersion0) error
- func (t *ConversationRestartRequest_AgentVersion) MergeConversationRestartRequestAgentVersion1(v ConversationRestartRequestAgentVersion1) error
- func (t *ConversationRestartRequest_AgentVersion) UnmarshalJSON(b []byte) error
- type ConversationRestartStreamRequest
- type ConversationRestartStreamRequestAgentVersion0
- type ConversationRestartStreamRequestAgentVersion1
- type ConversationRestartStreamRequestHandoffExecution
- type ConversationRestartStreamRequestStream
- type ConversationRestartStreamRequest_AgentVersion
- func (t ConversationRestartStreamRequest_AgentVersion) AsConversationRestartStreamRequestAgentVersion0() (ConversationRestartStreamRequestAgentVersion0, error)
- func (t ConversationRestartStreamRequest_AgentVersion) AsConversationRestartStreamRequestAgentVersion1() (ConversationRestartStreamRequestAgentVersion1, error)
- func (t *ConversationRestartStreamRequest_AgentVersion) FromConversationRestartStreamRequestAgentVersion0(v ConversationRestartStreamRequestAgentVersion0) error
- func (t *ConversationRestartStreamRequest_AgentVersion) FromConversationRestartStreamRequestAgentVersion1(v ConversationRestartStreamRequestAgentVersion1) error
- func (t ConversationRestartStreamRequest_AgentVersion) MarshalJSON() ([]byte, error)
- func (t *ConversationRestartStreamRequest_AgentVersion) MergeConversationRestartStreamRequestAgentVersion0(v ConversationRestartStreamRequestAgentVersion0) error
- func (t *ConversationRestartStreamRequest_AgentVersion) MergeConversationRestartStreamRequestAgentVersion1(v ConversationRestartStreamRequestAgentVersion1) error
- func (t *ConversationRestartStreamRequest_AgentVersion) UnmarshalJSON(b []byte) error
- type ConversationSource
- type ConversationStreamRequest
- type ConversationStreamRequestAgentVersion0
- type ConversationStreamRequestAgentVersion1
- type ConversationStreamRequestHandoffExecution
- type ConversationStreamRequestStream
- type ConversationStreamRequest_AgentVersion
- func (t ConversationStreamRequest_AgentVersion) AsConversationStreamRequestAgentVersion0() (ConversationStreamRequestAgentVersion0, error)
- func (t ConversationStreamRequest_AgentVersion) AsConversationStreamRequestAgentVersion1() (ConversationStreamRequestAgentVersion1, error)
- func (t *ConversationStreamRequest_AgentVersion) FromConversationStreamRequestAgentVersion0(v ConversationStreamRequestAgentVersion0) error
- func (t *ConversationStreamRequest_AgentVersion) FromConversationStreamRequestAgentVersion1(v ConversationStreamRequestAgentVersion1) error
- func (t ConversationStreamRequest_AgentVersion) MarshalJSON() ([]byte, error)
- func (t *ConversationStreamRequest_AgentVersion) MergeConversationStreamRequestAgentVersion0(v ConversationStreamRequestAgentVersion0) error
- func (t *ConversationStreamRequest_AgentVersion) MergeConversationStreamRequestAgentVersion1(v ConversationStreamRequestAgentVersion1) error
- func (t *ConversationStreamRequest_AgentVersion) UnmarshalJSON(b []byte) error
- type ConversationStreamRequest_Tools_Item
- func (t ConversationStreamRequest_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)
- func (t ConversationStreamRequest_Tools_Item) AsCustomConnector() (CustomConnector, error)
- func (t ConversationStreamRequest_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)
- func (t ConversationStreamRequest_Tools_Item) AsFunctionTool() (FunctionTool, error)
- func (t ConversationStreamRequest_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)
- func (t ConversationStreamRequest_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)
- func (t ConversationStreamRequest_Tools_Item) AsWebSearchTool() (WebSearchTool, error)
- func (t ConversationStreamRequest_Tools_Item) Discriminator() (string, error)
- func (t *ConversationStreamRequest_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error
- func (t *ConversationStreamRequest_Tools_Item) FromCustomConnector(v CustomConnector) error
- func (t *ConversationStreamRequest_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error
- func (t *ConversationStreamRequest_Tools_Item) FromFunctionTool(v FunctionTool) error
- func (t *ConversationStreamRequest_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error
- func (t *ConversationStreamRequest_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error
- func (t *ConversationStreamRequest_Tools_Item) FromWebSearchTool(v WebSearchTool) error
- func (t ConversationStreamRequest_Tools_Item) MarshalJSON() ([]byte, error)
- func (t *ConversationStreamRequest_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error
- func (t *ConversationStreamRequest_Tools_Item) MergeCustomConnector(v CustomConnector) error
- func (t *ConversationStreamRequest_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error
- func (t *ConversationStreamRequest_Tools_Item) MergeFunctionTool(v FunctionTool) error
- func (t *ConversationStreamRequest_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error
- func (t *ConversationStreamRequest_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error
- func (t *ConversationStreamRequest_Tools_Item) MergeWebSearchTool(v WebSearchTool) error
- func (t *ConversationStreamRequest_Tools_Item) UnmarshalJSON(b []byte) error
- func (t ConversationStreamRequest_Tools_Item) ValueByDiscriminator() (interface{}, error)
- type ConversationUsageInfo
- type CreateCampaignV1ObservabilityCampaignsPostJSONRequestBody
- type CreateCampaignV1ObservabilityCampaignsPostResponse
- func (r CreateCampaignV1ObservabilityCampaignsPostResponse) ContentType() string
- func (r CreateCampaignV1ObservabilityCampaignsPostResponse) GetBody() []byte
- func (r CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON201() *CampaignPreview
- func (r CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON400() *ObservabilityError
- func (r CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON404() *ObservabilityError
- func (r CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON408() *ObservabilityError
- func (r CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON409() *ObservabilityError
- func (r CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON422() *ObservabilityError
- func (r CreateCampaignV1ObservabilityCampaignsPostResponse) Status() string
- func (r CreateCampaignV1ObservabilityCampaignsPostResponse) StatusCode() int
- type CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostJSONRequestBody
- type CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse
- func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) ContentType() string
- func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetBody() []byte
- func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON201() *DatasetRecord
- func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON400() *ObservabilityError
- func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON404() *ObservabilityError
- func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON408() *ObservabilityError
- func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON409() *ObservabilityError
- func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON422() *ObservabilityError
- func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) Status() string
- func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) StatusCode() int
- type CreateDatasetV1ObservabilityDatasetsPostJSONRequestBody
- type CreateDatasetV1ObservabilityDatasetsPostResponse
- func (r CreateDatasetV1ObservabilityDatasetsPostResponse) ContentType() string
- func (r CreateDatasetV1ObservabilityDatasetsPostResponse) GetBody() []byte
- func (r CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON201() *Dataset
- func (r CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON400() *ObservabilityError
- func (r CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON404() *ObservabilityError
- func (r CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON408() *ObservabilityError
- func (r CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON409() *ObservabilityError
- func (r CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON422() *ObservabilityError
- func (r CreateDatasetV1ObservabilityDatasetsPostResponse) Status() string
- func (r CreateDatasetV1ObservabilityDatasetsPostResponse) StatusCode() int
- type CreateJudgeV1ObservabilityJudgesPostJSONRequestBody
- type CreateJudgeV1ObservabilityJudgesPostResponse
- func (r CreateJudgeV1ObservabilityJudgesPostResponse) ContentType() string
- func (r CreateJudgeV1ObservabilityJudgesPostResponse) GetBody() []byte
- func (r CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON201() *JudgePreview
- func (r CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON400() *ObservabilityError
- func (r CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON404() *ObservabilityError
- func (r CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON408() *ObservabilityError
- func (r CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON409() *ObservabilityError
- func (r CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON422() *ObservabilityError
- func (r CreateJudgeV1ObservabilityJudgesPostResponse) Status() string
- func (r CreateJudgeV1ObservabilityJudgesPostResponse) StatusCode() int
- type CreateVoiceV1AudioVoicesPostJSONRequestBody
- type CreateVoiceV1AudioVoicesPostResponse
- func (r CreateVoiceV1AudioVoicesPostResponse) ContentType() string
- func (r CreateVoiceV1AudioVoicesPostResponse) GetBody() []byte
- func (r CreateVoiceV1AudioVoicesPostResponse) GetJSON200() *VoiceResponse
- func (r CreateVoiceV1AudioVoicesPostResponse) GetJSON422() *HTTPValidationError
- func (r CreateVoiceV1AudioVoicesPostResponse) Status() string
- func (r CreateVoiceV1AudioVoicesPostResponse) StatusCode() int
- type CredentialsCreateOrUpdate
- type CredentialsResponse
- type CustomConnector
- type CustomConnectorType
- type CustomTaskCanceledAttributes
- type CustomTaskCanceledResponse
- type CustomTaskCanceledResponseEventType
- type CustomTaskCompletedAttributesResponse
- type CustomTaskCompletedResponse
- type CustomTaskCompletedResponseEventType
- type CustomTaskFailedAttributes
- type CustomTaskFailedResponse
- type CustomTaskFailedResponseEventType
- type CustomTaskInProgressAttributesResponse
- type CustomTaskInProgressAttributesResponse_Payload
- func (t CustomTaskInProgressAttributesResponse_Payload) AsJSONPatchPayloadResponse() (JSONPatchPayloadResponse, error)
- func (t CustomTaskInProgressAttributesResponse_Payload) AsJSONPayloadResponse() (JSONPayloadResponse, error)
- func (t CustomTaskInProgressAttributesResponse_Payload) Discriminator() (string, error)
- func (t *CustomTaskInProgressAttributesResponse_Payload) FromJSONPatchPayloadResponse(v JSONPatchPayloadResponse) error
- func (t *CustomTaskInProgressAttributesResponse_Payload) FromJSONPayloadResponse(v JSONPayloadResponse) error
- func (t CustomTaskInProgressAttributesResponse_Payload) MarshalJSON() ([]byte, error)
- func (t *CustomTaskInProgressAttributesResponse_Payload) MergeJSONPatchPayloadResponse(v JSONPatchPayloadResponse) error
- func (t *CustomTaskInProgressAttributesResponse_Payload) MergeJSONPayloadResponse(v JSONPayloadResponse) error
- func (t *CustomTaskInProgressAttributesResponse_Payload) UnmarshalJSON(b []byte) error
- func (t CustomTaskInProgressAttributesResponse_Payload) ValueByDiscriminator() (interface{}, error)
- type CustomTaskInProgressResponse
- type CustomTaskInProgressResponseEventType
- type CustomTaskStartedAttributesResponse
- type CustomTaskStartedResponse
- type CustomTaskStartedResponseEventType
- type CustomTaskTimedOutAttributes
- type CustomTaskTimedOutResponse
- type CustomTaskTimedOutResponseEventType
- type Dataset
- type DatasetExport
- type DatasetImportTask
- type DatasetImportTasks
- type DatasetPreview
- type DatasetPreviews
- type DatasetRecord
- type DatasetRecords
- type DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse
- func (r DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) ContentType() string
- func (r DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetBody() []byte
- func (r DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON400() *ObservabilityError
- func (r DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON404() *ObservabilityError
- func (r DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON408() *ObservabilityError
- func (r DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON409() *ObservabilityError
- func (r DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON422() *ObservabilityError
- func (r DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) Status() string
- func (r DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) StatusCode() int
- type DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse
- func (r DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) ContentType() string
- func (r DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetBody() []byte
- func (r DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON400() *ObservabilityError
- func (r DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON404() *ObservabilityError
- func (r DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON408() *ObservabilityError
- func (r DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON409() *ObservabilityError
- func (r DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON422() *ObservabilityError
- func (r DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) Status() string
- func (r DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) StatusCode() int
- type DeleteDatasetRecordsInSchema
- type DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostJSONRequestBody
- type DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse
- func (r DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) ContentType() string
- func (r DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetBody() []byte
- func (r DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON400() *ObservabilityError
- func (r DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON404() *ObservabilityError
- func (r DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON408() *ObservabilityError
- func (r DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON409() *ObservabilityError
- func (r DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON422() *ObservabilityError
- func (r DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) Status() string
- func (r DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) StatusCode() int
- type DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse
- func (r DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) ContentType() string
- func (r DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetBody() []byte
- func (r DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON400() *ObservabilityError
- func (r DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON404() *ObservabilityError
- func (r DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON408() *ObservabilityError
- func (r DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON409() *ObservabilityError
- func (r DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON422() *ObservabilityError
- func (r DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) Status() string
- func (r DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) StatusCode() int
- type DeleteFileOut
- type DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse
- func (r DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) ContentType() string
- func (r DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetBody() []byte
- func (r DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON400() *ObservabilityError
- func (r DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON404() *ObservabilityError
- func (r DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON408() *ObservabilityError
- func (r DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON409() *ObservabilityError
- func (r DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON422() *ObservabilityError
- func (r DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) Status() string
- func (r DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) StatusCode() int
- type DeleteModelOut
- type DeleteModelV1ModelsModelIdDeleteResponse
- func (r DeleteModelV1ModelsModelIdDeleteResponse) ContentType() string
- func (r DeleteModelV1ModelsModelIdDeleteResponse) GetBody() []byte
- func (r DeleteModelV1ModelsModelIdDeleteResponse) GetJSON200() *DeleteModelOut
- func (r DeleteModelV1ModelsModelIdDeleteResponse) GetJSON422() *HTTPValidationError
- func (r DeleteModelV1ModelsModelIdDeleteResponse) Status() string
- func (r DeleteModelV1ModelsModelIdDeleteResponse) StatusCode() int
- type DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse
- func (r DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) ContentType() string
- func (r DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) GetBody() []byte
- func (r DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) GetJSON200() *VoiceResponse
- func (r DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) GetJSON422() *HTTPValidationError
- func (r DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) Status() string
- func (r DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) StatusCode() int
- type DeltaMessage
- type DeltaMessageContent0
- type DeltaMessageContent2
- type DeltaMessage_Content
- func (t DeltaMessage_Content) AsDeltaMessageContent0() (DeltaMessageContent0, error)
- func (t DeltaMessage_Content) AsDeltaMessageContent2() (DeltaMessageContent2, error)
- func (t *DeltaMessage_Content) FromDeltaMessageContent0(v DeltaMessageContent0) error
- func (t *DeltaMessage_Content) FromDeltaMessageContent2(v DeltaMessageContent2) error
- func (t DeltaMessage_Content) MarshalJSON() ([]byte, error)
- func (t *DeltaMessage_Content) MergeDeltaMessageContent0(v DeltaMessageContent0) error
- func (t *DeltaMessage_Content) MergeDeltaMessageContent2(v DeltaMessageContent2) error
- func (t *DeltaMessage_Content) UnmarshalJSON(b []byte) error
- type DeploymentDetailResponse
- type DeploymentListResponse
- type DeploymentResponse
- type DeploymentWorkerResponse
- type DocumentLibraryTool
- type DocumentLibraryToolType
- type DocumentOut
- type DocumentTextContent
- type DocumentURLChunk
- type DocumentURLChunkType
- type DocumentUpdateIn
- type DocumentUpdateInAttributes0
- type DocumentUpdateInAttributes1
- type DocumentUpdateInAttributes2
- type DocumentUpdateInAttributes3
- type DocumentUpdateInAttributes4
- type DocumentUpdateInAttributes5
- type DocumentUpdateInAttributes6
- type DocumentUpdateInAttributes7
- type DocumentUpdateInAttributes8
- type DocumentUpdateIn_Attributes_AdditionalProperties
- func (t DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes0() (DocumentUpdateInAttributes0, error)
- func (t DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes1() (DocumentUpdateInAttributes1, error)
- func (t DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes2() (DocumentUpdateInAttributes2, error)
- func (t DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes3() (DocumentUpdateInAttributes3, error)
- func (t DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes4() (DocumentUpdateInAttributes4, error)
- func (t DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes5() (DocumentUpdateInAttributes5, error)
- func (t DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes6() (DocumentUpdateInAttributes6, error)
- func (t DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes7() (DocumentUpdateInAttributes7, error)
- func (t DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes8() (DocumentUpdateInAttributes8, error)
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes0(v DocumentUpdateInAttributes0) error
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes1(v DocumentUpdateInAttributes1) error
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes2(v DocumentUpdateInAttributes2) error
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes3(v DocumentUpdateInAttributes3) error
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes4(v DocumentUpdateInAttributes4) error
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes5(v DocumentUpdateInAttributes5) error
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes6(v DocumentUpdateInAttributes6) error
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes7(v DocumentUpdateInAttributes7) error
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes8(v DocumentUpdateInAttributes8) error
- func (t DocumentUpdateIn_Attributes_AdditionalProperties) MarshalJSON() ([]byte, error)
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes0(v DocumentUpdateInAttributes0) error
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes1(v DocumentUpdateInAttributes1) error
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes2(v DocumentUpdateInAttributes2) error
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes3(v DocumentUpdateInAttributes3) error
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes4(v DocumentUpdateInAttributes4) error
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes5(v DocumentUpdateInAttributes5) error
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes6(v DocumentUpdateInAttributes6) error
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes7(v DocumentUpdateInAttributes7) error
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes8(v DocumentUpdateInAttributes8) error
- func (t *DocumentUpdateIn_Attributes_AdditionalProperties) UnmarshalJSON(b []byte) error
- type EmbeddedResource
- type EmbeddedResourceType
- type EmbeddedResource_Resource
- func (t EmbeddedResource_Resource) AsBlobResourceContents() (BlobResourceContents, error)
- func (t EmbeddedResource_Resource) AsTextResourceContents() (TextResourceContents, error)
- func (t *EmbeddedResource_Resource) FromBlobResourceContents(v BlobResourceContents) error
- func (t *EmbeddedResource_Resource) FromTextResourceContents(v TextResourceContents) error
- func (t EmbeddedResource_Resource) MarshalJSON() ([]byte, error)
- func (t *EmbeddedResource_Resource) MergeBlobResourceContents(v BlobResourceContents) error
- func (t *EmbeddedResource_Resource) MergeTextResourceContents(v TextResourceContents) error
- func (t *EmbeddedResource_Resource) UnmarshalJSON(b []byte) error
- type EmbeddingDtype
- type EmbeddingRequest
- type EmbeddingRequestInput0
- type EmbeddingRequestInput1
- type EmbeddingRequest_Input
- func (t EmbeddingRequest_Input) AsEmbeddingRequestInput0() (EmbeddingRequestInput0, error)
- func (t EmbeddingRequest_Input) AsEmbeddingRequestInput1() (EmbeddingRequestInput1, error)
- func (t *EmbeddingRequest_Input) FromEmbeddingRequestInput0(v EmbeddingRequestInput0) error
- func (t *EmbeddingRequest_Input) FromEmbeddingRequestInput1(v EmbeddingRequestInput1) error
- func (t EmbeddingRequest_Input) MarshalJSON() ([]byte, error)
- func (t *EmbeddingRequest_Input) MergeEmbeddingRequestInput0(v EmbeddingRequestInput0) error
- func (t *EmbeddingRequest_Input) MergeEmbeddingRequestInput1(v EmbeddingRequestInput1) error
- func (t *EmbeddingRequest_Input) UnmarshalJSON(b []byte) error
- type EmbeddingResponse
- type EmbeddingResponseData
- type EmbeddingsV1EmbeddingsPostJSONRequestBody
- type EmbeddingsV1EmbeddingsPostResponse
- func (r EmbeddingsV1EmbeddingsPostResponse) ContentType() string
- func (r EmbeddingsV1EmbeddingsPostResponse) GetBody() []byte
- func (r EmbeddingsV1EmbeddingsPostResponse) GetJSON200() *EmbeddingResponse
- func (r EmbeddingsV1EmbeddingsPostResponse) GetJSON422() *HTTPValidationError
- func (r EmbeddingsV1EmbeddingsPostResponse) Status() string
- func (r EmbeddingsV1EmbeddingsPostResponse) StatusCode() int
- type EncodedPayloadOptions
- type EncodingFormat
- type EntityType
- type EventOut
- type EventProgressStatus
- type EventSource
- type EventType
- type ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody
- func (t ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) AsWorkflowExecutionResponse() (WorkflowExecutionResponse, error)
- func (t ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) AsWorkflowExecutionSyncResponse() (WorkflowExecutionSyncResponse, error)
- func (t *ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) FromWorkflowExecutionResponse(v WorkflowExecutionResponse) error
- func (t *ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) FromWorkflowExecutionSyncResponse(v WorkflowExecutionSyncResponse) error
- func (t ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) MergeWorkflowExecutionResponse(v WorkflowExecutionResponse) error
- func (t *ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) MergeWorkflowExecutionSyncResponse(v WorkflowExecutionSyncResponse) error
- func (t *ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) UnmarshalJSON(b []byte) error
- type ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostJSONRequestBodydeprecated
- type ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse
- func (r ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) ContentType() string
- func (r ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) GetBody() []byte
- func (r ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) GetJSON200() ...
- func (r ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) GetJSON422() *HTTPValidationError
- func (r ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) Status() string
- func (r ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) StatusCode() int
- type ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody
- func (t ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) AsWorkflowExecutionResponse() (WorkflowExecutionResponse, error)
- func (t ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) AsWorkflowExecutionSyncResponse() (WorkflowExecutionSyncResponse, error)
- func (t *ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) FromWorkflowExecutionResponse(v WorkflowExecutionResponse) error
- func (t *ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) FromWorkflowExecutionSyncResponse(v WorkflowExecutionSyncResponse) error
- func (t ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) MergeWorkflowExecutionResponse(v WorkflowExecutionResponse) error
- func (t *ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) MergeWorkflowExecutionSyncResponse(v WorkflowExecutionSyncResponse) error
- func (t *ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) UnmarshalJSON(b []byte) error
- type ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostJSONRequestBody
- type ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse
- func (r ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) ContentType() string
- func (r ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) GetBody() []byte
- func (r ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) GetJSON200() *ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody
- func (r ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) GetJSON422() *HTTPValidationError
- func (r ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) Status() string
- func (r ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) StatusCode() int
- type ExecutionConfig
- type ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse
- func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) ContentType() string
- func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetBody() []byte
- func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON200() *DatasetExport
- func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON400() *ObservabilityError
- func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON404() *ObservabilityError
- func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON408() *ObservabilityError
- func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON409() *ObservabilityError
- func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON422() *ObservabilityError
- func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) Status() string
- func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) StatusCode() int
- type FIMCompletionRequest
- type FIMCompletionRequestStop0
- type FIMCompletionRequestStop1
- type FIMCompletionRequest_Stop
- func (t FIMCompletionRequest_Stop) AsFIMCompletionRequestStop0() (FIMCompletionRequestStop0, error)
- func (t FIMCompletionRequest_Stop) AsFIMCompletionRequestStop1() (FIMCompletionRequestStop1, error)
- func (t *FIMCompletionRequest_Stop) FromFIMCompletionRequestStop0(v FIMCompletionRequestStop0) error
- func (t *FIMCompletionRequest_Stop) FromFIMCompletionRequestStop1(v FIMCompletionRequestStop1) error
- func (t FIMCompletionRequest_Stop) MarshalJSON() ([]byte, error)
- func (t *FIMCompletionRequest_Stop) MergeFIMCompletionRequestStop0(v FIMCompletionRequestStop0) error
- func (t *FIMCompletionRequest_Stop) MergeFIMCompletionRequestStop1(v FIMCompletionRequestStop1) error
- func (t *FIMCompletionRequest_Stop) UnmarshalJSON(b []byte) error
- type FIMCompletionResponse
- type FTClassifierLossFunction
- type FTModelCapabilitiesOut
- type FTModelCard
- type FTModelCardType
- type Failure
- type FeedResultChatCompletionEventPreview
- type FieldGroup
- type FieldOptionCountItem
- type FieldOptionCounts
- type FieldOptionCountsInSchema
- type File
- type FileChunk
- type FileChunkType
- type FilePurpose
- type FileSchema
- type FileSignedURL
- type FileVisibility
- type FilesApiRoutesDeleteFileResponse
- func (r FilesApiRoutesDeleteFileResponse) ContentType() string
- func (r FilesApiRoutesDeleteFileResponse) GetBody() []byte
- func (r FilesApiRoutesDeleteFileResponse) GetJSON200() *DeleteFileOut
- func (r FilesApiRoutesDeleteFileResponse) Status() string
- func (r FilesApiRoutesDeleteFileResponse) StatusCode() int
- type FilesApiRoutesDownloadFileResponse
- type FilesApiRoutesGetSignedUrlParams
- type FilesApiRoutesGetSignedUrlResponse
- func (r FilesApiRoutesGetSignedUrlResponse) ContentType() string
- func (r FilesApiRoutesGetSignedUrlResponse) GetBody() []byte
- func (r FilesApiRoutesGetSignedUrlResponse) GetJSON200() *FileSignedURL
- func (r FilesApiRoutesGetSignedUrlResponse) Status() string
- func (r FilesApiRoutesGetSignedUrlResponse) StatusCode() int
- type FilesApiRoutesListFilesParams
- type FilesApiRoutesListFilesResponse
- func (r FilesApiRoutesListFilesResponse) ContentType() string
- func (r FilesApiRoutesListFilesResponse) GetBody() []byte
- func (r FilesApiRoutesListFilesResponse) GetJSON200() *ListFilesOut
- func (r FilesApiRoutesListFilesResponse) Status() string
- func (r FilesApiRoutesListFilesResponse) StatusCode() int
- type FilesApiRoutesRetrieveFileResponse
- func (r FilesApiRoutesRetrieveFileResponse) ContentType() string
- func (r FilesApiRoutesRetrieveFileResponse) GetBody() []byte
- func (r FilesApiRoutesRetrieveFileResponse) GetJSON200() *RetrieveFileOut
- func (r FilesApiRoutesRetrieveFileResponse) Status() string
- func (r FilesApiRoutesRetrieveFileResponse) StatusCode() int
- type FilesApiRoutesUploadFileMultipartBody
- type FilesApiRoutesUploadFileMultipartBodyVisibility
- type FilesApiRoutesUploadFileMultipartRequestBody
- type FilesApiRoutesUploadFileResponse
- func (r FilesApiRoutesUploadFileResponse) ContentType() string
- func (r FilesApiRoutesUploadFileResponse) GetBody() []byte
- func (r FilesApiRoutesUploadFileResponse) GetJSON200() *UploadFileOut
- func (r FilesApiRoutesUploadFileResponse) Status() string
- func (r FilesApiRoutesUploadFileResponse) StatusCode() int
- type FilterCondition
- type FilterConditionOp
- type FilterGroup
- type FilterGroup_AND_Item
- func (t FilterGroup_AND_Item) AsFilterCondition() (FilterCondition, error)
- func (t FilterGroup_AND_Item) AsFilterGroup() (FilterGroup, error)
- func (t *FilterGroup_AND_Item) FromFilterCondition(v FilterCondition) error
- func (t *FilterGroup_AND_Item) FromFilterGroup(v FilterGroup) error
- func (t FilterGroup_AND_Item) MarshalJSON() ([]byte, error)
- func (t *FilterGroup_AND_Item) MergeFilterCondition(v FilterCondition) error
- func (t *FilterGroup_AND_Item) MergeFilterGroup(v FilterGroup) error
- func (t *FilterGroup_AND_Item) UnmarshalJSON(b []byte) error
- type FilterGroup_OR_Item
- func (t FilterGroup_OR_Item) AsFilterCondition() (FilterCondition, error)
- func (t FilterGroup_OR_Item) AsFilterGroup() (FilterGroup, error)
- func (t *FilterGroup_OR_Item) FromFilterCondition(v FilterCondition) error
- func (t *FilterGroup_OR_Item) FromFilterGroup(v FilterGroup) error
- func (t FilterGroup_OR_Item) MarshalJSON() ([]byte, error)
- func (t *FilterGroup_OR_Item) MergeFilterCondition(v FilterCondition) error
- func (t *FilterGroup_OR_Item) MergeFilterGroup(v FilterGroup) error
- func (t *FilterGroup_OR_Item) UnmarshalJSON(b []byte) error
- type FilterPayload
- type FilterPayload_Filters
- func (t FilterPayload_Filters) AsFilterCondition() (FilterCondition, error)
- func (t FilterPayload_Filters) AsFilterGroup() (FilterGroup, error)
- func (t *FilterPayload_Filters) FromFilterCondition(v FilterCondition) error
- func (t *FilterPayload_Filters) FromFilterGroup(v FilterGroup) error
- func (t FilterPayload_Filters) MarshalJSON() ([]byte, error)
- func (t *FilterPayload_Filters) MergeFilterCondition(v FilterCondition) error
- func (t *FilterPayload_Filters) MergeFilterGroup(v FilterGroup) error
- func (t *FilterPayload_Filters) UnmarshalJSON(b []byte) error
- type FimCompletionV1FimCompletionsPostJSONRequestBody
- type FimCompletionV1FimCompletionsPostResponse
- func (r FimCompletionV1FimCompletionsPostResponse) ContentType() string
- func (r FimCompletionV1FimCompletionsPostResponse) GetBody() []byte
- func (r FimCompletionV1FimCompletionsPostResponse) GetJSON200() *FIMCompletionResponse
- func (r FimCompletionV1FimCompletionsPostResponse) GetJSON422() *HTTPValidationError
- func (r FimCompletionV1FimCompletionsPostResponse) Status() string
- func (r FimCompletionV1FimCompletionsPostResponse) StatusCode() int
- type FineTuneableModelType
- type Function
- type FunctionCall
- type FunctionCallArguments0
- type FunctionCallArguments1
- type FunctionCallEntry
- type FunctionCallEntryArguments
- func (t FunctionCallEntryArguments) AsFunctionCallEntryArguments0() (FunctionCallEntryArguments0, error)
- func (t FunctionCallEntryArguments) AsFunctionCallEntryArguments1() (FunctionCallEntryArguments1, error)
- func (t *FunctionCallEntryArguments) FromFunctionCallEntryArguments0(v FunctionCallEntryArguments0) error
- func (t *FunctionCallEntryArguments) FromFunctionCallEntryArguments1(v FunctionCallEntryArguments1) error
- func (t FunctionCallEntryArguments) MarshalJSON() ([]byte, error)
- func (t *FunctionCallEntryArguments) MergeFunctionCallEntryArguments0(v FunctionCallEntryArguments0) error
- func (t *FunctionCallEntryArguments) MergeFunctionCallEntryArguments1(v FunctionCallEntryArguments1) error
- func (t *FunctionCallEntryArguments) UnmarshalJSON(b []byte) error
- type FunctionCallEntryArguments0
- type FunctionCallEntryArguments1
- type FunctionCallEntryConfirmationStatus
- type FunctionCallEntryObject
- type FunctionCallEntryType
- type FunctionCallEvent
- type FunctionCallEventConfirmationStatus
- type FunctionCallEventType
- type FunctionCall_Arguments
- func (t FunctionCall_Arguments) AsFunctionCallArguments0() (FunctionCallArguments0, error)
- func (t FunctionCall_Arguments) AsFunctionCallArguments1() (FunctionCallArguments1, error)
- func (t *FunctionCall_Arguments) FromFunctionCallArguments0(v FunctionCallArguments0) error
- func (t *FunctionCall_Arguments) FromFunctionCallArguments1(v FunctionCallArguments1) error
- func (t FunctionCall_Arguments) MarshalJSON() ([]byte, error)
- func (t *FunctionCall_Arguments) MergeFunctionCallArguments0(v FunctionCallArguments0) error
- func (t *FunctionCall_Arguments) MergeFunctionCallArguments1(v FunctionCallArguments1) error
- func (t *FunctionCall_Arguments) UnmarshalJSON(b []byte) error
- type FunctionName
- type FunctionResultEntry
- type FunctionResultEntryObject
- type FunctionResultEntryType
- type FunctionTool
- type FunctionToolType
- type GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse
- func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) ContentType() string
- func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetBody() []byte
- func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON200() *CampaignPreview
- func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON400() *ObservabilityError
- func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON404() *ObservabilityError
- func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON408() *ObservabilityError
- func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON409() *ObservabilityError
- func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON422() *ObservabilityError
- func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) Status() string
- func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) StatusCode() int
- type GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetParams
- type GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse
- func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) ContentType() string
- func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetBody() []byte
- func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON200() *CampaignSelectedEvents
- func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON400() *ObservabilityError
- func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON404() *ObservabilityError
- func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON408() *ObservabilityError
- func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON409() *ObservabilityError
- func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON422() *ObservabilityError
- func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) Status() string
- func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) StatusCode() int
- type GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse
- func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) ContentType() string
- func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetBody() []byte
- func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON200() *CampaignStatus
- func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON400() *ObservabilityError
- func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON404() *ObservabilityError
- func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON408() *ObservabilityError
- func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON409() *ObservabilityError
- func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON422() *ObservabilityError
- func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) Status() string
- func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) StatusCode() int
- type GetCampaignsV1ObservabilityCampaignsGetParams
- type GetCampaignsV1ObservabilityCampaignsGetResponse
- func (r GetCampaignsV1ObservabilityCampaignsGetResponse) ContentType() string
- func (r GetCampaignsV1ObservabilityCampaignsGetResponse) GetBody() []byte
- func (r GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON200() *CampaignPreviews
- func (r GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON400() *ObservabilityError
- func (r GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON404() *ObservabilityError
- func (r GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON408() *ObservabilityError
- func (r GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON409() *ObservabilityError
- func (r GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON422() *ObservabilityError
- func (r GetCampaignsV1ObservabilityCampaignsGetResponse) Status() string
- func (r GetCampaignsV1ObservabilityCampaignsGetResponse) StatusCode() int
- type GetChatCompletionEventIdsInSchema
- type GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostJSONRequestBody
- type GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse
- func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) ContentType() string
- func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetBody() []byte
- func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON200() *ChatCompletionEventIds
- func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON400() *ObservabilityError
- func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON404() *ObservabilityError
- func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON408() *ObservabilityError
- func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON409() *ObservabilityError
- func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON422() *ObservabilityError
- func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) Status() string
- func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) StatusCode() int
- type GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse
- func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) ContentType() string
- func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetBody() []byte
- func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON200() *ChatCompletionEvent
- func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON400() *ObservabilityError
- func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON404() *ObservabilityError
- func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON408() *ObservabilityError
- func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON409() *ObservabilityError
- func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON422() *ObservabilityError
- func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) Status() string
- func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) StatusCode() int
- type GetChatCompletionEventsInSchema
- type GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostJSONRequestBody
- type GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams
- type GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse
- func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) ContentType() string
- func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetBody() []byte
- func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON200() *ChatCompletionEvents
- func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON400() *ObservabilityError
- func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON404() *ObservabilityError
- func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON408() *ObservabilityError
- func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON409() *ObservabilityError
- func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON422() *ObservabilityError
- func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) Status() string
- func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) StatusCode() int
- type GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostJSONRequestBody
- type GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse
- func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) ContentType() string
- func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetBody() []byte
- func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON200() *FieldOptionCounts
- func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON400() *ObservabilityError
- func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON404() *ObservabilityError
- func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON408() *ObservabilityError
- func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON409() *ObservabilityError
- func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON422() *ObservabilityError
- func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) Status() string
- func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) StatusCode() int
- type GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParams
- type GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator
- type GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse
- func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) ContentType() string
- func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetBody() []byte
- func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON200() *ChatCompletionFieldOptions
- func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON400() *ObservabilityError
- func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON404() *ObservabilityError
- func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON408() *ObservabilityError
- func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON409() *ObservabilityError
- func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON422() *ObservabilityError
- func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) Status() string
- func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) StatusCode() int
- type GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse
- func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) ContentType() string
- func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetBody() []byte
- func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON200() *ChatCompletionFields
- func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON400() *ObservabilityError
- func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON404() *ObservabilityError
- func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON408() *ObservabilityError
- func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON409() *ObservabilityError
- func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON422() *ObservabilityError
- func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) Status() string
- func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) StatusCode() int
- type GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse
- func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) ContentType() string
- func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetBody() []byte
- func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON200() *DatasetPreview
- func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON400() *ObservabilityError
- func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON404() *ObservabilityError
- func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON408() *ObservabilityError
- func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON409() *ObservabilityError
- func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON422() *ObservabilityError
- func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) Status() string
- func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) StatusCode() int
- type GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse
- func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) ContentType() string
- func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetBody() []byte
- func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON200() *DatasetImportTask
- func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON400() *ObservabilityError
- func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON404() *ObservabilityError
- func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON408() *ObservabilityError
- func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON409() *ObservabilityError
- func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON422() *ObservabilityError
- func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) Status() string
- func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) StatusCode() int
- type GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetParams
- type GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse
- func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) ContentType() string
- func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetBody() []byte
- func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON200() *DatasetImportTasks
- func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON400() *ObservabilityError
- func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON404() *ObservabilityError
- func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON408() *ObservabilityError
- func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON409() *ObservabilityError
- func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON422() *ObservabilityError
- func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) Status() string
- func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) StatusCode() int
- type GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse
- func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) ContentType() string
- func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetBody() []byte
- func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON200() *DatasetRecord
- func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON400() *ObservabilityError
- func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON404() *ObservabilityError
- func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON408() *ObservabilityError
- func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON409() *ObservabilityError
- func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON422() *ObservabilityError
- func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) Status() string
- func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) StatusCode() int
- type GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetParams
- type GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse
- func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) ContentType() string
- func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetBody() []byte
- func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON200() *DatasetRecords
- func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON400() *ObservabilityError
- func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON404() *ObservabilityError
- func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON408() *ObservabilityError
- func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON409() *ObservabilityError
- func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON422() *ObservabilityError
- func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) Status() string
- func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) StatusCode() int
- type GetDatasetsV1ObservabilityDatasetsGetParams
- type GetDatasetsV1ObservabilityDatasetsGetResponse
- func (r GetDatasetsV1ObservabilityDatasetsGetResponse) ContentType() string
- func (r GetDatasetsV1ObservabilityDatasetsGetResponse) GetBody() []byte
- func (r GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON200() *DatasetPreviews
- func (r GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON400() *ObservabilityError
- func (r GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON404() *ObservabilityError
- func (r GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON408() *ObservabilityError
- func (r GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON409() *ObservabilityError
- func (r GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON422() *ObservabilityError
- func (r GetDatasetsV1ObservabilityDatasetsGetResponse) Status() string
- func (r GetDatasetsV1ObservabilityDatasetsGetResponse) StatusCode() int
- type GetDeploymentV1WorkflowsDeploymentsNameGetResponse
- func (r GetDeploymentV1WorkflowsDeploymentsNameGetResponse) ContentType() string
- func (r GetDeploymentV1WorkflowsDeploymentsNameGetResponse) GetBody() []byte
- func (r GetDeploymentV1WorkflowsDeploymentsNameGetResponse) GetJSON200() *DeploymentDetailResponse
- func (r GetDeploymentV1WorkflowsDeploymentsNameGetResponse) GetJSON422() *HTTPValidationError
- func (r GetDeploymentV1WorkflowsDeploymentsNameGetResponse) Status() string
- func (r GetDeploymentV1WorkflowsDeploymentsNameGetResponse) StatusCode() int
- type GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse
- func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) ContentType() string
- func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetBody() []byte
- func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON200() *JudgePreview
- func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON400() *ObservabilityError
- func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON404() *ObservabilityError
- func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON408() *ObservabilityError
- func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON409() *ObservabilityError
- func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON422() *ObservabilityError
- func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) Status() string
- func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) StatusCode() int
- type GetJudgesV1ObservabilityJudgesGetParams
- type GetJudgesV1ObservabilityJudgesGetResponse
- func (r GetJudgesV1ObservabilityJudgesGetResponse) ContentType() string
- func (r GetJudgesV1ObservabilityJudgesGetResponse) GetBody() []byte
- func (r GetJudgesV1ObservabilityJudgesGetResponse) GetJSON200() *JudgePreviews
- func (r GetJudgesV1ObservabilityJudgesGetResponse) GetJSON400() *ObservabilityError
- func (r GetJudgesV1ObservabilityJudgesGetResponse) GetJSON404() *ObservabilityError
- func (r GetJudgesV1ObservabilityJudgesGetResponse) GetJSON408() *ObservabilityError
- func (r GetJudgesV1ObservabilityJudgesGetResponse) GetJSON409() *ObservabilityError
- func (r GetJudgesV1ObservabilityJudgesGetResponse) GetJSON422() *ObservabilityError
- func (r GetJudgesV1ObservabilityJudgesGetResponse) Status() string
- func (r GetJudgesV1ObservabilityJudgesGetResponse) StatusCode() int
- type GetRunHistoryV1WorkflowsRunsRunIdHistoryGetParams
- type GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse
- func (r GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) ContentType() string
- func (r GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) GetBody() []byte
- func (r GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) GetJSON200() *interface{}
- func (r GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) GetJSON422() *HTTPValidationError
- func (r GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) Status() string
- func (r GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) StatusCode() int
- type GetRunV1WorkflowsRunsRunIdGetResponse
- func (r GetRunV1WorkflowsRunsRunIdGetResponse) ContentType() string
- func (r GetRunV1WorkflowsRunsRunIdGetResponse) GetBody() []byte
- func (r GetRunV1WorkflowsRunsRunIdGetResponse) GetJSON200() *WorkflowExecutionResponse
- func (r GetRunV1WorkflowsRunsRunIdGetResponse) GetJSON422() *HTTPValidationError
- func (r GetRunV1WorkflowsRunsRunIdGetResponse) Status() string
- func (r GetRunV1WorkflowsRunsRunIdGetResponse) StatusCode() int
- type GetSchedulesV1WorkflowsSchedulesGetResponse
- func (r GetSchedulesV1WorkflowsSchedulesGetResponse) ContentType() string
- func (r GetSchedulesV1WorkflowsSchedulesGetResponse) GetBody() []byte
- func (r GetSchedulesV1WorkflowsSchedulesGetResponse) GetJSON200() *WorkflowScheduleListResponse
- func (r GetSchedulesV1WorkflowsSchedulesGetResponse) Status() string
- func (r GetSchedulesV1WorkflowsSchedulesGetResponse) StatusCode() int
- type GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse
- func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) ContentType() string
- func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetBody() []byte
- func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON200() *ChatCompletionEvents
- func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON400() *ObservabilityError
- func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON404() *ObservabilityError
- func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON408() *ObservabilityError
- func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON409() *ObservabilityError
- func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON422() *ObservabilityError
- func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) Status() string
- func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) StatusCode() int
- type GetStreamEventsV1WorkflowsEventsStreamGetParams
- type GetStreamEventsV1WorkflowsEventsStreamGetParamsScope
- type GetStreamEventsV1WorkflowsEventsStreamGetResponse
- func (r GetStreamEventsV1WorkflowsEventsStreamGetResponse) ContentType() string
- func (r GetStreamEventsV1WorkflowsEventsStreamGetResponse) GetBody() []byte
- func (r GetStreamEventsV1WorkflowsEventsStreamGetResponse) GetJSON422() *HTTPValidationError
- func (r GetStreamEventsV1WorkflowsEventsStreamGetResponse) Status() string
- func (r GetStreamEventsV1WorkflowsEventsStreamGetResponse) StatusCode() int
- type GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse
- func (r GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) ContentType() string
- func (r GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) GetBody() []byte
- func (r GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) GetJSON200() *string
- func (r GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) GetJSON422() *HTTPValidationError
- func (r GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) Status() string
- func (r GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) StatusCode() int
- type GetVoiceV1AudioVoicesVoiceIdGetResponse
- func (r GetVoiceV1AudioVoicesVoiceIdGetResponse) ContentType() string
- func (r GetVoiceV1AudioVoicesVoiceIdGetResponse) GetBody() []byte
- func (r GetVoiceV1AudioVoicesVoiceIdGetResponse) GetJSON200() *VoiceResponse
- func (r GetVoiceV1AudioVoicesVoiceIdGetResponse) GetJSON422() *HTTPValidationError
- func (r GetVoiceV1AudioVoicesVoiceIdGetResponse) Status() string
- func (r GetVoiceV1AudioVoicesVoiceIdGetResponse) StatusCode() int
- type GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse
- func (r GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) ContentType() string
- func (r GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) GetBody() []byte
- func (r GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) GetJSON200() *WorkerInfo
- func (r GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) Status() string
- func (r GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) StatusCode() int
- type GetWorkflowEventsV1WorkflowsEventsListGetParams
- type GetWorkflowEventsV1WorkflowsEventsListGetResponse
- func (r GetWorkflowEventsV1WorkflowsEventsListGetResponse) ContentType() string
- func (r GetWorkflowEventsV1WorkflowsEventsListGetResponse) GetBody() []byte
- func (r GetWorkflowEventsV1WorkflowsEventsListGetResponse) GetJSON200() *ListWorkflowEventResponse
- func (r GetWorkflowEventsV1WorkflowsEventsListGetResponse) GetJSON422() *HTTPValidationError
- func (r GetWorkflowEventsV1WorkflowsEventsListGetResponse) Status() string
- func (r GetWorkflowEventsV1WorkflowsEventsListGetResponse) StatusCode() int
- type GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetParams
- type GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse
- func (r GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) ContentType() string
- func (r GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) GetBody() []byte
- func (r GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) GetJSON200() *interface{}
- func (r GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) GetJSON422() *HTTPValidationError
- func (r GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) Status() string
- func (r GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) StatusCode() int
- type GetWorkflowExecutionTraceEventsParams
- type GetWorkflowExecutionTraceEventsResponse
- func (r GetWorkflowExecutionTraceEventsResponse) ContentType() string
- func (r GetWorkflowExecutionTraceEventsResponse) GetBody() []byte
- func (r GetWorkflowExecutionTraceEventsResponse) GetJSON200() *WorkflowExecutionTraceEventsResponse
- func (r GetWorkflowExecutionTraceEventsResponse) GetJSON422() *HTTPValidationError
- func (r GetWorkflowExecutionTraceEventsResponse) Status() string
- func (r GetWorkflowExecutionTraceEventsResponse) StatusCode() int
- type GetWorkflowExecutionTraceOtelResponse
- func (r GetWorkflowExecutionTraceOtelResponse) ContentType() string
- func (r GetWorkflowExecutionTraceOtelResponse) GetBody() []byte
- func (r GetWorkflowExecutionTraceOtelResponse) GetJSON200() *WorkflowExecutionTraceOTelResponse
- func (r GetWorkflowExecutionTraceOtelResponse) GetJSON422() *HTTPValidationError
- func (r GetWorkflowExecutionTraceOtelResponse) Status() string
- func (r GetWorkflowExecutionTraceOtelResponse) StatusCode() int
- type GetWorkflowExecutionTraceSummaryResponse
- func (r GetWorkflowExecutionTraceSummaryResponse) ContentType() string
- func (r GetWorkflowExecutionTraceSummaryResponse) GetBody() []byte
- func (r GetWorkflowExecutionTraceSummaryResponse) GetJSON200() *WorkflowExecutionTraceSummaryResponse
- func (r GetWorkflowExecutionTraceSummaryResponse) GetJSON422() *HTTPValidationError
- func (r GetWorkflowExecutionTraceSummaryResponse) Status() string
- func (r GetWorkflowExecutionTraceSummaryResponse) StatusCode() int
- type GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse
- func (r GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) ContentType() string
- func (r GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) GetBody() []byte
- func (r GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) GetJSON200() *WorkflowExecutionResponse
- func (r GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) GetJSON422() *HTTPValidationError
- func (r GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) Status() string
- func (r GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) StatusCode() int
- type GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetParams
- type GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse
- func (r GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) ContentType() string
- func (r GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) GetBody() []byte
- func (r GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) GetJSON200() *WorkflowMetrics
- func (r GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) GetJSON422() *HTTPValidationError
- func (r GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) Status() string
- func (r GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) StatusCode() int
- type GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetParams
- type GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse
- func (r GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) ContentType() string
- func (r GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) GetBody() []byte
- func (r GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) GetJSON200() *WorkflowRegistrationGetResponse
- func (r GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) GetJSON422() *HTTPValidationError
- func (r GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) Status() string
- func (r GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) StatusCode() int
- type GetWorkflowRegistrationsV1WorkflowsRegistrationsGetParams
- type GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse
- func (r GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) ContentType() string
- func (r GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) GetBody() []byte
- func (r GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) GetJSON200() *WorkflowRegistrationListResponse
- func (r GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) GetJSON422() *HTTPValidationError
- func (r GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) Status() string
- func (r GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) StatusCode() int
- type GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse
- func (r GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) ContentType() string
- func (r GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) GetBody() []byte
- func (r GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) GetJSON200() *WorkflowGetResponse
- func (r GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) GetJSON422() *HTTPValidationError
- func (r GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) Status() string
- func (r GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) StatusCode() int
- type GithubRepositoryIn
- type GithubRepositoryInType
- type GithubRepositoryOut
- type GithubRepositoryOutType
- type GuardrailConfig
- type HTTPValidationError
- type HttpRequestDoer
- type ImageContent
- type ImageContentType
- type ImageDetail
- type ImageGenerationTool
- type ImageGenerationToolType
- type ImageURL
- type ImageURLChunk
- type ImageURLChunkImageUrl1
- type ImageURLChunkType
- type ImageURLChunk_ImageUrl
- func (t ImageURLChunk_ImageUrl) AsImageURL() (ImageURL, error)
- func (t ImageURLChunk_ImageUrl) AsImageURLChunkImageUrl1() (ImageURLChunkImageUrl1, error)
- func (t *ImageURLChunk_ImageUrl) FromImageURL(v ImageURL) error
- func (t *ImageURLChunk_ImageUrl) FromImageURLChunkImageUrl1(v ImageURLChunkImageUrl1) error
- func (t ImageURLChunk_ImageUrl) MarshalJSON() ([]byte, error)
- func (t *ImageURLChunk_ImageUrl) MergeImageURL(v ImageURL) error
- func (t *ImageURLChunk_ImageUrl) MergeImageURLChunkImageUrl1(v ImageURLChunkImageUrl1) error
- func (t *ImageURLChunk_ImageUrl) UnmarshalJSON(b []byte) error
- type InputEntries
- type InputEntries_Item
- func (t InputEntries_Item) AsAgentHandoffEntry() (AgentHandoffEntry, error)
- func (t InputEntries_Item) AsFunctionCallEntry() (FunctionCallEntry, error)
- func (t InputEntries_Item) AsFunctionResultEntry() (FunctionResultEntry, error)
- func (t InputEntries_Item) AsMessageInputEntry() (MessageInputEntry, error)
- func (t InputEntries_Item) AsMessageOutputEntry() (MessageOutputEntry, error)
- func (t InputEntries_Item) AsToolExecutionEntry() (ToolExecutionEntry, error)
- func (t *InputEntries_Item) FromAgentHandoffEntry(v AgentHandoffEntry) error
- func (t *InputEntries_Item) FromFunctionCallEntry(v FunctionCallEntry) error
- func (t *InputEntries_Item) FromFunctionResultEntry(v FunctionResultEntry) error
- func (t *InputEntries_Item) FromMessageInputEntry(v MessageInputEntry) error
- func (t *InputEntries_Item) FromMessageOutputEntry(v MessageOutputEntry) error
- func (t *InputEntries_Item) FromToolExecutionEntry(v ToolExecutionEntry) error
- func (t InputEntries_Item) MarshalJSON() ([]byte, error)
- func (t *InputEntries_Item) MergeAgentHandoffEntry(v AgentHandoffEntry) error
- func (t *InputEntries_Item) MergeFunctionCallEntry(v FunctionCallEntry) error
- func (t *InputEntries_Item) MergeFunctionResultEntry(v FunctionResultEntry) error
- func (t *InputEntries_Item) MergeMessageInputEntry(v MessageInputEntry) error
- func (t *InputEntries_Item) MergeMessageOutputEntry(v MessageOutputEntry) error
- func (t *InputEntries_Item) MergeToolExecutionEntry(v ToolExecutionEntry) error
- func (t *InputEntries_Item) UnmarshalJSON(b []byte) error
- type InstructRequest
- type InstructRequest_Messages_Item
- func (t InstructRequest_Messages_Item) AsAssistantMessage() (AssistantMessage, error)
- func (t InstructRequest_Messages_Item) AsSystemMessage() (SystemMessage, error)
- func (t InstructRequest_Messages_Item) AsToolMessage() (ToolMessage, error)
- func (t InstructRequest_Messages_Item) AsUserMessage() (UserMessage, error)
- func (t InstructRequest_Messages_Item) Discriminator() (string, error)
- func (t *InstructRequest_Messages_Item) FromAssistantMessage(v AssistantMessage) error
- func (t *InstructRequest_Messages_Item) FromSystemMessage(v SystemMessage) error
- func (t *InstructRequest_Messages_Item) FromToolMessage(v ToolMessage) error
- func (t *InstructRequest_Messages_Item) FromUserMessage(v UserMessage) error
- func (t InstructRequest_Messages_Item) MarshalJSON() ([]byte, error)
- func (t *InstructRequest_Messages_Item) MergeAssistantMessage(v AssistantMessage) error
- func (t *InstructRequest_Messages_Item) MergeSystemMessage(v SystemMessage) error
- func (t *InstructRequest_Messages_Item) MergeToolMessage(v ToolMessage) error
- func (t *InstructRequest_Messages_Item) MergeUserMessage(v UserMessage) error
- func (t *InstructRequest_Messages_Item) UnmarshalJSON(b []byte) error
- func (t InstructRequest_Messages_Item) ValueByDiscriminator() (interface{}, error)
- type IntegrationsSchemasApiToolTool
- type IntegrationsSchemasTurbineToolLocale
- type JSONPatchAdd
- type JSONPatchAddOp
- type JSONPatchAppend
- type JSONPatchAppendOp
- type JSONPatchPayloadResponse
- type JSONPatchPayloadResponseType
- type JSONPatchPayloadResponse_Value_Item
- func (t JSONPatchPayloadResponse_Value_Item) AsJSONPatchAdd() (JSONPatchAdd, error)
- func (t JSONPatchPayloadResponse_Value_Item) AsJSONPatchAppend() (JSONPatchAppend, error)
- func (t JSONPatchPayloadResponse_Value_Item) AsJSONPatchRemove() (JSONPatchRemove, error)
- func (t JSONPatchPayloadResponse_Value_Item) AsJSONPatchReplace() (JSONPatchReplace, error)
- func (t JSONPatchPayloadResponse_Value_Item) Discriminator() (string, error)
- func (t *JSONPatchPayloadResponse_Value_Item) FromJSONPatchAdd(v JSONPatchAdd) error
- func (t *JSONPatchPayloadResponse_Value_Item) FromJSONPatchAppend(v JSONPatchAppend) error
- func (t *JSONPatchPayloadResponse_Value_Item) FromJSONPatchRemove(v JSONPatchRemove) error
- func (t *JSONPatchPayloadResponse_Value_Item) FromJSONPatchReplace(v JSONPatchReplace) error
- func (t JSONPatchPayloadResponse_Value_Item) MarshalJSON() ([]byte, error)
- func (t *JSONPatchPayloadResponse_Value_Item) MergeJSONPatchAdd(v JSONPatchAdd) error
- func (t *JSONPatchPayloadResponse_Value_Item) MergeJSONPatchAppend(v JSONPatchAppend) error
- func (t *JSONPatchPayloadResponse_Value_Item) MergeJSONPatchRemove(v JSONPatchRemove) error
- func (t *JSONPatchPayloadResponse_Value_Item) MergeJSONPatchReplace(v JSONPatchReplace) error
- func (t *JSONPatchPayloadResponse_Value_Item) UnmarshalJSON(b []byte) error
- func (t JSONPatchPayloadResponse_Value_Item) ValueByDiscriminator() (interface{}, error)
- type JSONPatchRemove
- type JSONPatchRemoveOp
- type JSONPatchReplace
- type JSONPatchReplaceOp
- type JSONPayloadResponse
- type JSONPayloadResponseType
- type JobIn
- type JobIn_Hyperparameters
- func (t JobIn_Hyperparameters) AsClassifierTrainingParametersIn() (ClassifierTrainingParametersIn, error)
- func (t JobIn_Hyperparameters) AsCompletionTrainingParametersIn() (CompletionTrainingParametersIn, error)
- func (t *JobIn_Hyperparameters) FromClassifierTrainingParametersIn(v ClassifierTrainingParametersIn) error
- func (t *JobIn_Hyperparameters) FromCompletionTrainingParametersIn(v CompletionTrainingParametersIn) error
- func (t JobIn_Hyperparameters) MarshalJSON() ([]byte, error)
- func (t *JobIn_Hyperparameters) MergeClassifierTrainingParametersIn(v ClassifierTrainingParametersIn) error
- func (t *JobIn_Hyperparameters) MergeCompletionTrainingParametersIn(v CompletionTrainingParametersIn) error
- func (t *JobIn_Hyperparameters) UnmarshalJSON(b []byte) error
- type JobIn_Integrations_Item
- func (t JobIn_Integrations_Item) AsWandbIntegration() (WandbIntegration, error)
- func (t JobIn_Integrations_Item) Discriminator() (string, error)
- func (t *JobIn_Integrations_Item) FromWandbIntegration(v WandbIntegration) error
- func (t JobIn_Integrations_Item) MarshalJSON() ([]byte, error)
- func (t *JobIn_Integrations_Item) MergeWandbIntegration(v WandbIntegration) error
- func (t *JobIn_Integrations_Item) UnmarshalJSON(b []byte) error
- func (t JobIn_Integrations_Item) ValueByDiscriminator() (interface{}, error)
- type JobIn_Repositories_Item
- func (t JobIn_Repositories_Item) AsGithubRepositoryIn() (GithubRepositoryIn, error)
- func (t JobIn_Repositories_Item) Discriminator() (string, error)
- func (t *JobIn_Repositories_Item) FromGithubRepositoryIn(v GithubRepositoryIn) error
- func (t JobIn_Repositories_Item) MarshalJSON() ([]byte, error)
- func (t *JobIn_Repositories_Item) MergeGithubRepositoryIn(v GithubRepositoryIn) error
- func (t *JobIn_Repositories_Item) UnmarshalJSON(b []byte) error
- func (t JobIn_Repositories_Item) ValueByDiscriminator() (interface{}, error)
- type JobMetadataOut
- type JobsApiRoutesBatchCancelBatchJobResponse
- func (r JobsApiRoutesBatchCancelBatchJobResponse) ContentType() string
- func (r JobsApiRoutesBatchCancelBatchJobResponse) GetBody() []byte
- func (r JobsApiRoutesBatchCancelBatchJobResponse) GetJSON200() *BatchJobOut
- func (r JobsApiRoutesBatchCancelBatchJobResponse) Status() string
- func (r JobsApiRoutesBatchCancelBatchJobResponse) StatusCode() int
- type JobsApiRoutesBatchCreateBatchJobJSONRequestBody
- type JobsApiRoutesBatchCreateBatchJobResponse
- func (r JobsApiRoutesBatchCreateBatchJobResponse) ContentType() string
- func (r JobsApiRoutesBatchCreateBatchJobResponse) GetBody() []byte
- func (r JobsApiRoutesBatchCreateBatchJobResponse) GetJSON200() *BatchJobOut
- func (r JobsApiRoutesBatchCreateBatchJobResponse) Status() string
- func (r JobsApiRoutesBatchCreateBatchJobResponse) StatusCode() int
- type JobsApiRoutesBatchGetBatchJobParams
- type JobsApiRoutesBatchGetBatchJobResponse
- func (r JobsApiRoutesBatchGetBatchJobResponse) ContentType() string
- func (r JobsApiRoutesBatchGetBatchJobResponse) GetBody() []byte
- func (r JobsApiRoutesBatchGetBatchJobResponse) GetJSON200() *BatchJobOut
- func (r JobsApiRoutesBatchGetBatchJobResponse) Status() string
- func (r JobsApiRoutesBatchGetBatchJobResponse) StatusCode() int
- type JobsApiRoutesBatchGetBatchJobsParams
- type JobsApiRoutesBatchGetBatchJobsParamsOrderBy
- type JobsApiRoutesBatchGetBatchJobsResponse
- func (r JobsApiRoutesBatchGetBatchJobsResponse) ContentType() string
- func (r JobsApiRoutesBatchGetBatchJobsResponse) GetBody() []byte
- func (r JobsApiRoutesBatchGetBatchJobsResponse) GetJSON200() *BatchJobsOut
- func (r JobsApiRoutesBatchGetBatchJobsResponse) Status() string
- func (r JobsApiRoutesBatchGetBatchJobsResponse) StatusCode() int
- type JobsApiRoutesFineTuningArchiveFineTunedModelResponse
- func (r JobsApiRoutesFineTuningArchiveFineTunedModelResponse) ContentType() string
- func (r JobsApiRoutesFineTuningArchiveFineTunedModelResponse) GetBody() []byte
- func (r JobsApiRoutesFineTuningArchiveFineTunedModelResponse) GetJSON200() *ArchiveFTModelOut
- func (r JobsApiRoutesFineTuningArchiveFineTunedModelResponse) Status() string
- func (r JobsApiRoutesFineTuningArchiveFineTunedModelResponse) StatusCode() int
- type JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody
- func (t JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) AsClassifierDetailedJobOut() (ClassifierDetailedJobOut, error)
- func (t JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) AsCompletionDetailedJobOut() (CompletionDetailedJobOut, error)
- func (t JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) Discriminator() (string, error)
- func (t *JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) FromClassifierDetailedJobOut(v ClassifierDetailedJobOut) error
- func (t *JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) FromCompletionDetailedJobOut(v CompletionDetailedJobOut) error
- func (t JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) MergeClassifierDetailedJobOut(v ClassifierDetailedJobOut) error
- func (t *JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) MergeCompletionDetailedJobOut(v CompletionDetailedJobOut) error
- func (t *JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) UnmarshalJSON(b []byte) error
- func (t JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) ValueByDiscriminator() (interface{}, error)
- type JobsApiRoutesFineTuningCancelFineTuningJobResponse
- func (r JobsApiRoutesFineTuningCancelFineTuningJobResponse) ContentType() string
- func (r JobsApiRoutesFineTuningCancelFineTuningJobResponse) GetBody() []byte
- func (r JobsApiRoutesFineTuningCancelFineTuningJobResponse) GetJSON200() *JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody
- func (r JobsApiRoutesFineTuningCancelFineTuningJobResponse) Status() string
- func (r JobsApiRoutesFineTuningCancelFineTuningJobResponse) StatusCode() int
- type JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody
- func (t JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) AsJobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0() (JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0, error)
- func (t JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) AsLegacyJobMetadataOut() (LegacyJobMetadataOut, error)
- func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) FromJobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0(v JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) error
- func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) FromLegacyJobMetadataOut(v LegacyJobMetadataOut) error
- func (t JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) MergeJobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0(v JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) error
- func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) MergeLegacyJobMetadataOut(v LegacyJobMetadataOut) error
- func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) UnmarshalJSON(b []byte) error
- type JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0
- func (t JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) AsClassifierJobOut() (ClassifierJobOut, error)
- func (t JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) AsCompletionJobOut() (CompletionJobOut, error)
- func (t JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) Discriminator() (string, error)
- func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) FromClassifierJobOut(v ClassifierJobOut) error
- func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) FromCompletionJobOut(v CompletionJobOut) error
- func (t JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) MarshalJSON() ([]byte, error)
- func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) MergeClassifierJobOut(v ClassifierJobOut) error
- func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) MergeCompletionJobOut(v CompletionJobOut) error
- func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) UnmarshalJSON(b []byte) error
- func (t JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) ValueByDiscriminator() (interface{}, error)
- type JobsApiRoutesFineTuningCreateFineTuningJobJSONRequestBody
- type JobsApiRoutesFineTuningCreateFineTuningJobParams
- type JobsApiRoutesFineTuningCreateFineTuningJobResponse
- func (r JobsApiRoutesFineTuningCreateFineTuningJobResponse) ContentType() string
- func (r JobsApiRoutesFineTuningCreateFineTuningJobResponse) GetBody() []byte
- func (r JobsApiRoutesFineTuningCreateFineTuningJobResponse) GetJSON200() *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody
- func (r JobsApiRoutesFineTuningCreateFineTuningJobResponse) Status() string
- func (r JobsApiRoutesFineTuningCreateFineTuningJobResponse) StatusCode() int
- type JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody
- func (t JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) AsClassifierDetailedJobOut() (ClassifierDetailedJobOut, error)
- func (t JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) AsCompletionDetailedJobOut() (CompletionDetailedJobOut, error)
- func (t JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) Discriminator() (string, error)
- func (t *JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) FromClassifierDetailedJobOut(v ClassifierDetailedJobOut) error
- func (t *JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) FromCompletionDetailedJobOut(v CompletionDetailedJobOut) error
- func (t JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) MergeClassifierDetailedJobOut(v ClassifierDetailedJobOut) error
- func (t *JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) MergeCompletionDetailedJobOut(v CompletionDetailedJobOut) error
- func (t *JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) UnmarshalJSON(b []byte) error
- func (t JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) ValueByDiscriminator() (interface{}, error)
- type JobsApiRoutesFineTuningGetFineTuningJobResponse
- func (r JobsApiRoutesFineTuningGetFineTuningJobResponse) ContentType() string
- func (r JobsApiRoutesFineTuningGetFineTuningJobResponse) GetBody() []byte
- func (r JobsApiRoutesFineTuningGetFineTuningJobResponse) GetJSON200() *JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody
- func (r JobsApiRoutesFineTuningGetFineTuningJobResponse) Status() string
- func (r JobsApiRoutesFineTuningGetFineTuningJobResponse) StatusCode() int
- type JobsApiRoutesFineTuningGetFineTuningJobsParams
- type JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus
- type JobsApiRoutesFineTuningGetFineTuningJobsResponse
- func (r JobsApiRoutesFineTuningGetFineTuningJobsResponse) ContentType() string
- func (r JobsApiRoutesFineTuningGetFineTuningJobsResponse) GetBody() []byte
- func (r JobsApiRoutesFineTuningGetFineTuningJobsResponse) GetJSON200() *JobsOut
- func (r JobsApiRoutesFineTuningGetFineTuningJobsResponse) Status() string
- func (r JobsApiRoutesFineTuningGetFineTuningJobsResponse) StatusCode() int
- type JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody
- func (t JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) AsClassifierDetailedJobOut() (ClassifierDetailedJobOut, error)
- func (t JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) AsCompletionDetailedJobOut() (CompletionDetailedJobOut, error)
- func (t JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) Discriminator() (string, error)
- func (t *JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) FromClassifierDetailedJobOut(v ClassifierDetailedJobOut) error
- func (t *JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) FromCompletionDetailedJobOut(v CompletionDetailedJobOut) error
- func (t JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) MergeClassifierDetailedJobOut(v ClassifierDetailedJobOut) error
- func (t *JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) MergeCompletionDetailedJobOut(v CompletionDetailedJobOut) error
- func (t *JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) UnmarshalJSON(b []byte) error
- func (t JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) ValueByDiscriminator() (interface{}, error)
- type JobsApiRoutesFineTuningStartFineTuningJobResponse
- func (r JobsApiRoutesFineTuningStartFineTuningJobResponse) ContentType() string
- func (r JobsApiRoutesFineTuningStartFineTuningJobResponse) GetBody() []byte
- func (r JobsApiRoutesFineTuningStartFineTuningJobResponse) GetJSON200() *JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody
- func (r JobsApiRoutesFineTuningStartFineTuningJobResponse) Status() string
- func (r JobsApiRoutesFineTuningStartFineTuningJobResponse) StatusCode() int
- type JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse
- func (r JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) ContentType() string
- func (r JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) GetBody() []byte
- func (r JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) GetJSON200() *UnarchiveFTModelOut
- func (r JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) Status() string
- func (r JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) StatusCode() int
- type JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody
- func (t JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) AsClassifierFTModelOut() (ClassifierFTModelOut, error)
- func (t JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) AsCompletionFTModelOut() (CompletionFTModelOut, error)
- func (t JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) Discriminator() (string, error)
- func (t *JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) FromClassifierFTModelOut(v ClassifierFTModelOut) error
- func (t *JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) FromCompletionFTModelOut(v CompletionFTModelOut) error
- func (t JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) MergeClassifierFTModelOut(v ClassifierFTModelOut) error
- func (t *JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) MergeCompletionFTModelOut(v CompletionFTModelOut) error
- func (t *JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) UnmarshalJSON(b []byte) error
- func (t JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) ValueByDiscriminator() (interface{}, error)
- type JobsApiRoutesFineTuningUpdateFineTunedModelJSONRequestBody
- type JobsApiRoutesFineTuningUpdateFineTunedModelResponse
- func (r JobsApiRoutesFineTuningUpdateFineTunedModelResponse) ContentType() string
- func (r JobsApiRoutesFineTuningUpdateFineTunedModelResponse) GetBody() []byte
- func (r JobsApiRoutesFineTuningUpdateFineTunedModelResponse) GetJSON200() *JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody
- func (r JobsApiRoutesFineTuningUpdateFineTunedModelResponse) Status() string
- func (r JobsApiRoutesFineTuningUpdateFineTunedModelResponse) StatusCode() int
- type JobsOut
- type JobsOutObject
- type JobsOut_Data_Item
- func (t JobsOut_Data_Item) AsClassifierJobOut() (ClassifierJobOut, error)
- func (t JobsOut_Data_Item) AsCompletionJobOut() (CompletionJobOut, error)
- func (t JobsOut_Data_Item) Discriminator() (string, error)
- func (t *JobsOut_Data_Item) FromClassifierJobOut(v ClassifierJobOut) error
- func (t *JobsOut_Data_Item) FromCompletionJobOut(v CompletionJobOut) error
- func (t JobsOut_Data_Item) MarshalJSON() ([]byte, error)
- func (t *JobsOut_Data_Item) MergeClassifierJobOut(v ClassifierJobOut) error
- func (t *JobsOut_Data_Item) MergeCompletionJobOut(v CompletionJobOut) error
- func (t *JobsOut_Data_Item) UnmarshalJSON(b []byte) error
- func (t JobsOut_Data_Item) ValueByDiscriminator() (interface{}, error)
- type JsonSchema
- type JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostJSONRequestBody
- type JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse
- func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) ContentType() string
- func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetBody() []byte
- func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON200() *JudgeOutput
- func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON400() *ObservabilityError
- func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON404() *ObservabilityError
- func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON408() *ObservabilityError
- func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON409() *ObservabilityError
- func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON422() *ObservabilityError
- func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) Status() string
- func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) StatusCode() int
- type JudgeClassificationOutput
- type JudgeClassificationOutputOption
- type JudgeClassificationOutputType
- type JudgeConversationRequest
- type JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostJSONRequestBody
- type JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse
- func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) ContentType() string
- func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetBody() []byte
- func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON200() *JudgeOutput
- func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON400() *ObservabilityError
- func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON404() *ObservabilityError
- func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON408() *ObservabilityError
- func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON409() *ObservabilityError
- func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON422() *ObservabilityError
- func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) Status() string
- func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) StatusCode() int
- type JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostJSONRequestBody
- type JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse
- func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) ContentType() string
- func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetBody() []byte
- func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON200() *JudgeOutput
- func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON400() *ObservabilityError
- func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON404() *ObservabilityError
- func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON408() *ObservabilityError
- func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON409() *ObservabilityError
- func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON422() *ObservabilityError
- func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) Status() string
- func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) StatusCode() int
- type JudgeOutput
- type JudgeOutputAnswer0
- type JudgeOutputAnswer1
- type JudgeOutputType
- type JudgeOutput_Answer
- func (t JudgeOutput_Answer) AsJudgeOutputAnswer0() (JudgeOutputAnswer0, error)
- func (t JudgeOutput_Answer) AsJudgeOutputAnswer1() (JudgeOutputAnswer1, error)
- func (t *JudgeOutput_Answer) FromJudgeOutputAnswer0(v JudgeOutputAnswer0) error
- func (t *JudgeOutput_Answer) FromJudgeOutputAnswer1(v JudgeOutputAnswer1) error
- func (t JudgeOutput_Answer) MarshalJSON() ([]byte, error)
- func (t *JudgeOutput_Answer) MergeJudgeOutputAnswer0(v JudgeOutputAnswer0) error
- func (t *JudgeOutput_Answer) MergeJudgeOutputAnswer1(v JudgeOutputAnswer1) error
- func (t *JudgeOutput_Answer) UnmarshalJSON(b []byte) error
- type JudgePreview
- type JudgePreview_Output
- func (t JudgePreview_Output) AsJudgeClassificationOutput() (JudgeClassificationOutput, error)
- func (t JudgePreview_Output) AsJudgeRegressionOutput() (JudgeRegressionOutput, error)
- func (t JudgePreview_Output) Discriminator() (string, error)
- func (t *JudgePreview_Output) FromJudgeClassificationOutput(v JudgeClassificationOutput) error
- func (t *JudgePreview_Output) FromJudgeRegressionOutput(v JudgeRegressionOutput) error
- func (t JudgePreview_Output) MarshalJSON() ([]byte, error)
- func (t *JudgePreview_Output) MergeJudgeClassificationOutput(v JudgeClassificationOutput) error
- func (t *JudgePreview_Output) MergeJudgeRegressionOutput(v JudgeRegressionOutput) error
- func (t *JudgePreview_Output) UnmarshalJSON(b []byte) error
- func (t JudgePreview_Output) ValueByDiscriminator() (interface{}, error)
- type JudgePreviews
- type JudgeRegressionOutput
- type JudgeRegressionOutputType
- type LegacyJobMetadataOut
- type LegacyJobMetadataOutObject
- type LibrariesCreateV1JSONRequestBody
- type LibrariesCreateV1Response
- func (r LibrariesCreateV1Response) ContentType() string
- func (r LibrariesCreateV1Response) GetBody() []byte
- func (r LibrariesCreateV1Response) GetJSON201() *LibraryOut
- func (r LibrariesCreateV1Response) GetJSON422() *HTTPValidationError
- func (r LibrariesCreateV1Response) Status() string
- func (r LibrariesCreateV1Response) StatusCode() int
- type LibrariesDeleteV1Response
- func (r LibrariesDeleteV1Response) ContentType() string
- func (r LibrariesDeleteV1Response) GetBody() []byte
- func (r LibrariesDeleteV1Response) GetJSON200() *LibraryOut
- func (r LibrariesDeleteV1Response) GetJSON422() *HTTPValidationError
- func (r LibrariesDeleteV1Response) Status() string
- func (r LibrariesDeleteV1Response) StatusCode() int
- type LibrariesDocumentsDeleteV1Response
- func (r LibrariesDocumentsDeleteV1Response) ContentType() string
- func (r LibrariesDocumentsDeleteV1Response) GetBody() []byte
- func (r LibrariesDocumentsDeleteV1Response) GetJSON422() *HTTPValidationError
- func (r LibrariesDocumentsDeleteV1Response) Status() string
- func (r LibrariesDocumentsDeleteV1Response) StatusCode() int
- type LibrariesDocumentsGetExtractedTextSignedUrlV1Response
- func (r LibrariesDocumentsGetExtractedTextSignedUrlV1Response) ContentType() string
- func (r LibrariesDocumentsGetExtractedTextSignedUrlV1Response) GetBody() []byte
- func (r LibrariesDocumentsGetExtractedTextSignedUrlV1Response) GetJSON200() *string
- func (r LibrariesDocumentsGetExtractedTextSignedUrlV1Response) GetJSON422() *HTTPValidationError
- func (r LibrariesDocumentsGetExtractedTextSignedUrlV1Response) Status() string
- func (r LibrariesDocumentsGetExtractedTextSignedUrlV1Response) StatusCode() int
- type LibrariesDocumentsGetSignedUrlV1Response
- func (r LibrariesDocumentsGetSignedUrlV1Response) ContentType() string
- func (r LibrariesDocumentsGetSignedUrlV1Response) GetBody() []byte
- func (r LibrariesDocumentsGetSignedUrlV1Response) GetJSON200() *string
- func (r LibrariesDocumentsGetSignedUrlV1Response) GetJSON422() *HTTPValidationError
- func (r LibrariesDocumentsGetSignedUrlV1Response) Status() string
- func (r LibrariesDocumentsGetSignedUrlV1Response) StatusCode() int
- type LibrariesDocumentsGetStatusV1Response
- func (r LibrariesDocumentsGetStatusV1Response) ContentType() string
- func (r LibrariesDocumentsGetStatusV1Response) GetBody() []byte
- func (r LibrariesDocumentsGetStatusV1Response) GetJSON200() *ProcessingStatusOut
- func (r LibrariesDocumentsGetStatusV1Response) GetJSON422() *HTTPValidationError
- func (r LibrariesDocumentsGetStatusV1Response) Status() string
- func (r LibrariesDocumentsGetStatusV1Response) StatusCode() int
- type LibrariesDocumentsGetTextContentV1Response
- func (r LibrariesDocumentsGetTextContentV1Response) ContentType() string
- func (r LibrariesDocumentsGetTextContentV1Response) GetBody() []byte
- func (r LibrariesDocumentsGetTextContentV1Response) GetJSON200() *DocumentTextContent
- func (r LibrariesDocumentsGetTextContentV1Response) GetJSON422() *HTTPValidationError
- func (r LibrariesDocumentsGetTextContentV1Response) Status() string
- func (r LibrariesDocumentsGetTextContentV1Response) StatusCode() int
- type LibrariesDocumentsGetV1Response
- func (r LibrariesDocumentsGetV1Response) ContentType() string
- func (r LibrariesDocumentsGetV1Response) GetBody() []byte
- func (r LibrariesDocumentsGetV1Response) GetJSON200() *DocumentOut
- func (r LibrariesDocumentsGetV1Response) GetJSON422() *HTTPValidationError
- func (r LibrariesDocumentsGetV1Response) Status() string
- func (r LibrariesDocumentsGetV1Response) StatusCode() int
- type LibrariesDocumentsListV1Params
- type LibrariesDocumentsListV1Response
- func (r LibrariesDocumentsListV1Response) ContentType() string
- func (r LibrariesDocumentsListV1Response) GetBody() []byte
- func (r LibrariesDocumentsListV1Response) GetJSON200() *ListDocumentOut
- func (r LibrariesDocumentsListV1Response) GetJSON422() *HTTPValidationError
- func (r LibrariesDocumentsListV1Response) Status() string
- func (r LibrariesDocumentsListV1Response) StatusCode() int
- type LibrariesDocumentsReprocessV1Response
- func (r LibrariesDocumentsReprocessV1Response) ContentType() string
- func (r LibrariesDocumentsReprocessV1Response) GetBody() []byte
- func (r LibrariesDocumentsReprocessV1Response) GetJSON422() *HTTPValidationError
- func (r LibrariesDocumentsReprocessV1Response) Status() string
- func (r LibrariesDocumentsReprocessV1Response) StatusCode() int
- type LibrariesDocumentsUpdateV1JSONRequestBody
- type LibrariesDocumentsUpdateV1Response
- func (r LibrariesDocumentsUpdateV1Response) ContentType() string
- func (r LibrariesDocumentsUpdateV1Response) GetBody() []byte
- func (r LibrariesDocumentsUpdateV1Response) GetJSON200() *DocumentOut
- func (r LibrariesDocumentsUpdateV1Response) GetJSON422() *HTTPValidationError
- func (r LibrariesDocumentsUpdateV1Response) Status() string
- func (r LibrariesDocumentsUpdateV1Response) StatusCode() int
- type LibrariesDocumentsUploadV1MultipartBody
- type LibrariesDocumentsUploadV1MultipartRequestBody
- type LibrariesDocumentsUploadV1Response
- func (r LibrariesDocumentsUploadV1Response) ContentType() string
- func (r LibrariesDocumentsUploadV1Response) GetBody() []byte
- func (r LibrariesDocumentsUploadV1Response) GetJSON200() *DocumentOut
- func (r LibrariesDocumentsUploadV1Response) GetJSON201() *DocumentOut
- func (r LibrariesDocumentsUploadV1Response) GetJSON422() *HTTPValidationError
- func (r LibrariesDocumentsUploadV1Response) Status() string
- func (r LibrariesDocumentsUploadV1Response) StatusCode() int
- type LibrariesGetV1Response
- func (r LibrariesGetV1Response) ContentType() string
- func (r LibrariesGetV1Response) GetBody() []byte
- func (r LibrariesGetV1Response) GetJSON200() *LibraryOut
- func (r LibrariesGetV1Response) GetJSON422() *HTTPValidationError
- func (r LibrariesGetV1Response) Status() string
- func (r LibrariesGetV1Response) StatusCode() int
- type LibrariesListV1Response
- type LibrariesShareCreateV1JSONRequestBody
- type LibrariesShareCreateV1Response
- func (r LibrariesShareCreateV1Response) ContentType() string
- func (r LibrariesShareCreateV1Response) GetBody() []byte
- func (r LibrariesShareCreateV1Response) GetJSON200() *SharingOut
- func (r LibrariesShareCreateV1Response) GetJSON422() *HTTPValidationError
- func (r LibrariesShareCreateV1Response) Status() string
- func (r LibrariesShareCreateV1Response) StatusCode() int
- type LibrariesShareDeleteV1JSONRequestBody
- type LibrariesShareDeleteV1Response
- func (r LibrariesShareDeleteV1Response) ContentType() string
- func (r LibrariesShareDeleteV1Response) GetBody() []byte
- func (r LibrariesShareDeleteV1Response) GetJSON200() *SharingOut
- func (r LibrariesShareDeleteV1Response) GetJSON422() *HTTPValidationError
- func (r LibrariesShareDeleteV1Response) Status() string
- func (r LibrariesShareDeleteV1Response) StatusCode() int
- type LibrariesShareListV1Response
- func (r LibrariesShareListV1Response) ContentType() string
- func (r LibrariesShareListV1Response) GetBody() []byte
- func (r LibrariesShareListV1Response) GetJSON200() *ListSharingOut
- func (r LibrariesShareListV1Response) GetJSON422() *HTTPValidationError
- func (r LibrariesShareListV1Response) Status() string
- func (r LibrariesShareListV1Response) StatusCode() int
- type LibrariesUpdateV1JSONRequestBody
- type LibrariesUpdateV1Response
- func (r LibrariesUpdateV1Response) ContentType() string
- func (r LibrariesUpdateV1Response) GetBody() []byte
- func (r LibrariesUpdateV1Response) GetJSON200() *LibraryOut
- func (r LibrariesUpdateV1Response) GetJSON422() *HTTPValidationError
- func (r LibrariesUpdateV1Response) Status() string
- func (r LibrariesUpdateV1Response) StatusCode() int
- type LibraryIn
- type LibraryInUpdate
- type LibraryOut
- type ListDeploymentsV1WorkflowsDeploymentsGetParams
- type ListDeploymentsV1WorkflowsDeploymentsGetResponse
- func (r ListDeploymentsV1WorkflowsDeploymentsGetResponse) ContentType() string
- func (r ListDeploymentsV1WorkflowsDeploymentsGetResponse) GetBody() []byte
- func (r ListDeploymentsV1WorkflowsDeploymentsGetResponse) GetJSON200() *DeploymentListResponse
- func (r ListDeploymentsV1WorkflowsDeploymentsGetResponse) GetJSON422() *HTTPValidationError
- func (r ListDeploymentsV1WorkflowsDeploymentsGetResponse) Status() string
- func (r ListDeploymentsV1WorkflowsDeploymentsGetResponse) StatusCode() int
- type ListDocumentOut
- type ListFilesOut
- type ListLibraryOut
- type ListModelsV1ModelsGetParams
- type ListModelsV1ModelsGetResponse
- func (r ListModelsV1ModelsGetResponse) ContentType() string
- func (r ListModelsV1ModelsGetResponse) GetBody() []byte
- func (r ListModelsV1ModelsGetResponse) GetJSON200() *ModelList
- func (r ListModelsV1ModelsGetResponse) GetJSON422() *HTTPValidationError
- func (r ListModelsV1ModelsGetResponse) Status() string
- func (r ListModelsV1ModelsGetResponse) StatusCode() int
- type ListRunsV1WorkflowsRunsGetParams
- type ListRunsV1WorkflowsRunsGetParamsStatus1
- type ListRunsV1WorkflowsRunsGetResponse
- func (r ListRunsV1WorkflowsRunsGetResponse) ContentType() string
- func (r ListRunsV1WorkflowsRunsGetResponse) GetBody() []byte
- func (r ListRunsV1WorkflowsRunsGetResponse) GetJSON200() *WorkflowExecutionListResponse
- func (r ListRunsV1WorkflowsRunsGetResponse) GetJSON422() *HTTPValidationError
- func (r ListRunsV1WorkflowsRunsGetResponse) Status() string
- func (r ListRunsV1WorkflowsRunsGetResponse) StatusCode() int
- type ListSharingOut
- type ListVoicesV1AudioVoicesGetParams
- type ListVoicesV1AudioVoicesGetResponse
- func (r ListVoicesV1AudioVoicesGetResponse) ContentType() string
- func (r ListVoicesV1AudioVoicesGetResponse) GetBody() []byte
- func (r ListVoicesV1AudioVoicesGetResponse) GetJSON200() *VoiceListResponse
- func (r ListVoicesV1AudioVoicesGetResponse) GetJSON422() *HTTPValidationError
- func (r ListVoicesV1AudioVoicesGetResponse) Status() string
- func (r ListVoicesV1AudioVoicesGetResponse) StatusCode() int
- type ListWorkflowEventResponse
- type ListWorkflowEventResponse_Events_Item
- func (t ListWorkflowEventResponse_Events_Item) AsActivityTaskCompletedResponse() (ActivityTaskCompletedResponse, error)
- func (t ListWorkflowEventResponse_Events_Item) AsActivityTaskFailedResponse() (ActivityTaskFailedResponse, error)
- func (t ListWorkflowEventResponse_Events_Item) AsActivityTaskRetryingResponse() (ActivityTaskRetryingResponse, error)
- func (t ListWorkflowEventResponse_Events_Item) AsActivityTaskStartedResponse() (ActivityTaskStartedResponse, error)
- func (t ListWorkflowEventResponse_Events_Item) AsCustomTaskCanceledResponse() (CustomTaskCanceledResponse, error)
- func (t ListWorkflowEventResponse_Events_Item) AsCustomTaskCompletedResponse() (CustomTaskCompletedResponse, error)
- func (t ListWorkflowEventResponse_Events_Item) AsCustomTaskFailedResponse() (CustomTaskFailedResponse, error)
- func (t ListWorkflowEventResponse_Events_Item) AsCustomTaskInProgressResponse() (CustomTaskInProgressResponse, error)
- func (t ListWorkflowEventResponse_Events_Item) AsCustomTaskStartedResponse() (CustomTaskStartedResponse, error)
- func (t ListWorkflowEventResponse_Events_Item) AsCustomTaskTimedOutResponse() (CustomTaskTimedOutResponse, error)
- func (t ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionCanceledResponse() (WorkflowExecutionCanceledResponse, error)
- func (t ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionCompletedResponse() (WorkflowExecutionCompletedResponse, error)
- func (t ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionContinuedAsNewResponse() (WorkflowExecutionContinuedAsNewResponse, error)
- func (t ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionFailedResponse() (WorkflowExecutionFailedResponse, error)
- func (t ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionStartedResponse() (WorkflowExecutionStartedResponse, error)
- func (t ListWorkflowEventResponse_Events_Item) AsWorkflowTaskFailedResponse() (WorkflowTaskFailedResponse, error)
- func (t ListWorkflowEventResponse_Events_Item) AsWorkflowTaskTimedOutResponse() (WorkflowTaskTimedOutResponse, error)
- func (t *ListWorkflowEventResponse_Events_Item) FromActivityTaskCompletedResponse(v ActivityTaskCompletedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) FromActivityTaskFailedResponse(v ActivityTaskFailedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) FromActivityTaskRetryingResponse(v ActivityTaskRetryingResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) FromActivityTaskStartedResponse(v ActivityTaskStartedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) FromCustomTaskCanceledResponse(v CustomTaskCanceledResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) FromCustomTaskCompletedResponse(v CustomTaskCompletedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) FromCustomTaskFailedResponse(v CustomTaskFailedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) FromCustomTaskInProgressResponse(v CustomTaskInProgressResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) FromCustomTaskStartedResponse(v CustomTaskStartedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) FromCustomTaskTimedOutResponse(v CustomTaskTimedOutResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionCanceledResponse(v WorkflowExecutionCanceledResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionCompletedResponse(v WorkflowExecutionCompletedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionContinuedAsNewResponse(v WorkflowExecutionContinuedAsNewResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionFailedResponse(v WorkflowExecutionFailedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionStartedResponse(v WorkflowExecutionStartedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowTaskFailedResponse(v WorkflowTaskFailedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowTaskTimedOutResponse(v WorkflowTaskTimedOutResponse) error
- func (t ListWorkflowEventResponse_Events_Item) MarshalJSON() ([]byte, error)
- func (t *ListWorkflowEventResponse_Events_Item) MergeActivityTaskCompletedResponse(v ActivityTaskCompletedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) MergeActivityTaskFailedResponse(v ActivityTaskFailedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) MergeActivityTaskRetryingResponse(v ActivityTaskRetryingResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) MergeActivityTaskStartedResponse(v ActivityTaskStartedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) MergeCustomTaskCanceledResponse(v CustomTaskCanceledResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) MergeCustomTaskCompletedResponse(v CustomTaskCompletedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) MergeCustomTaskFailedResponse(v CustomTaskFailedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) MergeCustomTaskInProgressResponse(v CustomTaskInProgressResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) MergeCustomTaskStartedResponse(v CustomTaskStartedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) MergeCustomTaskTimedOutResponse(v CustomTaskTimedOutResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionCanceledResponse(v WorkflowExecutionCanceledResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionCompletedResponse(v WorkflowExecutionCompletedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionContinuedAsNewResponse(v WorkflowExecutionContinuedAsNewResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionFailedResponse(v WorkflowExecutionFailedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionStartedResponse(v WorkflowExecutionStartedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowTaskFailedResponse(v WorkflowTaskFailedResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowTaskTimedOutResponse(v WorkflowTaskTimedOutResponse) error
- func (t *ListWorkflowEventResponse_Events_Item) UnmarshalJSON(b []byte) error
- type MCPResultMetadata
- type MCPServerIcon
- type MCPTool
- type MCPToolCallMetadata
- type MCPToolCallRequest
- type MCPToolCallResponse
- type MCPToolCallResponse_Content_Item
- func (t MCPToolCallResponse_Content_Item) AsAudioContent() (AudioContent, error)
- func (t MCPToolCallResponse_Content_Item) AsEmbeddedResource() (EmbeddedResource, error)
- func (t MCPToolCallResponse_Content_Item) AsImageContent() (ImageContent, error)
- func (t MCPToolCallResponse_Content_Item) AsResourceLink() (ResourceLink, error)
- func (t MCPToolCallResponse_Content_Item) AsTextContent() (TextContent, error)
- func (t *MCPToolCallResponse_Content_Item) FromAudioContent(v AudioContent) error
- func (t *MCPToolCallResponse_Content_Item) FromEmbeddedResource(v EmbeddedResource) error
- func (t *MCPToolCallResponse_Content_Item) FromImageContent(v ImageContent) error
- func (t *MCPToolCallResponse_Content_Item) FromResourceLink(v ResourceLink) error
- func (t *MCPToolCallResponse_Content_Item) FromTextContent(v TextContent) error
- func (t MCPToolCallResponse_Content_Item) MarshalJSON() ([]byte, error)
- func (t *MCPToolCallResponse_Content_Item) MergeAudioContent(v AudioContent) error
- func (t *MCPToolCallResponse_Content_Item) MergeEmbeddedResource(v EmbeddedResource) error
- func (t *MCPToolCallResponse_Content_Item) MergeImageContent(v ImageContent) error
- func (t *MCPToolCallResponse_Content_Item) MergeResourceLink(v ResourceLink) error
- func (t *MCPToolCallResponse_Content_Item) MergeTextContent(v TextContent) error
- func (t *MCPToolCallResponse_Content_Item) UnmarshalJSON(b []byte) error
- type MCPToolMeta
- type MCPUIToolMeta
- type MCPUIToolMetaVisibility
- type MessageEntries
- type MessageEntries_Item
- func (t MessageEntries_Item) AsMessageInputEntry() (MessageInputEntry, error)
- func (t MessageEntries_Item) AsMessageOutputEntry() (MessageOutputEntry, error)
- func (t *MessageEntries_Item) FromMessageInputEntry(v MessageInputEntry) error
- func (t *MessageEntries_Item) FromMessageOutputEntry(v MessageOutputEntry) error
- func (t MessageEntries_Item) MarshalJSON() ([]byte, error)
- func (t *MessageEntries_Item) MergeMessageInputEntry(v MessageInputEntry) error
- func (t *MessageEntries_Item) MergeMessageOutputEntry(v MessageOutputEntry) error
- func (t *MessageEntries_Item) UnmarshalJSON(b []byte) error
- type MessageInputContentChunks
- type MessageInputContentChunks_Item
- func (t MessageInputContentChunks_Item) AsDocumentURLChunk() (DocumentURLChunk, error)
- func (t MessageInputContentChunks_Item) AsImageURLChunk() (ImageURLChunk, error)
- func (t MessageInputContentChunks_Item) AsTextChunk() (TextChunk, error)
- func (t MessageInputContentChunks_Item) AsThinkChunk() (ThinkChunk, error)
- func (t MessageInputContentChunks_Item) AsToolFileChunk() (ToolFileChunk, error)
- func (t *MessageInputContentChunks_Item) FromDocumentURLChunk(v DocumentURLChunk) error
- func (t *MessageInputContentChunks_Item) FromImageURLChunk(v ImageURLChunk) error
- func (t *MessageInputContentChunks_Item) FromTextChunk(v TextChunk) error
- func (t *MessageInputContentChunks_Item) FromThinkChunk(v ThinkChunk) error
- func (t *MessageInputContentChunks_Item) FromToolFileChunk(v ToolFileChunk) error
- func (t MessageInputContentChunks_Item) MarshalJSON() ([]byte, error)
- func (t *MessageInputContentChunks_Item) MergeDocumentURLChunk(v DocumentURLChunk) error
- func (t *MessageInputContentChunks_Item) MergeImageURLChunk(v ImageURLChunk) error
- func (t *MessageInputContentChunks_Item) MergeTextChunk(v TextChunk) error
- func (t *MessageInputContentChunks_Item) MergeThinkChunk(v ThinkChunk) error
- func (t *MessageInputContentChunks_Item) MergeToolFileChunk(v ToolFileChunk) error
- func (t *MessageInputContentChunks_Item) UnmarshalJSON(b []byte) error
- type MessageInputEntry
- type MessageInputEntryContent0
- type MessageInputEntryObject
- type MessageInputEntryRole
- type MessageInputEntryType
- type MessageInputEntry_Content
- func (t MessageInputEntry_Content) AsMessageInputContentChunks() (MessageInputContentChunks, error)
- func (t MessageInputEntry_Content) AsMessageInputEntryContent0() (MessageInputEntryContent0, error)
- func (t *MessageInputEntry_Content) FromMessageInputContentChunks(v MessageInputContentChunks) error
- func (t *MessageInputEntry_Content) FromMessageInputEntryContent0(v MessageInputEntryContent0) error
- func (t MessageInputEntry_Content) MarshalJSON() ([]byte, error)
- func (t *MessageInputEntry_Content) MergeMessageInputContentChunks(v MessageInputContentChunks) error
- func (t *MessageInputEntry_Content) MergeMessageInputEntryContent0(v MessageInputEntryContent0) error
- func (t *MessageInputEntry_Content) UnmarshalJSON(b []byte) error
- type MessageOutputContentChunks
- type MessageOutputContentChunks_Item
- func (t MessageOutputContentChunks_Item) AsDocumentURLChunk() (DocumentURLChunk, error)
- func (t MessageOutputContentChunks_Item) AsImageURLChunk() (ImageURLChunk, error)
- func (t MessageOutputContentChunks_Item) AsTextChunk() (TextChunk, error)
- func (t MessageOutputContentChunks_Item) AsThinkChunk() (ThinkChunk, error)
- func (t MessageOutputContentChunks_Item) AsToolFileChunk() (ToolFileChunk, error)
- func (t MessageOutputContentChunks_Item) AsToolReferenceChunk() (ToolReferenceChunk, error)
- func (t *MessageOutputContentChunks_Item) FromDocumentURLChunk(v DocumentURLChunk) error
- func (t *MessageOutputContentChunks_Item) FromImageURLChunk(v ImageURLChunk) error
- func (t *MessageOutputContentChunks_Item) FromTextChunk(v TextChunk) error
- func (t *MessageOutputContentChunks_Item) FromThinkChunk(v ThinkChunk) error
- func (t *MessageOutputContentChunks_Item) FromToolFileChunk(v ToolFileChunk) error
- func (t *MessageOutputContentChunks_Item) FromToolReferenceChunk(v ToolReferenceChunk) error
- func (t MessageOutputContentChunks_Item) MarshalJSON() ([]byte, error)
- func (t *MessageOutputContentChunks_Item) MergeDocumentURLChunk(v DocumentURLChunk) error
- func (t *MessageOutputContentChunks_Item) MergeImageURLChunk(v ImageURLChunk) error
- func (t *MessageOutputContentChunks_Item) MergeTextChunk(v TextChunk) error
- func (t *MessageOutputContentChunks_Item) MergeThinkChunk(v ThinkChunk) error
- func (t *MessageOutputContentChunks_Item) MergeToolFileChunk(v ToolFileChunk) error
- func (t *MessageOutputContentChunks_Item) MergeToolReferenceChunk(v ToolReferenceChunk) error
- func (t *MessageOutputContentChunks_Item) UnmarshalJSON(b []byte) error
- type MessageOutputEntry
- type MessageOutputEntryContent0
- type MessageOutputEntryObject
- type MessageOutputEntryRole
- type MessageOutputEntryType
- type MessageOutputEntry_Content
- func (t MessageOutputEntry_Content) AsMessageOutputContentChunks() (MessageOutputContentChunks, error)
- func (t MessageOutputEntry_Content) AsMessageOutputEntryContent0() (MessageOutputEntryContent0, error)
- func (t *MessageOutputEntry_Content) FromMessageOutputContentChunks(v MessageOutputContentChunks) error
- func (t *MessageOutputEntry_Content) FromMessageOutputEntryContent0(v MessageOutputEntryContent0) error
- func (t MessageOutputEntry_Content) MarshalJSON() ([]byte, error)
- func (t *MessageOutputEntry_Content) MergeMessageOutputContentChunks(v MessageOutputContentChunks) error
- func (t *MessageOutputEntry_Content) MergeMessageOutputEntryContent0(v MessageOutputEntryContent0) error
- func (t *MessageOutputEntry_Content) UnmarshalJSON(b []byte) error
- type MessageOutputEvent
- type MessageOutputEventContent0
- type MessageOutputEventRole
- type MessageOutputEventType
- type MessageOutputEvent_Content
- func (t MessageOutputEvent_Content) AsMessageOutputEventContent0() (MessageOutputEventContent0, error)
- func (t MessageOutputEvent_Content) AsOutputContentChunks() (OutputContentChunks, error)
- func (t *MessageOutputEvent_Content) FromMessageOutputEventContent0(v MessageOutputEventContent0) error
- func (t *MessageOutputEvent_Content) FromOutputContentChunks(v OutputContentChunks) error
- func (t MessageOutputEvent_Content) MarshalJSON() ([]byte, error)
- func (t *MessageOutputEvent_Content) MergeMessageOutputEventContent0(v MessageOutputEventContent0) error
- func (t *MessageOutputEvent_Content) MergeOutputContentChunks(v OutputContentChunks) error
- func (t *MessageOutputEvent_Content) UnmarshalJSON(b []byte) error
- type MessageResponse
- type MetadataDict
- type MetricOut
- type MistralPromptMode
- type ModelCapabilities
- type ModelConversation
- type ModelConversationObject
- type ModelConversation_Tools_Item
- func (t ModelConversation_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)
- func (t ModelConversation_Tools_Item) AsCustomConnector() (CustomConnector, error)
- func (t ModelConversation_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)
- func (t ModelConversation_Tools_Item) AsFunctionTool() (FunctionTool, error)
- func (t ModelConversation_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)
- func (t ModelConversation_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)
- func (t ModelConversation_Tools_Item) AsWebSearchTool() (WebSearchTool, error)
- func (t ModelConversation_Tools_Item) Discriminator() (string, error)
- func (t *ModelConversation_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error
- func (t *ModelConversation_Tools_Item) FromCustomConnector(v CustomConnector) error
- func (t *ModelConversation_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error
- func (t *ModelConversation_Tools_Item) FromFunctionTool(v FunctionTool) error
- func (t *ModelConversation_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error
- func (t *ModelConversation_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error
- func (t *ModelConversation_Tools_Item) FromWebSearchTool(v WebSearchTool) error
- func (t ModelConversation_Tools_Item) MarshalJSON() ([]byte, error)
- func (t *ModelConversation_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error
- func (t *ModelConversation_Tools_Item) MergeCustomConnector(v CustomConnector) error
- func (t *ModelConversation_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error
- func (t *ModelConversation_Tools_Item) MergeFunctionTool(v FunctionTool) error
- func (t *ModelConversation_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error
- func (t *ModelConversation_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error
- func (t *ModelConversation_Tools_Item) MergeWebSearchTool(v WebSearchTool) error
- func (t *ModelConversation_Tools_Item) UnmarshalJSON(b []byte) error
- func (t ModelConversation_Tools_Item) ValueByDiscriminator() (interface{}, error)
- type ModelList
- type ModelList_Data_Item
- func (t ModelList_Data_Item) AsBaseModelCard() (BaseModelCard, error)
- func (t ModelList_Data_Item) AsFTModelCard() (FTModelCard, error)
- func (t ModelList_Data_Item) Discriminator() (string, error)
- func (t *ModelList_Data_Item) FromBaseModelCard(v BaseModelCard) error
- func (t *ModelList_Data_Item) FromFTModelCard(v FTModelCard) error
- func (t ModelList_Data_Item) MarshalJSON() ([]byte, error)
- func (t *ModelList_Data_Item) MergeBaseModelCard(v BaseModelCard) error
- func (t *ModelList_Data_Item) MergeFTModelCard(v FTModelCard) error
- func (t *ModelList_Data_Item) UnmarshalJSON(b []byte) error
- func (t ModelList_Data_Item) ValueByDiscriminator() (interface{}, error)
- type ModerationLLMAction
- type ModerationLLMV1CategoryThresholds
- type ModerationLLMV1Config
- type ModerationLLMV2CategoryThresholds
- type ModerationLLMV2Config
- type ModerationObject
- type ModerationResponse
- type ModerationsV1ModerationsPostJSONRequestBody
- type ModerationsV1ModerationsPostResponse
- func (r ModerationsV1ModerationsPostResponse) ContentType() string
- func (r ModerationsV1ModerationsPostResponse) GetBody() []byte
- func (r ModerationsV1ModerationsPostResponse) GetJSON200() *ModerationResponse
- func (r ModerationsV1ModerationsPostResponse) GetJSON422() *HTTPValidationError
- func (r ModerationsV1ModerationsPostResponse) Status() string
- func (r ModerationsV1ModerationsPostResponse) StatusCode() int
- type NetworkEncodedInput
- type OAuth2Token
- type OAuth2TokenAuth
- type OAuth2TokenAuthType
- type OAuth2TokenTokenType
- type OCRAsideTextBlock
- type OCRAsideTextBlockType
- type OCRCaptionBlock
- type OCRCaptionBlockType
- type OCRCodeBlock
- type OCRCodeBlockType
- type OCRConfidenceScore
- type OCREquationBlock
- type OCREquationBlockType
- type OCRFooterBlock
- type OCRFooterBlockType
- type OCRHeaderBlock
- type OCRHeaderBlockType
- type OCRImageBlock
- type OCRImageBlockType
- type OCRImageObject
- type OCRListBlock
- type OCRListBlockType
- type OCRPageConfidenceScores
- type OCRPageDimensions
- type OCRPageObject
- type OCRPageObject_Blocks_Item
- func (t OCRPageObject_Blocks_Item) AsOCRAsideTextBlock() (OCRAsideTextBlock, error)
- func (t OCRPageObject_Blocks_Item) AsOCRCaptionBlock() (OCRCaptionBlock, error)
- func (t OCRPageObject_Blocks_Item) AsOCRCodeBlock() (OCRCodeBlock, error)
- func (t OCRPageObject_Blocks_Item) AsOCREquationBlock() (OCREquationBlock, error)
- func (t OCRPageObject_Blocks_Item) AsOCRFooterBlock() (OCRFooterBlock, error)
- func (t OCRPageObject_Blocks_Item) AsOCRHeaderBlock() (OCRHeaderBlock, error)
- func (t OCRPageObject_Blocks_Item) AsOCRImageBlock() (OCRImageBlock, error)
- func (t OCRPageObject_Blocks_Item) AsOCRListBlock() (OCRListBlock, error)
- func (t OCRPageObject_Blocks_Item) AsOCRReferencesBlock() (OCRReferencesBlock, error)
- func (t OCRPageObject_Blocks_Item) AsOCRSignatureBlock() (OCRSignatureBlock, error)
- func (t OCRPageObject_Blocks_Item) AsOCRTableBlock() (OCRTableBlock, error)
- func (t OCRPageObject_Blocks_Item) AsOCRTextBlock() (OCRTextBlock, error)
- func (t OCRPageObject_Blocks_Item) AsOCRTitleBlock() (OCRTitleBlock, error)
- func (t OCRPageObject_Blocks_Item) Discriminator() (string, error)
- func (t *OCRPageObject_Blocks_Item) FromOCRAsideTextBlock(v OCRAsideTextBlock) error
- func (t *OCRPageObject_Blocks_Item) FromOCRCaptionBlock(v OCRCaptionBlock) error
- func (t *OCRPageObject_Blocks_Item) FromOCRCodeBlock(v OCRCodeBlock) error
- func (t *OCRPageObject_Blocks_Item) FromOCREquationBlock(v OCREquationBlock) error
- func (t *OCRPageObject_Blocks_Item) FromOCRFooterBlock(v OCRFooterBlock) error
- func (t *OCRPageObject_Blocks_Item) FromOCRHeaderBlock(v OCRHeaderBlock) error
- func (t *OCRPageObject_Blocks_Item) FromOCRImageBlock(v OCRImageBlock) error
- func (t *OCRPageObject_Blocks_Item) FromOCRListBlock(v OCRListBlock) error
- func (t *OCRPageObject_Blocks_Item) FromOCRReferencesBlock(v OCRReferencesBlock) error
- func (t *OCRPageObject_Blocks_Item) FromOCRSignatureBlock(v OCRSignatureBlock) error
- func (t *OCRPageObject_Blocks_Item) FromOCRTableBlock(v OCRTableBlock) error
- func (t *OCRPageObject_Blocks_Item) FromOCRTextBlock(v OCRTextBlock) error
- func (t *OCRPageObject_Blocks_Item) FromOCRTitleBlock(v OCRTitleBlock) error
- func (t OCRPageObject_Blocks_Item) MarshalJSON() ([]byte, error)
- func (t *OCRPageObject_Blocks_Item) MergeOCRAsideTextBlock(v OCRAsideTextBlock) error
- func (t *OCRPageObject_Blocks_Item) MergeOCRCaptionBlock(v OCRCaptionBlock) error
- func (t *OCRPageObject_Blocks_Item) MergeOCRCodeBlock(v OCRCodeBlock) error
- func (t *OCRPageObject_Blocks_Item) MergeOCREquationBlock(v OCREquationBlock) error
- func (t *OCRPageObject_Blocks_Item) MergeOCRFooterBlock(v OCRFooterBlock) error
- func (t *OCRPageObject_Blocks_Item) MergeOCRHeaderBlock(v OCRHeaderBlock) error
- func (t *OCRPageObject_Blocks_Item) MergeOCRImageBlock(v OCRImageBlock) error
- func (t *OCRPageObject_Blocks_Item) MergeOCRListBlock(v OCRListBlock) error
- func (t *OCRPageObject_Blocks_Item) MergeOCRReferencesBlock(v OCRReferencesBlock) error
- func (t *OCRPageObject_Blocks_Item) MergeOCRSignatureBlock(v OCRSignatureBlock) error
- func (t *OCRPageObject_Blocks_Item) MergeOCRTableBlock(v OCRTableBlock) error
- func (t *OCRPageObject_Blocks_Item) MergeOCRTextBlock(v OCRTextBlock) error
- func (t *OCRPageObject_Blocks_Item) MergeOCRTitleBlock(v OCRTitleBlock) error
- func (t *OCRPageObject_Blocks_Item) UnmarshalJSON(b []byte) error
- func (t OCRPageObject_Blocks_Item) ValueByDiscriminator() (interface{}, error)
- type OCRReferencesBlock
- type OCRReferencesBlockType
- type OCRRequest
- type OCRRequestConfidenceScoresGranularity
- type OCRRequestPages0
- type OCRRequestPages1
- type OCRRequestTableFormat
- type OCRRequest_Document
- func (t OCRRequest_Document) AsDocumentURLChunk() (DocumentURLChunk, error)
- func (t OCRRequest_Document) AsFileChunk() (FileChunk, error)
- func (t OCRRequest_Document) AsImageURLChunk() (ImageURLChunk, error)
- func (t *OCRRequest_Document) FromDocumentURLChunk(v DocumentURLChunk) error
- func (t *OCRRequest_Document) FromFileChunk(v FileChunk) error
- func (t *OCRRequest_Document) FromImageURLChunk(v ImageURLChunk) error
- func (t OCRRequest_Document) MarshalJSON() ([]byte, error)
- func (t *OCRRequest_Document) MergeDocumentURLChunk(v DocumentURLChunk) error
- func (t *OCRRequest_Document) MergeFileChunk(v FileChunk) error
- func (t *OCRRequest_Document) MergeImageURLChunk(v ImageURLChunk) error
- func (t *OCRRequest_Document) UnmarshalJSON(b []byte) error
- type OCRRequest_Pages
- func (t OCRRequest_Pages) AsOCRRequestPages0() (OCRRequestPages0, error)
- func (t OCRRequest_Pages) AsOCRRequestPages1() (OCRRequestPages1, error)
- func (t *OCRRequest_Pages) FromOCRRequestPages0(v OCRRequestPages0) error
- func (t *OCRRequest_Pages) FromOCRRequestPages1(v OCRRequestPages1) error
- func (t OCRRequest_Pages) MarshalJSON() ([]byte, error)
- func (t *OCRRequest_Pages) MergeOCRRequestPages0(v OCRRequestPages0) error
- func (t *OCRRequest_Pages) MergeOCRRequestPages1(v OCRRequestPages1) error
- func (t *OCRRequest_Pages) UnmarshalJSON(b []byte) error
- type OCRResponse
- type OCRSignatureBlock
- type OCRSignatureBlockType
- type OCRTableBlock
- type OCRTableBlockType
- type OCRTableObject
- type OCRTableObjectFormat
- type OCRTextBlock
- type OCRTextBlockType
- type OCRTitleBlock
- type OCRTitleBlockType
- type OCRUsageInfo
- type ObservabilityError
- type ObservabilityErrorCode
- type ObservabilityErrorDetail
- type OcrV1OcrPostJSONRequestBody
- type OcrV1OcrPostResponse
- func (r OcrV1OcrPostResponse) ContentType() string
- func (r OcrV1OcrPostResponse) GetBody() []byte
- func (r OcrV1OcrPostResponse) GetJSON200() *OCRResponse
- func (r OcrV1OcrPostResponse) GetJSON422() *HTTPValidationError
- func (r OcrV1OcrPostResponse) Status() string
- func (r OcrV1OcrPostResponse) StatusCode() int
- type OutboundAuthenticationType
- type OutputContentChunks
- func (t OutputContentChunks) AsDocumentURLChunk() (DocumentURLChunk, error)
- func (t OutputContentChunks) AsImageURLChunk() (ImageURLChunk, error)
- func (t OutputContentChunks) AsTextChunk() (TextChunk, error)
- func (t OutputContentChunks) AsThinkChunk() (ThinkChunk, error)
- func (t OutputContentChunks) AsToolFileChunk() (ToolFileChunk, error)
- func (t OutputContentChunks) AsToolReferenceChunk() (ToolReferenceChunk, error)
- func (t *OutputContentChunks) FromDocumentURLChunk(v DocumentURLChunk) error
- func (t *OutputContentChunks) FromImageURLChunk(v ImageURLChunk) error
- func (t *OutputContentChunks) FromTextChunk(v TextChunk) error
- func (t *OutputContentChunks) FromThinkChunk(v ThinkChunk) error
- func (t *OutputContentChunks) FromToolFileChunk(v ToolFileChunk) error
- func (t *OutputContentChunks) FromToolReferenceChunk(v ToolReferenceChunk) error
- func (t OutputContentChunks) MarshalJSON() ([]byte, error)
- func (t *OutputContentChunks) MergeDocumentURLChunk(v DocumentURLChunk) error
- func (t *OutputContentChunks) MergeImageURLChunk(v ImageURLChunk) error
- func (t *OutputContentChunks) MergeTextChunk(v TextChunk) error
- func (t *OutputContentChunks) MergeThinkChunk(v ThinkChunk) error
- func (t *OutputContentChunks) MergeToolFileChunk(v ToolFileChunk) error
- func (t *OutputContentChunks) MergeToolReferenceChunk(v ToolReferenceChunk) error
- func (t *OutputContentChunks) UnmarshalJSON(b []byte) error
- type PaginatedConnectors
- type PaginatedResultCampaignPreview
- type PaginatedResultChatCompletionEventPreview
- type PaginatedResultDatasetImportTask
- type PaginatedResultDatasetPreview
- type PaginatedResultDatasetRecord
- type PaginatedResultJudgePreview
- type PaginationInfo
- type PaginationResponse
- type PatchDatasetInSchema
- type PostCampaignInSchema
- type PostChatCompletionEventJudgingInSchema
- type PostDatasetImportFromCampaignInSchema
- type PostDatasetImportFromDatasetInSchema
- type PostDatasetImportFromExplorerInSchema
- type PostDatasetImportFromFileInSchema
- type PostDatasetImportFromPlaygroundInSchema
- type PostDatasetInSchema
- type PostDatasetRecordInSchema
- type PostDatasetRecordJudgingInSchema
- type PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostJSONRequestBody
- type PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse
- func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) ContentType() string
- func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetBody() []byte
- func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON202() *DatasetImportTask
- func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON400() *ObservabilityError
- func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON404() *ObservabilityError
- func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON408() *ObservabilityError
- func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON409() *ObservabilityError
- func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON422() *ObservabilityError
- func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) Status() string
- func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) StatusCode() int
- type PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostJSONRequestBody
- type PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse
- func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) ContentType() string
- func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetBody() []byte
- func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON202() *DatasetImportTask
- func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON400() *ObservabilityError
- func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON404() *ObservabilityError
- func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON408() *ObservabilityError
- func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON409() *ObservabilityError
- func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON422() *ObservabilityError
- func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) Status() string
- func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) StatusCode() int
- type PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostJSONRequestBody
- type PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse
- func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) ContentType() string
- func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetBody() []byte
- func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON202() *DatasetImportTask
- func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON400() *ObservabilityError
- func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON404() *ObservabilityError
- func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON408() *ObservabilityError
- func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON409() *ObservabilityError
- func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON422() *ObservabilityError
- func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) Status() string
- func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) StatusCode() int
- type PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostJSONRequestBody
- type PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse
- func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) ContentType() string
- func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetBody() []byte
- func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON202() *DatasetImportTask
- func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON400() *ObservabilityError
- func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON404() *ObservabilityError
- func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON408() *ObservabilityError
- func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON409() *ObservabilityError
- func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON422() *ObservabilityError
- func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) Status() string
- func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) StatusCode() int
- type PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostJSONRequestBody
- type PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse
- func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) ContentType() string
- func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetBody() []byte
- func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON202() *DatasetImportTask
- func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON400() *ObservabilityError
- func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON404() *ObservabilityError
- func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON408() *ObservabilityError
- func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON409() *ObservabilityError
- func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON422() *ObservabilityError
- func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) Status() string
- func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) StatusCode() int
- type PostJudgeInSchema
- type PostJudgeInSchema_Output
- func (t PostJudgeInSchema_Output) AsJudgeClassificationOutput() (JudgeClassificationOutput, error)
- func (t PostJudgeInSchema_Output) AsJudgeRegressionOutput() (JudgeRegressionOutput, error)
- func (t PostJudgeInSchema_Output) Discriminator() (string, error)
- func (t *PostJudgeInSchema_Output) FromJudgeClassificationOutput(v JudgeClassificationOutput) error
- func (t *PostJudgeInSchema_Output) FromJudgeRegressionOutput(v JudgeRegressionOutput) error
- func (t PostJudgeInSchema_Output) MarshalJSON() ([]byte, error)
- func (t *PostJudgeInSchema_Output) MergeJudgeClassificationOutput(v JudgeClassificationOutput) error
- func (t *PostJudgeInSchema_Output) MergeJudgeRegressionOutput(v JudgeRegressionOutput) error
- func (t *PostJudgeInSchema_Output) UnmarshalJSON(b []byte) error
- func (t PostJudgeInSchema_Output) ValueByDiscriminator() (interface{}, error)
- type Prediction
- type PredictionType
- type ProcessStatus
- type ProcessingStatusOut
- type PromptTokensDetails
- type PublicAuthenticationMethod
- type PutDatasetRecordPayloadInSchema
- type PutDatasetRecordPropertiesInSchema
- type PutJudgeInSchema
- type PutJudgeInSchema_Output
- func (t PutJudgeInSchema_Output) AsJudgeClassificationOutput() (JudgeClassificationOutput, error)
- func (t PutJudgeInSchema_Output) AsJudgeRegressionOutput() (JudgeRegressionOutput, error)
- func (t PutJudgeInSchema_Output) Discriminator() (string, error)
- func (t *PutJudgeInSchema_Output) FromJudgeClassificationOutput(v JudgeClassificationOutput) error
- func (t *PutJudgeInSchema_Output) FromJudgeRegressionOutput(v JudgeRegressionOutput) error
- func (t PutJudgeInSchema_Output) MarshalJSON() ([]byte, error)
- func (t *PutJudgeInSchema_Output) MergeJudgeClassificationOutput(v JudgeClassificationOutput) error
- func (t *PutJudgeInSchema_Output) MergeJudgeRegressionOutput(v JudgeRegressionOutput) error
- func (t *PutJudgeInSchema_Output) UnmarshalJSON(b []byte) error
- func (t PutJudgeInSchema_Output) ValueByDiscriminator() (interface{}, error)
- type QueryDefinition
- type QueryInvocationBody
- type QueryInvocationBodyInput1
- type QueryInvocationBody_Input
- func (t QueryInvocationBody_Input) AsNetworkEncodedInput() (NetworkEncodedInput, error)
- func (t QueryInvocationBody_Input) AsQueryInvocationBodyInput1() (QueryInvocationBodyInput1, error)
- func (t *QueryInvocationBody_Input) FromNetworkEncodedInput(v NetworkEncodedInput) error
- func (t *QueryInvocationBody_Input) FromQueryInvocationBodyInput1(v QueryInvocationBodyInput1) error
- func (t QueryInvocationBody_Input) MarshalJSON() ([]byte, error)
- func (t *QueryInvocationBody_Input) MergeNetworkEncodedInput(v NetworkEncodedInput) error
- func (t *QueryInvocationBody_Input) MergeQueryInvocationBodyInput1(v QueryInvocationBodyInput1) error
- func (t *QueryInvocationBody_Input) UnmarshalJSON(b []byte) error
- type QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostJSONRequestBody
- type QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse
- func (r QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) ContentType() string
- func (r QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) GetBody() []byte
- func (r QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) GetJSON200() *QueryWorkflowResponse
- func (r QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) GetJSON422() *HTTPValidationError
- func (r QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) Status() string
- func (r QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) StatusCode() int
- type QueryWorkflowResponse
- type ReferenceChunk
- type ReferenceChunkType
- type RequestEditorFn
- type RequestSource
- type ResetInvocationBody
- type ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostJSONRequestBody
- type ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse
- func (r ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) ContentType() string
- func (r ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) GetBody() []byte
- func (r ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) GetJSON422() *HTTPValidationError
- func (r ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) Status() string
- func (r ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) StatusCode() int
- type ResourceLink
- type ResourceLinkType
- type ResourceVisibility
- type ResponseBase
- type ResponseDoneEvent
- type ResponseDoneEventType
- type ResponseErrorEvent
- type ResponseErrorEventType
- type ResponseFormat
- type ResponseFormats
- type ResponseStartedEvent
- type ResponseStartedEventType
- type RetrieveFileOut
- type RetrieveModelV1ModelsModelIdGet200JSONResponseBody
- func (t RetrieveModelV1ModelsModelIdGet200JSONResponseBody) AsBaseModelCard() (BaseModelCard, error)
- func (t RetrieveModelV1ModelsModelIdGet200JSONResponseBody) AsFTModelCard() (FTModelCard, error)
- func (t RetrieveModelV1ModelsModelIdGet200JSONResponseBody) Discriminator() (string, error)
- func (t *RetrieveModelV1ModelsModelIdGet200JSONResponseBody) FromBaseModelCard(v BaseModelCard) error
- func (t *RetrieveModelV1ModelsModelIdGet200JSONResponseBody) FromFTModelCard(v FTModelCard) error
- func (t RetrieveModelV1ModelsModelIdGet200JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *RetrieveModelV1ModelsModelIdGet200JSONResponseBody) MergeBaseModelCard(v BaseModelCard) error
- func (t *RetrieveModelV1ModelsModelIdGet200JSONResponseBody) MergeFTModelCard(v FTModelCard) error
- func (t *RetrieveModelV1ModelsModelIdGet200JSONResponseBody) UnmarshalJSON(b []byte) error
- func (t RetrieveModelV1ModelsModelIdGet200JSONResponseBody) ValueByDiscriminator() (interface{}, error)
- type RetrieveModelV1ModelsModelIdGetResponse
- func (r RetrieveModelV1ModelsModelIdGetResponse) ContentType() string
- func (r RetrieveModelV1ModelsModelIdGetResponse) GetBody() []byte
- func (r RetrieveModelV1ModelsModelIdGetResponse) GetJSON200() *RetrieveModelV1ModelsModelIdGet200JSONResponseBody
- func (r RetrieveModelV1ModelsModelIdGetResponse) GetJSON422() *HTTPValidationError
- func (r RetrieveModelV1ModelsModelIdGetResponse) Status() string
- func (r RetrieveModelV1ModelsModelIdGetResponse) StatusCode() int
- type SSETypes
- type SampleType
- type ScalarMetric
- type ScalarMetricValue0
- type ScalarMetricValue1
- type ScalarMetric_Value
- func (t ScalarMetric_Value) AsScalarMetricValue0() (ScalarMetricValue0, error)
- func (t ScalarMetric_Value) AsScalarMetricValue1() (ScalarMetricValue1, error)
- func (t *ScalarMetric_Value) FromScalarMetricValue0(v ScalarMetricValue0) error
- func (t *ScalarMetric_Value) FromScalarMetricValue1(v ScalarMetricValue1) error
- func (t ScalarMetric_Value) MarshalJSON() ([]byte, error)
- func (t *ScalarMetric_Value) MergeScalarMetricValue0(v ScalarMetricValue0) error
- func (t *ScalarMetric_Value) MergeScalarMetricValue1(v ScalarMetricValue1) error
- func (t *ScalarMetric_Value) UnmarshalJSON(b []byte) error
- type ScheduleCalendar
- type ScheduleDefinition
- type ScheduleDefinitionOutput
- type ScheduleInterval
- type ScheduleOverlapPolicy
- type SchedulePolicy
- type ScheduleRange
- type ScheduleWorkflowV1WorkflowsSchedulesPostJSONRequestBody
- type ScheduleWorkflowV1WorkflowsSchedulesPostResponse
- func (r ScheduleWorkflowV1WorkflowsSchedulesPostResponse) ContentType() string
- func (r ScheduleWorkflowV1WorkflowsSchedulesPostResponse) GetBody() []byte
- func (r ScheduleWorkflowV1WorkflowsSchedulesPostResponse) GetJSON201() *WorkflowScheduleResponse
- func (r ScheduleWorkflowV1WorkflowsSchedulesPostResponse) GetJSON422() *HTTPValidationError
- func (r ScheduleWorkflowV1WorkflowsSchedulesPostResponse) Status() string
- func (r ScheduleWorkflowV1WorkflowsSchedulesPostResponse) StatusCode() int
- type ShareEnum
- type SharingDelete
- type SharingIn
- type SharingOut
- type SignalDefinition
- type SignalInvocationBody
- type SignalInvocationBodyInput1
- type SignalInvocationBody_Input
- func (t SignalInvocationBody_Input) AsNetworkEncodedInput() (NetworkEncodedInput, error)
- func (t SignalInvocationBody_Input) AsSignalInvocationBodyInput1() (SignalInvocationBodyInput1, error)
- func (t *SignalInvocationBody_Input) FromNetworkEncodedInput(v NetworkEncodedInput) error
- func (t *SignalInvocationBody_Input) FromSignalInvocationBodyInput1(v SignalInvocationBodyInput1) error
- func (a SignalInvocationBody_Input) Get(fieldName string) (value interface{}, found bool)
- func (a SignalInvocationBody_Input) MarshalJSON() ([]byte, error)
- func (t *SignalInvocationBody_Input) MergeNetworkEncodedInput(v NetworkEncodedInput) error
- func (t *SignalInvocationBody_Input) MergeSignalInvocationBodyInput1(v SignalInvocationBodyInput1) error
- func (a *SignalInvocationBody_Input) Set(fieldName string, value interface{})
- func (a *SignalInvocationBody_Input) UnmarshalJSON(b []byte) error
- type SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostJSONRequestBody
- type SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse
- func (r SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) ContentType() string
- func (r SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) GetBody() []byte
- func (r SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) GetJSON202() *SignalWorkflowResponse
- func (r SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) GetJSON422() *HTTPValidationError
- func (r SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) Status() string
- func (r SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) StatusCode() int
- type SignalWorkflowResponse
- type Source
- type SpeechOutputFormat
- type SpeechRequest
- type SpeechResponse
- type SpeechStreamAudioDelta
- type SpeechStreamAudioDeltaType
- type SpeechStreamDone
- type SpeechStreamDoneType
- type SpeechStreamEvents
- type SpeechStreamEventsEvent
- type SpeechStreamEvents_Data
- func (t SpeechStreamEvents_Data) AsSpeechStreamAudioDelta() (SpeechStreamAudioDelta, error)
- func (t SpeechStreamEvents_Data) AsSpeechStreamDone() (SpeechStreamDone, error)
- func (t SpeechStreamEvents_Data) Discriminator() (string, error)
- func (t *SpeechStreamEvents_Data) FromSpeechStreamAudioDelta(v SpeechStreamAudioDelta) error
- func (t *SpeechStreamEvents_Data) FromSpeechStreamDone(v SpeechStreamDone) error
- func (t SpeechStreamEvents_Data) MarshalJSON() ([]byte, error)
- func (t *SpeechStreamEvents_Data) MergeSpeechStreamAudioDelta(v SpeechStreamAudioDelta) error
- func (t *SpeechStreamEvents_Data) MergeSpeechStreamDone(v SpeechStreamDone) error
- func (t *SpeechStreamEvents_Data) UnmarshalJSON(b []byte) error
- func (t SpeechStreamEvents_Data) ValueByDiscriminator() (interface{}, error)
- type SpeechV1AudioSpeechPostJSONRequestBody
- type SpeechV1AudioSpeechPostResponse
- func (r SpeechV1AudioSpeechPostResponse) ContentType() string
- func (r SpeechV1AudioSpeechPostResponse) GetBody() []byte
- func (r SpeechV1AudioSpeechPostResponse) GetJSON200() *SpeechResponse
- func (r SpeechV1AudioSpeechPostResponse) GetJSON422() *HTTPValidationError
- func (r SpeechV1AudioSpeechPostResponse) Status() string
- func (r SpeechV1AudioSpeechPostResponse) StatusCode() int
- type StreamEventSsePayload
- type StreamEventSsePayload_Data
- func (t StreamEventSsePayload_Data) AsActivityTaskCompletedResponse() (ActivityTaskCompletedResponse, error)
- func (t StreamEventSsePayload_Data) AsActivityTaskFailedResponse() (ActivityTaskFailedResponse, error)
- func (t StreamEventSsePayload_Data) AsActivityTaskRetryingResponse() (ActivityTaskRetryingResponse, error)
- func (t StreamEventSsePayload_Data) AsActivityTaskStartedResponse() (ActivityTaskStartedResponse, error)
- func (t StreamEventSsePayload_Data) AsCustomTaskCanceledResponse() (CustomTaskCanceledResponse, error)
- func (t StreamEventSsePayload_Data) AsCustomTaskCompletedResponse() (CustomTaskCompletedResponse, error)
- func (t StreamEventSsePayload_Data) AsCustomTaskFailedResponse() (CustomTaskFailedResponse, error)
- func (t StreamEventSsePayload_Data) AsCustomTaskInProgressResponse() (CustomTaskInProgressResponse, error)
- func (t StreamEventSsePayload_Data) AsCustomTaskStartedResponse() (CustomTaskStartedResponse, error)
- func (t StreamEventSsePayload_Data) AsCustomTaskTimedOutResponse() (CustomTaskTimedOutResponse, error)
- func (t StreamEventSsePayload_Data) AsWorkflowExecutionCanceledResponse() (WorkflowExecutionCanceledResponse, error)
- func (t StreamEventSsePayload_Data) AsWorkflowExecutionCompletedResponse() (WorkflowExecutionCompletedResponse, error)
- func (t StreamEventSsePayload_Data) AsWorkflowExecutionContinuedAsNewResponse() (WorkflowExecutionContinuedAsNewResponse, error)
- func (t StreamEventSsePayload_Data) AsWorkflowExecutionFailedResponse() (WorkflowExecutionFailedResponse, error)
- func (t StreamEventSsePayload_Data) AsWorkflowExecutionStartedResponse() (WorkflowExecutionStartedResponse, error)
- func (t StreamEventSsePayload_Data) AsWorkflowTaskFailedResponse() (WorkflowTaskFailedResponse, error)
- func (t StreamEventSsePayload_Data) AsWorkflowTaskTimedOutResponse() (WorkflowTaskTimedOutResponse, error)
- func (t *StreamEventSsePayload_Data) FromActivityTaskCompletedResponse(v ActivityTaskCompletedResponse) error
- func (t *StreamEventSsePayload_Data) FromActivityTaskFailedResponse(v ActivityTaskFailedResponse) error
- func (t *StreamEventSsePayload_Data) FromActivityTaskRetryingResponse(v ActivityTaskRetryingResponse) error
- func (t *StreamEventSsePayload_Data) FromActivityTaskStartedResponse(v ActivityTaskStartedResponse) error
- func (t *StreamEventSsePayload_Data) FromCustomTaskCanceledResponse(v CustomTaskCanceledResponse) error
- func (t *StreamEventSsePayload_Data) FromCustomTaskCompletedResponse(v CustomTaskCompletedResponse) error
- func (t *StreamEventSsePayload_Data) FromCustomTaskFailedResponse(v CustomTaskFailedResponse) error
- func (t *StreamEventSsePayload_Data) FromCustomTaskInProgressResponse(v CustomTaskInProgressResponse) error
- func (t *StreamEventSsePayload_Data) FromCustomTaskStartedResponse(v CustomTaskStartedResponse) error
- func (t *StreamEventSsePayload_Data) FromCustomTaskTimedOutResponse(v CustomTaskTimedOutResponse) error
- func (t *StreamEventSsePayload_Data) FromWorkflowExecutionCanceledResponse(v WorkflowExecutionCanceledResponse) error
- func (t *StreamEventSsePayload_Data) FromWorkflowExecutionCompletedResponse(v WorkflowExecutionCompletedResponse) error
- func (t *StreamEventSsePayload_Data) FromWorkflowExecutionContinuedAsNewResponse(v WorkflowExecutionContinuedAsNewResponse) error
- func (t *StreamEventSsePayload_Data) FromWorkflowExecutionFailedResponse(v WorkflowExecutionFailedResponse) error
- func (t *StreamEventSsePayload_Data) FromWorkflowExecutionStartedResponse(v WorkflowExecutionStartedResponse) error
- func (t *StreamEventSsePayload_Data) FromWorkflowTaskFailedResponse(v WorkflowTaskFailedResponse) error
- func (t *StreamEventSsePayload_Data) FromWorkflowTaskTimedOutResponse(v WorkflowTaskTimedOutResponse) error
- func (t StreamEventSsePayload_Data) MarshalJSON() ([]byte, error)
- func (t *StreamEventSsePayload_Data) MergeActivityTaskCompletedResponse(v ActivityTaskCompletedResponse) error
- func (t *StreamEventSsePayload_Data) MergeActivityTaskFailedResponse(v ActivityTaskFailedResponse) error
- func (t *StreamEventSsePayload_Data) MergeActivityTaskRetryingResponse(v ActivityTaskRetryingResponse) error
- func (t *StreamEventSsePayload_Data) MergeActivityTaskStartedResponse(v ActivityTaskStartedResponse) error
- func (t *StreamEventSsePayload_Data) MergeCustomTaskCanceledResponse(v CustomTaskCanceledResponse) error
- func (t *StreamEventSsePayload_Data) MergeCustomTaskCompletedResponse(v CustomTaskCompletedResponse) error
- func (t *StreamEventSsePayload_Data) MergeCustomTaskFailedResponse(v CustomTaskFailedResponse) error
- func (t *StreamEventSsePayload_Data) MergeCustomTaskInProgressResponse(v CustomTaskInProgressResponse) error
- func (t *StreamEventSsePayload_Data) MergeCustomTaskStartedResponse(v CustomTaskStartedResponse) error
- func (t *StreamEventSsePayload_Data) MergeCustomTaskTimedOutResponse(v CustomTaskTimedOutResponse) error
- func (t *StreamEventSsePayload_Data) MergeWorkflowExecutionCanceledResponse(v WorkflowExecutionCanceledResponse) error
- func (t *StreamEventSsePayload_Data) MergeWorkflowExecutionCompletedResponse(v WorkflowExecutionCompletedResponse) error
- func (t *StreamEventSsePayload_Data) MergeWorkflowExecutionContinuedAsNewResponse(v WorkflowExecutionContinuedAsNewResponse) error
- func (t *StreamEventSsePayload_Data) MergeWorkflowExecutionFailedResponse(v WorkflowExecutionFailedResponse) error
- func (t *StreamEventSsePayload_Data) MergeWorkflowExecutionStartedResponse(v WorkflowExecutionStartedResponse) error
- func (t *StreamEventSsePayload_Data) MergeWorkflowTaskFailedResponse(v WorkflowTaskFailedResponse) error
- func (t *StreamEventSsePayload_Data) MergeWorkflowTaskTimedOutResponse(v WorkflowTaskTimedOutResponse) error
- func (t *StreamEventSsePayload_Data) UnmarshalJSON(b []byte) error
- type StreamEventWorkflowContext
- type StreamV1WorkflowsExecutionsExecutionIdStreamGetParams
- type StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse
- func (r StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) ContentType() string
- func (r StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) GetBody() []byte
- func (r StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) GetJSON422() *HTTPValidationError
- func (r StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) Status() string
- func (r StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) StatusCode() int
- type SystemMessage
- type SystemMessageContent0
- type SystemMessageContent1
- type SystemMessageContentChunks
- func (t SystemMessageContentChunks) AsTextChunk() (TextChunk, error)
- func (t SystemMessageContentChunks) AsThinkChunk() (ThinkChunk, error)
- func (t SystemMessageContentChunks) Discriminator() (string, error)
- func (t *SystemMessageContentChunks) FromTextChunk(v TextChunk) error
- func (t *SystemMessageContentChunks) FromThinkChunk(v ThinkChunk) error
- func (t SystemMessageContentChunks) MarshalJSON() ([]byte, error)
- func (t *SystemMessageContentChunks) MergeTextChunk(v TextChunk) error
- func (t *SystemMessageContentChunks) MergeThinkChunk(v ThinkChunk) error
- func (t *SystemMessageContentChunks) UnmarshalJSON(b []byte) error
- func (t SystemMessageContentChunks) ValueByDiscriminator() (interface{}, error)
- type SystemMessageRole
- type SystemMessage_Content
- func (t SystemMessage_Content) AsSystemMessageContent0() (SystemMessageContent0, error)
- func (t SystemMessage_Content) AsSystemMessageContent1() (SystemMessageContent1, error)
- func (t *SystemMessage_Content) FromSystemMessageContent0(v SystemMessageContent0) error
- func (t *SystemMessage_Content) FromSystemMessageContent1(v SystemMessageContent1) error
- func (t SystemMessage_Content) MarshalJSON() ([]byte, error)
- func (t *SystemMessage_Content) MergeSystemMessageContent0(v SystemMessageContent0) error
- func (t *SystemMessage_Content) MergeSystemMessageContent1(v SystemMessageContent1) error
- func (t *SystemMessage_Content) UnmarshalJSON(b []byte) error
- type TempoGetTraceResponse
- type TempoTraceAttribute
- type TempoTraceAttributeBoolValue
- type TempoTraceAttributeIntValue
- type TempoTraceAttributeStringValue
- type TempoTraceAttribute_Value
- func (t TempoTraceAttribute_Value) AsTempoTraceAttributeBoolValue() (TempoTraceAttributeBoolValue, error)
- func (t TempoTraceAttribute_Value) AsTempoTraceAttributeIntValue() (TempoTraceAttributeIntValue, error)
- func (t TempoTraceAttribute_Value) AsTempoTraceAttributeStringValue() (TempoTraceAttributeStringValue, error)
- func (t *TempoTraceAttribute_Value) FromTempoTraceAttributeBoolValue(v TempoTraceAttributeBoolValue) error
- func (t *TempoTraceAttribute_Value) FromTempoTraceAttributeIntValue(v TempoTraceAttributeIntValue) error
- func (t *TempoTraceAttribute_Value) FromTempoTraceAttributeStringValue(v TempoTraceAttributeStringValue) error
- func (t TempoTraceAttribute_Value) MarshalJSON() ([]byte, error)
- func (t *TempoTraceAttribute_Value) MergeTempoTraceAttributeBoolValue(v TempoTraceAttributeBoolValue) error
- func (t *TempoTraceAttribute_Value) MergeTempoTraceAttributeIntValue(v TempoTraceAttributeIntValue) error
- func (t *TempoTraceAttribute_Value) MergeTempoTraceAttributeStringValue(v TempoTraceAttributeStringValue) error
- func (t *TempoTraceAttribute_Value) UnmarshalJSON(b []byte) error
- type TempoTraceBatch
- type TempoTraceEvent
- type TempoTraceResource
- type TempoTraceScope
- type TempoTraceScopeKind
- type TempoTraceScopeSpan
- type TempoTraceSpan
- type TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse
- func (r TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) ContentType() string
- func (r TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) GetBody() []byte
- func (r TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) GetJSON422() *HTTPValidationError
- func (r TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) Status() string
- func (r TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) StatusCode() int
- type TextChunk
- type TextChunkType
- type TextContent
- type TextContentType
- type TextResourceContents
- type ThinkChunk
- type ThinkChunkType
- type ThinkChunk_Thinking_Item
- func (t ThinkChunk_Thinking_Item) AsReferenceChunk() (ReferenceChunk, error)
- func (t ThinkChunk_Thinking_Item) AsTextChunk() (TextChunk, error)
- func (t ThinkChunk_Thinking_Item) AsToolReferenceChunk() (ToolReferenceChunk, error)
- func (t *ThinkChunk_Thinking_Item) FromReferenceChunk(v ReferenceChunk) error
- func (t *ThinkChunk_Thinking_Item) FromTextChunk(v TextChunk) error
- func (t *ThinkChunk_Thinking_Item) FromToolReferenceChunk(v ToolReferenceChunk) error
- func (t ThinkChunk_Thinking_Item) MarshalJSON() ([]byte, error)
- func (t *ThinkChunk_Thinking_Item) MergeReferenceChunk(v ReferenceChunk) error
- func (t *ThinkChunk_Thinking_Item) MergeTextChunk(v TextChunk) error
- func (t *ThinkChunk_Thinking_Item) MergeToolReferenceChunk(v ToolReferenceChunk) error
- func (t *ThinkChunk_Thinking_Item) UnmarshalJSON(b []byte) error
- type TimeSeriesMetric
- type TimestampGranularity
- type Tool
- type ToolAnnotations
- type ToolCall
- type ToolCallConfirmation
- type ToolCallConfirmationConfirmation
- type ToolChoice
- type ToolChoiceEnum
- type ToolConfiguration
- type ToolExecution
- type ToolExecutionDeltaEvent
- type ToolExecutionDeltaEventName1
- type ToolExecutionDeltaEventType
- type ToolExecutionDeltaEvent_Name
- func (t ToolExecutionDeltaEvent_Name) AsBuiltInConnectors() (BuiltInConnectors, error)
- func (t ToolExecutionDeltaEvent_Name) AsToolExecutionDeltaEventName1() (ToolExecutionDeltaEventName1, error)
- func (t *ToolExecutionDeltaEvent_Name) FromBuiltInConnectors(v BuiltInConnectors) error
- func (t *ToolExecutionDeltaEvent_Name) FromToolExecutionDeltaEventName1(v ToolExecutionDeltaEventName1) error
- func (t ToolExecutionDeltaEvent_Name) MarshalJSON() ([]byte, error)
- func (t *ToolExecutionDeltaEvent_Name) MergeBuiltInConnectors(v BuiltInConnectors) error
- func (t *ToolExecutionDeltaEvent_Name) MergeToolExecutionDeltaEventName1(v ToolExecutionDeltaEventName1) error
- func (t *ToolExecutionDeltaEvent_Name) UnmarshalJSON(b []byte) error
- type ToolExecutionDoneEvent
- type ToolExecutionDoneEventName1
- type ToolExecutionDoneEventType
- type ToolExecutionDoneEvent_Name
- func (t ToolExecutionDoneEvent_Name) AsBuiltInConnectors() (BuiltInConnectors, error)
- func (t ToolExecutionDoneEvent_Name) AsToolExecutionDoneEventName1() (ToolExecutionDoneEventName1, error)
- func (t *ToolExecutionDoneEvent_Name) FromBuiltInConnectors(v BuiltInConnectors) error
- func (t *ToolExecutionDoneEvent_Name) FromToolExecutionDoneEventName1(v ToolExecutionDoneEventName1) error
- func (t ToolExecutionDoneEvent_Name) MarshalJSON() ([]byte, error)
- func (t *ToolExecutionDoneEvent_Name) MergeBuiltInConnectors(v BuiltInConnectors) error
- func (t *ToolExecutionDoneEvent_Name) MergeToolExecutionDoneEventName1(v ToolExecutionDoneEventName1) error
- func (t *ToolExecutionDoneEvent_Name) UnmarshalJSON(b []byte) error
- type ToolExecutionEntry
- type ToolExecutionEntryName1
- type ToolExecutionEntryObject
- type ToolExecutionEntryType
- type ToolExecutionEntry_Name
- func (t ToolExecutionEntry_Name) AsBuiltInConnectors() (BuiltInConnectors, error)
- func (t ToolExecutionEntry_Name) AsToolExecutionEntryName1() (ToolExecutionEntryName1, error)
- func (t *ToolExecutionEntry_Name) FromBuiltInConnectors(v BuiltInConnectors) error
- func (t *ToolExecutionEntry_Name) FromToolExecutionEntryName1(v ToolExecutionEntryName1) error
- func (t ToolExecutionEntry_Name) MarshalJSON() ([]byte, error)
- func (t *ToolExecutionEntry_Name) MergeBuiltInConnectors(v BuiltInConnectors) error
- func (t *ToolExecutionEntry_Name) MergeToolExecutionEntryName1(v ToolExecutionEntryName1) error
- func (t *ToolExecutionEntry_Name) UnmarshalJSON(b []byte) error
- type ToolExecutionInfo
- type ToolExecutionStartedEvent
- type ToolExecutionStartedEventName1
- type ToolExecutionStartedEventType
- type ToolExecutionStartedEvent_Name
- func (t ToolExecutionStartedEvent_Name) AsBuiltInConnectors() (BuiltInConnectors, error)
- func (t ToolExecutionStartedEvent_Name) AsToolExecutionStartedEventName1() (ToolExecutionStartedEventName1, error)
- func (t *ToolExecutionStartedEvent_Name) FromBuiltInConnectors(v BuiltInConnectors) error
- func (t *ToolExecutionStartedEvent_Name) FromToolExecutionStartedEventName1(v ToolExecutionStartedEventName1) error
- func (t ToolExecutionStartedEvent_Name) MarshalJSON() ([]byte, error)
- func (t *ToolExecutionStartedEvent_Name) MergeBuiltInConnectors(v BuiltInConnectors) error
- func (t *ToolExecutionStartedEvent_Name) MergeToolExecutionStartedEventName1(v ToolExecutionStartedEventName1) error
- func (t *ToolExecutionStartedEvent_Name) UnmarshalJSON(b []byte) error
- type ToolExecutionTaskSupport
- type ToolFileChunk
- type ToolFileChunkTool1
- type ToolFileChunkType
- type ToolFileChunk_Tool
- func (t ToolFileChunk_Tool) AsBuiltInConnectors() (BuiltInConnectors, error)
- func (t ToolFileChunk_Tool) AsToolFileChunkTool1() (ToolFileChunkTool1, error)
- func (t *ToolFileChunk_Tool) FromBuiltInConnectors(v BuiltInConnectors) error
- func (t *ToolFileChunk_Tool) FromToolFileChunkTool1(v ToolFileChunkTool1) error
- func (t ToolFileChunk_Tool) MarshalJSON() ([]byte, error)
- func (t *ToolFileChunk_Tool) MergeBuiltInConnectors(v BuiltInConnectors) error
- func (t *ToolFileChunk_Tool) MergeToolFileChunkTool1(v ToolFileChunkTool1) error
- func (t *ToolFileChunk_Tool) UnmarshalJSON(b []byte) error
- type ToolMessage
- type ToolMessageContent0
- type ToolMessageContent2
- type ToolMessageRole
- type ToolMessage_Content
- func (t ToolMessage_Content) AsToolMessageContent0() (ToolMessageContent0, error)
- func (t ToolMessage_Content) AsToolMessageContent2() (ToolMessageContent2, error)
- func (t *ToolMessage_Content) FromToolMessageContent0(v ToolMessageContent0) error
- func (t *ToolMessage_Content) FromToolMessageContent2(v ToolMessageContent2) error
- func (t ToolMessage_Content) MarshalJSON() ([]byte, error)
- func (t *ToolMessage_Content) MergeToolMessageContent0(v ToolMessageContent0) error
- func (t *ToolMessage_Content) MergeToolMessageContent2(v ToolMessageContent2) error
- func (t *ToolMessage_Content) UnmarshalJSON(b []byte) error
- type ToolReferenceChunk
- type ToolReferenceChunkTool1
- type ToolReferenceChunkType
- type ToolReferenceChunk_Tool
- func (t ToolReferenceChunk_Tool) AsBuiltInConnectors() (BuiltInConnectors, error)
- func (t ToolReferenceChunk_Tool) AsToolReferenceChunkTool1() (ToolReferenceChunkTool1, error)
- func (t *ToolReferenceChunk_Tool) FromBuiltInConnectors(v BuiltInConnectors) error
- func (t *ToolReferenceChunk_Tool) FromToolReferenceChunkTool1(v ToolReferenceChunkTool1) error
- func (t ToolReferenceChunk_Tool) MarshalJSON() ([]byte, error)
- func (t *ToolReferenceChunk_Tool) MergeBuiltInConnectors(v BuiltInConnectors) error
- func (t *ToolReferenceChunk_Tool) MergeToolReferenceChunkTool1(v ToolReferenceChunkTool1) error
- func (t *ToolReferenceChunk_Tool) UnmarshalJSON(b []byte) error
- type ToolType
- type ToolTypes
- type TrainingFile
- type TranscriptionResponse
- type TranscriptionSegmentChunk
- type TranscriptionSegmentChunkType
- type TranscriptionStreamDone
- type TranscriptionStreamDoneType
- type TranscriptionStreamEventTypes
- type TranscriptionStreamEvents
- type TranscriptionStreamEvents_Data
- func (t TranscriptionStreamEvents_Data) AsTranscriptionStreamDone() (TranscriptionStreamDone, error)
- func (t TranscriptionStreamEvents_Data) AsTranscriptionStreamLanguage() (TranscriptionStreamLanguage, error)
- func (t TranscriptionStreamEvents_Data) AsTranscriptionStreamSegmentDelta() (TranscriptionStreamSegmentDelta, error)
- func (t TranscriptionStreamEvents_Data) AsTranscriptionStreamTextDelta() (TranscriptionStreamTextDelta, error)
- func (t TranscriptionStreamEvents_Data) Discriminator() (string, error)
- func (t *TranscriptionStreamEvents_Data) FromTranscriptionStreamDone(v TranscriptionStreamDone) error
- func (t *TranscriptionStreamEvents_Data) FromTranscriptionStreamLanguage(v TranscriptionStreamLanguage) error
- func (t *TranscriptionStreamEvents_Data) FromTranscriptionStreamSegmentDelta(v TranscriptionStreamSegmentDelta) error
- func (t *TranscriptionStreamEvents_Data) FromTranscriptionStreamTextDelta(v TranscriptionStreamTextDelta) error
- func (t TranscriptionStreamEvents_Data) MarshalJSON() ([]byte, error)
- func (t *TranscriptionStreamEvents_Data) MergeTranscriptionStreamDone(v TranscriptionStreamDone) error
- func (t *TranscriptionStreamEvents_Data) MergeTranscriptionStreamLanguage(v TranscriptionStreamLanguage) error
- func (t *TranscriptionStreamEvents_Data) MergeTranscriptionStreamSegmentDelta(v TranscriptionStreamSegmentDelta) error
- func (t *TranscriptionStreamEvents_Data) MergeTranscriptionStreamTextDelta(v TranscriptionStreamTextDelta) error
- func (t *TranscriptionStreamEvents_Data) UnmarshalJSON(b []byte) error
- func (t TranscriptionStreamEvents_Data) ValueByDiscriminator() (interface{}, error)
- type TranscriptionStreamLanguage
- type TranscriptionStreamLanguageType
- type TranscriptionStreamSegmentDelta
- type TranscriptionStreamSegmentDeltaType
- type TranscriptionStreamTextDelta
- type TranscriptionStreamTextDeltaType
- type TurbineToolLocale
- type TurbineToolMeta
- type UnarchiveFTModelOut
- type UnarchiveFTModelOutObject
- type UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse
- func (r UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) ContentType() string
- func (r UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) GetBody() []byte
- func (r UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) GetJSON200() *WorkflowUnarchiveResponse
- func (r UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) GetJSON422() *HTTPValidationError
- func (r UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) Status() string
- func (r UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) StatusCode() int
- type UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse
- func (r UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) ContentType() string
- func (r UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) GetBody() []byte
- func (r UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) GetJSON422() *HTTPValidationError
- func (r UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) Status() string
- func (r UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) StatusCode() int
- type UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutJSONRequestBody
- type UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse
- func (r UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) ContentType() string
- func (r UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetBody() []byte
- func (r UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON400() *ObservabilityError
- func (r UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON404() *ObservabilityError
- func (r UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON408() *ObservabilityError
- func (r UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON409() *ObservabilityError
- func (r UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON422() *ObservabilityError
- func (r UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) Status() string
- func (r UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) StatusCode() int
- type UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutJSONRequestBody
- type UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse
- func (r UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) ContentType() string
- func (r UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetBody() []byte
- func (r UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON400() *ObservabilityError
- func (r UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON404() *ObservabilityError
- func (r UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON408() *ObservabilityError
- func (r UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON409() *ObservabilityError
- func (r UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON422() *ObservabilityError
- func (r UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) Status() string
- func (r UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) StatusCode() int
- type UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchJSONRequestBody
- type UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse
- func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) ContentType() string
- func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetBody() []byte
- func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON200() *DatasetPreview
- func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON400() *ObservabilityError
- func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON404() *ObservabilityError
- func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON408() *ObservabilityError
- func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON409() *ObservabilityError
- func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON422() *ObservabilityError
- func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) Status() string
- func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) StatusCode() int
- type UpdateDefinition
- type UpdateFTModelIn
- type UpdateInvocationBody
- type UpdateInvocationBodyInput1
- type UpdateInvocationBody_Input
- func (t UpdateInvocationBody_Input) AsNetworkEncodedInput() (NetworkEncodedInput, error)
- func (t UpdateInvocationBody_Input) AsUpdateInvocationBodyInput1() (UpdateInvocationBodyInput1, error)
- func (t *UpdateInvocationBody_Input) FromNetworkEncodedInput(v NetworkEncodedInput) error
- func (t *UpdateInvocationBody_Input) FromUpdateInvocationBodyInput1(v UpdateInvocationBodyInput1) error
- func (t UpdateInvocationBody_Input) MarshalJSON() ([]byte, error)
- func (t *UpdateInvocationBody_Input) MergeNetworkEncodedInput(v NetworkEncodedInput) error
- func (t *UpdateInvocationBody_Input) MergeUpdateInvocationBodyInput1(v UpdateInvocationBodyInput1) error
- func (t *UpdateInvocationBody_Input) UnmarshalJSON(b []byte) error
- type UpdateJudgeV1ObservabilityJudgesJudgeIdPutJSONRequestBody
- type UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse
- func (r UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) ContentType() string
- func (r UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetBody() []byte
- func (r UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON400() *ObservabilityError
- func (r UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON404() *ObservabilityError
- func (r UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON408() *ObservabilityError
- func (r UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON409() *ObservabilityError
- func (r UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON422() *ObservabilityError
- func (r UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) Status() string
- func (r UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) StatusCode() int
- type UpdateVoiceV1AudioVoicesVoiceIdPatchJSONRequestBody
- type UpdateVoiceV1AudioVoicesVoiceIdPatchResponse
- func (r UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) ContentType() string
- func (r UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) GetBody() []byte
- func (r UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) GetJSON200() *VoiceResponse
- func (r UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) GetJSON422() *HTTPValidationError
- func (r UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) Status() string
- func (r UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) StatusCode() int
- type UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostJSONRequestBody
- type UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse
- func (r UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) ContentType() string
- func (r UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) GetBody() []byte
- func (r UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) GetJSON200() *UpdateWorkflowResponse
- func (r UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) GetJSON422() *HTTPValidationError
- func (r UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) Status() string
- func (r UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) StatusCode() int
- type UpdateWorkflowResponse
- type UpdateWorkflowV1WorkflowsWorkflowIdentifierPutJSONRequestBody
- type UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse
- func (r UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) ContentType() string
- func (r UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) GetBody() []byte
- func (r UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) GetJSON200() *WorkflowUpdateResponse
- func (r UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) GetJSON422() *HTTPValidationError
- func (r UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) Status() string
- func (r UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) StatusCode() int
- type UploadFileOut
- type UsageInfo
- type UserMessage
- type UserMessageContent0
- type UserMessageContent2
- type UserMessageRole
- type UserMessage_Content
- func (t UserMessage_Content) AsUserMessageContent0() (UserMessageContent0, error)
- func (t UserMessage_Content) AsUserMessageContent2() (UserMessageContent2, error)
- func (t *UserMessage_Content) FromUserMessageContent0(v UserMessageContent0) error
- func (t *UserMessage_Content) FromUserMessageContent2(v UserMessageContent2) error
- func (t UserMessage_Content) MarshalJSON() ([]byte, error)
- func (t *UserMessage_Content) MergeUserMessageContent0(v UserMessageContent0) error
- func (t *UserMessage_Content) MergeUserMessageContent2(v UserMessageContent2) error
- func (t *UserMessage_Content) UnmarshalJSON(b []byte) error
- type ValidationError
- type ValidationErrorLoc0
- type ValidationErrorLoc1
- type ValidationError_Loc_Item
- func (t ValidationError_Loc_Item) AsValidationErrorLoc0() (ValidationErrorLoc0, error)
- func (t ValidationError_Loc_Item) AsValidationErrorLoc1() (ValidationErrorLoc1, error)
- func (t *ValidationError_Loc_Item) FromValidationErrorLoc0(v ValidationErrorLoc0) error
- func (t *ValidationError_Loc_Item) FromValidationErrorLoc1(v ValidationErrorLoc1) error
- func (t ValidationError_Loc_Item) MarshalJSON() ([]byte, error)
- func (t *ValidationError_Loc_Item) MergeValidationErrorLoc0(v ValidationErrorLoc0) error
- func (t *ValidationError_Loc_Item) MergeValidationErrorLoc1(v ValidationErrorLoc1) error
- func (t *ValidationError_Loc_Item) UnmarshalJSON(b []byte) error
- type VoiceCreateRequest
- type VoiceListResponse
- type VoiceResponse
- type VoiceUpdateRequest
- type WandbIntegration
- type WandbIntegrationOut
- type WandbIntegrationOutType
- type WandbIntegrationType
- type WebSearchPremiumTool
- type WebSearchPremiumToolType
- type WebSearchTool
- type WebSearchToolType
- type WorkerInfo
- type Workflow
- type WorkflowArchiveResponse
- type WorkflowCodeDefinition
- type WorkflowEventType
- type WorkflowExecutionCanceledAttributes
- type WorkflowExecutionCanceledResponse
- type WorkflowExecutionCanceledResponseEventType
- type WorkflowExecutionCompletedAttributesResponse
- type WorkflowExecutionCompletedResponse
- type WorkflowExecutionCompletedResponseEventType
- type WorkflowExecutionContinuedAsNewAttributesResponse
- type WorkflowExecutionContinuedAsNewResponse
- type WorkflowExecutionContinuedAsNewResponseEventType
- type WorkflowExecutionFailedAttributes
- type WorkflowExecutionFailedResponse
- type WorkflowExecutionFailedResponseEventType
- type WorkflowExecutionListResponse
- type WorkflowExecutionProgressTraceEvent
- type WorkflowExecutionRequest
- type WorkflowExecutionResponse
- type WorkflowExecutionStartedAttributesResponse
- type WorkflowExecutionStartedResponse
- type WorkflowExecutionStartedResponseEventType
- type WorkflowExecutionStatus
- type WorkflowExecutionSyncResponse
- type WorkflowExecutionTraceEvent
- type WorkflowExecutionTraceEventsResponse
- type WorkflowExecutionTraceEventsResponse_Events_Item
- func (t WorkflowExecutionTraceEventsResponse_Events_Item) AsWorkflowExecutionProgressTraceEvent() (WorkflowExecutionProgressTraceEvent, error)
- func (t WorkflowExecutionTraceEventsResponse_Events_Item) AsWorkflowExecutionTraceEvent() (WorkflowExecutionTraceEvent, error)
- func (t *WorkflowExecutionTraceEventsResponse_Events_Item) FromWorkflowExecutionProgressTraceEvent(v WorkflowExecutionProgressTraceEvent) error
- func (t *WorkflowExecutionTraceEventsResponse_Events_Item) FromWorkflowExecutionTraceEvent(v WorkflowExecutionTraceEvent) error
- func (t WorkflowExecutionTraceEventsResponse_Events_Item) MarshalJSON() ([]byte, error)
- func (t *WorkflowExecutionTraceEventsResponse_Events_Item) MergeWorkflowExecutionProgressTraceEvent(v WorkflowExecutionProgressTraceEvent) error
- func (t *WorkflowExecutionTraceEventsResponse_Events_Item) MergeWorkflowExecutionTraceEvent(v WorkflowExecutionTraceEvent) error
- func (t *WorkflowExecutionTraceEventsResponse_Events_Item) UnmarshalJSON(b []byte) error
- type WorkflowExecutionTraceOTelResponse
- type WorkflowExecutionTraceSummaryAttributesValues
- func (t WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues0() (WorkflowExecutionTraceSummaryAttributesValues0, error)
- func (t WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues1() (WorkflowExecutionTraceSummaryAttributesValues1, error)
- func (t WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues2() (WorkflowExecutionTraceSummaryAttributesValues2, error)
- func (t WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues3() (WorkflowExecutionTraceSummaryAttributesValues3, error)
- func (t *WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues0(v WorkflowExecutionTraceSummaryAttributesValues0) error
- func (t *WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues1(v WorkflowExecutionTraceSummaryAttributesValues1) error
- func (t *WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues2(v WorkflowExecutionTraceSummaryAttributesValues2) error
- func (t *WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues3(v WorkflowExecutionTraceSummaryAttributesValues3) error
- func (t WorkflowExecutionTraceSummaryAttributesValues) MarshalJSON() ([]byte, error)
- func (t *WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues0(v WorkflowExecutionTraceSummaryAttributesValues0) error
- func (t *WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues1(v WorkflowExecutionTraceSummaryAttributesValues1) error
- func (t *WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues2(v WorkflowExecutionTraceSummaryAttributesValues2) error
- func (t *WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues3(v WorkflowExecutionTraceSummaryAttributesValues3) error
- func (t *WorkflowExecutionTraceSummaryAttributesValues) UnmarshalJSON(b []byte) error
- type WorkflowExecutionTraceSummaryAttributesValues0
- type WorkflowExecutionTraceSummaryAttributesValues1
- type WorkflowExecutionTraceSummaryAttributesValues2
- type WorkflowExecutionTraceSummaryAttributesValues3
- type WorkflowExecutionTraceSummaryResponse
- type WorkflowExecutionTraceSummarySpan
- type WorkflowExecutionWithoutResultResponse
- type WorkflowGetResponse
- type WorkflowMetrics
- type WorkflowRegistration
- type WorkflowRegistrationGetResponse
- type WorkflowRegistrationListResponse
- type WorkflowRegistrationWithWorkerStatus
- type WorkflowScheduleListResponse
- type WorkflowScheduleRequest
- type WorkflowScheduleResponse
- type WorkflowTaskFailedAttributes
- type WorkflowTaskFailedResponse
- type WorkflowTaskFailedResponseEventType
- type WorkflowTaskTimedOutAttributes
- type WorkflowTaskTimedOutResponse
- type WorkflowTaskTimedOutResponseEventType
- type WorkflowType
- type WorkflowUnarchiveResponse
- type WorkflowUpdateRequest
- type WorkflowUpdateResponse
- type WorkflowWithWorkerStatus
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAgentsApiV1AgentsCreateOrUpdateAliasRequest ¶
func NewAgentsApiV1AgentsCreateOrUpdateAliasRequest(server string, agentId string, params *AgentsApiV1AgentsCreateOrUpdateAliasParams) (*http.Request, error)
NewAgentsApiV1AgentsCreateOrUpdateAliasRequest constructs an http.Request for the AgentsApiV1AgentsCreateOrUpdateAlias method
func NewAgentsApiV1AgentsCreateRequest ¶
func NewAgentsApiV1AgentsCreateRequest(server string, body AgentsApiV1AgentsCreateJSONRequestBody) (*http.Request, error)
NewAgentsApiV1AgentsCreateRequest calls the generic AgentsApiV1AgentsCreate builder with application/json body
func NewAgentsApiV1AgentsCreateRequestWithBody ¶
func NewAgentsApiV1AgentsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAgentsApiV1AgentsCreateRequestWithBody constructs an http.Request for the AgentsApiV1AgentsCreate method, with any body, and a specified content type
func NewAgentsApiV1AgentsDeleteAliasRequest ¶
func NewAgentsApiV1AgentsDeleteAliasRequest(server string, agentId string, params *AgentsApiV1AgentsDeleteAliasParams) (*http.Request, error)
NewAgentsApiV1AgentsDeleteAliasRequest constructs an http.Request for the AgentsApiV1AgentsDeleteAlias method
func NewAgentsApiV1AgentsDeleteRequest ¶
NewAgentsApiV1AgentsDeleteRequest constructs an http.Request for the AgentsApiV1AgentsDelete method
func NewAgentsApiV1AgentsGetRequest ¶
func NewAgentsApiV1AgentsGetRequest(server string, agentId string, params *AgentsApiV1AgentsGetParams) (*http.Request, error)
NewAgentsApiV1AgentsGetRequest constructs an http.Request for the AgentsApiV1AgentsGet method
func NewAgentsApiV1AgentsGetVersionRequest ¶
func NewAgentsApiV1AgentsGetVersionRequest(server string, agentId string, version string) (*http.Request, error)
NewAgentsApiV1AgentsGetVersionRequest constructs an http.Request for the AgentsApiV1AgentsGetVersion method
func NewAgentsApiV1AgentsListPagesRequest ¶
func NewAgentsApiV1AgentsListPagesRequest(server string, params *AgentsApiV1AgentsListPagesParams) (*http.Request, error)
NewAgentsApiV1AgentsListPagesRequest constructs an http.Request for the AgentsApiV1AgentsListPages method
func NewAgentsApiV1AgentsListRequest ¶
func NewAgentsApiV1AgentsListRequest(server string, params *AgentsApiV1AgentsListParams) (*http.Request, error)
NewAgentsApiV1AgentsListRequest constructs an http.Request for the AgentsApiV1AgentsList method
func NewAgentsApiV1AgentsListVersionAliasesRequest ¶
func NewAgentsApiV1AgentsListVersionAliasesRequest(server string, agentId string) (*http.Request, error)
NewAgentsApiV1AgentsListVersionAliasesRequest constructs an http.Request for the AgentsApiV1AgentsListVersionAliases method
func NewAgentsApiV1AgentsListVersionsRequest ¶
func NewAgentsApiV1AgentsListVersionsRequest(server string, agentId string, params *AgentsApiV1AgentsListVersionsParams) (*http.Request, error)
NewAgentsApiV1AgentsListVersionsRequest constructs an http.Request for the AgentsApiV1AgentsListVersions method
func NewAgentsApiV1AgentsUpdateRequest ¶
func NewAgentsApiV1AgentsUpdateRequest(server string, agentId string, body AgentsApiV1AgentsUpdateJSONRequestBody) (*http.Request, error)
NewAgentsApiV1AgentsUpdateRequest calls the generic AgentsApiV1AgentsUpdate builder with application/json body
func NewAgentsApiV1AgentsUpdateRequestWithBody ¶
func NewAgentsApiV1AgentsUpdateRequestWithBody(server string, agentId string, contentType string, body io.Reader) (*http.Request, error)
NewAgentsApiV1AgentsUpdateRequestWithBody constructs an http.Request for the AgentsApiV1AgentsUpdate method, with any body, and a specified content type
func NewAgentsApiV1AgentsUpdateVersionRequest ¶
func NewAgentsApiV1AgentsUpdateVersionRequest(server string, agentId string, params *AgentsApiV1AgentsUpdateVersionParams) (*http.Request, error)
NewAgentsApiV1AgentsUpdateVersionRequest constructs an http.Request for the AgentsApiV1AgentsUpdateVersion method
func NewAgentsApiV1ConversationsAppendRequest ¶
func NewAgentsApiV1ConversationsAppendRequest(server string, conversationId string, body AgentsApiV1ConversationsAppendJSONRequestBody) (*http.Request, error)
NewAgentsApiV1ConversationsAppendRequest calls the generic AgentsApiV1ConversationsAppend builder with application/json body
func NewAgentsApiV1ConversationsAppendRequestWithBody ¶
func NewAgentsApiV1ConversationsAppendRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)
NewAgentsApiV1ConversationsAppendRequestWithBody constructs an http.Request for the AgentsApiV1ConversationsAppend method, with any body, and a specified content type
func NewAgentsApiV1ConversationsAppendStreamRequest ¶
func NewAgentsApiV1ConversationsAppendStreamRequest(server string, conversationId string, body AgentsApiV1ConversationsAppendStreamJSONRequestBody) (*http.Request, error)
NewAgentsApiV1ConversationsAppendStreamRequest calls the generic AgentsApiV1ConversationsAppendStream builder with application/json body
func NewAgentsApiV1ConversationsAppendStreamRequestWithBody ¶
func NewAgentsApiV1ConversationsAppendStreamRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)
NewAgentsApiV1ConversationsAppendStreamRequestWithBody constructs an http.Request for the AgentsApiV1ConversationsAppendStream method, with any body, and a specified content type
func NewAgentsApiV1ConversationsDeleteRequest ¶
func NewAgentsApiV1ConversationsDeleteRequest(server string, conversationId string) (*http.Request, error)
NewAgentsApiV1ConversationsDeleteRequest constructs an http.Request for the AgentsApiV1ConversationsDelete method
func NewAgentsApiV1ConversationsGetRequest ¶
func NewAgentsApiV1ConversationsGetRequest(server string, conversationId string) (*http.Request, error)
NewAgentsApiV1ConversationsGetRequest constructs an http.Request for the AgentsApiV1ConversationsGet method
func NewAgentsApiV1ConversationsHistoryRequest ¶
func NewAgentsApiV1ConversationsHistoryRequest(server string, conversationId string) (*http.Request, error)
NewAgentsApiV1ConversationsHistoryRequest constructs an http.Request for the AgentsApiV1ConversationsHistory method
func NewAgentsApiV1ConversationsListRequest ¶
func NewAgentsApiV1ConversationsListRequest(server string, params *AgentsApiV1ConversationsListParams) (*http.Request, error)
NewAgentsApiV1ConversationsListRequest constructs an http.Request for the AgentsApiV1ConversationsList method
func NewAgentsApiV1ConversationsMessagesRequest ¶
func NewAgentsApiV1ConversationsMessagesRequest(server string, conversationId string) (*http.Request, error)
NewAgentsApiV1ConversationsMessagesRequest constructs an http.Request for the AgentsApiV1ConversationsMessages method
func NewAgentsApiV1ConversationsRestartRequest ¶
func NewAgentsApiV1ConversationsRestartRequest(server string, conversationId string, body AgentsApiV1ConversationsRestartJSONRequestBody) (*http.Request, error)
NewAgentsApiV1ConversationsRestartRequest calls the generic AgentsApiV1ConversationsRestart builder with application/json body
func NewAgentsApiV1ConversationsRestartRequestWithBody ¶
func NewAgentsApiV1ConversationsRestartRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)
NewAgentsApiV1ConversationsRestartRequestWithBody constructs an http.Request for the AgentsApiV1ConversationsRestart method, with any body, and a specified content type
func NewAgentsApiV1ConversationsRestartStreamRequest ¶
func NewAgentsApiV1ConversationsRestartStreamRequest(server string, conversationId string, body AgentsApiV1ConversationsRestartStreamJSONRequestBody) (*http.Request, error)
NewAgentsApiV1ConversationsRestartStreamRequest calls the generic AgentsApiV1ConversationsRestartStream builder with application/json body
func NewAgentsApiV1ConversationsRestartStreamRequestWithBody ¶
func NewAgentsApiV1ConversationsRestartStreamRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)
NewAgentsApiV1ConversationsRestartStreamRequestWithBody constructs an http.Request for the AgentsApiV1ConversationsRestartStream method, with any body, and a specified content type
func NewAgentsApiV1ConversationsStartRequest ¶
func NewAgentsApiV1ConversationsStartRequest(server string, body AgentsApiV1ConversationsStartJSONRequestBody) (*http.Request, error)
NewAgentsApiV1ConversationsStartRequest calls the generic AgentsApiV1ConversationsStart builder with application/json body
func NewAgentsApiV1ConversationsStartRequestWithBody ¶
func NewAgentsApiV1ConversationsStartRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAgentsApiV1ConversationsStartRequestWithBody constructs an http.Request for the AgentsApiV1ConversationsStart method, with any body, and a specified content type
func NewAgentsApiV1ConversationsStartStreamRequest ¶
func NewAgentsApiV1ConversationsStartStreamRequest(server string, body AgentsApiV1ConversationsStartStreamJSONRequestBody) (*http.Request, error)
NewAgentsApiV1ConversationsStartStreamRequest calls the generic AgentsApiV1ConversationsStartStream builder with application/json body
func NewAgentsApiV1ConversationsStartStreamRequestWithBody ¶
func NewAgentsApiV1ConversationsStartStreamRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAgentsApiV1ConversationsStartStreamRequestWithBody constructs an http.Request for the AgentsApiV1ConversationsStartStream method, with any body, and a specified content type
func NewAgentsCompletionV1AgentsCompletionsPostRequest ¶
func NewAgentsCompletionV1AgentsCompletionsPostRequest(server string, body AgentsCompletionV1AgentsCompletionsPostJSONRequestBody) (*http.Request, error)
NewAgentsCompletionV1AgentsCompletionsPostRequest calls the generic AgentsCompletionV1AgentsCompletionsPost builder with application/json body
func NewAgentsCompletionV1AgentsCompletionsPostRequestWithBody ¶
func NewAgentsCompletionV1AgentsCompletionsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAgentsCompletionV1AgentsCompletionsPostRequestWithBody constructs an http.Request for the AgentsCompletionV1AgentsCompletionsPost method, with any body, and a specified content type
func NewArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutRequest ¶
func NewArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutRequest(server string, workflowIdentifier string) (*http.Request, error)
NewArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutRequest constructs an http.Request for the ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut method
func NewAudioApiV1TranscriptionsPostRequestWithBody ¶
func NewAudioApiV1TranscriptionsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAudioApiV1TranscriptionsPostRequestWithBody constructs an http.Request for the AudioApiV1TranscriptionsPost method, with any body, and a specified content type
func NewAudioApiV1TranscriptionsPostStreamRequestWithBody ¶
func NewAudioApiV1TranscriptionsPostStreamRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAudioApiV1TranscriptionsPostStreamRequestWithBody constructs an http.Request for the AudioApiV1TranscriptionsPostStream method, with any body, and a specified content type
func NewBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostRequest ¶
func NewBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostRequest(server string, body BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostJSONRequestBody) (*http.Request, error)
NewBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostRequest calls the generic BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost builder with application/json body
func NewBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostRequestWithBody ¶
func NewBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostRequestWithBody constructs an http.Request for the BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost method, with any body, and a specified content type
func NewBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostRequest ¶
func NewBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostRequest(server string, body BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostJSONRequestBody) (*http.Request, error)
NewBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostRequest calls the generic BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost builder with application/json body
func NewBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostRequestWithBody ¶
func NewBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostRequestWithBody constructs an http.Request for the BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost method, with any body, and a specified content type
func NewCancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostRequest ¶
func NewCancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostRequest(server string, executionId string) (*http.Request, error)
NewCancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostRequest constructs an http.Request for the CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost method
func NewChatClassificationsV1ChatClassificationsPostRequest ¶
func NewChatClassificationsV1ChatClassificationsPostRequest(server string, body ChatClassificationsV1ChatClassificationsPostJSONRequestBody) (*http.Request, error)
NewChatClassificationsV1ChatClassificationsPostRequest calls the generic ChatClassificationsV1ChatClassificationsPost builder with application/json body
func NewChatClassificationsV1ChatClassificationsPostRequestWithBody ¶
func NewChatClassificationsV1ChatClassificationsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewChatClassificationsV1ChatClassificationsPostRequestWithBody constructs an http.Request for the ChatClassificationsV1ChatClassificationsPost method, with any body, and a specified content type
func NewChatCompletionV1ChatCompletionsPostRequest ¶
func NewChatCompletionV1ChatCompletionsPostRequest(server string, body ChatCompletionV1ChatCompletionsPostJSONRequestBody) (*http.Request, error)
NewChatCompletionV1ChatCompletionsPostRequest calls the generic ChatCompletionV1ChatCompletionsPost builder with application/json body
func NewChatCompletionV1ChatCompletionsPostRequestWithBody ¶
func NewChatCompletionV1ChatCompletionsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewChatCompletionV1ChatCompletionsPostRequestWithBody constructs an http.Request for the ChatCompletionV1ChatCompletionsPost method, with any body, and a specified content type
func NewChatModerationsV1ChatModerationsPostRequest ¶
func NewChatModerationsV1ChatModerationsPostRequest(server string, body ChatModerationsV1ChatModerationsPostJSONRequestBody) (*http.Request, error)
NewChatModerationsV1ChatModerationsPostRequest calls the generic ChatModerationsV1ChatModerationsPost builder with application/json body
func NewChatModerationsV1ChatModerationsPostRequestWithBody ¶
func NewChatModerationsV1ChatModerationsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewChatModerationsV1ChatModerationsPostRequestWithBody constructs an http.Request for the ChatModerationsV1ChatModerationsPost method, with any body, and a specified content type
func NewClassificationsV1ClassificationsPostRequest ¶
func NewClassificationsV1ClassificationsPostRequest(server string, body ClassificationsV1ClassificationsPostJSONRequestBody) (*http.Request, error)
NewClassificationsV1ClassificationsPostRequest calls the generic ClassificationsV1ClassificationsPost builder with application/json body
func NewClassificationsV1ClassificationsPostRequestWithBody ¶
func NewClassificationsV1ClassificationsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewClassificationsV1ClassificationsPostRequestWithBody constructs an http.Request for the ClassificationsV1ClassificationsPost method, with any body, and a specified content type
func NewConnectorCallToolV1Request ¶
func NewConnectorCallToolV1Request(server string, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, body ConnectorCallToolV1JSONRequestBody) (*http.Request, error)
NewConnectorCallToolV1Request calls the generic ConnectorCallToolV1 builder with application/json body
func NewConnectorCallToolV1RequestWithBody ¶
func NewConnectorCallToolV1RequestWithBody(server string, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, contentType string, body io.Reader) (*http.Request, error)
NewConnectorCallToolV1RequestWithBody constructs an http.Request for the ConnectorCallToolV1 method, with any body, and a specified content type
func NewConnectorCreateOrUpdateOrganizationCredentialsV1Request ¶
func NewConnectorCreateOrUpdateOrganizationCredentialsV1Request(server string, connectorIdOrName string, body ConnectorCreateOrUpdateOrganizationCredentialsV1JSONRequestBody) (*http.Request, error)
NewConnectorCreateOrUpdateOrganizationCredentialsV1Request calls the generic ConnectorCreateOrUpdateOrganizationCredentialsV1 builder with application/json body
func NewConnectorCreateOrUpdateOrganizationCredentialsV1RequestWithBody ¶
func NewConnectorCreateOrUpdateOrganizationCredentialsV1RequestWithBody(server string, connectorIdOrName string, contentType string, body io.Reader) (*http.Request, error)
NewConnectorCreateOrUpdateOrganizationCredentialsV1RequestWithBody constructs an http.Request for the ConnectorCreateOrUpdateOrganizationCredentialsV1 method, with any body, and a specified content type
func NewConnectorCreateOrUpdateUserCredentialsV1Request ¶
func NewConnectorCreateOrUpdateUserCredentialsV1Request(server string, connectorIdOrName string, body ConnectorCreateOrUpdateUserCredentialsV1JSONRequestBody) (*http.Request, error)
NewConnectorCreateOrUpdateUserCredentialsV1Request calls the generic ConnectorCreateOrUpdateUserCredentialsV1 builder with application/json body
func NewConnectorCreateOrUpdateUserCredentialsV1RequestWithBody ¶
func NewConnectorCreateOrUpdateUserCredentialsV1RequestWithBody(server string, connectorIdOrName string, contentType string, body io.Reader) (*http.Request, error)
NewConnectorCreateOrUpdateUserCredentialsV1RequestWithBody constructs an http.Request for the ConnectorCreateOrUpdateUserCredentialsV1 method, with any body, and a specified content type
func NewConnectorCreateOrUpdateWorkspaceCredentialsV1Request ¶
func NewConnectorCreateOrUpdateWorkspaceCredentialsV1Request(server string, connectorIdOrName string, body ConnectorCreateOrUpdateWorkspaceCredentialsV1JSONRequestBody) (*http.Request, error)
NewConnectorCreateOrUpdateWorkspaceCredentialsV1Request calls the generic ConnectorCreateOrUpdateWorkspaceCredentialsV1 builder with application/json body
func NewConnectorCreateOrUpdateWorkspaceCredentialsV1RequestWithBody ¶
func NewConnectorCreateOrUpdateWorkspaceCredentialsV1RequestWithBody(server string, connectorIdOrName string, contentType string, body io.Reader) (*http.Request, error)
NewConnectorCreateOrUpdateWorkspaceCredentialsV1RequestWithBody constructs an http.Request for the ConnectorCreateOrUpdateWorkspaceCredentialsV1 method, with any body, and a specified content type
func NewConnectorCreateV1Request ¶
func NewConnectorCreateV1Request(server string, body ConnectorCreateV1JSONRequestBody) (*http.Request, error)
NewConnectorCreateV1Request calls the generic ConnectorCreateV1 builder with application/json body
func NewConnectorCreateV1RequestWithBody ¶
func NewConnectorCreateV1RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewConnectorCreateV1RequestWithBody constructs an http.Request for the ConnectorCreateV1 method, with any body, and a specified content type
func NewConnectorDeleteOrganizationCredentialsV1Request ¶
func NewConnectorDeleteOrganizationCredentialsV1Request(server string, connectorIdOrName string, credentialsName string) (*http.Request, error)
NewConnectorDeleteOrganizationCredentialsV1Request constructs an http.Request for the ConnectorDeleteOrganizationCredentialsV1 method
func NewConnectorDeleteUserCredentialsV1Request ¶
func NewConnectorDeleteUserCredentialsV1Request(server string, connectorIdOrName string, credentialsName string) (*http.Request, error)
NewConnectorDeleteUserCredentialsV1Request constructs an http.Request for the ConnectorDeleteUserCredentialsV1 method
func NewConnectorDeleteV1Request ¶
func NewConnectorDeleteV1Request(server string, connectorId openapi_types.UUID) (*http.Request, error)
NewConnectorDeleteV1Request constructs an http.Request for the ConnectorDeleteV1 method
func NewConnectorDeleteWorkspaceCredentialsV1Request ¶
func NewConnectorDeleteWorkspaceCredentialsV1Request(server string, connectorIdOrName string, credentialsName string) (*http.Request, error)
NewConnectorDeleteWorkspaceCredentialsV1Request constructs an http.Request for the ConnectorDeleteWorkspaceCredentialsV1 method
func NewConnectorGetAuthUrlV1Request ¶
func NewConnectorGetAuthUrlV1Request(server string, connectorIdOrName string, params *ConnectorGetAuthUrlV1Params) (*http.Request, error)
NewConnectorGetAuthUrlV1Request constructs an http.Request for the ConnectorGetAuthUrlV1 method
func NewConnectorGetAuthenticationMethodsV1Request ¶
func NewConnectorGetAuthenticationMethodsV1Request(server string, connectorIdOrName string) (*http.Request, error)
NewConnectorGetAuthenticationMethodsV1Request constructs an http.Request for the ConnectorGetAuthenticationMethodsV1 method
func NewConnectorGetV1Request ¶
func NewConnectorGetV1Request(server string, connectorIdOrName string, params *ConnectorGetV1Params) (*http.Request, error)
NewConnectorGetV1Request constructs an http.Request for the ConnectorGetV1 method
func NewConnectorListOrganizationCredentialsV1Request ¶
func NewConnectorListOrganizationCredentialsV1Request(server string, connectorIdOrName string, params *ConnectorListOrganizationCredentialsV1Params) (*http.Request, error)
NewConnectorListOrganizationCredentialsV1Request constructs an http.Request for the ConnectorListOrganizationCredentialsV1 method
func NewConnectorListToolsV1Request ¶
func NewConnectorListToolsV1Request(server string, connectorIdOrName string, params *ConnectorListToolsV1Params) (*http.Request, error)
NewConnectorListToolsV1Request constructs an http.Request for the ConnectorListToolsV1 method
func NewConnectorListUserCredentialsV1Request ¶
func NewConnectorListUserCredentialsV1Request(server string, connectorIdOrName string, params *ConnectorListUserCredentialsV1Params) (*http.Request, error)
NewConnectorListUserCredentialsV1Request constructs an http.Request for the ConnectorListUserCredentialsV1 method
func NewConnectorListV1Request ¶
func NewConnectorListV1Request(server string, params *ConnectorListV1Params) (*http.Request, error)
NewConnectorListV1Request constructs an http.Request for the ConnectorListV1 method
func NewConnectorListWorkspaceCredentialsV1Request ¶
func NewConnectorListWorkspaceCredentialsV1Request(server string, connectorIdOrName string, params *ConnectorListWorkspaceCredentialsV1Params) (*http.Request, error)
NewConnectorListWorkspaceCredentialsV1Request constructs an http.Request for the ConnectorListWorkspaceCredentialsV1 method
func NewConnectorUpdateV1Request ¶
func NewConnectorUpdateV1Request(server string, connectorId openapi_types.UUID, body ConnectorUpdateV1JSONRequestBody) (*http.Request, error)
NewConnectorUpdateV1Request calls the generic ConnectorUpdateV1 builder with application/json body
func NewConnectorUpdateV1RequestWithBody ¶
func NewConnectorUpdateV1RequestWithBody(server string, connectorId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewConnectorUpdateV1RequestWithBody constructs an http.Request for the ConnectorUpdateV1 method, with any body, and a specified content type
func NewCreateCampaignV1ObservabilityCampaignsPostRequest ¶
func NewCreateCampaignV1ObservabilityCampaignsPostRequest(server string, body CreateCampaignV1ObservabilityCampaignsPostJSONRequestBody) (*http.Request, error)
NewCreateCampaignV1ObservabilityCampaignsPostRequest calls the generic CreateCampaignV1ObservabilityCampaignsPost builder with application/json body
func NewCreateCampaignV1ObservabilityCampaignsPostRequestWithBody ¶
func NewCreateCampaignV1ObservabilityCampaignsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateCampaignV1ObservabilityCampaignsPostRequestWithBody constructs an http.Request for the CreateCampaignV1ObservabilityCampaignsPost method, with any body, and a specified content type
func NewCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostRequest ¶
func NewCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostRequest(server string, datasetId openapi_types.UUID, body CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostJSONRequestBody) (*http.Request, error)
NewCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostRequest calls the generic CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost builder with application/json body
func NewCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostRequestWithBody ¶
func NewCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostRequestWithBody constructs an http.Request for the CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost method, with any body, and a specified content type
func NewCreateDatasetV1ObservabilityDatasetsPostRequest ¶
func NewCreateDatasetV1ObservabilityDatasetsPostRequest(server string, body CreateDatasetV1ObservabilityDatasetsPostJSONRequestBody) (*http.Request, error)
NewCreateDatasetV1ObservabilityDatasetsPostRequest calls the generic CreateDatasetV1ObservabilityDatasetsPost builder with application/json body
func NewCreateDatasetV1ObservabilityDatasetsPostRequestWithBody ¶
func NewCreateDatasetV1ObservabilityDatasetsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateDatasetV1ObservabilityDatasetsPostRequestWithBody constructs an http.Request for the CreateDatasetV1ObservabilityDatasetsPost method, with any body, and a specified content type
func NewCreateJudgeV1ObservabilityJudgesPostRequest ¶
func NewCreateJudgeV1ObservabilityJudgesPostRequest(server string, body CreateJudgeV1ObservabilityJudgesPostJSONRequestBody) (*http.Request, error)
NewCreateJudgeV1ObservabilityJudgesPostRequest calls the generic CreateJudgeV1ObservabilityJudgesPost builder with application/json body
func NewCreateJudgeV1ObservabilityJudgesPostRequestWithBody ¶
func NewCreateJudgeV1ObservabilityJudgesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateJudgeV1ObservabilityJudgesPostRequestWithBody constructs an http.Request for the CreateJudgeV1ObservabilityJudgesPost method, with any body, and a specified content type
func NewCreateVoiceV1AudioVoicesPostRequest ¶
func NewCreateVoiceV1AudioVoicesPostRequest(server string, body CreateVoiceV1AudioVoicesPostJSONRequestBody) (*http.Request, error)
NewCreateVoiceV1AudioVoicesPostRequest calls the generic CreateVoiceV1AudioVoicesPost builder with application/json body
func NewCreateVoiceV1AudioVoicesPostRequestWithBody ¶
func NewCreateVoiceV1AudioVoicesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateVoiceV1AudioVoicesPostRequestWithBody constructs an http.Request for the CreateVoiceV1AudioVoicesPost method, with any body, and a specified content type
func NewDeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteRequest ¶
func NewDeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteRequest(server string, campaignId openapi_types.UUID) (*http.Request, error)
NewDeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteRequest constructs an http.Request for the DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete method
func NewDeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteRequest ¶
func NewDeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteRequest(server string, datasetRecordId openapi_types.UUID) (*http.Request, error)
NewDeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteRequest constructs an http.Request for the DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete method
func NewDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostRequest ¶
func NewDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostRequest(server string, body DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostJSONRequestBody) (*http.Request, error)
NewDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostRequest calls the generic DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost builder with application/json body
func NewDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostRequestWithBody ¶
func NewDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostRequestWithBody constructs an http.Request for the DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost method, with any body, and a specified content type
func NewDeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteRequest ¶
func NewDeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteRequest(server string, datasetId openapi_types.UUID) (*http.Request, error)
NewDeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteRequest constructs an http.Request for the DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete method
func NewDeleteJudgeV1ObservabilityJudgesJudgeIdDeleteRequest ¶
func NewDeleteJudgeV1ObservabilityJudgesJudgeIdDeleteRequest(server string, judgeId openapi_types.UUID) (*http.Request, error)
NewDeleteJudgeV1ObservabilityJudgesJudgeIdDeleteRequest constructs an http.Request for the DeleteJudgeV1ObservabilityJudgesJudgeIdDelete method
func NewDeleteModelV1ModelsModelIdDeleteRequest ¶
func NewDeleteModelV1ModelsModelIdDeleteRequest(server string, modelId string) (*http.Request, error)
NewDeleteModelV1ModelsModelIdDeleteRequest constructs an http.Request for the DeleteModelV1ModelsModelIdDelete method
func NewDeleteVoiceV1AudioVoicesVoiceIdDeleteRequest ¶
func NewDeleteVoiceV1AudioVoicesVoiceIdDeleteRequest(server string, voiceId openapi_types.UUID) (*http.Request, error)
NewDeleteVoiceV1AudioVoicesVoiceIdDeleteRequest constructs an http.Request for the DeleteVoiceV1AudioVoicesVoiceIdDelete method
func NewEmbeddingsV1EmbeddingsPostRequest ¶
func NewEmbeddingsV1EmbeddingsPostRequest(server string, body EmbeddingsV1EmbeddingsPostJSONRequestBody) (*http.Request, error)
NewEmbeddingsV1EmbeddingsPostRequest calls the generic EmbeddingsV1EmbeddingsPost builder with application/json body
func NewEmbeddingsV1EmbeddingsPostRequestWithBody ¶
func NewEmbeddingsV1EmbeddingsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewEmbeddingsV1EmbeddingsPostRequestWithBody constructs an http.Request for the EmbeddingsV1EmbeddingsPost method, with any body, and a specified content type
func NewExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostRequest ¶
func NewExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostRequest(server string, workflowRegistrationId openapi_types.UUID, body ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostJSONRequestBody) (*http.Request, error)
NewExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostRequest calls the generic ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost builder with application/json body
func NewExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostRequestWithBody ¶
func NewExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostRequestWithBody(server string, workflowRegistrationId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostRequestWithBody constructs an http.Request for the ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost method, with any body, and a specified content type
func NewExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostRequest ¶
func NewExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostRequest(server string, workflowIdentifier string, body ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostJSONRequestBody) (*http.Request, error)
NewExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostRequest calls the generic ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost builder with application/json body
func NewExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostRequestWithBody ¶
func NewExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostRequestWithBody(server string, workflowIdentifier string, contentType string, body io.Reader) (*http.Request, error)
NewExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostRequestWithBody constructs an http.Request for the ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost method, with any body, and a specified content type
func NewExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetRequest ¶
func NewExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetRequest(server string, datasetId openapi_types.UUID) (*http.Request, error)
NewExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetRequest constructs an http.Request for the ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet method
func NewFilesApiRoutesDeleteFileRequest ¶
func NewFilesApiRoutesDeleteFileRequest(server string, fileId openapi_types.UUID) (*http.Request, error)
NewFilesApiRoutesDeleteFileRequest constructs an http.Request for the FilesApiRoutesDeleteFile method
func NewFilesApiRoutesDownloadFileRequest ¶
func NewFilesApiRoutesDownloadFileRequest(server string, fileId openapi_types.UUID) (*http.Request, error)
NewFilesApiRoutesDownloadFileRequest constructs an http.Request for the FilesApiRoutesDownloadFile method
func NewFilesApiRoutesGetSignedUrlRequest ¶
func NewFilesApiRoutesGetSignedUrlRequest(server string, fileId openapi_types.UUID, params *FilesApiRoutesGetSignedUrlParams) (*http.Request, error)
NewFilesApiRoutesGetSignedUrlRequest constructs an http.Request for the FilesApiRoutesGetSignedUrl method
func NewFilesApiRoutesListFilesRequest ¶
func NewFilesApiRoutesListFilesRequest(server string, params *FilesApiRoutesListFilesParams) (*http.Request, error)
NewFilesApiRoutesListFilesRequest constructs an http.Request for the FilesApiRoutesListFiles method
func NewFilesApiRoutesRetrieveFileRequest ¶
func NewFilesApiRoutesRetrieveFileRequest(server string, fileId openapi_types.UUID) (*http.Request, error)
NewFilesApiRoutesRetrieveFileRequest constructs an http.Request for the FilesApiRoutesRetrieveFile method
func NewFilesApiRoutesUploadFileRequestWithBody ¶
func NewFilesApiRoutesUploadFileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewFilesApiRoutesUploadFileRequestWithBody constructs an http.Request for the FilesApiRoutesUploadFile method, with any body, and a specified content type
func NewFimCompletionV1FimCompletionsPostRequest ¶
func NewFimCompletionV1FimCompletionsPostRequest(server string, body FimCompletionV1FimCompletionsPostJSONRequestBody) (*http.Request, error)
NewFimCompletionV1FimCompletionsPostRequest calls the generic FimCompletionV1FimCompletionsPost builder with application/json body
func NewFimCompletionV1FimCompletionsPostRequestWithBody ¶
func NewFimCompletionV1FimCompletionsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewFimCompletionV1FimCompletionsPostRequestWithBody constructs an http.Request for the FimCompletionV1FimCompletionsPost method, with any body, and a specified content type
func NewGetCampaignByIdV1ObservabilityCampaignsCampaignIdGetRequest ¶
func NewGetCampaignByIdV1ObservabilityCampaignsCampaignIdGetRequest(server string, campaignId openapi_types.UUID) (*http.Request, error)
NewGetCampaignByIdV1ObservabilityCampaignsCampaignIdGetRequest constructs an http.Request for the GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet method
func NewGetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetRequest ¶
func NewGetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetRequest(server string, campaignId openapi_types.UUID, params *GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetParams) (*http.Request, error)
NewGetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetRequest constructs an http.Request for the GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet method
func NewGetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetRequest ¶
func NewGetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetRequest(server string, campaignId openapi_types.UUID) (*http.Request, error)
NewGetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetRequest constructs an http.Request for the GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet method
func NewGetCampaignsV1ObservabilityCampaignsGetRequest ¶
func NewGetCampaignsV1ObservabilityCampaignsGetRequest(server string, params *GetCampaignsV1ObservabilityCampaignsGetParams) (*http.Request, error)
NewGetCampaignsV1ObservabilityCampaignsGetRequest constructs an http.Request for the GetCampaignsV1ObservabilityCampaignsGet method
func NewGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostRequest ¶
func NewGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostRequest(server string, body GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostJSONRequestBody) (*http.Request, error)
NewGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostRequest calls the generic GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost builder with application/json body
func NewGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostRequestWithBody ¶
func NewGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostRequestWithBody constructs an http.Request for the GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost method, with any body, and a specified content type
func NewGetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetRequest ¶
func NewGetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetRequest(server string, eventId openapi_types.UUID) (*http.Request, error)
NewGetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetRequest constructs an http.Request for the GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet method
func NewGetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostRequest ¶
func NewGetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostRequest(server string, params *GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams, body GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostJSONRequestBody) (*http.Request, error)
NewGetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostRequest calls the generic GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost builder with application/json body
func NewGetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostRequestWithBody ¶
func NewGetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostRequestWithBody(server string, params *GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams, contentType string, body io.Reader) (*http.Request, error)
NewGetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostRequestWithBody constructs an http.Request for the GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost method, with any body, and a specified content type
func NewGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostRequest ¶
func NewGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostRequest(server string, fieldName string, body GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostJSONRequestBody) (*http.Request, error)
NewGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostRequest calls the generic GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost builder with application/json body
func NewGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostRequestWithBody ¶
func NewGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostRequestWithBody(server string, fieldName string, contentType string, body io.Reader) (*http.Request, error)
NewGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostRequestWithBody constructs an http.Request for the GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost method, with any body, and a specified content type
func NewGetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetRequest ¶
func NewGetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetRequest(server string, fieldName string, params *GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParams) (*http.Request, error)
NewGetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetRequest constructs an http.Request for the GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet method
func NewGetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetRequest ¶
func NewGetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetRequest(server string) (*http.Request, error)
NewGetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetRequest constructs an http.Request for the GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet method
func NewGetDatasetByIdV1ObservabilityDatasetsDatasetIdGetRequest ¶
func NewGetDatasetByIdV1ObservabilityDatasetsDatasetIdGetRequest(server string, datasetId openapi_types.UUID) (*http.Request, error)
NewGetDatasetByIdV1ObservabilityDatasetsDatasetIdGetRequest constructs an http.Request for the GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet method
func NewGetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetRequest ¶
func NewGetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetRequest(server string, datasetId openapi_types.UUID, taskId openapi_types.UUID) (*http.Request, error)
NewGetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetRequest constructs an http.Request for the GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet method
func NewGetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetRequest ¶
func NewGetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetRequest(server string, datasetId openapi_types.UUID, params *GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetParams) (*http.Request, error)
NewGetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetRequest constructs an http.Request for the GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet method
func NewGetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetRequest ¶
func NewGetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetRequest(server string, datasetRecordId openapi_types.UUID) (*http.Request, error)
NewGetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetRequest constructs an http.Request for the GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet method
func NewGetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetRequest ¶
func NewGetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetRequest(server string, datasetId openapi_types.UUID, params *GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetParams) (*http.Request, error)
NewGetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetRequest constructs an http.Request for the GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet method
func NewGetDatasetsV1ObservabilityDatasetsGetRequest ¶
func NewGetDatasetsV1ObservabilityDatasetsGetRequest(server string, params *GetDatasetsV1ObservabilityDatasetsGetParams) (*http.Request, error)
NewGetDatasetsV1ObservabilityDatasetsGetRequest constructs an http.Request for the GetDatasetsV1ObservabilityDatasetsGet method
func NewGetDeploymentV1WorkflowsDeploymentsNameGetRequest ¶
func NewGetDeploymentV1WorkflowsDeploymentsNameGetRequest(server string, name string) (*http.Request, error)
NewGetDeploymentV1WorkflowsDeploymentsNameGetRequest constructs an http.Request for the GetDeploymentV1WorkflowsDeploymentsNameGet method
func NewGetJudgeByIdV1ObservabilityJudgesJudgeIdGetRequest ¶
func NewGetJudgeByIdV1ObservabilityJudgesJudgeIdGetRequest(server string, judgeId openapi_types.UUID) (*http.Request, error)
NewGetJudgeByIdV1ObservabilityJudgesJudgeIdGetRequest constructs an http.Request for the GetJudgeByIdV1ObservabilityJudgesJudgeIdGet method
func NewGetJudgesV1ObservabilityJudgesGetRequest ¶
func NewGetJudgesV1ObservabilityJudgesGetRequest(server string, params *GetJudgesV1ObservabilityJudgesGetParams) (*http.Request, error)
NewGetJudgesV1ObservabilityJudgesGetRequest constructs an http.Request for the GetJudgesV1ObservabilityJudgesGet method
func NewGetRunHistoryV1WorkflowsRunsRunIdHistoryGetRequest ¶
func NewGetRunHistoryV1WorkflowsRunsRunIdHistoryGetRequest(server string, runId openapi_types.UUID, params *GetRunHistoryV1WorkflowsRunsRunIdHistoryGetParams) (*http.Request, error)
NewGetRunHistoryV1WorkflowsRunsRunIdHistoryGetRequest constructs an http.Request for the GetRunHistoryV1WorkflowsRunsRunIdHistoryGet method
func NewGetRunV1WorkflowsRunsRunIdGetRequest ¶
func NewGetRunV1WorkflowsRunsRunIdGetRequest(server string, runId openapi_types.UUID) (*http.Request, error)
NewGetRunV1WorkflowsRunsRunIdGetRequest constructs an http.Request for the GetRunV1WorkflowsRunsRunIdGet method
func NewGetSchedulesV1WorkflowsSchedulesGetRequest ¶
NewGetSchedulesV1WorkflowsSchedulesGetRequest constructs an http.Request for the GetSchedulesV1WorkflowsSchedulesGet method
func NewGetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetRequest ¶
func NewGetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetRequest(server string, eventId openapi_types.UUID) (*http.Request, error)
NewGetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetRequest constructs an http.Request for the GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet method
func NewGetStreamEventsV1WorkflowsEventsStreamGetRequest ¶
func NewGetStreamEventsV1WorkflowsEventsStreamGetRequest(server string, params *GetStreamEventsV1WorkflowsEventsStreamGetParams) (*http.Request, error)
NewGetStreamEventsV1WorkflowsEventsStreamGetRequest constructs an http.Request for the GetStreamEventsV1WorkflowsEventsStreamGet method
func NewGetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetRequest ¶
func NewGetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetRequest(server string, voiceId string) (*http.Request, error)
NewGetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetRequest constructs an http.Request for the GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet method
func NewGetVoiceV1AudioVoicesVoiceIdGetRequest ¶
func NewGetVoiceV1AudioVoicesVoiceIdGetRequest(server string, voiceId string) (*http.Request, error)
NewGetVoiceV1AudioVoicesVoiceIdGetRequest constructs an http.Request for the GetVoiceV1AudioVoicesVoiceIdGet method
func NewGetWorkerInfoV1WorkflowsWorkersWhoamiGetRequest ¶
NewGetWorkerInfoV1WorkflowsWorkersWhoamiGetRequest constructs an http.Request for the GetWorkerInfoV1WorkflowsWorkersWhoamiGet method
func NewGetWorkflowEventsV1WorkflowsEventsListGetRequest ¶
func NewGetWorkflowEventsV1WorkflowsEventsListGetRequest(server string, params *GetWorkflowEventsV1WorkflowsEventsListGetParams) (*http.Request, error)
NewGetWorkflowEventsV1WorkflowsEventsListGetRequest constructs an http.Request for the GetWorkflowEventsV1WorkflowsEventsListGet method
func NewGetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetRequest ¶
func NewGetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetRequest(server string, executionId string, params *GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetParams) (*http.Request, error)
NewGetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetRequest constructs an http.Request for the GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet method
func NewGetWorkflowExecutionTraceEventsRequest ¶
func NewGetWorkflowExecutionTraceEventsRequest(server string, executionId string, params *GetWorkflowExecutionTraceEventsParams) (*http.Request, error)
NewGetWorkflowExecutionTraceEventsRequest constructs an http.Request for the GetWorkflowExecutionTraceEvents method
func NewGetWorkflowExecutionTraceOtelRequest ¶
func NewGetWorkflowExecutionTraceOtelRequest(server string, executionId string) (*http.Request, error)
NewGetWorkflowExecutionTraceOtelRequest constructs an http.Request for the GetWorkflowExecutionTraceOtel method
func NewGetWorkflowExecutionTraceSummaryRequest ¶
func NewGetWorkflowExecutionTraceSummaryRequest(server string, executionId string) (*http.Request, error)
NewGetWorkflowExecutionTraceSummaryRequest constructs an http.Request for the GetWorkflowExecutionTraceSummary method
func NewGetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetRequest ¶
func NewGetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetRequest(server string, executionId string) (*http.Request, error)
NewGetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetRequest constructs an http.Request for the GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet method
func NewGetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetRequest ¶
func NewGetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetRequest(server string, workflowName string, params *GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetParams) (*http.Request, error)
NewGetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetRequest constructs an http.Request for the GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet method
func NewGetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetRequest ¶
func NewGetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetRequest(server string, workflowRegistrationId openapi_types.UUID, params *GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetParams) (*http.Request, error)
NewGetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetRequest constructs an http.Request for the GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet method
func NewGetWorkflowRegistrationsV1WorkflowsRegistrationsGetRequest ¶
func NewGetWorkflowRegistrationsV1WorkflowsRegistrationsGetRequest(server string, params *GetWorkflowRegistrationsV1WorkflowsRegistrationsGetParams) (*http.Request, error)
NewGetWorkflowRegistrationsV1WorkflowsRegistrationsGetRequest constructs an http.Request for the GetWorkflowRegistrationsV1WorkflowsRegistrationsGet method
func NewGetWorkflowV1WorkflowsWorkflowIdentifierGetRequest ¶
func NewGetWorkflowV1WorkflowsWorkflowIdentifierGetRequest(server string, workflowIdentifier string) (*http.Request, error)
NewGetWorkflowV1WorkflowsWorkflowIdentifierGetRequest constructs an http.Request for the GetWorkflowV1WorkflowsWorkflowIdentifierGet method
func NewJobsApiRoutesBatchCancelBatchJobRequest ¶
func NewJobsApiRoutesBatchCancelBatchJobRequest(server string, jobId openapi_types.UUID) (*http.Request, error)
NewJobsApiRoutesBatchCancelBatchJobRequest constructs an http.Request for the JobsApiRoutesBatchCancelBatchJob method
func NewJobsApiRoutesBatchCreateBatchJobRequest ¶
func NewJobsApiRoutesBatchCreateBatchJobRequest(server string, body JobsApiRoutesBatchCreateBatchJobJSONRequestBody) (*http.Request, error)
NewJobsApiRoutesBatchCreateBatchJobRequest calls the generic JobsApiRoutesBatchCreateBatchJob builder with application/json body
func NewJobsApiRoutesBatchCreateBatchJobRequestWithBody ¶
func NewJobsApiRoutesBatchCreateBatchJobRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewJobsApiRoutesBatchCreateBatchJobRequestWithBody constructs an http.Request for the JobsApiRoutesBatchCreateBatchJob method, with any body, and a specified content type
func NewJobsApiRoutesBatchGetBatchJobRequest ¶
func NewJobsApiRoutesBatchGetBatchJobRequest(server string, jobId openapi_types.UUID, params *JobsApiRoutesBatchGetBatchJobParams) (*http.Request, error)
NewJobsApiRoutesBatchGetBatchJobRequest constructs an http.Request for the JobsApiRoutesBatchGetBatchJob method
func NewJobsApiRoutesBatchGetBatchJobsRequest ¶
func NewJobsApiRoutesBatchGetBatchJobsRequest(server string, params *JobsApiRoutesBatchGetBatchJobsParams) (*http.Request, error)
NewJobsApiRoutesBatchGetBatchJobsRequest constructs an http.Request for the JobsApiRoutesBatchGetBatchJobs method
func NewJobsApiRoutesFineTuningArchiveFineTunedModelRequest ¶
func NewJobsApiRoutesFineTuningArchiveFineTunedModelRequest(server string, modelId string) (*http.Request, error)
NewJobsApiRoutesFineTuningArchiveFineTunedModelRequest constructs an http.Request for the JobsApiRoutesFineTuningArchiveFineTunedModel method
func NewJobsApiRoutesFineTuningCancelFineTuningJobRequest ¶
func NewJobsApiRoutesFineTuningCancelFineTuningJobRequest(server string, jobId openapi_types.UUID) (*http.Request, error)
NewJobsApiRoutesFineTuningCancelFineTuningJobRequest constructs an http.Request for the JobsApiRoutesFineTuningCancelFineTuningJob method
func NewJobsApiRoutesFineTuningCreateFineTuningJobRequest ¶
func NewJobsApiRoutesFineTuningCreateFineTuningJobRequest(server string, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, body JobsApiRoutesFineTuningCreateFineTuningJobJSONRequestBody) (*http.Request, error)
NewJobsApiRoutesFineTuningCreateFineTuningJobRequest calls the generic JobsApiRoutesFineTuningCreateFineTuningJob builder with application/json body
func NewJobsApiRoutesFineTuningCreateFineTuningJobRequestWithBody ¶
func NewJobsApiRoutesFineTuningCreateFineTuningJobRequestWithBody(server string, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, contentType string, body io.Reader) (*http.Request, error)
NewJobsApiRoutesFineTuningCreateFineTuningJobRequestWithBody constructs an http.Request for the JobsApiRoutesFineTuningCreateFineTuningJob method, with any body, and a specified content type
func NewJobsApiRoutesFineTuningGetFineTuningJobRequest ¶
func NewJobsApiRoutesFineTuningGetFineTuningJobRequest(server string, jobId openapi_types.UUID) (*http.Request, error)
NewJobsApiRoutesFineTuningGetFineTuningJobRequest constructs an http.Request for the JobsApiRoutesFineTuningGetFineTuningJob method
func NewJobsApiRoutesFineTuningGetFineTuningJobsRequest ¶
func NewJobsApiRoutesFineTuningGetFineTuningJobsRequest(server string, params *JobsApiRoutesFineTuningGetFineTuningJobsParams) (*http.Request, error)
NewJobsApiRoutesFineTuningGetFineTuningJobsRequest constructs an http.Request for the JobsApiRoutesFineTuningGetFineTuningJobs method
func NewJobsApiRoutesFineTuningStartFineTuningJobRequest ¶
func NewJobsApiRoutesFineTuningStartFineTuningJobRequest(server string, jobId openapi_types.UUID) (*http.Request, error)
NewJobsApiRoutesFineTuningStartFineTuningJobRequest constructs an http.Request for the JobsApiRoutesFineTuningStartFineTuningJob method
func NewJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest ¶
func NewJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest(server string, modelId string) (*http.Request, error)
NewJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest constructs an http.Request for the JobsApiRoutesFineTuningUnarchiveFineTunedModel method
func NewJobsApiRoutesFineTuningUpdateFineTunedModelRequest ¶
func NewJobsApiRoutesFineTuningUpdateFineTunedModelRequest(server string, modelId string, body JobsApiRoutesFineTuningUpdateFineTunedModelJSONRequestBody) (*http.Request, error)
NewJobsApiRoutesFineTuningUpdateFineTunedModelRequest calls the generic JobsApiRoutesFineTuningUpdateFineTunedModel builder with application/json body
func NewJobsApiRoutesFineTuningUpdateFineTunedModelRequestWithBody ¶
func NewJobsApiRoutesFineTuningUpdateFineTunedModelRequestWithBody(server string, modelId string, contentType string, body io.Reader) (*http.Request, error)
NewJobsApiRoutesFineTuningUpdateFineTunedModelRequestWithBody constructs an http.Request for the JobsApiRoutesFineTuningUpdateFineTunedModel method, with any body, and a specified content type
func NewJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostRequest ¶
func NewJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostRequest(server string, eventId openapi_types.UUID, body JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostJSONRequestBody) (*http.Request, error)
NewJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostRequest calls the generic JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost builder with application/json body
func NewJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostRequestWithBody ¶
func NewJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostRequestWithBody(server string, eventId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostRequestWithBody constructs an http.Request for the JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost method, with any body, and a specified content type
func NewJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostRequest ¶
func NewJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostRequest(server string, judgeId openapi_types.UUID, body JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostJSONRequestBody) (*http.Request, error)
NewJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostRequest calls the generic JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost builder with application/json body
func NewJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostRequestWithBody ¶
func NewJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostRequestWithBody(server string, judgeId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostRequestWithBody constructs an http.Request for the JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost method, with any body, and a specified content type
func NewJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostRequest ¶
func NewJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostRequest(server string, datasetRecordId openapi_types.UUID, body JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostJSONRequestBody) (*http.Request, error)
NewJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostRequest calls the generic JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost builder with application/json body
func NewJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostRequestWithBody ¶
func NewJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostRequestWithBody(server string, datasetRecordId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostRequestWithBody constructs an http.Request for the JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost method, with any body, and a specified content type
func NewLibrariesCreateV1Request ¶
func NewLibrariesCreateV1Request(server string, body LibrariesCreateV1JSONRequestBody) (*http.Request, error)
NewLibrariesCreateV1Request calls the generic LibrariesCreateV1 builder with application/json body
func NewLibrariesCreateV1RequestWithBody ¶
func NewLibrariesCreateV1RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewLibrariesCreateV1RequestWithBody constructs an http.Request for the LibrariesCreateV1 method, with any body, and a specified content type
func NewLibrariesDeleteV1Request ¶
func NewLibrariesDeleteV1Request(server string, libraryId openapi_types.UUID) (*http.Request, error)
NewLibrariesDeleteV1Request constructs an http.Request for the LibrariesDeleteV1 method
func NewLibrariesDocumentsDeleteV1Request ¶
func NewLibrariesDocumentsDeleteV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)
NewLibrariesDocumentsDeleteV1Request constructs an http.Request for the LibrariesDocumentsDeleteV1 method
func NewLibrariesDocumentsGetExtractedTextSignedUrlV1Request ¶
func NewLibrariesDocumentsGetExtractedTextSignedUrlV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)
NewLibrariesDocumentsGetExtractedTextSignedUrlV1Request constructs an http.Request for the LibrariesDocumentsGetExtractedTextSignedUrlV1 method
func NewLibrariesDocumentsGetSignedUrlV1Request ¶
func NewLibrariesDocumentsGetSignedUrlV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)
NewLibrariesDocumentsGetSignedUrlV1Request constructs an http.Request for the LibrariesDocumentsGetSignedUrlV1 method
func NewLibrariesDocumentsGetStatusV1Request ¶
func NewLibrariesDocumentsGetStatusV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)
NewLibrariesDocumentsGetStatusV1Request constructs an http.Request for the LibrariesDocumentsGetStatusV1 method
func NewLibrariesDocumentsGetTextContentV1Request ¶
func NewLibrariesDocumentsGetTextContentV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)
NewLibrariesDocumentsGetTextContentV1Request constructs an http.Request for the LibrariesDocumentsGetTextContentV1 method
func NewLibrariesDocumentsGetV1Request ¶
func NewLibrariesDocumentsGetV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)
NewLibrariesDocumentsGetV1Request constructs an http.Request for the LibrariesDocumentsGetV1 method
func NewLibrariesDocumentsListV1Request ¶
func NewLibrariesDocumentsListV1Request(server string, libraryId openapi_types.UUID, params *LibrariesDocumentsListV1Params) (*http.Request, error)
NewLibrariesDocumentsListV1Request constructs an http.Request for the LibrariesDocumentsListV1 method
func NewLibrariesDocumentsReprocessV1Request ¶
func NewLibrariesDocumentsReprocessV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)
NewLibrariesDocumentsReprocessV1Request constructs an http.Request for the LibrariesDocumentsReprocessV1 method
func NewLibrariesDocumentsUpdateV1Request ¶
func NewLibrariesDocumentsUpdateV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID, body LibrariesDocumentsUpdateV1JSONRequestBody) (*http.Request, error)
NewLibrariesDocumentsUpdateV1Request calls the generic LibrariesDocumentsUpdateV1 builder with application/json body
func NewLibrariesDocumentsUpdateV1RequestWithBody ¶
func NewLibrariesDocumentsUpdateV1RequestWithBody(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewLibrariesDocumentsUpdateV1RequestWithBody constructs an http.Request for the LibrariesDocumentsUpdateV1 method, with any body, and a specified content type
func NewLibrariesDocumentsUploadV1RequestWithBody ¶
func NewLibrariesDocumentsUploadV1RequestWithBody(server string, libraryId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewLibrariesDocumentsUploadV1RequestWithBody constructs an http.Request for the LibrariesDocumentsUploadV1 method, with any body, and a specified content type
func NewLibrariesGetV1Request ¶
NewLibrariesGetV1Request constructs an http.Request for the LibrariesGetV1 method
func NewLibrariesListV1Request ¶
NewLibrariesListV1Request constructs an http.Request for the LibrariesListV1 method
func NewLibrariesShareCreateV1Request ¶
func NewLibrariesShareCreateV1Request(server string, libraryId openapi_types.UUID, body LibrariesShareCreateV1JSONRequestBody) (*http.Request, error)
NewLibrariesShareCreateV1Request calls the generic LibrariesShareCreateV1 builder with application/json body
func NewLibrariesShareCreateV1RequestWithBody ¶
func NewLibrariesShareCreateV1RequestWithBody(server string, libraryId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewLibrariesShareCreateV1RequestWithBody constructs an http.Request for the LibrariesShareCreateV1 method, with any body, and a specified content type
func NewLibrariesShareDeleteV1Request ¶
func NewLibrariesShareDeleteV1Request(server string, libraryId openapi_types.UUID, body LibrariesShareDeleteV1JSONRequestBody) (*http.Request, error)
NewLibrariesShareDeleteV1Request calls the generic LibrariesShareDeleteV1 builder with application/json body
func NewLibrariesShareDeleteV1RequestWithBody ¶
func NewLibrariesShareDeleteV1RequestWithBody(server string, libraryId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewLibrariesShareDeleteV1RequestWithBody constructs an http.Request for the LibrariesShareDeleteV1 method, with any body, and a specified content type
func NewLibrariesShareListV1Request ¶
func NewLibrariesShareListV1Request(server string, libraryId openapi_types.UUID) (*http.Request, error)
NewLibrariesShareListV1Request constructs an http.Request for the LibrariesShareListV1 method
func NewLibrariesUpdateV1Request ¶
func NewLibrariesUpdateV1Request(server string, libraryId openapi_types.UUID, body LibrariesUpdateV1JSONRequestBody) (*http.Request, error)
NewLibrariesUpdateV1Request calls the generic LibrariesUpdateV1 builder with application/json body
func NewLibrariesUpdateV1RequestWithBody ¶
func NewLibrariesUpdateV1RequestWithBody(server string, libraryId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewLibrariesUpdateV1RequestWithBody constructs an http.Request for the LibrariesUpdateV1 method, with any body, and a specified content type
func NewListDeploymentsV1WorkflowsDeploymentsGetRequest ¶
func NewListDeploymentsV1WorkflowsDeploymentsGetRequest(server string, params *ListDeploymentsV1WorkflowsDeploymentsGetParams) (*http.Request, error)
NewListDeploymentsV1WorkflowsDeploymentsGetRequest constructs an http.Request for the ListDeploymentsV1WorkflowsDeploymentsGet method
func NewListModelsV1ModelsGetRequest ¶
func NewListModelsV1ModelsGetRequest(server string, params *ListModelsV1ModelsGetParams) (*http.Request, error)
NewListModelsV1ModelsGetRequest constructs an http.Request for the ListModelsV1ModelsGet method
func NewListRunsV1WorkflowsRunsGetRequest ¶
func NewListRunsV1WorkflowsRunsGetRequest(server string, params *ListRunsV1WorkflowsRunsGetParams) (*http.Request, error)
NewListRunsV1WorkflowsRunsGetRequest constructs an http.Request for the ListRunsV1WorkflowsRunsGet method
func NewListVoicesV1AudioVoicesGetRequest ¶
func NewListVoicesV1AudioVoicesGetRequest(server string, params *ListVoicesV1AudioVoicesGetParams) (*http.Request, error)
NewListVoicesV1AudioVoicesGetRequest constructs an http.Request for the ListVoicesV1AudioVoicesGet method
func NewModerationsV1ModerationsPostRequest ¶
func NewModerationsV1ModerationsPostRequest(server string, body ModerationsV1ModerationsPostJSONRequestBody) (*http.Request, error)
NewModerationsV1ModerationsPostRequest calls the generic ModerationsV1ModerationsPost builder with application/json body
func NewModerationsV1ModerationsPostRequestWithBody ¶
func NewModerationsV1ModerationsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewModerationsV1ModerationsPostRequestWithBody constructs an http.Request for the ModerationsV1ModerationsPost method, with any body, and a specified content type
func NewOcrV1OcrPostRequest ¶
func NewOcrV1OcrPostRequest(server string, body OcrV1OcrPostJSONRequestBody) (*http.Request, error)
NewOcrV1OcrPostRequest calls the generic OcrV1OcrPost builder with application/json body
func NewOcrV1OcrPostRequestWithBody ¶
func NewOcrV1OcrPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewOcrV1OcrPostRequestWithBody constructs an http.Request for the OcrV1OcrPost method, with any body, and a specified content type
func NewPostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequest ¶
func NewPostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequest(server string, datasetId openapi_types.UUID, body PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostJSONRequestBody) (*http.Request, error)
NewPostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequest calls the generic PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost builder with application/json body
func NewPostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequestWithBody ¶
func NewPostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequestWithBody constructs an http.Request for the PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost method, with any body, and a specified content type
func NewPostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostRequest ¶
func NewPostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostRequest(server string, datasetId openapi_types.UUID, body PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostJSONRequestBody) (*http.Request, error)
NewPostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostRequest calls the generic PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost builder with application/json body
func NewPostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostRequestWithBody ¶
func NewPostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostRequestWithBody constructs an http.Request for the PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost method, with any body, and a specified content type
func NewPostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostRequest ¶
func NewPostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostRequest(server string, datasetId openapi_types.UUID, body PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostJSONRequestBody) (*http.Request, error)
NewPostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostRequest calls the generic PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost builder with application/json body
func NewPostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostRequestWithBody ¶
func NewPostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostRequestWithBody constructs an http.Request for the PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost method, with any body, and a specified content type
func NewPostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostRequest ¶
func NewPostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostRequest(server string, datasetId openapi_types.UUID, body PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostJSONRequestBody) (*http.Request, error)
NewPostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostRequest calls the generic PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost builder with application/json body
func NewPostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostRequestWithBody ¶
func NewPostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostRequestWithBody constructs an http.Request for the PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost method, with any body, and a specified content type
func NewPostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequest ¶
func NewPostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequest(server string, datasetId openapi_types.UUID, body PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostJSONRequestBody) (*http.Request, error)
NewPostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequest calls the generic PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost builder with application/json body
func NewPostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequestWithBody ¶
func NewPostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequestWithBody constructs an http.Request for the PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost method, with any body, and a specified content type
func NewQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostRequest ¶
func NewQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostRequest(server string, executionId string, body QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostJSONRequestBody) (*http.Request, error)
NewQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostRequest calls the generic QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost builder with application/json body
func NewQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostRequestWithBody ¶
func NewQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostRequestWithBody(server string, executionId string, contentType string, body io.Reader) (*http.Request, error)
NewQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostRequestWithBody constructs an http.Request for the QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost method, with any body, and a specified content type
func NewResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostRequest ¶
func NewResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostRequest(server string, executionId string, body ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostJSONRequestBody) (*http.Request, error)
NewResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostRequest calls the generic ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost builder with application/json body
func NewResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostRequestWithBody ¶
func NewResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostRequestWithBody(server string, executionId string, contentType string, body io.Reader) (*http.Request, error)
NewResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostRequestWithBody constructs an http.Request for the ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost method, with any body, and a specified content type
func NewRetrieveModelV1ModelsModelIdGetRequest ¶
func NewRetrieveModelV1ModelsModelIdGetRequest(server string, modelId string) (*http.Request, error)
NewRetrieveModelV1ModelsModelIdGetRequest constructs an http.Request for the RetrieveModelV1ModelsModelIdGet method
func NewScheduleWorkflowV1WorkflowsSchedulesPostRequest ¶
func NewScheduleWorkflowV1WorkflowsSchedulesPostRequest(server string, body ScheduleWorkflowV1WorkflowsSchedulesPostJSONRequestBody) (*http.Request, error)
NewScheduleWorkflowV1WorkflowsSchedulesPostRequest calls the generic ScheduleWorkflowV1WorkflowsSchedulesPost builder with application/json body
func NewScheduleWorkflowV1WorkflowsSchedulesPostRequestWithBody ¶
func NewScheduleWorkflowV1WorkflowsSchedulesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewScheduleWorkflowV1WorkflowsSchedulesPostRequestWithBody constructs an http.Request for the ScheduleWorkflowV1WorkflowsSchedulesPost method, with any body, and a specified content type
func NewSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostRequest ¶
func NewSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostRequest(server string, executionId string, body SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostJSONRequestBody) (*http.Request, error)
NewSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostRequest calls the generic SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost builder with application/json body
func NewSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostRequestWithBody ¶
func NewSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostRequestWithBody(server string, executionId string, contentType string, body io.Reader) (*http.Request, error)
NewSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostRequestWithBody constructs an http.Request for the SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost method, with any body, and a specified content type
func NewSpeechV1AudioSpeechPostRequest ¶
func NewSpeechV1AudioSpeechPostRequest(server string, body SpeechV1AudioSpeechPostJSONRequestBody) (*http.Request, error)
NewSpeechV1AudioSpeechPostRequest calls the generic SpeechV1AudioSpeechPost builder with application/json body
func NewSpeechV1AudioSpeechPostRequestWithBody ¶
func NewSpeechV1AudioSpeechPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSpeechV1AudioSpeechPostRequestWithBody constructs an http.Request for the SpeechV1AudioSpeechPost method, with any body, and a specified content type
func NewStreamV1WorkflowsExecutionsExecutionIdStreamGetRequest ¶
func NewStreamV1WorkflowsExecutionsExecutionIdStreamGetRequest(server string, executionId string, params *StreamV1WorkflowsExecutionsExecutionIdStreamGetParams) (*http.Request, error)
NewStreamV1WorkflowsExecutionsExecutionIdStreamGetRequest constructs an http.Request for the StreamV1WorkflowsExecutionsExecutionIdStreamGet method
func NewTerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostRequest ¶
func NewTerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostRequest(server string, executionId string) (*http.Request, error)
NewTerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostRequest constructs an http.Request for the TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost method
func NewUnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutRequest ¶
func NewUnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutRequest(server string, workflowIdentifier string) (*http.Request, error)
NewUnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutRequest constructs an http.Request for the UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut method
func NewUnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteRequest ¶
func NewUnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteRequest(server string, scheduleId string) (*http.Request, error)
NewUnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteRequest constructs an http.Request for the UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete method
func NewUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutRequest ¶
func NewUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutRequest(server string, datasetRecordId openapi_types.UUID, body UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutJSONRequestBody) (*http.Request, error)
NewUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutRequest calls the generic UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut builder with application/json body
func NewUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutRequestWithBody ¶
func NewUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutRequestWithBody(server string, datasetRecordId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutRequestWithBody constructs an http.Request for the UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut method, with any body, and a specified content type
func NewUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutRequest ¶
func NewUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutRequest(server string, datasetRecordId openapi_types.UUID, body UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutJSONRequestBody) (*http.Request, error)
NewUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutRequest calls the generic UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut builder with application/json body
func NewUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutRequestWithBody ¶
func NewUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutRequestWithBody(server string, datasetRecordId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutRequestWithBody constructs an http.Request for the UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut method, with any body, and a specified content type
func NewUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchRequest ¶
func NewUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchRequest(server string, datasetId openapi_types.UUID, body UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchJSONRequestBody) (*http.Request, error)
NewUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchRequest calls the generic UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch builder with application/json body
func NewUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchRequestWithBody ¶
func NewUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchRequestWithBody constructs an http.Request for the UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch method, with any body, and a specified content type
func NewUpdateJudgeV1ObservabilityJudgesJudgeIdPutRequest ¶
func NewUpdateJudgeV1ObservabilityJudgesJudgeIdPutRequest(server string, judgeId openapi_types.UUID, body UpdateJudgeV1ObservabilityJudgesJudgeIdPutJSONRequestBody) (*http.Request, error)
NewUpdateJudgeV1ObservabilityJudgesJudgeIdPutRequest calls the generic UpdateJudgeV1ObservabilityJudgesJudgeIdPut builder with application/json body
func NewUpdateJudgeV1ObservabilityJudgesJudgeIdPutRequestWithBody ¶
func NewUpdateJudgeV1ObservabilityJudgesJudgeIdPutRequestWithBody(server string, judgeId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateJudgeV1ObservabilityJudgesJudgeIdPutRequestWithBody constructs an http.Request for the UpdateJudgeV1ObservabilityJudgesJudgeIdPut method, with any body, and a specified content type
func NewUpdateVoiceV1AudioVoicesVoiceIdPatchRequest ¶
func NewUpdateVoiceV1AudioVoicesVoiceIdPatchRequest(server string, voiceId openapi_types.UUID, body UpdateVoiceV1AudioVoicesVoiceIdPatchJSONRequestBody) (*http.Request, error)
NewUpdateVoiceV1AudioVoicesVoiceIdPatchRequest calls the generic UpdateVoiceV1AudioVoicesVoiceIdPatch builder with application/json body
func NewUpdateVoiceV1AudioVoicesVoiceIdPatchRequestWithBody ¶
func NewUpdateVoiceV1AudioVoicesVoiceIdPatchRequestWithBody(server string, voiceId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateVoiceV1AudioVoicesVoiceIdPatchRequestWithBody constructs an http.Request for the UpdateVoiceV1AudioVoicesVoiceIdPatch method, with any body, and a specified content type
func NewUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequest ¶
func NewUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequest(server string, executionId string, body UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostJSONRequestBody) (*http.Request, error)
NewUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequest calls the generic UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost builder with application/json body
func NewUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequestWithBody ¶
func NewUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequestWithBody(server string, executionId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequestWithBody constructs an http.Request for the UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost method, with any body, and a specified content type
func NewUpdateWorkflowV1WorkflowsWorkflowIdentifierPutRequest ¶
func NewUpdateWorkflowV1WorkflowsWorkflowIdentifierPutRequest(server string, workflowIdentifier string, body UpdateWorkflowV1WorkflowsWorkflowIdentifierPutJSONRequestBody) (*http.Request, error)
NewUpdateWorkflowV1WorkflowsWorkflowIdentifierPutRequest calls the generic UpdateWorkflowV1WorkflowsWorkflowIdentifierPut builder with application/json body
func NewUpdateWorkflowV1WorkflowsWorkflowIdentifierPutRequestWithBody ¶
func NewUpdateWorkflowV1WorkflowsWorkflowIdentifierPutRequestWithBody(server string, workflowIdentifier string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWorkflowV1WorkflowsWorkflowIdentifierPutRequestWithBody constructs an http.Request for the UpdateWorkflowV1WorkflowsWorkflowIdentifierPut method, with any body, and a specified content type
Types ¶
type APIKeyAuth ¶
type APIKeyAuth struct {
Type *APIKeyAuthType `json:"type,omitempty"`
Value string `json:"value"`
}
APIKeyAuth defines model for APIKeyAuth.
type APIKeyAuthType ¶
type APIKeyAuthType string
APIKeyAuthType defines model for APIKeyAuth.Type.
const (
APIKeyAuthTypeApiKey APIKeyAuthType = "api-key"
)
Defines values for APIKeyAuthType.
func (APIKeyAuthType) Valid ¶
func (e APIKeyAuthType) Valid() bool
Valid indicates whether the value is a known member of the APIKeyAuthType enum.
type ActivityTaskCompletedAttributesResponse ¶
type ActivityTaskCompletedAttributesResponse struct {
// ActivityName The registered name of the activity being executed.
ActivityName string `json:"activity_name"`
// Result The result returned by the activity.
Result JSONPayloadResponse `json:"result"`
// TaskId Unique identifier for the activity task within the workflow.
TaskId string `json:"task_id"`
}
ActivityTaskCompletedAttributesResponse Attributes for activity task completed events.
type ActivityTaskCompletedResponse ¶
type ActivityTaskCompletedResponse struct {
// Attributes Event-specific attributes.
Attributes ActivityTaskCompletedAttributesResponse `json:"attributes"`
// EventId Unique identifier for this event instance.
EventId string `json:"event_id"`
// EventTimestamp Unix timestamp in nanoseconds when the event was created.
EventTimestamp int `json:"event_timestamp"`
// EventType Event type discriminator.
EventType ActivityTaskCompletedResponseEventType `json:"event_type"`
// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`
// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
RootWorkflowExecId string `json:"root_workflow_exec_id"`
// WorkflowExecId Execution ID of the workflow that emitted this event.
WorkflowExecId string `json:"workflow_exec_id"`
// WorkflowName The registered name of the workflow that emitted this event.
WorkflowName string `json:"workflow_name"`
// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
WorkflowRunId string `json:"workflow_run_id"`
}
ActivityTaskCompletedResponse Emitted when an activity task completes successfully.
Contains timing information about the successful execution.
type ActivityTaskCompletedResponseEventType ¶
type ActivityTaskCompletedResponseEventType string
ActivityTaskCompletedResponseEventType Event type discriminator.
const (
ActivityTaskCompletedResponseEventTypeACTIVITYTASKCOMPLETED ActivityTaskCompletedResponseEventType = "ACTIVITY_TASK_COMPLETED"
)
Defines values for ActivityTaskCompletedResponseEventType.
func (ActivityTaskCompletedResponseEventType) Valid ¶
func (e ActivityTaskCompletedResponseEventType) Valid() bool
Valid indicates whether the value is a known member of the ActivityTaskCompletedResponseEventType enum.
type ActivityTaskFailedAttributes ¶
type ActivityTaskFailedAttributes struct {
// ActivityName The registered name of the activity being executed.
ActivityName string `json:"activity_name"`
// Attempt The final attempt number that failed (1-indexed).
Attempt int `json:"attempt"`
// Failure Details about the failure that caused the activity to fail.
Failure Failure `json:"failure"`
// TaskId Unique identifier for the activity task within the workflow.
TaskId string `json:"task_id"`
}
ActivityTaskFailedAttributes Attributes for activity task failed events (final failure after all retries).
type ActivityTaskFailedResponse ¶
type ActivityTaskFailedResponse struct {
// Attributes Event-specific attributes.
Attributes ActivityTaskFailedAttributes `json:"attributes"`
// EventId Unique identifier for this event instance.
EventId string `json:"event_id"`
// EventTimestamp Unix timestamp in nanoseconds when the event was created.
EventTimestamp int `json:"event_timestamp"`
// EventType Event type discriminator.
EventType ActivityTaskFailedResponseEventType `json:"event_type"`
// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`
// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
RootWorkflowExecId string `json:"root_workflow_exec_id"`
// WorkflowExecId Execution ID of the workflow that emitted this event.
WorkflowExecId string `json:"workflow_exec_id"`
// WorkflowName The registered name of the workflow that emitted this event.
WorkflowName string `json:"workflow_name"`
// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
WorkflowRunId string `json:"workflow_run_id"`
}
ActivityTaskFailedResponse Emitted when an activity task fails after exhausting all retry attempts.
This is a terminal event indicating the activity could not complete successfully.
type ActivityTaskFailedResponseEventType ¶
type ActivityTaskFailedResponseEventType string
ActivityTaskFailedResponseEventType Event type discriminator.
const (
ActivityTaskFailedResponseEventTypeACTIVITYTASKFAILED ActivityTaskFailedResponseEventType = "ACTIVITY_TASK_FAILED"
)
Defines values for ActivityTaskFailedResponseEventType.
func (ActivityTaskFailedResponseEventType) Valid ¶
func (e ActivityTaskFailedResponseEventType) Valid() bool
Valid indicates whether the value is a known member of the ActivityTaskFailedResponseEventType enum.
type ActivityTaskRetryingAttributes ¶
type ActivityTaskRetryingAttributes struct {
// ActivityName The registered name of the activity being executed.
ActivityName string `json:"activity_name"`
// Attempt The attempt number that failed (1-indexed).
Attempt int `json:"attempt"`
// Failure Details about the failure that caused the retry.
Failure Failure `json:"failure"`
// TaskId Unique identifier for the activity task within the workflow.
TaskId string `json:"task_id"`
}
ActivityTaskRetryingAttributes Attributes for activity task retrying events.
type ActivityTaskRetryingResponse ¶
type ActivityTaskRetryingResponse struct {
// Attributes Event-specific attributes.
Attributes ActivityTaskRetryingAttributes `json:"attributes"`
// EventId Unique identifier for this event instance.
EventId string `json:"event_id"`
// EventTimestamp Unix timestamp in nanoseconds when the event was created.
EventTimestamp int `json:"event_timestamp"`
// EventType Event type discriminator.
EventType ActivityTaskRetryingResponseEventType `json:"event_type"`
// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`
// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
RootWorkflowExecId string `json:"root_workflow_exec_id"`
// WorkflowExecId Execution ID of the workflow that emitted this event.
WorkflowExecId string `json:"workflow_exec_id"`
// WorkflowName The registered name of the workflow that emitted this event.
WorkflowName string `json:"workflow_name"`
// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
WorkflowRunId string `json:"workflow_run_id"`
}
ActivityTaskRetryingResponse Emitted when an activity task fails and will be retried.
Contains information about the failed attempt and the error that occurred.
type ActivityTaskRetryingResponseEventType ¶
type ActivityTaskRetryingResponseEventType string
ActivityTaskRetryingResponseEventType Event type discriminator.
const (
ActivityTaskRetryingResponseEventTypeACTIVITYTASKRETRYING ActivityTaskRetryingResponseEventType = "ACTIVITY_TASK_RETRYING"
)
Defines values for ActivityTaskRetryingResponseEventType.
func (ActivityTaskRetryingResponseEventType) Valid ¶
func (e ActivityTaskRetryingResponseEventType) Valid() bool
Valid indicates whether the value is a known member of the ActivityTaskRetryingResponseEventType enum.
type ActivityTaskStartedAttributesResponse ¶
type ActivityTaskStartedAttributesResponse struct {
// ActivityName The registered name of the activity being executed.
ActivityName string `json:"activity_name"`
// Input The input arguments passed to the activity.
Input JSONPayloadResponse `json:"input"`
// TaskId Unique identifier for the activity task within the workflow.
TaskId string `json:"task_id"`
}
ActivityTaskStartedAttributesResponse Attributes for activity task started events.
type ActivityTaskStartedResponse ¶
type ActivityTaskStartedResponse struct {
// Attributes Event-specific attributes.
Attributes ActivityTaskStartedAttributesResponse `json:"attributes"`
// EventId Unique identifier for this event instance.
EventId string `json:"event_id"`
// EventTimestamp Unix timestamp in nanoseconds when the event was created.
EventTimestamp int `json:"event_timestamp"`
// EventType Event type discriminator.
EventType ActivityTaskStartedResponseEventType `json:"event_type"`
// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`
// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
RootWorkflowExecId string `json:"root_workflow_exec_id"`
// WorkflowExecId Execution ID of the workflow that emitted this event.
WorkflowExecId string `json:"workflow_exec_id"`
// WorkflowName The registered name of the workflow that emitted this event.
WorkflowName string `json:"workflow_name"`
// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
WorkflowRunId string `json:"workflow_run_id"`
}
ActivityTaskStartedResponse Emitted when an activity task begins execution.
This is the first event for an activity, emitted on the first attempt only. Subsequent retry attempts emit ACTIVITY_TASK_RETRYING instead.
type ActivityTaskStartedResponseEventType ¶
type ActivityTaskStartedResponseEventType string
ActivityTaskStartedResponseEventType Event type discriminator.
const (
ActivityTaskStartedResponseEventTypeACTIVITYTASKSTARTED ActivityTaskStartedResponseEventType = "ACTIVITY_TASK_STARTED"
)
Defines values for ActivityTaskStartedResponseEventType.
func (ActivityTaskStartedResponseEventType) Valid ¶
func (e ActivityTaskStartedResponseEventType) Valid() bool
Valid indicates whether the value is a known member of the ActivityTaskStartedResponseEventType enum.
type Agent ¶
type Agent struct {
// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
CreatedAt time.Time `json:"created_at"`
DeploymentChat bool `json:"deployment_chat"`
Description *string `json:"description,omitempty"`
Guardrails *[]GuardrailConfig `json:"guardrails,omitempty"`
Handoffs *[]string `json:"handoffs,omitempty"`
Id string `json:"id"`
// Instructions Instruction prompt the model will follow during the conversation.
Instructions *string `json:"instructions,omitempty"`
Metadata *MetadataDict `json:"metadata,omitempty"`
Model string `json:"model"`
Name string `json:"name"`
Object *AgentObject `json:"object,omitempty"`
Source string `json:"source"`
// Tools List of tools which are available to the model during the conversation.
Tools *[]Agent_Tools_Item `json:"tools,omitempty"`
UpdatedAt time.Time `json:"updated_at"`
Version int `json:"version"`
VersionMessage *string `json:"version_message,omitempty"`
Versions []int `json:"versions"`
}
Agent defines model for Agent.
type AgentAliasResponse ¶
type AgentAliasResponse struct {
Alias string `json:"alias"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
Version int `json:"version"`
}
AgentAliasResponse defines model for AgentAliasResponse.
type AgentConversation ¶
type AgentConversation struct {
AgentId string `json:"agent_id"`
AgentVersion *AgentConversation_AgentVersion `json:"agent_version,omitempty"`
CreatedAt time.Time `json:"created_at"`
// Description Description of the what the conversation is about.
Description *string `json:"description,omitempty"`
Id string `json:"id"`
// Metadata Custom metadata for the conversation.
Metadata *MetadataDict `json:"metadata,omitempty"`
// Name Name given to the conversation.
Name *string `json:"name,omitempty"`
Object *AgentConversationObject `json:"object,omitempty"`
UpdatedAt time.Time `json:"updated_at"`
}
AgentConversation defines model for AgentConversation.
type AgentConversationAgentVersion0 ¶
type AgentConversationAgentVersion0 = string
AgentConversationAgentVersion0 defines model for AgentConversation.AgentVersion.0.
type AgentConversationAgentVersion1 ¶
type AgentConversationAgentVersion1 = int
AgentConversationAgentVersion1 defines model for AgentConversation.AgentVersion.1.
type AgentConversationObject ¶
type AgentConversationObject string
AgentConversationObject defines model for AgentConversation.Object.
const (
AgentConversationObjectConversation AgentConversationObject = "conversation"
)
Defines values for AgentConversationObject.
func (AgentConversationObject) Valid ¶
func (e AgentConversationObject) Valid() bool
Valid indicates whether the value is a known member of the AgentConversationObject enum.
type AgentConversation_AgentVersion ¶
type AgentConversation_AgentVersion struct {
// contains filtered or unexported fields
}
AgentConversation_AgentVersion defines model for AgentConversation.AgentVersion.
func (AgentConversation_AgentVersion) AsAgentConversationAgentVersion0 ¶
func (t AgentConversation_AgentVersion) AsAgentConversationAgentVersion0() (AgentConversationAgentVersion0, error)
AsAgentConversationAgentVersion0 returns the union data inside the AgentConversation_AgentVersion as a AgentConversationAgentVersion0
func (AgentConversation_AgentVersion) AsAgentConversationAgentVersion1 ¶
func (t AgentConversation_AgentVersion) AsAgentConversationAgentVersion1() (AgentConversationAgentVersion1, error)
AsAgentConversationAgentVersion1 returns the union data inside the AgentConversation_AgentVersion as a AgentConversationAgentVersion1
func (*AgentConversation_AgentVersion) FromAgentConversationAgentVersion0 ¶
func (t *AgentConversation_AgentVersion) FromAgentConversationAgentVersion0(v AgentConversationAgentVersion0) error
FromAgentConversationAgentVersion0 overwrites any union data inside the AgentConversation_AgentVersion as the provided AgentConversationAgentVersion0
func (*AgentConversation_AgentVersion) FromAgentConversationAgentVersion1 ¶
func (t *AgentConversation_AgentVersion) FromAgentConversationAgentVersion1(v AgentConversationAgentVersion1) error
FromAgentConversationAgentVersion1 overwrites any union data inside the AgentConversation_AgentVersion as the provided AgentConversationAgentVersion1
func (AgentConversation_AgentVersion) MarshalJSON ¶
func (t AgentConversation_AgentVersion) MarshalJSON() ([]byte, error)
func (*AgentConversation_AgentVersion) MergeAgentConversationAgentVersion0 ¶
func (t *AgentConversation_AgentVersion) MergeAgentConversationAgentVersion0(v AgentConversationAgentVersion0) error
MergeAgentConversationAgentVersion0 performs a merge with any union data inside the AgentConversation_AgentVersion, using the provided AgentConversationAgentVersion0
func (*AgentConversation_AgentVersion) MergeAgentConversationAgentVersion1 ¶
func (t *AgentConversation_AgentVersion) MergeAgentConversationAgentVersion1(v AgentConversationAgentVersion1) error
MergeAgentConversationAgentVersion1 performs a merge with any union data inside the AgentConversation_AgentVersion, using the provided AgentConversationAgentVersion1
func (*AgentConversation_AgentVersion) UnmarshalJSON ¶
func (t *AgentConversation_AgentVersion) UnmarshalJSON(b []byte) error
type AgentCreationRequest ¶
type AgentCreationRequest struct {
// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
Description *string `json:"description,omitempty"`
Guardrails *[]GuardrailConfig `json:"guardrails,omitempty"`
Handoffs *[]string `json:"handoffs,omitempty"`
// Instructions Instruction prompt the model will follow during the conversation.
Instructions *string `json:"instructions,omitempty"`
Metadata *MetadataDict `json:"metadata,omitempty"`
Model string `json:"model"`
Name string `json:"name"`
// Tools List of tools which are available to the model during the conversation.
Tools *[]AgentCreationRequest_Tools_Item `json:"tools,omitempty"`
VersionMessage *string `json:"version_message,omitempty"`
}
AgentCreationRequest defines model for AgentCreationRequest.
type AgentCreationRequest_Tools_Item ¶
type AgentCreationRequest_Tools_Item struct {
// contains filtered or unexported fields
}
AgentCreationRequest_Tools_Item defines model for AgentCreationRequest.tools.Item.
func (AgentCreationRequest_Tools_Item) AsCodeInterpreterTool ¶
func (t AgentCreationRequest_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)
AsCodeInterpreterTool returns the union data inside the AgentCreationRequest_Tools_Item as a CodeInterpreterTool
func (AgentCreationRequest_Tools_Item) AsCustomConnector ¶
func (t AgentCreationRequest_Tools_Item) AsCustomConnector() (CustomConnector, error)
AsCustomConnector returns the union data inside the AgentCreationRequest_Tools_Item as a CustomConnector
func (AgentCreationRequest_Tools_Item) AsDocumentLibraryTool ¶
func (t AgentCreationRequest_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)
AsDocumentLibraryTool returns the union data inside the AgentCreationRequest_Tools_Item as a DocumentLibraryTool
func (AgentCreationRequest_Tools_Item) AsFunctionTool ¶
func (t AgentCreationRequest_Tools_Item) AsFunctionTool() (FunctionTool, error)
AsFunctionTool returns the union data inside the AgentCreationRequest_Tools_Item as a FunctionTool
func (AgentCreationRequest_Tools_Item) AsImageGenerationTool ¶
func (t AgentCreationRequest_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)
AsImageGenerationTool returns the union data inside the AgentCreationRequest_Tools_Item as a ImageGenerationTool
func (AgentCreationRequest_Tools_Item) AsWebSearchPremiumTool ¶
func (t AgentCreationRequest_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)
AsWebSearchPremiumTool returns the union data inside the AgentCreationRequest_Tools_Item as a WebSearchPremiumTool
func (AgentCreationRequest_Tools_Item) AsWebSearchTool ¶
func (t AgentCreationRequest_Tools_Item) AsWebSearchTool() (WebSearchTool, error)
AsWebSearchTool returns the union data inside the AgentCreationRequest_Tools_Item as a WebSearchTool
func (AgentCreationRequest_Tools_Item) Discriminator ¶
func (t AgentCreationRequest_Tools_Item) Discriminator() (string, error)
func (*AgentCreationRequest_Tools_Item) FromCodeInterpreterTool ¶
func (t *AgentCreationRequest_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error
FromCodeInterpreterTool overwrites any union data inside the AgentCreationRequest_Tools_Item as the provided CodeInterpreterTool
func (*AgentCreationRequest_Tools_Item) FromCustomConnector ¶
func (t *AgentCreationRequest_Tools_Item) FromCustomConnector(v CustomConnector) error
FromCustomConnector overwrites any union data inside the AgentCreationRequest_Tools_Item as the provided CustomConnector
func (*AgentCreationRequest_Tools_Item) FromDocumentLibraryTool ¶
func (t *AgentCreationRequest_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error
FromDocumentLibraryTool overwrites any union data inside the AgentCreationRequest_Tools_Item as the provided DocumentLibraryTool
func (*AgentCreationRequest_Tools_Item) FromFunctionTool ¶
func (t *AgentCreationRequest_Tools_Item) FromFunctionTool(v FunctionTool) error
FromFunctionTool overwrites any union data inside the AgentCreationRequest_Tools_Item as the provided FunctionTool
func (*AgentCreationRequest_Tools_Item) FromImageGenerationTool ¶
func (t *AgentCreationRequest_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error
FromImageGenerationTool overwrites any union data inside the AgentCreationRequest_Tools_Item as the provided ImageGenerationTool
func (*AgentCreationRequest_Tools_Item) FromWebSearchPremiumTool ¶
func (t *AgentCreationRequest_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error
FromWebSearchPremiumTool overwrites any union data inside the AgentCreationRequest_Tools_Item as the provided WebSearchPremiumTool
func (*AgentCreationRequest_Tools_Item) FromWebSearchTool ¶
func (t *AgentCreationRequest_Tools_Item) FromWebSearchTool(v WebSearchTool) error
FromWebSearchTool overwrites any union data inside the AgentCreationRequest_Tools_Item as the provided WebSearchTool
func (AgentCreationRequest_Tools_Item) MarshalJSON ¶
func (t AgentCreationRequest_Tools_Item) MarshalJSON() ([]byte, error)
func (*AgentCreationRequest_Tools_Item) MergeCodeInterpreterTool ¶
func (t *AgentCreationRequest_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error
MergeCodeInterpreterTool performs a merge with any union data inside the AgentCreationRequest_Tools_Item, using the provided CodeInterpreterTool
func (*AgentCreationRequest_Tools_Item) MergeCustomConnector ¶
func (t *AgentCreationRequest_Tools_Item) MergeCustomConnector(v CustomConnector) error
MergeCustomConnector performs a merge with any union data inside the AgentCreationRequest_Tools_Item, using the provided CustomConnector
func (*AgentCreationRequest_Tools_Item) MergeDocumentLibraryTool ¶
func (t *AgentCreationRequest_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error
MergeDocumentLibraryTool performs a merge with any union data inside the AgentCreationRequest_Tools_Item, using the provided DocumentLibraryTool
func (*AgentCreationRequest_Tools_Item) MergeFunctionTool ¶
func (t *AgentCreationRequest_Tools_Item) MergeFunctionTool(v FunctionTool) error
MergeFunctionTool performs a merge with any union data inside the AgentCreationRequest_Tools_Item, using the provided FunctionTool
func (*AgentCreationRequest_Tools_Item) MergeImageGenerationTool ¶
func (t *AgentCreationRequest_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error
MergeImageGenerationTool performs a merge with any union data inside the AgentCreationRequest_Tools_Item, using the provided ImageGenerationTool
func (*AgentCreationRequest_Tools_Item) MergeWebSearchPremiumTool ¶
func (t *AgentCreationRequest_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error
MergeWebSearchPremiumTool performs a merge with any union data inside the AgentCreationRequest_Tools_Item, using the provided WebSearchPremiumTool
func (*AgentCreationRequest_Tools_Item) MergeWebSearchTool ¶
func (t *AgentCreationRequest_Tools_Item) MergeWebSearchTool(v WebSearchTool) error
MergeWebSearchTool performs a merge with any union data inside the AgentCreationRequest_Tools_Item, using the provided WebSearchTool
func (*AgentCreationRequest_Tools_Item) UnmarshalJSON ¶
func (t *AgentCreationRequest_Tools_Item) UnmarshalJSON(b []byte) error
func (AgentCreationRequest_Tools_Item) ValueByDiscriminator ¶
func (t AgentCreationRequest_Tools_Item) ValueByDiscriminator() (interface{}, error)
type AgentHandoffDoneEvent ¶
type AgentHandoffDoneEvent struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
Id string `json:"id"`
NextAgentId string `json:"next_agent_id"`
NextAgentName string `json:"next_agent_name"`
OutputIndex *int `json:"output_index,omitempty"`
Type *AgentHandoffDoneEventType `json:"type,omitempty"`
}
AgentHandoffDoneEvent defines model for AgentHandoffDoneEvent.
type AgentHandoffDoneEventType ¶
type AgentHandoffDoneEventType string
AgentHandoffDoneEventType defines model for AgentHandoffDoneEvent.Type.
const (
AgentHandoffDoneEventTypeAgentHandoffDone AgentHandoffDoneEventType = "agent.handoff.done"
)
Defines values for AgentHandoffDoneEventType.
func (AgentHandoffDoneEventType) Valid ¶
func (e AgentHandoffDoneEventType) Valid() bool
Valid indicates whether the value is a known member of the AgentHandoffDoneEventType enum.
type AgentHandoffEntry ¶
type AgentHandoffEntry struct {
CompletedAt *time.Time `json:"completed_at,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Id *string `json:"id,omitempty"`
NextAgentId string `json:"next_agent_id"`
NextAgentName string `json:"next_agent_name"`
Object *AgentHandoffEntryObject `json:"object,omitempty"`
PreviousAgentId string `json:"previous_agent_id"`
PreviousAgentName string `json:"previous_agent_name"`
Type *AgentHandoffEntryType `json:"type,omitempty"`
}
AgentHandoffEntry defines model for AgentHandoffEntry.
type AgentHandoffEntryObject ¶
type AgentHandoffEntryObject string
AgentHandoffEntryObject defines model for AgentHandoffEntry.Object.
const (
AgentHandoffEntryObjectEntry AgentHandoffEntryObject = "entry"
)
Defines values for AgentHandoffEntryObject.
func (AgentHandoffEntryObject) Valid ¶
func (e AgentHandoffEntryObject) Valid() bool
Valid indicates whether the value is a known member of the AgentHandoffEntryObject enum.
type AgentHandoffEntryType ¶
type AgentHandoffEntryType string
AgentHandoffEntryType defines model for AgentHandoffEntry.Type.
const (
AgentHandoffEntryTypeAgentHandoff AgentHandoffEntryType = "agent.handoff"
)
Defines values for AgentHandoffEntryType.
func (AgentHandoffEntryType) Valid ¶
func (e AgentHandoffEntryType) Valid() bool
Valid indicates whether the value is a known member of the AgentHandoffEntryType enum.
type AgentHandoffStartedEvent ¶
type AgentHandoffStartedEvent struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
Id string `json:"id"`
OutputIndex *int `json:"output_index,omitempty"`
PreviousAgentId string `json:"previous_agent_id"`
PreviousAgentName string `json:"previous_agent_name"`
Type *AgentHandoffStartedEventType `json:"type,omitempty"`
}
AgentHandoffStartedEvent defines model for AgentHandoffStartedEvent.
type AgentHandoffStartedEventType ¶
type AgentHandoffStartedEventType string
AgentHandoffStartedEventType defines model for AgentHandoffStartedEvent.Type.
const (
AgentHandoffStartedEventTypeAgentHandoffStarted AgentHandoffStartedEventType = "agent.handoff.started"
)
Defines values for AgentHandoffStartedEventType.
func (AgentHandoffStartedEventType) Valid ¶
func (e AgentHandoffStartedEventType) Valid() bool
Valid indicates whether the value is a known member of the AgentHandoffStartedEventType enum.
type AgentListPage ¶
type AgentListPage struct {
Data []Agent `json:"data"`
NextPageToken *string `json:"next_page_token,omitempty"`
Object *AgentListPageObject `json:"object,omitempty"`
}
AgentListPage defines model for AgentListPage.
type AgentListPageObject ¶
type AgentListPageObject string
AgentListPageObject defines model for AgentListPage.Object.
const (
AgentListPageObjectList AgentListPageObject = "list"
)
Defines values for AgentListPageObject.
func (AgentListPageObject) Valid ¶
func (e AgentListPageObject) Valid() bool
Valid indicates whether the value is a known member of the AgentListPageObject enum.
type AgentObject ¶
type AgentObject string
AgentObject defines model for Agent.Object.
const (
AgentObjectAgent AgentObject = "agent"
)
Defines values for AgentObject.
func (AgentObject) Valid ¶
func (e AgentObject) Valid() bool
Valid indicates whether the value is a known member of the AgentObject enum.
type AgentUpdateRequest ¶
type AgentUpdateRequest struct {
// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
DeploymentChat *bool `json:"deployment_chat,omitempty"`
Description *string `json:"description,omitempty"`
Guardrails *[]GuardrailConfig `json:"guardrails,omitempty"`
Handoffs *[]string `json:"handoffs,omitempty"`
// Instructions Instruction prompt the model will follow during the conversation.
Instructions *string `json:"instructions,omitempty"`
Metadata *MetadataDict `json:"metadata,omitempty"`
Model *string `json:"model,omitempty"`
Name *string `json:"name,omitempty"`
// Tools List of tools which are available to the model during the conversation.
Tools *[]AgentUpdateRequest_Tools_Item `json:"tools,omitempty"`
VersionMessage *string `json:"version_message,omitempty"`
}
AgentUpdateRequest defines model for AgentUpdateRequest.
type AgentUpdateRequest_Tools_Item ¶
type AgentUpdateRequest_Tools_Item struct {
// contains filtered or unexported fields
}
AgentUpdateRequest_Tools_Item defines model for AgentUpdateRequest.tools.Item.
func (AgentUpdateRequest_Tools_Item) AsCodeInterpreterTool ¶
func (t AgentUpdateRequest_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)
AsCodeInterpreterTool returns the union data inside the AgentUpdateRequest_Tools_Item as a CodeInterpreterTool
func (AgentUpdateRequest_Tools_Item) AsCustomConnector ¶
func (t AgentUpdateRequest_Tools_Item) AsCustomConnector() (CustomConnector, error)
AsCustomConnector returns the union data inside the AgentUpdateRequest_Tools_Item as a CustomConnector
func (AgentUpdateRequest_Tools_Item) AsDocumentLibraryTool ¶
func (t AgentUpdateRequest_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)
AsDocumentLibraryTool returns the union data inside the AgentUpdateRequest_Tools_Item as a DocumentLibraryTool
func (AgentUpdateRequest_Tools_Item) AsFunctionTool ¶
func (t AgentUpdateRequest_Tools_Item) AsFunctionTool() (FunctionTool, error)
AsFunctionTool returns the union data inside the AgentUpdateRequest_Tools_Item as a FunctionTool
func (AgentUpdateRequest_Tools_Item) AsImageGenerationTool ¶
func (t AgentUpdateRequest_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)
AsImageGenerationTool returns the union data inside the AgentUpdateRequest_Tools_Item as a ImageGenerationTool
func (AgentUpdateRequest_Tools_Item) AsWebSearchPremiumTool ¶
func (t AgentUpdateRequest_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)
AsWebSearchPremiumTool returns the union data inside the AgentUpdateRequest_Tools_Item as a WebSearchPremiumTool
func (AgentUpdateRequest_Tools_Item) AsWebSearchTool ¶
func (t AgentUpdateRequest_Tools_Item) AsWebSearchTool() (WebSearchTool, error)
AsWebSearchTool returns the union data inside the AgentUpdateRequest_Tools_Item as a WebSearchTool
func (AgentUpdateRequest_Tools_Item) Discriminator ¶
func (t AgentUpdateRequest_Tools_Item) Discriminator() (string, error)
func (*AgentUpdateRequest_Tools_Item) FromCodeInterpreterTool ¶
func (t *AgentUpdateRequest_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error
FromCodeInterpreterTool overwrites any union data inside the AgentUpdateRequest_Tools_Item as the provided CodeInterpreterTool
func (*AgentUpdateRequest_Tools_Item) FromCustomConnector ¶
func (t *AgentUpdateRequest_Tools_Item) FromCustomConnector(v CustomConnector) error
FromCustomConnector overwrites any union data inside the AgentUpdateRequest_Tools_Item as the provided CustomConnector
func (*AgentUpdateRequest_Tools_Item) FromDocumentLibraryTool ¶
func (t *AgentUpdateRequest_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error
FromDocumentLibraryTool overwrites any union data inside the AgentUpdateRequest_Tools_Item as the provided DocumentLibraryTool
func (*AgentUpdateRequest_Tools_Item) FromFunctionTool ¶
func (t *AgentUpdateRequest_Tools_Item) FromFunctionTool(v FunctionTool) error
FromFunctionTool overwrites any union data inside the AgentUpdateRequest_Tools_Item as the provided FunctionTool
func (*AgentUpdateRequest_Tools_Item) FromImageGenerationTool ¶
func (t *AgentUpdateRequest_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error
FromImageGenerationTool overwrites any union data inside the AgentUpdateRequest_Tools_Item as the provided ImageGenerationTool
func (*AgentUpdateRequest_Tools_Item) FromWebSearchPremiumTool ¶
func (t *AgentUpdateRequest_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error
FromWebSearchPremiumTool overwrites any union data inside the AgentUpdateRequest_Tools_Item as the provided WebSearchPremiumTool
func (*AgentUpdateRequest_Tools_Item) FromWebSearchTool ¶
func (t *AgentUpdateRequest_Tools_Item) FromWebSearchTool(v WebSearchTool) error
FromWebSearchTool overwrites any union data inside the AgentUpdateRequest_Tools_Item as the provided WebSearchTool
func (AgentUpdateRequest_Tools_Item) MarshalJSON ¶
func (t AgentUpdateRequest_Tools_Item) MarshalJSON() ([]byte, error)
func (*AgentUpdateRequest_Tools_Item) MergeCodeInterpreterTool ¶
func (t *AgentUpdateRequest_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error
MergeCodeInterpreterTool performs a merge with any union data inside the AgentUpdateRequest_Tools_Item, using the provided CodeInterpreterTool
func (*AgentUpdateRequest_Tools_Item) MergeCustomConnector ¶
func (t *AgentUpdateRequest_Tools_Item) MergeCustomConnector(v CustomConnector) error
MergeCustomConnector performs a merge with any union data inside the AgentUpdateRequest_Tools_Item, using the provided CustomConnector
func (*AgentUpdateRequest_Tools_Item) MergeDocumentLibraryTool ¶
func (t *AgentUpdateRequest_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error
MergeDocumentLibraryTool performs a merge with any union data inside the AgentUpdateRequest_Tools_Item, using the provided DocumentLibraryTool
func (*AgentUpdateRequest_Tools_Item) MergeFunctionTool ¶
func (t *AgentUpdateRequest_Tools_Item) MergeFunctionTool(v FunctionTool) error
MergeFunctionTool performs a merge with any union data inside the AgentUpdateRequest_Tools_Item, using the provided FunctionTool
func (*AgentUpdateRequest_Tools_Item) MergeImageGenerationTool ¶
func (t *AgentUpdateRequest_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error
MergeImageGenerationTool performs a merge with any union data inside the AgentUpdateRequest_Tools_Item, using the provided ImageGenerationTool
func (*AgentUpdateRequest_Tools_Item) MergeWebSearchPremiumTool ¶
func (t *AgentUpdateRequest_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error
MergeWebSearchPremiumTool performs a merge with any union data inside the AgentUpdateRequest_Tools_Item, using the provided WebSearchPremiumTool
func (*AgentUpdateRequest_Tools_Item) MergeWebSearchTool ¶
func (t *AgentUpdateRequest_Tools_Item) MergeWebSearchTool(v WebSearchTool) error
MergeWebSearchTool performs a merge with any union data inside the AgentUpdateRequest_Tools_Item, using the provided WebSearchTool
func (*AgentUpdateRequest_Tools_Item) UnmarshalJSON ¶
func (t *AgentUpdateRequest_Tools_Item) UnmarshalJSON(b []byte) error
func (AgentUpdateRequest_Tools_Item) ValueByDiscriminator ¶
func (t AgentUpdateRequest_Tools_Item) ValueByDiscriminator() (interface{}, error)
type Agent_Tools_Item ¶
type Agent_Tools_Item struct {
// contains filtered or unexported fields
}
Agent_Tools_Item defines model for Agent.tools.Item.
func (Agent_Tools_Item) AsCodeInterpreterTool ¶
func (t Agent_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)
AsCodeInterpreterTool returns the union data inside the Agent_Tools_Item as a CodeInterpreterTool
func (Agent_Tools_Item) AsCustomConnector ¶
func (t Agent_Tools_Item) AsCustomConnector() (CustomConnector, error)
AsCustomConnector returns the union data inside the Agent_Tools_Item as a CustomConnector
func (Agent_Tools_Item) AsDocumentLibraryTool ¶
func (t Agent_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)
AsDocumentLibraryTool returns the union data inside the Agent_Tools_Item as a DocumentLibraryTool
func (Agent_Tools_Item) AsFunctionTool ¶
func (t Agent_Tools_Item) AsFunctionTool() (FunctionTool, error)
AsFunctionTool returns the union data inside the Agent_Tools_Item as a FunctionTool
func (Agent_Tools_Item) AsImageGenerationTool ¶
func (t Agent_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)
AsImageGenerationTool returns the union data inside the Agent_Tools_Item as a ImageGenerationTool
func (Agent_Tools_Item) AsWebSearchPremiumTool ¶
func (t Agent_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)
AsWebSearchPremiumTool returns the union data inside the Agent_Tools_Item as a WebSearchPremiumTool
func (Agent_Tools_Item) AsWebSearchTool ¶
func (t Agent_Tools_Item) AsWebSearchTool() (WebSearchTool, error)
AsWebSearchTool returns the union data inside the Agent_Tools_Item as a WebSearchTool
func (Agent_Tools_Item) Discriminator ¶
func (t Agent_Tools_Item) Discriminator() (string, error)
func (*Agent_Tools_Item) FromCodeInterpreterTool ¶
func (t *Agent_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error
FromCodeInterpreterTool overwrites any union data inside the Agent_Tools_Item as the provided CodeInterpreterTool
func (*Agent_Tools_Item) FromCustomConnector ¶
func (t *Agent_Tools_Item) FromCustomConnector(v CustomConnector) error
FromCustomConnector overwrites any union data inside the Agent_Tools_Item as the provided CustomConnector
func (*Agent_Tools_Item) FromDocumentLibraryTool ¶
func (t *Agent_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error
FromDocumentLibraryTool overwrites any union data inside the Agent_Tools_Item as the provided DocumentLibraryTool
func (*Agent_Tools_Item) FromFunctionTool ¶
func (t *Agent_Tools_Item) FromFunctionTool(v FunctionTool) error
FromFunctionTool overwrites any union data inside the Agent_Tools_Item as the provided FunctionTool
func (*Agent_Tools_Item) FromImageGenerationTool ¶
func (t *Agent_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error
FromImageGenerationTool overwrites any union data inside the Agent_Tools_Item as the provided ImageGenerationTool
func (*Agent_Tools_Item) FromWebSearchPremiumTool ¶
func (t *Agent_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error
FromWebSearchPremiumTool overwrites any union data inside the Agent_Tools_Item as the provided WebSearchPremiumTool
func (*Agent_Tools_Item) FromWebSearchTool ¶
func (t *Agent_Tools_Item) FromWebSearchTool(v WebSearchTool) error
FromWebSearchTool overwrites any union data inside the Agent_Tools_Item as the provided WebSearchTool
func (Agent_Tools_Item) MarshalJSON ¶
func (t Agent_Tools_Item) MarshalJSON() ([]byte, error)
func (*Agent_Tools_Item) MergeCodeInterpreterTool ¶
func (t *Agent_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error
MergeCodeInterpreterTool performs a merge with any union data inside the Agent_Tools_Item, using the provided CodeInterpreterTool
func (*Agent_Tools_Item) MergeCustomConnector ¶
func (t *Agent_Tools_Item) MergeCustomConnector(v CustomConnector) error
MergeCustomConnector performs a merge with any union data inside the Agent_Tools_Item, using the provided CustomConnector
func (*Agent_Tools_Item) MergeDocumentLibraryTool ¶
func (t *Agent_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error
MergeDocumentLibraryTool performs a merge with any union data inside the Agent_Tools_Item, using the provided DocumentLibraryTool
func (*Agent_Tools_Item) MergeFunctionTool ¶
func (t *Agent_Tools_Item) MergeFunctionTool(v FunctionTool) error
MergeFunctionTool performs a merge with any union data inside the Agent_Tools_Item, using the provided FunctionTool
func (*Agent_Tools_Item) MergeImageGenerationTool ¶
func (t *Agent_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error
MergeImageGenerationTool performs a merge with any union data inside the Agent_Tools_Item, using the provided ImageGenerationTool
func (*Agent_Tools_Item) MergeWebSearchPremiumTool ¶
func (t *Agent_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error
MergeWebSearchPremiumTool performs a merge with any union data inside the Agent_Tools_Item, using the provided WebSearchPremiumTool
func (*Agent_Tools_Item) MergeWebSearchTool ¶
func (t *Agent_Tools_Item) MergeWebSearchTool(v WebSearchTool) error
MergeWebSearchTool performs a merge with any union data inside the Agent_Tools_Item, using the provided WebSearchTool
func (*Agent_Tools_Item) UnmarshalJSON ¶
func (t *Agent_Tools_Item) UnmarshalJSON(b []byte) error
func (Agent_Tools_Item) ValueByDiscriminator ¶
func (t Agent_Tools_Item) ValueByDiscriminator() (interface{}, error)
type AgentsApiV1AgentsCreateJSONRequestBody ¶
type AgentsApiV1AgentsCreateJSONRequestBody = AgentCreationRequest
AgentsApiV1AgentsCreateJSONRequestBody defines body for AgentsApiV1AgentsCreate for application/json ContentType.
type AgentsApiV1AgentsCreateOrUpdateAliasParams ¶
type AgentsApiV1AgentsCreateOrUpdateAliasParams struct {
Alias string `form:"alias" json:"alias"`
Version int `form:"version" json:"version"`
}
AgentsApiV1AgentsCreateOrUpdateAliasParams defines parameters for AgentsApiV1AgentsCreateOrUpdateAlias.
type AgentsApiV1AgentsCreateOrUpdateAliasResponse ¶
type AgentsApiV1AgentsCreateOrUpdateAliasResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AgentAliasResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1AgentsCreateOrUpdateAliasResponse ¶
func ParseAgentsApiV1AgentsCreateOrUpdateAliasResponse(rsp *http.Response) (*AgentsApiV1AgentsCreateOrUpdateAliasResponse, error)
ParseAgentsApiV1AgentsCreateOrUpdateAliasResponse parses an HTTP response from a AgentsApiV1AgentsCreateOrUpdateAliasWithResponse call
func (AgentsApiV1AgentsCreateOrUpdateAliasResponse) ContentType ¶
func (r AgentsApiV1AgentsCreateOrUpdateAliasResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1AgentsCreateOrUpdateAliasResponse) GetBody ¶
func (r AgentsApiV1AgentsCreateOrUpdateAliasResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1AgentsCreateOrUpdateAliasResponse) GetJSON200 ¶
func (r AgentsApiV1AgentsCreateOrUpdateAliasResponse) GetJSON200() *AgentAliasResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentsApiV1AgentsCreateOrUpdateAliasResponse) GetJSON422 ¶
func (r AgentsApiV1AgentsCreateOrUpdateAliasResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1AgentsCreateOrUpdateAliasResponse) Status ¶
func (r AgentsApiV1AgentsCreateOrUpdateAliasResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1AgentsCreateOrUpdateAliasResponse) StatusCode ¶
func (r AgentsApiV1AgentsCreateOrUpdateAliasResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1AgentsCreateResponse ¶
type AgentsApiV1AgentsCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Agent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1AgentsCreateResponse ¶
func ParseAgentsApiV1AgentsCreateResponse(rsp *http.Response) (*AgentsApiV1AgentsCreateResponse, error)
ParseAgentsApiV1AgentsCreateResponse parses an HTTP response from a AgentsApiV1AgentsCreateWithResponse call
func (AgentsApiV1AgentsCreateResponse) ContentType ¶
func (r AgentsApiV1AgentsCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1AgentsCreateResponse) GetBody ¶
func (r AgentsApiV1AgentsCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1AgentsCreateResponse) GetJSON200 ¶
func (r AgentsApiV1AgentsCreateResponse) GetJSON200() *Agent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentsApiV1AgentsCreateResponse) GetJSON422 ¶
func (r AgentsApiV1AgentsCreateResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1AgentsCreateResponse) Status ¶
func (r AgentsApiV1AgentsCreateResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1AgentsCreateResponse) StatusCode ¶
func (r AgentsApiV1AgentsCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1AgentsDeleteAliasParams ¶
type AgentsApiV1AgentsDeleteAliasParams struct {
Alias string `form:"alias" json:"alias"`
}
AgentsApiV1AgentsDeleteAliasParams defines parameters for AgentsApiV1AgentsDeleteAlias.
type AgentsApiV1AgentsDeleteAliasResponse ¶
type AgentsApiV1AgentsDeleteAliasResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1AgentsDeleteAliasResponse ¶
func ParseAgentsApiV1AgentsDeleteAliasResponse(rsp *http.Response) (*AgentsApiV1AgentsDeleteAliasResponse, error)
ParseAgentsApiV1AgentsDeleteAliasResponse parses an HTTP response from a AgentsApiV1AgentsDeleteAliasWithResponse call
func (AgentsApiV1AgentsDeleteAliasResponse) ContentType ¶
func (r AgentsApiV1AgentsDeleteAliasResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1AgentsDeleteAliasResponse) GetBody ¶
func (r AgentsApiV1AgentsDeleteAliasResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1AgentsDeleteAliasResponse) GetJSON422 ¶
func (r AgentsApiV1AgentsDeleteAliasResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1AgentsDeleteAliasResponse) Status ¶
func (r AgentsApiV1AgentsDeleteAliasResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1AgentsDeleteAliasResponse) StatusCode ¶
func (r AgentsApiV1AgentsDeleteAliasResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1AgentsDeleteResponse ¶
type AgentsApiV1AgentsDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1AgentsDeleteResponse ¶
func ParseAgentsApiV1AgentsDeleteResponse(rsp *http.Response) (*AgentsApiV1AgentsDeleteResponse, error)
ParseAgentsApiV1AgentsDeleteResponse parses an HTTP response from a AgentsApiV1AgentsDeleteWithResponse call
func (AgentsApiV1AgentsDeleteResponse) ContentType ¶
func (r AgentsApiV1AgentsDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1AgentsDeleteResponse) GetBody ¶
func (r AgentsApiV1AgentsDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1AgentsDeleteResponse) GetJSON422 ¶
func (r AgentsApiV1AgentsDeleteResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1AgentsDeleteResponse) Status ¶
func (r AgentsApiV1AgentsDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1AgentsDeleteResponse) StatusCode ¶
func (r AgentsApiV1AgentsDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1AgentsGetParams ¶
type AgentsApiV1AgentsGetParams struct {
AgentVersion *struct {
// contains filtered or unexported fields
} `form:"agent_version,omitempty" json:"agent_version,omitempty"`
}
AgentsApiV1AgentsGetParams defines parameters for AgentsApiV1AgentsGet.
type AgentsApiV1AgentsGetParamsAgentVersion0 ¶
type AgentsApiV1AgentsGetParamsAgentVersion0 = int
AgentsApiV1AgentsGetParamsAgentVersion0 defines parameters for AgentsApiV1AgentsGet.
type AgentsApiV1AgentsGetParamsAgentVersion1 ¶
type AgentsApiV1AgentsGetParamsAgentVersion1 = string
AgentsApiV1AgentsGetParamsAgentVersion1 defines parameters for AgentsApiV1AgentsGet.
type AgentsApiV1AgentsGetResponse ¶
type AgentsApiV1AgentsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Agent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1AgentsGetResponse ¶
func ParseAgentsApiV1AgentsGetResponse(rsp *http.Response) (*AgentsApiV1AgentsGetResponse, error)
ParseAgentsApiV1AgentsGetResponse parses an HTTP response from a AgentsApiV1AgentsGetWithResponse call
func (AgentsApiV1AgentsGetResponse) ContentType ¶
func (r AgentsApiV1AgentsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1AgentsGetResponse) GetBody ¶
func (r AgentsApiV1AgentsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1AgentsGetResponse) GetJSON200 ¶
func (r AgentsApiV1AgentsGetResponse) GetJSON200() *Agent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentsApiV1AgentsGetResponse) GetJSON422 ¶
func (r AgentsApiV1AgentsGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1AgentsGetResponse) Status ¶
func (r AgentsApiV1AgentsGetResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1AgentsGetResponse) StatusCode ¶
func (r AgentsApiV1AgentsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1AgentsGetVersionResponse ¶
type AgentsApiV1AgentsGetVersionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Agent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1AgentsGetVersionResponse ¶
func ParseAgentsApiV1AgentsGetVersionResponse(rsp *http.Response) (*AgentsApiV1AgentsGetVersionResponse, error)
ParseAgentsApiV1AgentsGetVersionResponse parses an HTTP response from a AgentsApiV1AgentsGetVersionWithResponse call
func (AgentsApiV1AgentsGetVersionResponse) ContentType ¶
func (r AgentsApiV1AgentsGetVersionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1AgentsGetVersionResponse) GetBody ¶
func (r AgentsApiV1AgentsGetVersionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1AgentsGetVersionResponse) GetJSON200 ¶
func (r AgentsApiV1AgentsGetVersionResponse) GetJSON200() *Agent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentsApiV1AgentsGetVersionResponse) GetJSON422 ¶
func (r AgentsApiV1AgentsGetVersionResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1AgentsGetVersionResponse) Status ¶
func (r AgentsApiV1AgentsGetVersionResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1AgentsGetVersionResponse) StatusCode ¶
func (r AgentsApiV1AgentsGetVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1AgentsListPagesParams ¶
type AgentsApiV1AgentsListPagesParams struct {
// PageSize Number of agents per page
PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
DeploymentChat *bool `form:"deployment_chat,omitempty" json:"deployment_chat,omitempty"`
Sources *[]RequestSource `form:"sources,omitempty" json:"sources,omitempty"`
// Name Filter by agent name
Name *string `form:"name,omitempty" json:"name,omitempty"`
// Search Search agents by name or ID
Search *string `form:"search,omitempty" json:"search,omitempty"`
Id *string `form:"id,omitempty" json:"id,omitempty"`
Metadata *map[string]interface{} `form:"metadata,omitempty" json:"metadata,omitempty"`
// PageToken Opaque cursor from a previous response's next_page_token. When set, results page forward from the cursor.
PageToken *string `form:"page_token,omitempty" json:"page_token,omitempty"`
}
AgentsApiV1AgentsListPagesParams defines parameters for AgentsApiV1AgentsListPages.
type AgentsApiV1AgentsListPagesResponse ¶
type AgentsApiV1AgentsListPagesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AgentListPage
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1AgentsListPagesResponse ¶
func ParseAgentsApiV1AgentsListPagesResponse(rsp *http.Response) (*AgentsApiV1AgentsListPagesResponse, error)
ParseAgentsApiV1AgentsListPagesResponse parses an HTTP response from a AgentsApiV1AgentsListPagesWithResponse call
func (AgentsApiV1AgentsListPagesResponse) ContentType ¶
func (r AgentsApiV1AgentsListPagesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1AgentsListPagesResponse) GetBody ¶
func (r AgentsApiV1AgentsListPagesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1AgentsListPagesResponse) GetJSON200 ¶
func (r AgentsApiV1AgentsListPagesResponse) GetJSON200() *AgentListPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentsApiV1AgentsListPagesResponse) GetJSON422 ¶
func (r AgentsApiV1AgentsListPagesResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1AgentsListPagesResponse) Status ¶
func (r AgentsApiV1AgentsListPagesResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1AgentsListPagesResponse) StatusCode ¶
func (r AgentsApiV1AgentsListPagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1AgentsListParams ¶
type AgentsApiV1AgentsListParams struct {
// Page Page number (0-indexed)
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of agents per page
PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
DeploymentChat *bool `form:"deployment_chat,omitempty" json:"deployment_chat,omitempty"`
Sources *[]RequestSource `form:"sources,omitempty" json:"sources,omitempty"`
// Name Filter by agent name
Name *string `form:"name,omitempty" json:"name,omitempty"`
// Search Search agents by name or ID
Search *string `form:"search,omitempty" json:"search,omitempty"`
Id *string `form:"id,omitempty" json:"id,omitempty"`
Metadata *map[string]interface{} `form:"metadata,omitempty" json:"metadata,omitempty"`
}
AgentsApiV1AgentsListParams defines parameters for AgentsApiV1AgentsList.
type AgentsApiV1AgentsListResponse ¶
type AgentsApiV1AgentsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Agent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1AgentsListResponse ¶
func ParseAgentsApiV1AgentsListResponse(rsp *http.Response) (*AgentsApiV1AgentsListResponse, error)
ParseAgentsApiV1AgentsListResponse parses an HTTP response from a AgentsApiV1AgentsListWithResponse call
func (AgentsApiV1AgentsListResponse) ContentType ¶
func (r AgentsApiV1AgentsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1AgentsListResponse) GetBody ¶
func (r AgentsApiV1AgentsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1AgentsListResponse) GetJSON200 ¶
func (r AgentsApiV1AgentsListResponse) GetJSON200() *[]Agent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentsApiV1AgentsListResponse) GetJSON422 ¶
func (r AgentsApiV1AgentsListResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1AgentsListResponse) Status ¶
func (r AgentsApiV1AgentsListResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1AgentsListResponse) StatusCode ¶
func (r AgentsApiV1AgentsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1AgentsListVersionAliasesResponse ¶
type AgentsApiV1AgentsListVersionAliasesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]AgentAliasResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1AgentsListVersionAliasesResponse ¶
func ParseAgentsApiV1AgentsListVersionAliasesResponse(rsp *http.Response) (*AgentsApiV1AgentsListVersionAliasesResponse, error)
ParseAgentsApiV1AgentsListVersionAliasesResponse parses an HTTP response from a AgentsApiV1AgentsListVersionAliasesWithResponse call
func (AgentsApiV1AgentsListVersionAliasesResponse) ContentType ¶
func (r AgentsApiV1AgentsListVersionAliasesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1AgentsListVersionAliasesResponse) GetBody ¶
func (r AgentsApiV1AgentsListVersionAliasesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1AgentsListVersionAliasesResponse) GetJSON200 ¶
func (r AgentsApiV1AgentsListVersionAliasesResponse) GetJSON200() *[]AgentAliasResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentsApiV1AgentsListVersionAliasesResponse) GetJSON422 ¶
func (r AgentsApiV1AgentsListVersionAliasesResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1AgentsListVersionAliasesResponse) Status ¶
func (r AgentsApiV1AgentsListVersionAliasesResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1AgentsListVersionAliasesResponse) StatusCode ¶
func (r AgentsApiV1AgentsListVersionAliasesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1AgentsListVersionsParams ¶
type AgentsApiV1AgentsListVersionsParams struct {
// Page Page number (0-indexed)
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of versions per page
PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
}
AgentsApiV1AgentsListVersionsParams defines parameters for AgentsApiV1AgentsListVersions.
type AgentsApiV1AgentsListVersionsResponse ¶
type AgentsApiV1AgentsListVersionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]Agent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1AgentsListVersionsResponse ¶
func ParseAgentsApiV1AgentsListVersionsResponse(rsp *http.Response) (*AgentsApiV1AgentsListVersionsResponse, error)
ParseAgentsApiV1AgentsListVersionsResponse parses an HTTP response from a AgentsApiV1AgentsListVersionsWithResponse call
func (AgentsApiV1AgentsListVersionsResponse) ContentType ¶
func (r AgentsApiV1AgentsListVersionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1AgentsListVersionsResponse) GetBody ¶
func (r AgentsApiV1AgentsListVersionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1AgentsListVersionsResponse) GetJSON200 ¶
func (r AgentsApiV1AgentsListVersionsResponse) GetJSON200() *[]Agent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentsApiV1AgentsListVersionsResponse) GetJSON422 ¶
func (r AgentsApiV1AgentsListVersionsResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1AgentsListVersionsResponse) Status ¶
func (r AgentsApiV1AgentsListVersionsResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1AgentsListVersionsResponse) StatusCode ¶
func (r AgentsApiV1AgentsListVersionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1AgentsUpdateJSONRequestBody ¶
type AgentsApiV1AgentsUpdateJSONRequestBody = AgentUpdateRequest
AgentsApiV1AgentsUpdateJSONRequestBody defines body for AgentsApiV1AgentsUpdate for application/json ContentType.
type AgentsApiV1AgentsUpdateResponse ¶
type AgentsApiV1AgentsUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Agent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1AgentsUpdateResponse ¶
func ParseAgentsApiV1AgentsUpdateResponse(rsp *http.Response) (*AgentsApiV1AgentsUpdateResponse, error)
ParseAgentsApiV1AgentsUpdateResponse parses an HTTP response from a AgentsApiV1AgentsUpdateWithResponse call
func (AgentsApiV1AgentsUpdateResponse) ContentType ¶
func (r AgentsApiV1AgentsUpdateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1AgentsUpdateResponse) GetBody ¶
func (r AgentsApiV1AgentsUpdateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1AgentsUpdateResponse) GetJSON200 ¶
func (r AgentsApiV1AgentsUpdateResponse) GetJSON200() *Agent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentsApiV1AgentsUpdateResponse) GetJSON422 ¶
func (r AgentsApiV1AgentsUpdateResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1AgentsUpdateResponse) Status ¶
func (r AgentsApiV1AgentsUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1AgentsUpdateResponse) StatusCode ¶
func (r AgentsApiV1AgentsUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1AgentsUpdateVersionParams ¶
type AgentsApiV1AgentsUpdateVersionParams struct {
Version int `form:"version" json:"version"`
}
AgentsApiV1AgentsUpdateVersionParams defines parameters for AgentsApiV1AgentsUpdateVersion.
type AgentsApiV1AgentsUpdateVersionResponse ¶
type AgentsApiV1AgentsUpdateVersionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Agent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1AgentsUpdateVersionResponse ¶
func ParseAgentsApiV1AgentsUpdateVersionResponse(rsp *http.Response) (*AgentsApiV1AgentsUpdateVersionResponse, error)
ParseAgentsApiV1AgentsUpdateVersionResponse parses an HTTP response from a AgentsApiV1AgentsUpdateVersionWithResponse call
func (AgentsApiV1AgentsUpdateVersionResponse) ContentType ¶
func (r AgentsApiV1AgentsUpdateVersionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1AgentsUpdateVersionResponse) GetBody ¶
func (r AgentsApiV1AgentsUpdateVersionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1AgentsUpdateVersionResponse) GetJSON200 ¶
func (r AgentsApiV1AgentsUpdateVersionResponse) GetJSON200() *Agent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentsApiV1AgentsUpdateVersionResponse) GetJSON422 ¶
func (r AgentsApiV1AgentsUpdateVersionResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1AgentsUpdateVersionResponse) Status ¶
func (r AgentsApiV1AgentsUpdateVersionResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1AgentsUpdateVersionResponse) StatusCode ¶
func (r AgentsApiV1AgentsUpdateVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1ConversationsAppendJSONRequestBody ¶
type AgentsApiV1ConversationsAppendJSONRequestBody = ConversationAppendRequest
AgentsApiV1ConversationsAppendJSONRequestBody defines body for AgentsApiV1ConversationsAppend for application/json ContentType.
type AgentsApiV1ConversationsAppendResponse ¶
type AgentsApiV1ConversationsAppendResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConversationResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1ConversationsAppendResponse ¶
func ParseAgentsApiV1ConversationsAppendResponse(rsp *http.Response) (*AgentsApiV1ConversationsAppendResponse, error)
ParseAgentsApiV1ConversationsAppendResponse parses an HTTP response from a AgentsApiV1ConversationsAppendWithResponse call
func (AgentsApiV1ConversationsAppendResponse) ContentType ¶
func (r AgentsApiV1ConversationsAppendResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1ConversationsAppendResponse) GetBody ¶
func (r AgentsApiV1ConversationsAppendResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1ConversationsAppendResponse) GetJSON200 ¶
func (r AgentsApiV1ConversationsAppendResponse) GetJSON200() *ConversationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentsApiV1ConversationsAppendResponse) GetJSON422 ¶
func (r AgentsApiV1ConversationsAppendResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1ConversationsAppendResponse) Status ¶
func (r AgentsApiV1ConversationsAppendResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1ConversationsAppendResponse) StatusCode ¶
func (r AgentsApiV1ConversationsAppendResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1ConversationsAppendStreamJSONRequestBody ¶
type AgentsApiV1ConversationsAppendStreamJSONRequestBody = ConversationAppendStreamRequest
AgentsApiV1ConversationsAppendStreamJSONRequestBody defines body for AgentsApiV1ConversationsAppendStream for application/json ContentType.
type AgentsApiV1ConversationsAppendStreamResponse ¶
type AgentsApiV1ConversationsAppendStreamResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1ConversationsAppendStreamResponse ¶
func ParseAgentsApiV1ConversationsAppendStreamResponse(rsp *http.Response) (*AgentsApiV1ConversationsAppendStreamResponse, error)
ParseAgentsApiV1ConversationsAppendStreamResponse parses an HTTP response from a AgentsApiV1ConversationsAppendStreamWithResponse call
func (AgentsApiV1ConversationsAppendStreamResponse) ContentType ¶
func (r AgentsApiV1ConversationsAppendStreamResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1ConversationsAppendStreamResponse) GetBody ¶
func (r AgentsApiV1ConversationsAppendStreamResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1ConversationsAppendStreamResponse) GetJSON422 ¶
func (r AgentsApiV1ConversationsAppendStreamResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1ConversationsAppendStreamResponse) Status ¶
func (r AgentsApiV1ConversationsAppendStreamResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1ConversationsAppendStreamResponse) StatusCode ¶
func (r AgentsApiV1ConversationsAppendStreamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1ConversationsDeleteResponse ¶
type AgentsApiV1ConversationsDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1ConversationsDeleteResponse ¶
func ParseAgentsApiV1ConversationsDeleteResponse(rsp *http.Response) (*AgentsApiV1ConversationsDeleteResponse, error)
ParseAgentsApiV1ConversationsDeleteResponse parses an HTTP response from a AgentsApiV1ConversationsDeleteWithResponse call
func (AgentsApiV1ConversationsDeleteResponse) ContentType ¶
func (r AgentsApiV1ConversationsDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1ConversationsDeleteResponse) GetBody ¶
func (r AgentsApiV1ConversationsDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1ConversationsDeleteResponse) GetJSON422 ¶
func (r AgentsApiV1ConversationsDeleteResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1ConversationsDeleteResponse) Status ¶
func (r AgentsApiV1ConversationsDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1ConversationsDeleteResponse) StatusCode ¶
func (r AgentsApiV1ConversationsDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1ConversationsGet200JSONResponseBody ¶
type AgentsApiV1ConversationsGet200JSONResponseBody struct {
// contains filtered or unexported fields
}
AgentsApiV1ConversationsGet200JSONResponseBody defines parameters for AgentsApiV1ConversationsGet.
func (AgentsApiV1ConversationsGet200JSONResponseBody) AsAgentConversation ¶
func (t AgentsApiV1ConversationsGet200JSONResponseBody) AsAgentConversation() (AgentConversation, error)
AsAgentConversation returns the union data inside the AgentsApiV1ConversationsGet200JSONResponseBody as a AgentConversation
func (AgentsApiV1ConversationsGet200JSONResponseBody) AsModelConversation ¶
func (t AgentsApiV1ConversationsGet200JSONResponseBody) AsModelConversation() (ModelConversation, error)
AsModelConversation returns the union data inside the AgentsApiV1ConversationsGet200JSONResponseBody as a ModelConversation
func (*AgentsApiV1ConversationsGet200JSONResponseBody) FromAgentConversation ¶
func (t *AgentsApiV1ConversationsGet200JSONResponseBody) FromAgentConversation(v AgentConversation) error
FromAgentConversation overwrites any union data inside the AgentsApiV1ConversationsGet200JSONResponseBody as the provided AgentConversation
func (*AgentsApiV1ConversationsGet200JSONResponseBody) FromModelConversation ¶
func (t *AgentsApiV1ConversationsGet200JSONResponseBody) FromModelConversation(v ModelConversation) error
FromModelConversation overwrites any union data inside the AgentsApiV1ConversationsGet200JSONResponseBody as the provided ModelConversation
func (AgentsApiV1ConversationsGet200JSONResponseBody) MarshalJSON ¶
func (t AgentsApiV1ConversationsGet200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*AgentsApiV1ConversationsGet200JSONResponseBody) MergeAgentConversation ¶
func (t *AgentsApiV1ConversationsGet200JSONResponseBody) MergeAgentConversation(v AgentConversation) error
MergeAgentConversation performs a merge with any union data inside the AgentsApiV1ConversationsGet200JSONResponseBody, using the provided AgentConversation
func (*AgentsApiV1ConversationsGet200JSONResponseBody) MergeModelConversation ¶
func (t *AgentsApiV1ConversationsGet200JSONResponseBody) MergeModelConversation(v ModelConversation) error
MergeModelConversation performs a merge with any union data inside the AgentsApiV1ConversationsGet200JSONResponseBody, using the provided ModelConversation
func (*AgentsApiV1ConversationsGet200JSONResponseBody) UnmarshalJSON ¶
func (t *AgentsApiV1ConversationsGet200JSONResponseBody) UnmarshalJSON(b []byte) error
type AgentsApiV1ConversationsGetResponse ¶
type AgentsApiV1ConversationsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AgentsApiV1ConversationsGet200JSONResponseBody
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1ConversationsGetResponse ¶
func ParseAgentsApiV1ConversationsGetResponse(rsp *http.Response) (*AgentsApiV1ConversationsGetResponse, error)
ParseAgentsApiV1ConversationsGetResponse parses an HTTP response from a AgentsApiV1ConversationsGetWithResponse call
func (AgentsApiV1ConversationsGetResponse) ContentType ¶
func (r AgentsApiV1ConversationsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1ConversationsGetResponse) GetBody ¶
func (r AgentsApiV1ConversationsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1ConversationsGetResponse) GetJSON200 ¶
func (r AgentsApiV1ConversationsGetResponse) GetJSON200() *AgentsApiV1ConversationsGet200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentsApiV1ConversationsGetResponse) GetJSON422 ¶
func (r AgentsApiV1ConversationsGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1ConversationsGetResponse) Status ¶
func (r AgentsApiV1ConversationsGetResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1ConversationsGetResponse) StatusCode ¶
func (r AgentsApiV1ConversationsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1ConversationsHistoryResponse ¶
type AgentsApiV1ConversationsHistoryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConversationHistory
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1ConversationsHistoryResponse ¶
func ParseAgentsApiV1ConversationsHistoryResponse(rsp *http.Response) (*AgentsApiV1ConversationsHistoryResponse, error)
ParseAgentsApiV1ConversationsHistoryResponse parses an HTTP response from a AgentsApiV1ConversationsHistoryWithResponse call
func (AgentsApiV1ConversationsHistoryResponse) ContentType ¶
func (r AgentsApiV1ConversationsHistoryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1ConversationsHistoryResponse) GetBody ¶
func (r AgentsApiV1ConversationsHistoryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1ConversationsHistoryResponse) GetJSON200 ¶
func (r AgentsApiV1ConversationsHistoryResponse) GetJSON200() *ConversationHistory
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentsApiV1ConversationsHistoryResponse) GetJSON422 ¶
func (r AgentsApiV1ConversationsHistoryResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1ConversationsHistoryResponse) Status ¶
func (r AgentsApiV1ConversationsHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1ConversationsHistoryResponse) StatusCode ¶
func (r AgentsApiV1ConversationsHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1ConversationsList200JSONResponseBody_Item ¶
type AgentsApiV1ConversationsList200JSONResponseBody_Item struct {
// contains filtered or unexported fields
}
AgentsApiV1ConversationsList200JSONResponseBody_Item defines parameters for AgentsApiV1ConversationsList.
func (AgentsApiV1ConversationsList200JSONResponseBody_Item) AsAgentConversation ¶
func (t AgentsApiV1ConversationsList200JSONResponseBody_Item) AsAgentConversation() (AgentConversation, error)
AsAgentConversation returns the union data inside the AgentsApiV1ConversationsList200JSONResponseBody_Item as a AgentConversation
func (AgentsApiV1ConversationsList200JSONResponseBody_Item) AsModelConversation ¶
func (t AgentsApiV1ConversationsList200JSONResponseBody_Item) AsModelConversation() (ModelConversation, error)
AsModelConversation returns the union data inside the AgentsApiV1ConversationsList200JSONResponseBody_Item as a ModelConversation
func (*AgentsApiV1ConversationsList200JSONResponseBody_Item) FromAgentConversation ¶
func (t *AgentsApiV1ConversationsList200JSONResponseBody_Item) FromAgentConversation(v AgentConversation) error
FromAgentConversation overwrites any union data inside the AgentsApiV1ConversationsList200JSONResponseBody_Item as the provided AgentConversation
func (*AgentsApiV1ConversationsList200JSONResponseBody_Item) FromModelConversation ¶
func (t *AgentsApiV1ConversationsList200JSONResponseBody_Item) FromModelConversation(v ModelConversation) error
FromModelConversation overwrites any union data inside the AgentsApiV1ConversationsList200JSONResponseBody_Item as the provided ModelConversation
func (AgentsApiV1ConversationsList200JSONResponseBody_Item) MarshalJSON ¶
func (t AgentsApiV1ConversationsList200JSONResponseBody_Item) MarshalJSON() ([]byte, error)
func (*AgentsApiV1ConversationsList200JSONResponseBody_Item) MergeAgentConversation ¶
func (t *AgentsApiV1ConversationsList200JSONResponseBody_Item) MergeAgentConversation(v AgentConversation) error
MergeAgentConversation performs a merge with any union data inside the AgentsApiV1ConversationsList200JSONResponseBody_Item, using the provided AgentConversation
func (*AgentsApiV1ConversationsList200JSONResponseBody_Item) MergeModelConversation ¶
func (t *AgentsApiV1ConversationsList200JSONResponseBody_Item) MergeModelConversation(v ModelConversation) error
MergeModelConversation performs a merge with any union data inside the AgentsApiV1ConversationsList200JSONResponseBody_Item, using the provided ModelConversation
func (*AgentsApiV1ConversationsList200JSONResponseBody_Item) UnmarshalJSON ¶
func (t *AgentsApiV1ConversationsList200JSONResponseBody_Item) UnmarshalJSON(b []byte) error
type AgentsApiV1ConversationsListParams ¶
type AgentsApiV1ConversationsListParams struct {
Page *int `form:"page,omitempty" json:"page,omitempty"`
PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
Metadata *map[string]interface{} `form:"metadata,omitempty" json:"metadata,omitempty"`
}
AgentsApiV1ConversationsListParams defines parameters for AgentsApiV1ConversationsList.
type AgentsApiV1ConversationsListResponse ¶
type AgentsApiV1ConversationsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]AgentsApiV1ConversationsList200JSONResponseBody_Item
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1ConversationsListResponse ¶
func ParseAgentsApiV1ConversationsListResponse(rsp *http.Response) (*AgentsApiV1ConversationsListResponse, error)
ParseAgentsApiV1ConversationsListResponse parses an HTTP response from a AgentsApiV1ConversationsListWithResponse call
func (AgentsApiV1ConversationsListResponse) ContentType ¶
func (r AgentsApiV1ConversationsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1ConversationsListResponse) GetBody ¶
func (r AgentsApiV1ConversationsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1ConversationsListResponse) GetJSON200 ¶
func (r AgentsApiV1ConversationsListResponse) GetJSON200() *[]AgentsApiV1ConversationsList200JSONResponseBody_Item
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentsApiV1ConversationsListResponse) GetJSON422 ¶
func (r AgentsApiV1ConversationsListResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1ConversationsListResponse) Status ¶
func (r AgentsApiV1ConversationsListResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1ConversationsListResponse) StatusCode ¶
func (r AgentsApiV1ConversationsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1ConversationsMessagesResponse ¶
type AgentsApiV1ConversationsMessagesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConversationMessages
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1ConversationsMessagesResponse ¶
func ParseAgentsApiV1ConversationsMessagesResponse(rsp *http.Response) (*AgentsApiV1ConversationsMessagesResponse, error)
ParseAgentsApiV1ConversationsMessagesResponse parses an HTTP response from a AgentsApiV1ConversationsMessagesWithResponse call
func (AgentsApiV1ConversationsMessagesResponse) ContentType ¶
func (r AgentsApiV1ConversationsMessagesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1ConversationsMessagesResponse) GetBody ¶
func (r AgentsApiV1ConversationsMessagesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1ConversationsMessagesResponse) GetJSON200 ¶
func (r AgentsApiV1ConversationsMessagesResponse) GetJSON200() *ConversationMessages
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentsApiV1ConversationsMessagesResponse) GetJSON422 ¶
func (r AgentsApiV1ConversationsMessagesResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1ConversationsMessagesResponse) Status ¶
func (r AgentsApiV1ConversationsMessagesResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1ConversationsMessagesResponse) StatusCode ¶
func (r AgentsApiV1ConversationsMessagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1ConversationsRestartJSONRequestBody ¶
type AgentsApiV1ConversationsRestartJSONRequestBody = ConversationRestartRequest
AgentsApiV1ConversationsRestartJSONRequestBody defines body for AgentsApiV1ConversationsRestart for application/json ContentType.
type AgentsApiV1ConversationsRestartResponse ¶
type AgentsApiV1ConversationsRestartResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConversationResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1ConversationsRestartResponse ¶
func ParseAgentsApiV1ConversationsRestartResponse(rsp *http.Response) (*AgentsApiV1ConversationsRestartResponse, error)
ParseAgentsApiV1ConversationsRestartResponse parses an HTTP response from a AgentsApiV1ConversationsRestartWithResponse call
func (AgentsApiV1ConversationsRestartResponse) ContentType ¶
func (r AgentsApiV1ConversationsRestartResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1ConversationsRestartResponse) GetBody ¶
func (r AgentsApiV1ConversationsRestartResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1ConversationsRestartResponse) GetJSON200 ¶
func (r AgentsApiV1ConversationsRestartResponse) GetJSON200() *ConversationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentsApiV1ConversationsRestartResponse) GetJSON422 ¶
func (r AgentsApiV1ConversationsRestartResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1ConversationsRestartResponse) Status ¶
func (r AgentsApiV1ConversationsRestartResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1ConversationsRestartResponse) StatusCode ¶
func (r AgentsApiV1ConversationsRestartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1ConversationsRestartStreamJSONRequestBody ¶
type AgentsApiV1ConversationsRestartStreamJSONRequestBody = ConversationRestartStreamRequest
AgentsApiV1ConversationsRestartStreamJSONRequestBody defines body for AgentsApiV1ConversationsRestartStream for application/json ContentType.
type AgentsApiV1ConversationsRestartStreamResponse ¶
type AgentsApiV1ConversationsRestartStreamResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1ConversationsRestartStreamResponse ¶
func ParseAgentsApiV1ConversationsRestartStreamResponse(rsp *http.Response) (*AgentsApiV1ConversationsRestartStreamResponse, error)
ParseAgentsApiV1ConversationsRestartStreamResponse parses an HTTP response from a AgentsApiV1ConversationsRestartStreamWithResponse call
func (AgentsApiV1ConversationsRestartStreamResponse) ContentType ¶
func (r AgentsApiV1ConversationsRestartStreamResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1ConversationsRestartStreamResponse) GetBody ¶
func (r AgentsApiV1ConversationsRestartStreamResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1ConversationsRestartStreamResponse) GetJSON422 ¶
func (r AgentsApiV1ConversationsRestartStreamResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1ConversationsRestartStreamResponse) Status ¶
func (r AgentsApiV1ConversationsRestartStreamResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1ConversationsRestartStreamResponse) StatusCode ¶
func (r AgentsApiV1ConversationsRestartStreamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1ConversationsStartJSONRequestBody ¶
type AgentsApiV1ConversationsStartJSONRequestBody = ConversationRequest
AgentsApiV1ConversationsStartJSONRequestBody defines body for AgentsApiV1ConversationsStart for application/json ContentType.
type AgentsApiV1ConversationsStartResponse ¶
type AgentsApiV1ConversationsStartResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConversationResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1ConversationsStartResponse ¶
func ParseAgentsApiV1ConversationsStartResponse(rsp *http.Response) (*AgentsApiV1ConversationsStartResponse, error)
ParseAgentsApiV1ConversationsStartResponse parses an HTTP response from a AgentsApiV1ConversationsStartWithResponse call
func (AgentsApiV1ConversationsStartResponse) ContentType ¶
func (r AgentsApiV1ConversationsStartResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1ConversationsStartResponse) GetBody ¶
func (r AgentsApiV1ConversationsStartResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1ConversationsStartResponse) GetJSON200 ¶
func (r AgentsApiV1ConversationsStartResponse) GetJSON200() *ConversationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentsApiV1ConversationsStartResponse) GetJSON422 ¶
func (r AgentsApiV1ConversationsStartResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1ConversationsStartResponse) Status ¶
func (r AgentsApiV1ConversationsStartResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1ConversationsStartResponse) StatusCode ¶
func (r AgentsApiV1ConversationsStartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsApiV1ConversationsStartStreamJSONRequestBody ¶
type AgentsApiV1ConversationsStartStreamJSONRequestBody = ConversationStreamRequest
AgentsApiV1ConversationsStartStreamJSONRequestBody defines body for AgentsApiV1ConversationsStartStream for application/json ContentType.
type AgentsApiV1ConversationsStartStreamResponse ¶
type AgentsApiV1ConversationsStartStreamResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsApiV1ConversationsStartStreamResponse ¶
func ParseAgentsApiV1ConversationsStartStreamResponse(rsp *http.Response) (*AgentsApiV1ConversationsStartStreamResponse, error)
ParseAgentsApiV1ConversationsStartStreamResponse parses an HTTP response from a AgentsApiV1ConversationsStartStreamWithResponse call
func (AgentsApiV1ConversationsStartStreamResponse) ContentType ¶
func (r AgentsApiV1ConversationsStartStreamResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsApiV1ConversationsStartStreamResponse) GetBody ¶
func (r AgentsApiV1ConversationsStartStreamResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsApiV1ConversationsStartStreamResponse) GetJSON422 ¶
func (r AgentsApiV1ConversationsStartStreamResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsApiV1ConversationsStartStreamResponse) Status ¶
func (r AgentsApiV1ConversationsStartStreamResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsApiV1ConversationsStartStreamResponse) StatusCode ¶
func (r AgentsApiV1ConversationsStartStreamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentsCompletionRequest ¶
type AgentsCompletionRequest struct {
// AgentId The ID of the agent to use for this completion.
AgentId string `json:"agent_id"`
// FrequencyPenalty The `frequency_penalty` penalizes the repetition of words based on their frequency in the generated text. A higher frequency penalty discourages the model from repeating words that have already appeared frequently in the output, promoting diversity and reducing repetition.
FrequencyPenalty *float32 `json:"frequency_penalty,omitempty"`
// MaxTokens The maximum number of tokens to generate in the completion. The token count of your prompt plus `max_tokens` cannot exceed the model's context length.
MaxTokens *int `json:"max_tokens,omitempty"`
// Messages The prompt(s) to generate completions for, encoded as a list of dict with role and content.
//
// Examples: [{"content":"Who is the best French painter? Answer in one short sentence.","role":"user"}]
Messages []AgentsCompletionRequest_Messages_Item `json:"messages"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
// N Number of completions to return for each request, input tokens are only billed once.
N *int `json:"n,omitempty"`
ParallelToolCalls *bool `json:"parallel_tool_calls,omitempty"`
// Prediction Enable users to specify expected results, optimizing response times by leveraging known or predictable content. This approach is especially effective for updating text documents or code files with minimal changes, reducing latency while maintaining high-quality results.
Prediction *Prediction `json:"prediction,omitempty"`
// PresencePenalty The `presence_penalty` determines how much the model penalizes the repetition of words or phrases. A higher presence penalty encourages the model to use a wider variety of words and phrases, making the output more diverse and creative.
PresencePenalty *float32 `json:"presence_penalty,omitempty"`
// PromptCacheKey A cache key to enable prompt caching. When provided, the API will attempt to reuse previously computed tokens for requests sharing the same prefix (e.g. multi-turn conversations or requests with a similar system prompt). Cached tokens are billed at 10% of the standard input token price.
PromptCacheKey *string `json:"prompt_cache_key,omitempty"`
// PromptMode Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. **Deprecated for reasoning models - use `reasoning_effort` parameter instead.**
PromptMode *MistralPromptMode `json:"prompt_mode,omitempty"`
// RandomSeed The seed to use for random sampling. If set, different calls will generate deterministic results.
RandomSeed *int `json:"random_seed,omitempty"`
// ReasoningEffort Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort.
ReasoningEffort *AgentsCompletionRequestReasoningEffort `json:"reasoning_effort,omitempty"`
// ResponseFormat Specify the format that the model must output. By default it will use `{ "type": "text" }`. Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is in JSON. When using JSON mode you MUST also instruct the model to produce JSON yourself with a system or a user message. Setting to `{ "type": "json_schema" }` enables JSON schema mode, which guarantees the message the model generates is in JSON and follows the schema you provide.
//
// Examples: {"type":"text"}, {"type":"json_object"}, {"json_schema":{"name":"book","schema":{"additionalProperties":false,"properties":{"authors":{"items":{"type":"string"},"title":"Authors","type":"array"},"name":{"title":"Name","type":"string"}},"required":["name","authors"],"title":"Book","type":"object"},"strict":true},"type":"json_schema"}
ResponseFormat *ResponseFormat `json:"response_format,omitempty"`
// Stop Stop generation if this token is detected. Or if one of these tokens is detected when providing an array
Stop *AgentsCompletionRequest_Stop `json:"stop,omitempty"`
// Stream Whether to stream back partial progress. If set, tokens will be sent as data-only server-side events as they become available, with the stream terminated by a data: [DONE] message. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
Stream *bool `json:"stream,omitempty"`
ToolChoice *AgentsCompletionRequest_ToolChoice `json:"tool_choice,omitempty"`
Tools *[]Tool `json:"tools,omitempty"`
}
AgentsCompletionRequest defines model for AgentsCompletionRequest.
type AgentsCompletionRequestReasoningEffort ¶
type AgentsCompletionRequestReasoningEffort string
AgentsCompletionRequestReasoningEffort Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort.
const ( AgentsCompletionRequestReasoningEffortHigh AgentsCompletionRequestReasoningEffort = "high" AgentsCompletionRequestReasoningEffortNone AgentsCompletionRequestReasoningEffort = "none" )
Defines values for AgentsCompletionRequestReasoningEffort.
func (AgentsCompletionRequestReasoningEffort) Valid ¶
func (e AgentsCompletionRequestReasoningEffort) Valid() bool
Valid indicates whether the value is a known member of the AgentsCompletionRequestReasoningEffort enum.
type AgentsCompletionRequestStop0 ¶
type AgentsCompletionRequestStop0 = string
AgentsCompletionRequestStop0 defines model for AgentsCompletionRequest.Stop.0.
type AgentsCompletionRequestStop1 ¶
type AgentsCompletionRequestStop1 = []string
AgentsCompletionRequestStop1 defines model for AgentsCompletionRequest.Stop.1.
type AgentsCompletionRequest_Messages_Item ¶
type AgentsCompletionRequest_Messages_Item struct {
// contains filtered or unexported fields
}
AgentsCompletionRequest_Messages_Item defines model for AgentsCompletionRequest.messages.Item.
func (AgentsCompletionRequest_Messages_Item) AsAssistantMessage ¶
func (t AgentsCompletionRequest_Messages_Item) AsAssistantMessage() (AssistantMessage, error)
AsAssistantMessage returns the union data inside the AgentsCompletionRequest_Messages_Item as a AssistantMessage
func (AgentsCompletionRequest_Messages_Item) AsSystemMessage ¶
func (t AgentsCompletionRequest_Messages_Item) AsSystemMessage() (SystemMessage, error)
AsSystemMessage returns the union data inside the AgentsCompletionRequest_Messages_Item as a SystemMessage
func (AgentsCompletionRequest_Messages_Item) AsToolMessage ¶
func (t AgentsCompletionRequest_Messages_Item) AsToolMessage() (ToolMessage, error)
AsToolMessage returns the union data inside the AgentsCompletionRequest_Messages_Item as a ToolMessage
func (AgentsCompletionRequest_Messages_Item) AsUserMessage ¶
func (t AgentsCompletionRequest_Messages_Item) AsUserMessage() (UserMessage, error)
AsUserMessage returns the union data inside the AgentsCompletionRequest_Messages_Item as a UserMessage
func (AgentsCompletionRequest_Messages_Item) Discriminator ¶
func (t AgentsCompletionRequest_Messages_Item) Discriminator() (string, error)
func (*AgentsCompletionRequest_Messages_Item) FromAssistantMessage ¶
func (t *AgentsCompletionRequest_Messages_Item) FromAssistantMessage(v AssistantMessage) error
FromAssistantMessage overwrites any union data inside the AgentsCompletionRequest_Messages_Item as the provided AssistantMessage
func (*AgentsCompletionRequest_Messages_Item) FromSystemMessage ¶
func (t *AgentsCompletionRequest_Messages_Item) FromSystemMessage(v SystemMessage) error
FromSystemMessage overwrites any union data inside the AgentsCompletionRequest_Messages_Item as the provided SystemMessage
func (*AgentsCompletionRequest_Messages_Item) FromToolMessage ¶
func (t *AgentsCompletionRequest_Messages_Item) FromToolMessage(v ToolMessage) error
FromToolMessage overwrites any union data inside the AgentsCompletionRequest_Messages_Item as the provided ToolMessage
func (*AgentsCompletionRequest_Messages_Item) FromUserMessage ¶
func (t *AgentsCompletionRequest_Messages_Item) FromUserMessage(v UserMessage) error
FromUserMessage overwrites any union data inside the AgentsCompletionRequest_Messages_Item as the provided UserMessage
func (AgentsCompletionRequest_Messages_Item) MarshalJSON ¶
func (t AgentsCompletionRequest_Messages_Item) MarshalJSON() ([]byte, error)
func (*AgentsCompletionRequest_Messages_Item) MergeAssistantMessage ¶
func (t *AgentsCompletionRequest_Messages_Item) MergeAssistantMessage(v AssistantMessage) error
MergeAssistantMessage performs a merge with any union data inside the AgentsCompletionRequest_Messages_Item, using the provided AssistantMessage
func (*AgentsCompletionRequest_Messages_Item) MergeSystemMessage ¶
func (t *AgentsCompletionRequest_Messages_Item) MergeSystemMessage(v SystemMessage) error
MergeSystemMessage performs a merge with any union data inside the AgentsCompletionRequest_Messages_Item, using the provided SystemMessage
func (*AgentsCompletionRequest_Messages_Item) MergeToolMessage ¶
func (t *AgentsCompletionRequest_Messages_Item) MergeToolMessage(v ToolMessage) error
MergeToolMessage performs a merge with any union data inside the AgentsCompletionRequest_Messages_Item, using the provided ToolMessage
func (*AgentsCompletionRequest_Messages_Item) MergeUserMessage ¶
func (t *AgentsCompletionRequest_Messages_Item) MergeUserMessage(v UserMessage) error
MergeUserMessage performs a merge with any union data inside the AgentsCompletionRequest_Messages_Item, using the provided UserMessage
func (*AgentsCompletionRequest_Messages_Item) UnmarshalJSON ¶
func (t *AgentsCompletionRequest_Messages_Item) UnmarshalJSON(b []byte) error
func (AgentsCompletionRequest_Messages_Item) ValueByDiscriminator ¶
func (t AgentsCompletionRequest_Messages_Item) ValueByDiscriminator() (interface{}, error)
type AgentsCompletionRequest_Stop ¶
type AgentsCompletionRequest_Stop struct {
// contains filtered or unexported fields
}
AgentsCompletionRequest_Stop Stop generation if this token is detected. Or if one of these tokens is detected when providing an array
func (AgentsCompletionRequest_Stop) AsAgentsCompletionRequestStop0 ¶
func (t AgentsCompletionRequest_Stop) AsAgentsCompletionRequestStop0() (AgentsCompletionRequestStop0, error)
AsAgentsCompletionRequestStop0 returns the union data inside the AgentsCompletionRequest_Stop as a AgentsCompletionRequestStop0
func (AgentsCompletionRequest_Stop) AsAgentsCompletionRequestStop1 ¶
func (t AgentsCompletionRequest_Stop) AsAgentsCompletionRequestStop1() (AgentsCompletionRequestStop1, error)
AsAgentsCompletionRequestStop1 returns the union data inside the AgentsCompletionRequest_Stop as a AgentsCompletionRequestStop1
func (*AgentsCompletionRequest_Stop) FromAgentsCompletionRequestStop0 ¶
func (t *AgentsCompletionRequest_Stop) FromAgentsCompletionRequestStop0(v AgentsCompletionRequestStop0) error
FromAgentsCompletionRequestStop0 overwrites any union data inside the AgentsCompletionRequest_Stop as the provided AgentsCompletionRequestStop0
func (*AgentsCompletionRequest_Stop) FromAgentsCompletionRequestStop1 ¶
func (t *AgentsCompletionRequest_Stop) FromAgentsCompletionRequestStop1(v AgentsCompletionRequestStop1) error
FromAgentsCompletionRequestStop1 overwrites any union data inside the AgentsCompletionRequest_Stop as the provided AgentsCompletionRequestStop1
func (AgentsCompletionRequest_Stop) MarshalJSON ¶
func (t AgentsCompletionRequest_Stop) MarshalJSON() ([]byte, error)
func (*AgentsCompletionRequest_Stop) MergeAgentsCompletionRequestStop0 ¶
func (t *AgentsCompletionRequest_Stop) MergeAgentsCompletionRequestStop0(v AgentsCompletionRequestStop0) error
MergeAgentsCompletionRequestStop0 performs a merge with any union data inside the AgentsCompletionRequest_Stop, using the provided AgentsCompletionRequestStop0
func (*AgentsCompletionRequest_Stop) MergeAgentsCompletionRequestStop1 ¶
func (t *AgentsCompletionRequest_Stop) MergeAgentsCompletionRequestStop1(v AgentsCompletionRequestStop1) error
MergeAgentsCompletionRequestStop1 performs a merge with any union data inside the AgentsCompletionRequest_Stop, using the provided AgentsCompletionRequestStop1
func (*AgentsCompletionRequest_Stop) UnmarshalJSON ¶
func (t *AgentsCompletionRequest_Stop) UnmarshalJSON(b []byte) error
type AgentsCompletionRequest_ToolChoice ¶
type AgentsCompletionRequest_ToolChoice struct {
// contains filtered or unexported fields
}
AgentsCompletionRequest_ToolChoice defines model for AgentsCompletionRequest.ToolChoice.
func (AgentsCompletionRequest_ToolChoice) AsToolChoice ¶
func (t AgentsCompletionRequest_ToolChoice) AsToolChoice() (ToolChoice, error)
AsToolChoice returns the union data inside the AgentsCompletionRequest_ToolChoice as a ToolChoice
func (AgentsCompletionRequest_ToolChoice) AsToolChoiceEnum ¶
func (t AgentsCompletionRequest_ToolChoice) AsToolChoiceEnum() (ToolChoiceEnum, error)
AsToolChoiceEnum returns the union data inside the AgentsCompletionRequest_ToolChoice as a ToolChoiceEnum
func (*AgentsCompletionRequest_ToolChoice) FromToolChoice ¶
func (t *AgentsCompletionRequest_ToolChoice) FromToolChoice(v ToolChoice) error
FromToolChoice overwrites any union data inside the AgentsCompletionRequest_ToolChoice as the provided ToolChoice
func (*AgentsCompletionRequest_ToolChoice) FromToolChoiceEnum ¶
func (t *AgentsCompletionRequest_ToolChoice) FromToolChoiceEnum(v ToolChoiceEnum) error
FromToolChoiceEnum overwrites any union data inside the AgentsCompletionRequest_ToolChoice as the provided ToolChoiceEnum
func (AgentsCompletionRequest_ToolChoice) MarshalJSON ¶
func (t AgentsCompletionRequest_ToolChoice) MarshalJSON() ([]byte, error)
func (*AgentsCompletionRequest_ToolChoice) MergeToolChoice ¶
func (t *AgentsCompletionRequest_ToolChoice) MergeToolChoice(v ToolChoice) error
MergeToolChoice performs a merge with any union data inside the AgentsCompletionRequest_ToolChoice, using the provided ToolChoice
func (*AgentsCompletionRequest_ToolChoice) MergeToolChoiceEnum ¶
func (t *AgentsCompletionRequest_ToolChoice) MergeToolChoiceEnum(v ToolChoiceEnum) error
MergeToolChoiceEnum performs a merge with any union data inside the AgentsCompletionRequest_ToolChoice, using the provided ToolChoiceEnum
func (*AgentsCompletionRequest_ToolChoice) UnmarshalJSON ¶
func (t *AgentsCompletionRequest_ToolChoice) UnmarshalJSON(b []byte) error
type AgentsCompletionV1AgentsCompletionsPostJSONRequestBody
deprecated
type AgentsCompletionV1AgentsCompletionsPostJSONRequestBody = AgentsCompletionRequest
AgentsCompletionV1AgentsCompletionsPostJSONRequestBody defines body for AgentsCompletionV1AgentsCompletionsPost for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type AgentsCompletionV1AgentsCompletionsPostResponse ¶
type AgentsCompletionV1AgentsCompletionsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChatCompletionResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAgentsCompletionV1AgentsCompletionsPostResponse ¶
func ParseAgentsCompletionV1AgentsCompletionsPostResponse(rsp *http.Response) (*AgentsCompletionV1AgentsCompletionsPostResponse, error)
ParseAgentsCompletionV1AgentsCompletionsPostResponse parses an HTTP response from a AgentsCompletionV1AgentsCompletionsPostWithResponse call
func (AgentsCompletionV1AgentsCompletionsPostResponse) ContentType ¶
func (r AgentsCompletionV1AgentsCompletionsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AgentsCompletionV1AgentsCompletionsPostResponse) GetBody ¶
func (r AgentsCompletionV1AgentsCompletionsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AgentsCompletionV1AgentsCompletionsPostResponse) GetJSON200 ¶
func (r AgentsCompletionV1AgentsCompletionsPostResponse) GetJSON200() *ChatCompletionResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AgentsCompletionV1AgentsCompletionsPostResponse) GetJSON422 ¶
func (r AgentsCompletionV1AgentsCompletionsPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AgentsCompletionV1AgentsCompletionsPostResponse) Status ¶
func (r AgentsCompletionV1AgentsCompletionsPostResponse) Status() string
Status returns HTTPResponse.Status
func (AgentsCompletionV1AgentsCompletionsPostResponse) StatusCode ¶
func (r AgentsCompletionV1AgentsCompletionsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Annotations ¶
type Annotations struct {
Audience *[]AnnotationsAudience `json:"audience,omitempty"`
Priority *float32 `json:"priority,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Annotations defines model for Annotations.
func (Annotations) Get ¶
func (a Annotations) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for Annotations. Returns the specified element and whether it was found
func (Annotations) MarshalJSON ¶
func (a Annotations) MarshalJSON() ([]byte, error)
Override default JSON handling for Annotations to handle AdditionalProperties
func (*Annotations) Set ¶
func (a *Annotations) Set(fieldName string, value interface{})
Setter for additional properties for Annotations
func (*Annotations) UnmarshalJSON ¶
func (a *Annotations) UnmarshalJSON(b []byte) error
Override default JSON handling for Annotations to handle AdditionalProperties
type AnnotationsAudience ¶
type AnnotationsAudience string
AnnotationsAudience defines model for Annotations.Audience.
const ( AnnotationsAudienceAssistant AnnotationsAudience = "assistant" AnnotationsAudienceUser AnnotationsAudience = "user" )
Defines values for AnnotationsAudience.
func (AnnotationsAudience) Valid ¶
func (e AnnotationsAudience) Valid() bool
Valid indicates whether the value is a known member of the AnnotationsAudience enum.
type ApiEndpoint ¶
type ApiEndpoint string
ApiEndpoint defines model for ApiEndpoint.
const ( ApiEndpointV1audiotranscriptions ApiEndpoint = "/v1/audio/transcriptions" ApiEndpointV1chatclassifications ApiEndpoint = "/v1/chat/classifications" ApiEndpointV1chatcompletions ApiEndpoint = "/v1/chat/completions" ApiEndpointV1chatmoderations ApiEndpoint = "/v1/chat/moderations" ApiEndpointV1classifications ApiEndpoint = "/v1/classifications" ApiEndpointV1conversations ApiEndpoint = "/v1/conversations" ApiEndpointV1embeddings ApiEndpoint = "/v1/embeddings" ApiEndpointV1fimcompletions ApiEndpoint = "/v1/fim/completions" ApiEndpointV1moderations ApiEndpoint = "/v1/moderations" ApiEndpointV1ocr ApiEndpoint = "/v1/ocr" )
Defines values for ApiEndpoint.
func (ApiEndpoint) Valid ¶
func (e ApiEndpoint) Valid() bool
Valid indicates whether the value is a known member of the ApiEndpoint enum.
type ArchiveFTModelOut ¶
type ArchiveFTModelOut struct {
Archived *bool `json:"archived,omitempty"`
Id string `json:"id"`
Object *ArchiveFTModelOutObject `json:"object,omitempty"`
}
ArchiveFTModelOut defines model for ArchiveFTModelOut.
type ArchiveFTModelOutObject ¶
type ArchiveFTModelOutObject string
ArchiveFTModelOutObject defines model for ArchiveFTModelOut.Object.
const (
ArchiveFTModelOutObjectModel ArchiveFTModelOutObject = "model"
)
Defines values for ArchiveFTModelOutObject.
func (ArchiveFTModelOutObject) Valid ¶
func (e ArchiveFTModelOutObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveFTModelOutObject enum.
type ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse ¶
type ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkflowArchiveResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse ¶
func ParseArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse(rsp *http.Response) (*ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse, error)
ParseArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse parses an HTTP response from a ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutWithResponse call
func (ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) ContentType ¶
func (r ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) GetBody ¶
func (r ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) GetJSON200 ¶
func (r ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) GetJSON200() *WorkflowArchiveResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) GetJSON422 ¶
func (r ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) Status ¶
func (r ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) Status() string
Status returns HTTPResponse.Status
func (ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) StatusCode ¶
func (r ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AssistantMessage ¶
type AssistantMessage struct {
Content *AssistantMessage_Content `json:"content,omitempty"`
// Prefix Set this to `true` when adding an assistant message as prefix to condition the model response. The role of the prefix message is to force the model to start its answer by the content of the message.
Prefix *bool `json:"prefix,omitempty"`
Role *AssistantMessageRole `json:"role,omitempty"`
ToolCalls *[]ToolCall `json:"tool_calls,omitempty"`
}
AssistantMessage defines model for AssistantMessage.
type AssistantMessageContent0 ¶
type AssistantMessageContent0 = string
AssistantMessageContent0 defines model for AssistantMessage.Content.0.
type AssistantMessageContent2 ¶
type AssistantMessageContent2 = []ContentChunk
AssistantMessageContent2 defines model for AssistantMessage.Content.2.
type AssistantMessageRole ¶
type AssistantMessageRole string
AssistantMessageRole defines model for AssistantMessage.Role.
const (
AssistantMessageRoleAssistant AssistantMessageRole = "assistant"
)
Defines values for AssistantMessageRole.
func (AssistantMessageRole) Valid ¶
func (e AssistantMessageRole) Valid() bool
Valid indicates whether the value is a known member of the AssistantMessageRole enum.
type AssistantMessage_Content ¶
type AssistantMessage_Content struct {
// contains filtered or unexported fields
}
AssistantMessage_Content defines model for AssistantMessage.Content.
func (AssistantMessage_Content) AsAssistantMessageContent0 ¶
func (t AssistantMessage_Content) AsAssistantMessageContent0() (AssistantMessageContent0, error)
AsAssistantMessageContent0 returns the union data inside the AssistantMessage_Content as a AssistantMessageContent0
func (AssistantMessage_Content) AsAssistantMessageContent2 ¶
func (t AssistantMessage_Content) AsAssistantMessageContent2() (AssistantMessageContent2, error)
AsAssistantMessageContent2 returns the union data inside the AssistantMessage_Content as a AssistantMessageContent2
func (*AssistantMessage_Content) FromAssistantMessageContent0 ¶
func (t *AssistantMessage_Content) FromAssistantMessageContent0(v AssistantMessageContent0) error
FromAssistantMessageContent0 overwrites any union data inside the AssistantMessage_Content as the provided AssistantMessageContent0
func (*AssistantMessage_Content) FromAssistantMessageContent2 ¶
func (t *AssistantMessage_Content) FromAssistantMessageContent2(v AssistantMessageContent2) error
FromAssistantMessageContent2 overwrites any union data inside the AssistantMessage_Content as the provided AssistantMessageContent2
func (AssistantMessage_Content) MarshalJSON ¶
func (t AssistantMessage_Content) MarshalJSON() ([]byte, error)
func (*AssistantMessage_Content) MergeAssistantMessageContent0 ¶
func (t *AssistantMessage_Content) MergeAssistantMessageContent0(v AssistantMessageContent0) error
MergeAssistantMessageContent0 performs a merge with any union data inside the AssistantMessage_Content, using the provided AssistantMessageContent0
func (*AssistantMessage_Content) MergeAssistantMessageContent2 ¶
func (t *AssistantMessage_Content) MergeAssistantMessageContent2(v AssistantMessageContent2) error
MergeAssistantMessageContent2 performs a merge with any union data inside the AssistantMessage_Content, using the provided AssistantMessageContent2
func (*AssistantMessage_Content) UnmarshalJSON ¶
func (t *AssistantMessage_Content) UnmarshalJSON(b []byte) error
type AudioApiV1TranscriptionsPostMultipartRequestBody ¶
type AudioApiV1TranscriptionsPostMultipartRequestBody = AudioTranscriptionRequest
AudioApiV1TranscriptionsPostMultipartRequestBody defines body for AudioApiV1TranscriptionsPost for multipart/form-data ContentType.
type AudioApiV1TranscriptionsPostResponse ¶
type AudioApiV1TranscriptionsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TranscriptionResponse
}
func ParseAudioApiV1TranscriptionsPostResponse ¶
func ParseAudioApiV1TranscriptionsPostResponse(rsp *http.Response) (*AudioApiV1TranscriptionsPostResponse, error)
ParseAudioApiV1TranscriptionsPostResponse parses an HTTP response from a AudioApiV1TranscriptionsPostWithResponse call
func (AudioApiV1TranscriptionsPostResponse) ContentType ¶
func (r AudioApiV1TranscriptionsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AudioApiV1TranscriptionsPostResponse) GetBody ¶
func (r AudioApiV1TranscriptionsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AudioApiV1TranscriptionsPostResponse) GetJSON200 ¶
func (r AudioApiV1TranscriptionsPostResponse) GetJSON200() *TranscriptionResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AudioApiV1TranscriptionsPostResponse) Status ¶
func (r AudioApiV1TranscriptionsPostResponse) Status() string
Status returns HTTPResponse.Status
func (AudioApiV1TranscriptionsPostResponse) StatusCode ¶
func (r AudioApiV1TranscriptionsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AudioApiV1TranscriptionsPostStreamMultipartRequestBody ¶
type AudioApiV1TranscriptionsPostStreamMultipartRequestBody = AudioTranscriptionRequestStream
AudioApiV1TranscriptionsPostStreamMultipartRequestBody defines body for AudioApiV1TranscriptionsPostStream for multipart/form-data ContentType.
type AudioApiV1TranscriptionsPostStreamResponse ¶
func ParseAudioApiV1TranscriptionsPostStreamResponse ¶
func ParseAudioApiV1TranscriptionsPostStreamResponse(rsp *http.Response) (*AudioApiV1TranscriptionsPostStreamResponse, error)
ParseAudioApiV1TranscriptionsPostStreamResponse parses an HTTP response from a AudioApiV1TranscriptionsPostStreamWithResponse call
func (AudioApiV1TranscriptionsPostStreamResponse) ContentType ¶
func (r AudioApiV1TranscriptionsPostStreamResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AudioApiV1TranscriptionsPostStreamResponse) GetBody ¶
func (r AudioApiV1TranscriptionsPostStreamResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AudioApiV1TranscriptionsPostStreamResponse) Status ¶
func (r AudioApiV1TranscriptionsPostStreamResponse) Status() string
Status returns HTTPResponse.Status
func (AudioApiV1TranscriptionsPostStreamResponse) StatusCode ¶
func (r AudioApiV1TranscriptionsPostStreamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AudioChunk ¶
type AudioChunk struct {
InputAudio AudioChunk_InputAudio `json:"input_audio"`
Type *AudioChunkType `json:"type,omitempty"`
}
AudioChunk defines model for AudioChunk.
type AudioChunkInputAudio0 ¶
type AudioChunkInputAudio0 = string
AudioChunkInputAudio0 defines model for AudioChunk.InputAudio.0.
type AudioChunkInputAudio1 ¶
type AudioChunkInputAudio1 = openapi_types.File
AudioChunkInputAudio1 defines model for AudioChunk.InputAudio.1.
type AudioChunkType ¶
type AudioChunkType string
AudioChunkType defines model for AudioChunk.Type.
const (
AudioChunkTypeInputAudio AudioChunkType = "input_audio"
)
Defines values for AudioChunkType.
func (AudioChunkType) Valid ¶
func (e AudioChunkType) Valid() bool
Valid indicates whether the value is a known member of the AudioChunkType enum.
type AudioChunk_InputAudio ¶
type AudioChunk_InputAudio struct {
// contains filtered or unexported fields
}
AudioChunk_InputAudio defines model for AudioChunk.InputAudio.
func (AudioChunk_InputAudio) AsAudioChunkInputAudio0 ¶
func (t AudioChunk_InputAudio) AsAudioChunkInputAudio0() (AudioChunkInputAudio0, error)
AsAudioChunkInputAudio0 returns the union data inside the AudioChunk_InputAudio as a AudioChunkInputAudio0
func (AudioChunk_InputAudio) AsAudioChunkInputAudio1 ¶
func (t AudioChunk_InputAudio) AsAudioChunkInputAudio1() (AudioChunkInputAudio1, error)
AsAudioChunkInputAudio1 returns the union data inside the AudioChunk_InputAudio as a AudioChunkInputAudio1
func (*AudioChunk_InputAudio) FromAudioChunkInputAudio0 ¶
func (t *AudioChunk_InputAudio) FromAudioChunkInputAudio0(v AudioChunkInputAudio0) error
FromAudioChunkInputAudio0 overwrites any union data inside the AudioChunk_InputAudio as the provided AudioChunkInputAudio0
func (*AudioChunk_InputAudio) FromAudioChunkInputAudio1 ¶
func (t *AudioChunk_InputAudio) FromAudioChunkInputAudio1(v AudioChunkInputAudio1) error
FromAudioChunkInputAudio1 overwrites any union data inside the AudioChunk_InputAudio as the provided AudioChunkInputAudio1
func (AudioChunk_InputAudio) MarshalJSON ¶
func (t AudioChunk_InputAudio) MarshalJSON() ([]byte, error)
func (*AudioChunk_InputAudio) MergeAudioChunkInputAudio0 ¶
func (t *AudioChunk_InputAudio) MergeAudioChunkInputAudio0(v AudioChunkInputAudio0) error
MergeAudioChunkInputAudio0 performs a merge with any union data inside the AudioChunk_InputAudio, using the provided AudioChunkInputAudio0
func (*AudioChunk_InputAudio) MergeAudioChunkInputAudio1 ¶
func (t *AudioChunk_InputAudio) MergeAudioChunkInputAudio1(v AudioChunkInputAudio1) error
MergeAudioChunkInputAudio1 performs a merge with any union data inside the AudioChunk_InputAudio, using the provided AudioChunkInputAudio1
func (*AudioChunk_InputAudio) UnmarshalJSON ¶
func (t *AudioChunk_InputAudio) UnmarshalJSON(b []byte) error
type AudioContent ¶
type AudioContent struct {
UnderscoreMeta *map[string]interface{} `json:"_meta,omitempty"`
Annotations *Annotations `json:"annotations,omitempty"`
Data string `json:"data"`
MimeType string `json:"mimeType"`
Type AudioContentType `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AudioContent Audio content for a message.
func (AudioContent) Get ¶
func (a AudioContent) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for AudioContent. Returns the specified element and whether it was found
func (AudioContent) MarshalJSON ¶
func (a AudioContent) MarshalJSON() ([]byte, error)
Override default JSON handling for AudioContent to handle AdditionalProperties
func (*AudioContent) Set ¶
func (a *AudioContent) Set(fieldName string, value interface{})
Setter for additional properties for AudioContent
func (*AudioContent) UnmarshalJSON ¶
func (a *AudioContent) UnmarshalJSON(b []byte) error
Override default JSON handling for AudioContent to handle AdditionalProperties
type AudioContentType ¶
type AudioContentType string
AudioContentType defines model for AudioContent.Type.
const (
AudioContentTypeAudio AudioContentType = "audio"
)
Defines values for AudioContentType.
func (AudioContentType) Valid ¶
func (e AudioContentType) Valid() bool
Valid indicates whether the value is a known member of the AudioContentType enum.
type AudioTranscriptionRequest ¶
type AudioTranscriptionRequest struct {
ContextBias *[]string `json:"context_bias,omitempty"`
Diarize *bool `json:"diarize,omitempty"`
File *File `json:"file,omitempty"`
// FileId ID of a file uploaded to /v1/files
FileId *string `json:"file_id,omitempty"`
// FileUrl Url of a file to be transcribed
FileUrl *string `json:"file_url,omitempty"`
// Language Language of the audio, e.g. 'en'. Providing the language can boost accuracy.
Language *string `json:"language,omitempty"`
// Model ID of the model to be used.
//
// Examples: voxtral-mini-latest, voxtral-mini-2507
Model string `json:"model"`
Stream *bool `json:"stream,omitempty"`
Temperature *float32 `json:"temperature,omitempty"`
// TimestampGranularities Granularities of timestamps to include in the response.
TimestampGranularities *[]TimestampGranularity `json:"timestamp_granularities,omitempty"`
}
AudioTranscriptionRequest defines model for AudioTranscriptionRequest.
type AudioTranscriptionRequestStream ¶
type AudioTranscriptionRequestStream struct {
ContextBias *[]string `json:"context_bias,omitempty"`
Diarize *bool `json:"diarize,omitempty"`
File *File `json:"file,omitempty"`
// FileId ID of a file uploaded to /v1/files
FileId *string `json:"file_id,omitempty"`
// FileUrl Url of a file to be transcribed
FileUrl *string `json:"file_url,omitempty"`
// Language Language of the audio, e.g. 'en'. Providing the language can boost accuracy.
Language *string `json:"language,omitempty"`
Model string `json:"model"`
Stream *bool `json:"stream,omitempty"`
Temperature *float32 `json:"temperature,omitempty"`
// TimestampGranularities Granularities of timestamps to include in the response.
TimestampGranularities *[]TimestampGranularity `json:"timestamp_granularities,omitempty"`
}
AudioTranscriptionRequestStream defines model for AudioTranscriptionRequestStream.
type AuthData ¶
type AuthData struct {
ClientId string `json:"client_id"`
ClientSecret string `json:"client_secret"`
}
AuthData defines model for AuthData.
type AuthUrlResponse ¶
AuthUrlResponse defines model for AuthUrlResponse.
type AuthenticationConfiguration ¶
type AuthenticationConfiguration struct {
AuthenticationType OutboundAuthenticationType `json:"authentication_type"`
IsDefault *bool `json:"is_default,omitempty"`
Name string `json:"name"`
}
AuthenticationConfiguration defines model for AuthenticationConfiguration.
type BaseFieldDefinition ¶
type BaseFieldDefinition struct {
Group *string `json:"group,omitempty"`
Label string `json:"label"`
Name string `json:"name"`
SupportedOperators *[]BaseFieldDefinitionSupportedOperators `json:"supported_operators,omitempty"`
Type BaseFieldDefinitionType `json:"type"`
}
BaseFieldDefinition defines model for BaseFieldDefinition.
type BaseFieldDefinitionSupportedOperators ¶
type BaseFieldDefinitionSupportedOperators string
BaseFieldDefinitionSupportedOperators defines model for BaseFieldDefinition.SupportedOperators.
const ( BaseFieldDefinitionSupportedOperatorsContains BaseFieldDefinitionSupportedOperators = "contains" BaseFieldDefinitionSupportedOperatorsEndswith BaseFieldDefinitionSupportedOperators = "endswith" BaseFieldDefinitionSupportedOperatorsEq BaseFieldDefinitionSupportedOperators = "eq" BaseFieldDefinitionSupportedOperatorsExcludes BaseFieldDefinitionSupportedOperators = "excludes" BaseFieldDefinitionSupportedOperatorsGt BaseFieldDefinitionSupportedOperators = "gt" BaseFieldDefinitionSupportedOperatorsGte BaseFieldDefinitionSupportedOperators = "gte" BaseFieldDefinitionSupportedOperatorsIcontains BaseFieldDefinitionSupportedOperators = "icontains" BaseFieldDefinitionSupportedOperatorsIendswith BaseFieldDefinitionSupportedOperators = "iendswith" BaseFieldDefinitionSupportedOperatorsIncludes BaseFieldDefinitionSupportedOperators = "includes" BaseFieldDefinitionSupportedOperatorsInotcontains BaseFieldDefinitionSupportedOperators = "inotcontains" BaseFieldDefinitionSupportedOperatorsIsnull BaseFieldDefinitionSupportedOperators = "isnull" BaseFieldDefinitionSupportedOperatorsIstartswith BaseFieldDefinitionSupportedOperators = "istartswith" BaseFieldDefinitionSupportedOperatorsLenEq BaseFieldDefinitionSupportedOperators = "len_eq" BaseFieldDefinitionSupportedOperatorsLt BaseFieldDefinitionSupportedOperators = "lt" BaseFieldDefinitionSupportedOperatorsLte BaseFieldDefinitionSupportedOperators = "lte" BaseFieldDefinitionSupportedOperatorsMatches BaseFieldDefinitionSupportedOperators = "matches" BaseFieldDefinitionSupportedOperatorsNeq BaseFieldDefinitionSupportedOperators = "neq" BaseFieldDefinitionSupportedOperatorsNotcontains BaseFieldDefinitionSupportedOperators = "notcontains" BaseFieldDefinitionSupportedOperatorsStartswith BaseFieldDefinitionSupportedOperators = "startswith" )
Defines values for BaseFieldDefinitionSupportedOperators.
func (BaseFieldDefinitionSupportedOperators) Valid ¶
func (e BaseFieldDefinitionSupportedOperators) Valid() bool
Valid indicates whether the value is a known member of the BaseFieldDefinitionSupportedOperators enum.
type BaseFieldDefinitionType ¶
type BaseFieldDefinitionType string
BaseFieldDefinitionType defines model for BaseFieldDefinition.Type.
const ( BaseFieldDefinitionTypeARRAY BaseFieldDefinitionType = "ARRAY" BaseFieldDefinitionTypeBOOL BaseFieldDefinitionType = "BOOL" BaseFieldDefinitionTypeENUM BaseFieldDefinitionType = "ENUM" BaseFieldDefinitionTypeFLOAT BaseFieldDefinitionType = "FLOAT" BaseFieldDefinitionTypeINT BaseFieldDefinitionType = "INT" BaseFieldDefinitionTypeTEXT BaseFieldDefinitionType = "TEXT" BaseFieldDefinitionTypeTIMESTAMP BaseFieldDefinitionType = "TIMESTAMP" )
Defines values for BaseFieldDefinitionType.
func (BaseFieldDefinitionType) Valid ¶
func (e BaseFieldDefinitionType) Valid() bool
Valid indicates whether the value is a known member of the BaseFieldDefinitionType enum.
type BaseModelCard ¶
type BaseModelCard struct {
Aliases *[]string `json:"aliases,omitempty"`
Capabilities ModelCapabilities `json:"capabilities"`
Created *int `json:"created,omitempty"`
DefaultModelTemperature *float32 `json:"default_model_temperature,omitempty"`
Deprecation *time.Time `json:"deprecation,omitempty"`
DeprecationReplacementModel *string `json:"deprecation_replacement_model,omitempty"`
Description *string `json:"description,omitempty"`
Id string `json:"id"`
MaxContextLength *int `json:"max_context_length,omitempty"`
Name *string `json:"name,omitempty"`
Object *string `json:"object,omitempty"`
OwnedBy *string `json:"owned_by,omitempty"`
Type *BaseModelCardType `json:"type,omitempty"`
}
BaseModelCard defines model for BaseModelCard.
type BaseModelCardType ¶
type BaseModelCardType string
BaseModelCardType defines model for BaseModelCard.Type.
const (
BaseModelCardTypeBase BaseModelCardType = "base"
)
Defines values for BaseModelCardType.
func (BaseModelCardType) Valid ¶
func (e BaseModelCardType) Valid() bool
Valid indicates whether the value is a known member of the BaseModelCardType enum.
type BaseTaskStatus ¶
type BaseTaskStatus string
BaseTaskStatus defines model for BaseTaskStatus.
const ( BaseTaskStatusCANCELED BaseTaskStatus = "CANCELED" BaseTaskStatusCOMPLETED BaseTaskStatus = "COMPLETED" BaseTaskStatusCONTINUEDASNEW BaseTaskStatus = "CONTINUED_AS_NEW" BaseTaskStatusFAILED BaseTaskStatus = "FAILED" BaseTaskStatusRUNNING BaseTaskStatus = "RUNNING" BaseTaskStatusTERMINATED BaseTaskStatus = "TERMINATED" BaseTaskStatusTIMEDOUT BaseTaskStatus = "TIMED_OUT" BaseTaskStatusUNKNOWN BaseTaskStatus = "UNKNOWN" )
Defines values for BaseTaskStatus.
func (BaseTaskStatus) Valid ¶
func (e BaseTaskStatus) Valid() bool
Valid indicates whether the value is a known member of the BaseTaskStatus enum.
type BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostJSONRequestBody ¶
type BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostJSONRequestBody = BatchExecutionBody
BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostJSONRequestBody defines body for BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost for application/json ContentType.
type BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse ¶
type BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BatchExecutionResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse ¶
func ParseBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse(rsp *http.Response) (*BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse, error)
ParseBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse parses an HTTP response from a BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithResponse call
func (BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) ContentType ¶
func (r BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) GetBody ¶
func (r BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) GetJSON200 ¶
func (r BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) GetJSON200() *BatchExecutionResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) GetJSON422 ¶
func (r BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) Status ¶
func (r BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) Status() string
Status returns HTTPResponse.Status
func (BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) StatusCode ¶
func (r BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BatchError ¶
BatchError defines model for BatchError.
type BatchExecutionBody ¶
type BatchExecutionBody struct {
// ExecutionIds List of execution IDs to process
ExecutionIds []string `json:"execution_ids"`
}
BatchExecutionBody defines model for BatchExecutionBody.
type BatchExecutionResponse ¶
type BatchExecutionResponse struct {
// Results Mapping of execution_id to result with status and optional error message
Results *map[string]BatchExecutionResult `json:"results,omitempty"`
}
BatchExecutionResponse defines model for BatchExecutionResponse.
type BatchExecutionResult ¶
type BatchExecutionResult struct {
// Error Error message if operation failed
Error *string `json:"error,omitempty"`
// Status Status of the operation (success/failure)
Status string `json:"status"`
}
BatchExecutionResult defines model for BatchExecutionResult.
type BatchJobIn ¶
type BatchJobIn struct {
// AgentId In case you want to use a specific agent from the **deprecated** agents api for batch inference, you can specify the agent ID here.
AgentId *string `json:"agent_id,omitempty"`
// Endpoint The endpoint to be used for batch inference.
//
// Examples: /v1/chat/completions, /v1/embeddings, /v1/fim/completions
Endpoint ApiEndpoint `json:"endpoint"`
// InputFiles The list of input files to be used for batch inference, these files should be `jsonl` files, containing the input data corresponding to the bory request for the batch inference in a "body" field. An example of such file is the following: “`json {"custom_id": "0", "body": {"max_tokens": 100, "messages": [{"role": "user", "content": "What is the best French cheese?"}]}} {"custom_id": "1", "body": {"max_tokens": 100, "messages": [{"role": "user", "content": "What is the best French wine?"}]}} “`
InputFiles *[]openapi_types.UUID `json:"input_files,omitempty"`
// Metadata The metadata of your choice to be associated with the batch inference job.
Metadata *map[string]string `json:"metadata,omitempty"`
// Model The model to be used for batch inference.
//
// Examples: mistral-small-latest, mistral-medium-latest
Model *string `json:"model,omitempty"`
Requests *[]BatchRequest `json:"requests,omitempty"`
// TimeoutHours The timeout in hours for the batch inference job.
TimeoutHours *int `json:"timeout_hours,omitempty"`
}
BatchJobIn defines model for BatchJobIn.
type BatchJobOut ¶
type BatchJobOut struct {
AgentId *string `json:"agent_id,omitempty"`
CompletedAt *int `json:"completed_at,omitempty"`
CompletedRequests int `json:"completed_requests"`
CreatedAt int `json:"created_at"`
Endpoint string `json:"endpoint"`
ErrorFile *openapi_types.UUID `json:"error_file,omitempty"`
Errors []BatchError `json:"errors"`
FailedRequests int `json:"failed_requests"`
Id string `json:"id"`
InputFiles []openapi_types.UUID `json:"input_files"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
Model *string `json:"model,omitempty"`
Object *BatchJobOutObject `json:"object,omitempty"`
OutputFile *openapi_types.UUID `json:"output_file,omitempty"`
Outputs *[]map[string]interface{} `json:"outputs,omitempty"`
StartedAt *int `json:"started_at,omitempty"`
Status BatchJobStatus `json:"status"`
SucceededRequests int `json:"succeeded_requests"`
TotalRequests int `json:"total_requests"`
}
BatchJobOut defines model for BatchJobOut.
type BatchJobOutObject ¶
type BatchJobOutObject string
BatchJobOutObject defines model for BatchJobOut.Object.
const (
BatchJobOutObjectBatch BatchJobOutObject = "batch"
)
Defines values for BatchJobOutObject.
func (BatchJobOutObject) Valid ¶
func (e BatchJobOutObject) Valid() bool
Valid indicates whether the value is a known member of the BatchJobOutObject enum.
type BatchJobStatus ¶
type BatchJobStatus string
BatchJobStatus defines model for BatchJobStatus.
const ( BatchJobStatusCANCELLATIONREQUESTED BatchJobStatus = "CANCELLATION_REQUESTED" BatchJobStatusCANCELLED BatchJobStatus = "CANCELLED" BatchJobStatusFAILED BatchJobStatus = "FAILED" BatchJobStatusQUEUED BatchJobStatus = "QUEUED" BatchJobStatusRUNNING BatchJobStatus = "RUNNING" BatchJobStatusSUCCESS BatchJobStatus = "SUCCESS" BatchJobStatusTIMEOUTEXCEEDED BatchJobStatus = "TIMEOUT_EXCEEDED" )
Defines values for BatchJobStatus.
func (BatchJobStatus) Valid ¶
func (e BatchJobStatus) Valid() bool
Valid indicates whether the value is a known member of the BatchJobStatus enum.
type BatchJobsOut ¶
type BatchJobsOut struct {
Data *[]BatchJobOut `json:"data,omitempty"`
Object *BatchJobsOutObject `json:"object,omitempty"`
Total int `json:"total"`
}
BatchJobsOut defines model for BatchJobsOut.
type BatchJobsOutObject ¶
type BatchJobsOutObject string
BatchJobsOutObject defines model for BatchJobsOut.Object.
const (
BatchJobsOutObjectList BatchJobsOutObject = "list"
)
Defines values for BatchJobsOutObject.
func (BatchJobsOutObject) Valid ¶
func (e BatchJobsOutObject) Valid() bool
Valid indicates whether the value is a known member of the BatchJobsOutObject enum.
type BatchRequest ¶
type BatchRequest struct {
Body map[string]interface{} `json:"body"`
CustomId *string `json:"custom_id,omitempty"`
}
BatchRequest defines model for BatchRequest.
type BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostJSONRequestBody ¶
type BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostJSONRequestBody = BatchExecutionBody
BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostJSONRequestBody defines body for BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost for application/json ContentType.
type BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse ¶
type BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BatchExecutionResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse ¶
func ParseBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse(rsp *http.Response) (*BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse, error)
ParseBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse parses an HTTP response from a BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithResponse call
func (BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) ContentType ¶
func (r BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) GetBody ¶
func (r BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) GetJSON200 ¶
func (r BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) GetJSON200() *BatchExecutionResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) GetJSON422 ¶
func (r BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) Status ¶
Status returns HTTPResponse.Status
func (BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) StatusCode ¶
func (r BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BlobResourceContents ¶
type BlobResourceContents struct {
UnderscoreMeta *map[string]interface{} `json:"_meta,omitempty"`
Blob string `json:"blob"`
MimeType *string `json:"mimeType,omitempty"`
Uri string `json:"uri"`
AdditionalProperties map[string]interface{} `json:"-"`
}
BlobResourceContents Binary contents of a resource.
func (BlobResourceContents) Get ¶
func (a BlobResourceContents) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for BlobResourceContents. Returns the specified element and whether it was found
func (BlobResourceContents) MarshalJSON ¶
func (a BlobResourceContents) MarshalJSON() ([]byte, error)
Override default JSON handling for BlobResourceContents to handle AdditionalProperties
func (*BlobResourceContents) Set ¶
func (a *BlobResourceContents) Set(fieldName string, value interface{})
Setter for additional properties for BlobResourceContents
func (*BlobResourceContents) UnmarshalJSON ¶
func (a *BlobResourceContents) UnmarshalJSON(b []byte) error
Override default JSON handling for BlobResourceContents to handle AdditionalProperties
type BuiltInConnectors ¶
type BuiltInConnectors string
BuiltInConnectors defines model for BuiltInConnectors.
const ( BuiltInConnectorsCodeInterpreter BuiltInConnectors = "code_interpreter" BuiltInConnectorsDocumentLibrary BuiltInConnectors = "document_library" BuiltInConnectorsImageGeneration BuiltInConnectors = "image_generation" BuiltInConnectorsWebSearch BuiltInConnectors = "web_search" BuiltInConnectorsWebSearchPremium BuiltInConnectors = "web_search_premium" )
Defines values for BuiltInConnectors.
func (BuiltInConnectors) Valid ¶
func (e BuiltInConnectors) Valid() bool
Valid indicates whether the value is a known member of the BuiltInConnectors enum.
type CampaignPreview ¶
type CampaignPreview struct {
CreatedAt time.Time `json:"created_at"`
DeletedAt *time.Time `json:"deleted_at"`
Description string `json:"description"`
Id openapi_types.UUID `json:"id"`
Judge JudgePreview `json:"judge"`
MaxNbEvents int `json:"max_nb_events"`
Name string `json:"name"`
OwnerId openapi_types.UUID `json:"owner_id"`
SearchParams FilterPayload `json:"search_params"`
UpdatedAt time.Time `json:"updated_at"`
WorkspaceId openapi_types.UUID `json:"workspace_id"`
}
CampaignPreview defines model for CampaignPreview.
type CampaignPreviews ¶
type CampaignPreviews struct {
Campaigns PaginatedResultCampaignPreview `json:"campaigns"`
}
CampaignPreviews defines model for CampaignPreviews.
type CampaignSelectedEvents ¶
type CampaignSelectedEvents struct {
CompletionEvents PaginatedResultChatCompletionEventPreview `json:"completion_events"`
}
CampaignSelectedEvents defines model for CampaignSelectedEvents.
type CampaignStatus ¶
type CampaignStatus struct {
Status BaseTaskStatus `json:"status"`
}
CampaignStatus defines model for CampaignStatus.
type CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse ¶
type CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseCancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse ¶
func ParseCancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse(rsp *http.Response) (*CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse, error)
ParseCancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse parses an HTTP response from a CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostWithResponse call
func (CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) ContentType ¶
func (r CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) GetBody ¶
func (r CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) GetJSON422 ¶
func (r CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) Status ¶
Status returns HTTPResponse.Status
func (CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) StatusCode ¶
func (r CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ChatClassificationRequest ¶
type ChatClassificationRequest struct {
// Input Chat to classify
Input ChatClassificationRequestInputs `json:"input"`
Model string `json:"model"`
}
ChatClassificationRequest defines model for ChatClassificationRequest.
type ChatClassificationRequestInputs ¶
type ChatClassificationRequestInputs struct {
// contains filtered or unexported fields
}
ChatClassificationRequestInputs Chat to classify
func (ChatClassificationRequestInputs) AsChatClassificationRequestInputs1 ¶
func (t ChatClassificationRequestInputs) AsChatClassificationRequestInputs1() (ChatClassificationRequestInputs1, error)
AsChatClassificationRequestInputs1 returns the union data inside the ChatClassificationRequestInputs as a ChatClassificationRequestInputs1
func (ChatClassificationRequestInputs) AsInstructRequest ¶
func (t ChatClassificationRequestInputs) AsInstructRequest() (InstructRequest, error)
AsInstructRequest returns the union data inside the ChatClassificationRequestInputs as a InstructRequest
func (*ChatClassificationRequestInputs) FromChatClassificationRequestInputs1 ¶
func (t *ChatClassificationRequestInputs) FromChatClassificationRequestInputs1(v ChatClassificationRequestInputs1) error
FromChatClassificationRequestInputs1 overwrites any union data inside the ChatClassificationRequestInputs as the provided ChatClassificationRequestInputs1
func (*ChatClassificationRequestInputs) FromInstructRequest ¶
func (t *ChatClassificationRequestInputs) FromInstructRequest(v InstructRequest) error
FromInstructRequest overwrites any union data inside the ChatClassificationRequestInputs as the provided InstructRequest
func (ChatClassificationRequestInputs) MarshalJSON ¶
func (t ChatClassificationRequestInputs) MarshalJSON() ([]byte, error)
func (*ChatClassificationRequestInputs) MergeChatClassificationRequestInputs1 ¶
func (t *ChatClassificationRequestInputs) MergeChatClassificationRequestInputs1(v ChatClassificationRequestInputs1) error
MergeChatClassificationRequestInputs1 performs a merge with any union data inside the ChatClassificationRequestInputs, using the provided ChatClassificationRequestInputs1
func (*ChatClassificationRequestInputs) MergeInstructRequest ¶
func (t *ChatClassificationRequestInputs) MergeInstructRequest(v InstructRequest) error
MergeInstructRequest performs a merge with any union data inside the ChatClassificationRequestInputs, using the provided InstructRequest
func (*ChatClassificationRequestInputs) UnmarshalJSON ¶
func (t *ChatClassificationRequestInputs) UnmarshalJSON(b []byte) error
type ChatClassificationRequestInputs1 ¶
type ChatClassificationRequestInputs1 = []InstructRequest
ChatClassificationRequestInputs1 defines model for ChatClassificationRequestInputs.1.
type ChatClassificationsV1ChatClassificationsPostJSONRequestBody ¶
type ChatClassificationsV1ChatClassificationsPostJSONRequestBody = ChatClassificationRequest
ChatClassificationsV1ChatClassificationsPostJSONRequestBody defines body for ChatClassificationsV1ChatClassificationsPost for application/json ContentType.
type ChatClassificationsV1ChatClassificationsPostResponse ¶
type ChatClassificationsV1ChatClassificationsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ClassificationResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseChatClassificationsV1ChatClassificationsPostResponse ¶
func ParseChatClassificationsV1ChatClassificationsPostResponse(rsp *http.Response) (*ChatClassificationsV1ChatClassificationsPostResponse, error)
ParseChatClassificationsV1ChatClassificationsPostResponse parses an HTTP response from a ChatClassificationsV1ChatClassificationsPostWithResponse call
func (ChatClassificationsV1ChatClassificationsPostResponse) ContentType ¶
func (r ChatClassificationsV1ChatClassificationsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ChatClassificationsV1ChatClassificationsPostResponse) GetBody ¶
func (r ChatClassificationsV1ChatClassificationsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ChatClassificationsV1ChatClassificationsPostResponse) GetJSON200 ¶
func (r ChatClassificationsV1ChatClassificationsPostResponse) GetJSON200() *ClassificationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ChatClassificationsV1ChatClassificationsPostResponse) GetJSON422 ¶
func (r ChatClassificationsV1ChatClassificationsPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ChatClassificationsV1ChatClassificationsPostResponse) Status ¶
func (r ChatClassificationsV1ChatClassificationsPostResponse) Status() string
Status returns HTTPResponse.Status
func (ChatClassificationsV1ChatClassificationsPostResponse) StatusCode ¶
func (r ChatClassificationsV1ChatClassificationsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ChatCompletionChoice ¶
type ChatCompletionChoice struct {
FinishReason ChatCompletionChoiceFinishReason `json:"finish_reason"`
Index int `json:"index"`
Message AssistantMessage `json:"message"`
}
ChatCompletionChoice defines model for ChatCompletionChoice.
type ChatCompletionChoiceFinishReason ¶
type ChatCompletionChoiceFinishReason string
ChatCompletionChoiceFinishReason defines model for ChatCompletionChoice.FinishReason.
const ( ChatCompletionChoiceFinishReasonError ChatCompletionChoiceFinishReason = "error" ChatCompletionChoiceFinishReasonLength ChatCompletionChoiceFinishReason = "length" ChatCompletionChoiceFinishReasonModelLength ChatCompletionChoiceFinishReason = "model_length" ChatCompletionChoiceFinishReasonStop ChatCompletionChoiceFinishReason = "stop" ChatCompletionChoiceFinishReasonToolCalls ChatCompletionChoiceFinishReason = "tool_calls" )
Defines values for ChatCompletionChoiceFinishReason.
func (ChatCompletionChoiceFinishReason) Valid ¶
func (e ChatCompletionChoiceFinishReason) Valid() bool
Valid indicates whether the value is a known member of the ChatCompletionChoiceFinishReason enum.
type ChatCompletionEvent ¶
type ChatCompletionEvent struct {
ChatTranscriptionEvents []ChatTranscriptionEvent `json:"chat_transcription_events"`
CorrelationId string `json:"correlation_id"`
CreatedAt time.Time `json:"created_at"`
EnabledTools []map[string]interface{} `json:"enabled_tools"`
EventId string `json:"event_id"`
ExtraFields map[string]*ChatCompletionEvent_ExtraFields_AdditionalProperties `json:"extra_fields"`
NbInputTokens int `json:"nb_input_tokens"`
NbMessages int `json:"nb_messages"`
NbOutputTokens int `json:"nb_output_tokens"`
RequestMessages []map[string]interface{} `json:"request_messages"`
ResponseMessages []map[string]interface{} `json:"response_messages"`
}
ChatCompletionEvent defines model for ChatCompletionEvent.
type ChatCompletionEventExtraFields0 ¶
type ChatCompletionEventExtraFields0 = bool
ChatCompletionEventExtraFields0 defines model for ChatCompletionEvent.ExtraFields.0.
type ChatCompletionEventExtraFields1 ¶
type ChatCompletionEventExtraFields1 = int
ChatCompletionEventExtraFields1 defines model for ChatCompletionEvent.ExtraFields.1.
type ChatCompletionEventExtraFields2 ¶
type ChatCompletionEventExtraFields2 = float32
ChatCompletionEventExtraFields2 defines model for ChatCompletionEvent.ExtraFields.2.
type ChatCompletionEventExtraFields3 ¶
type ChatCompletionEventExtraFields3 = string
ChatCompletionEventExtraFields3 defines model for ChatCompletionEvent.ExtraFields.3.
type ChatCompletionEventExtraFields4 ¶
ChatCompletionEventExtraFields4 defines model for ChatCompletionEvent.ExtraFields.4.
type ChatCompletionEventExtraFields5 ¶
type ChatCompletionEventExtraFields5 = []string
ChatCompletionEventExtraFields5 defines model for ChatCompletionEvent.ExtraFields.5.
type ChatCompletionEventIds ¶
type ChatCompletionEventIds struct {
CompletionEventIds []string `json:"completion_event_ids"`
}
ChatCompletionEventIds defines model for ChatCompletionEventIds.
type ChatCompletionEventPreview ¶
type ChatCompletionEventPreview struct {
CorrelationId string `json:"correlation_id"`
CreatedAt time.Time `json:"created_at"`
EventId string `json:"event_id"`
ExtraFields map[string]*ChatCompletionEventPreview_ExtraFields_AdditionalProperties `json:"extra_fields"`
NbInputTokens int `json:"nb_input_tokens"`
NbOutputTokens int `json:"nb_output_tokens"`
}
ChatCompletionEventPreview defines model for ChatCompletionEventPreview.
type ChatCompletionEventPreviewExtraFields0 ¶
type ChatCompletionEventPreviewExtraFields0 = bool
ChatCompletionEventPreviewExtraFields0 defines model for ChatCompletionEventPreview.ExtraFields.0.
type ChatCompletionEventPreviewExtraFields1 ¶
type ChatCompletionEventPreviewExtraFields1 = int
ChatCompletionEventPreviewExtraFields1 defines model for ChatCompletionEventPreview.ExtraFields.1.
type ChatCompletionEventPreviewExtraFields2 ¶
type ChatCompletionEventPreviewExtraFields2 = float32
ChatCompletionEventPreviewExtraFields2 defines model for ChatCompletionEventPreview.ExtraFields.2.
type ChatCompletionEventPreviewExtraFields3 ¶
type ChatCompletionEventPreviewExtraFields3 = string
ChatCompletionEventPreviewExtraFields3 defines model for ChatCompletionEventPreview.ExtraFields.3.
type ChatCompletionEventPreviewExtraFields4 ¶
ChatCompletionEventPreviewExtraFields4 defines model for ChatCompletionEventPreview.ExtraFields.4.
type ChatCompletionEventPreviewExtraFields5 ¶
type ChatCompletionEventPreviewExtraFields5 = []string
ChatCompletionEventPreviewExtraFields5 defines model for ChatCompletionEventPreview.ExtraFields.5.
type ChatCompletionEventPreview_ExtraFields_AdditionalProperties ¶
type ChatCompletionEventPreview_ExtraFields_AdditionalProperties struct {
// contains filtered or unexported fields
}
ChatCompletionEventPreview_ExtraFields_AdditionalProperties defines model for ChatCompletionEventPreview.extra_fields.AdditionalProperties.
func (ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields0 ¶
func (t ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields0() (ChatCompletionEventPreviewExtraFields0, error)
AsChatCompletionEventPreviewExtraFields0 returns the union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as a ChatCompletionEventPreviewExtraFields0
func (ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields1 ¶
func (t ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields1() (ChatCompletionEventPreviewExtraFields1, error)
AsChatCompletionEventPreviewExtraFields1 returns the union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as a ChatCompletionEventPreviewExtraFields1
func (ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields2 ¶
func (t ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields2() (ChatCompletionEventPreviewExtraFields2, error)
AsChatCompletionEventPreviewExtraFields2 returns the union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as a ChatCompletionEventPreviewExtraFields2
func (ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields3 ¶
func (t ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields3() (ChatCompletionEventPreviewExtraFields3, error)
AsChatCompletionEventPreviewExtraFields3 returns the union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as a ChatCompletionEventPreviewExtraFields3
func (ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields4 ¶
func (t ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields4() (ChatCompletionEventPreviewExtraFields4, error)
AsChatCompletionEventPreviewExtraFields4 returns the union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as a ChatCompletionEventPreviewExtraFields4
func (ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields5 ¶
func (t ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields5() (ChatCompletionEventPreviewExtraFields5, error)
AsChatCompletionEventPreviewExtraFields5 returns the union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as a ChatCompletionEventPreviewExtraFields5
func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields0 ¶
func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields0(v ChatCompletionEventPreviewExtraFields0) error
FromChatCompletionEventPreviewExtraFields0 overwrites any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as the provided ChatCompletionEventPreviewExtraFields0
func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields1 ¶
func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields1(v ChatCompletionEventPreviewExtraFields1) error
FromChatCompletionEventPreviewExtraFields1 overwrites any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as the provided ChatCompletionEventPreviewExtraFields1
func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields2 ¶
func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields2(v ChatCompletionEventPreviewExtraFields2) error
FromChatCompletionEventPreviewExtraFields2 overwrites any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as the provided ChatCompletionEventPreviewExtraFields2
func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields3 ¶
func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields3(v ChatCompletionEventPreviewExtraFields3) error
FromChatCompletionEventPreviewExtraFields3 overwrites any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as the provided ChatCompletionEventPreviewExtraFields3
func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields4 ¶
func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields4(v ChatCompletionEventPreviewExtraFields4) error
FromChatCompletionEventPreviewExtraFields4 overwrites any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as the provided ChatCompletionEventPreviewExtraFields4
func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields5 ¶
func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields5(v ChatCompletionEventPreviewExtraFields5) error
FromChatCompletionEventPreviewExtraFields5 overwrites any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as the provided ChatCompletionEventPreviewExtraFields5
func (ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MarshalJSON ¶
func (t ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MarshalJSON() ([]byte, error)
func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields0 ¶
func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields0(v ChatCompletionEventPreviewExtraFields0) error
MergeChatCompletionEventPreviewExtraFields0 performs a merge with any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventPreviewExtraFields0
func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields1 ¶
func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields1(v ChatCompletionEventPreviewExtraFields1) error
MergeChatCompletionEventPreviewExtraFields1 performs a merge with any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventPreviewExtraFields1
func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields2 ¶
func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields2(v ChatCompletionEventPreviewExtraFields2) error
MergeChatCompletionEventPreviewExtraFields2 performs a merge with any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventPreviewExtraFields2
func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields3 ¶
func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields3(v ChatCompletionEventPreviewExtraFields3) error
MergeChatCompletionEventPreviewExtraFields3 performs a merge with any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventPreviewExtraFields3
func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields4 ¶
func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields4(v ChatCompletionEventPreviewExtraFields4) error
MergeChatCompletionEventPreviewExtraFields4 performs a merge with any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventPreviewExtraFields4
func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields5 ¶
func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields5(v ChatCompletionEventPreviewExtraFields5) error
MergeChatCompletionEventPreviewExtraFields5 performs a merge with any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventPreviewExtraFields5
func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) UnmarshalJSON ¶
func (t *ChatCompletionEventPreview_ExtraFields_AdditionalProperties) UnmarshalJSON(b []byte) error
type ChatCompletionEvent_ExtraFields_AdditionalProperties ¶
type ChatCompletionEvent_ExtraFields_AdditionalProperties struct {
// contains filtered or unexported fields
}
ChatCompletionEvent_ExtraFields_AdditionalProperties defines model for ChatCompletionEvent.extra_fields.AdditionalProperties.
func (ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields0 ¶
func (t ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields0() (ChatCompletionEventExtraFields0, error)
AsChatCompletionEventExtraFields0 returns the union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as a ChatCompletionEventExtraFields0
func (ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields1 ¶
func (t ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields1() (ChatCompletionEventExtraFields1, error)
AsChatCompletionEventExtraFields1 returns the union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as a ChatCompletionEventExtraFields1
func (ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields2 ¶
func (t ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields2() (ChatCompletionEventExtraFields2, error)
AsChatCompletionEventExtraFields2 returns the union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as a ChatCompletionEventExtraFields2
func (ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields3 ¶
func (t ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields3() (ChatCompletionEventExtraFields3, error)
AsChatCompletionEventExtraFields3 returns the union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as a ChatCompletionEventExtraFields3
func (ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields4 ¶
func (t ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields4() (ChatCompletionEventExtraFields4, error)
AsChatCompletionEventExtraFields4 returns the union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as a ChatCompletionEventExtraFields4
func (ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields5 ¶
func (t ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields5() (ChatCompletionEventExtraFields5, error)
AsChatCompletionEventExtraFields5 returns the union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as a ChatCompletionEventExtraFields5
func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields0 ¶
func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields0(v ChatCompletionEventExtraFields0) error
FromChatCompletionEventExtraFields0 overwrites any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as the provided ChatCompletionEventExtraFields0
func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields1 ¶
func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields1(v ChatCompletionEventExtraFields1) error
FromChatCompletionEventExtraFields1 overwrites any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as the provided ChatCompletionEventExtraFields1
func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields2 ¶
func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields2(v ChatCompletionEventExtraFields2) error
FromChatCompletionEventExtraFields2 overwrites any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as the provided ChatCompletionEventExtraFields2
func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields3 ¶
func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields3(v ChatCompletionEventExtraFields3) error
FromChatCompletionEventExtraFields3 overwrites any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as the provided ChatCompletionEventExtraFields3
func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields4 ¶
func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields4(v ChatCompletionEventExtraFields4) error
FromChatCompletionEventExtraFields4 overwrites any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as the provided ChatCompletionEventExtraFields4
func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields5 ¶
func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields5(v ChatCompletionEventExtraFields5) error
FromChatCompletionEventExtraFields5 overwrites any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as the provided ChatCompletionEventExtraFields5
func (ChatCompletionEvent_ExtraFields_AdditionalProperties) MarshalJSON ¶
func (t ChatCompletionEvent_ExtraFields_AdditionalProperties) MarshalJSON() ([]byte, error)
func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields0 ¶
func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields0(v ChatCompletionEventExtraFields0) error
MergeChatCompletionEventExtraFields0 performs a merge with any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventExtraFields0
func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields1 ¶
func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields1(v ChatCompletionEventExtraFields1) error
MergeChatCompletionEventExtraFields1 performs a merge with any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventExtraFields1
func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields2 ¶
func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields2(v ChatCompletionEventExtraFields2) error
MergeChatCompletionEventExtraFields2 performs a merge with any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventExtraFields2
func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields3 ¶
func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields3(v ChatCompletionEventExtraFields3) error
MergeChatCompletionEventExtraFields3 performs a merge with any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventExtraFields3
func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields4 ¶
func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields4(v ChatCompletionEventExtraFields4) error
MergeChatCompletionEventExtraFields4 performs a merge with any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventExtraFields4
func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields5 ¶
func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields5(v ChatCompletionEventExtraFields5) error
MergeChatCompletionEventExtraFields5 performs a merge with any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventExtraFields5
func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) UnmarshalJSON ¶
func (t *ChatCompletionEvent_ExtraFields_AdditionalProperties) UnmarshalJSON(b []byte) error
type ChatCompletionEvents ¶
type ChatCompletionEvents struct {
CompletionEvents FeedResultChatCompletionEventPreview `json:"completion_events"`
}
ChatCompletionEvents defines model for ChatCompletionEvents.
type ChatCompletionFieldOptions ¶
type ChatCompletionFieldOptions struct {
Options *[]*ChatCompletionFieldOptions_Options_Item `json:"options,omitempty"`
}
ChatCompletionFieldOptions defines model for ChatCompletionFieldOptions.
type ChatCompletionFieldOptionsOptions0 ¶
type ChatCompletionFieldOptionsOptions0 = string
ChatCompletionFieldOptionsOptions0 defines model for ChatCompletionFieldOptions.Options.0.
type ChatCompletionFieldOptionsOptions1 ¶
type ChatCompletionFieldOptionsOptions1 = bool
ChatCompletionFieldOptionsOptions1 defines model for ChatCompletionFieldOptions.Options.1.
type ChatCompletionFieldOptions_Options_Item ¶
type ChatCompletionFieldOptions_Options_Item struct {
// contains filtered or unexported fields
}
ChatCompletionFieldOptions_Options_Item defines model for ChatCompletionFieldOptions.options.Item.
func (ChatCompletionFieldOptions_Options_Item) AsChatCompletionFieldOptionsOptions0 ¶
func (t ChatCompletionFieldOptions_Options_Item) AsChatCompletionFieldOptionsOptions0() (ChatCompletionFieldOptionsOptions0, error)
AsChatCompletionFieldOptionsOptions0 returns the union data inside the ChatCompletionFieldOptions_Options_Item as a ChatCompletionFieldOptionsOptions0
func (ChatCompletionFieldOptions_Options_Item) AsChatCompletionFieldOptionsOptions1 ¶
func (t ChatCompletionFieldOptions_Options_Item) AsChatCompletionFieldOptionsOptions1() (ChatCompletionFieldOptionsOptions1, error)
AsChatCompletionFieldOptionsOptions1 returns the union data inside the ChatCompletionFieldOptions_Options_Item as a ChatCompletionFieldOptionsOptions1
func (*ChatCompletionFieldOptions_Options_Item) FromChatCompletionFieldOptionsOptions0 ¶
func (t *ChatCompletionFieldOptions_Options_Item) FromChatCompletionFieldOptionsOptions0(v ChatCompletionFieldOptionsOptions0) error
FromChatCompletionFieldOptionsOptions0 overwrites any union data inside the ChatCompletionFieldOptions_Options_Item as the provided ChatCompletionFieldOptionsOptions0
func (*ChatCompletionFieldOptions_Options_Item) FromChatCompletionFieldOptionsOptions1 ¶
func (t *ChatCompletionFieldOptions_Options_Item) FromChatCompletionFieldOptionsOptions1(v ChatCompletionFieldOptionsOptions1) error
FromChatCompletionFieldOptionsOptions1 overwrites any union data inside the ChatCompletionFieldOptions_Options_Item as the provided ChatCompletionFieldOptionsOptions1
func (ChatCompletionFieldOptions_Options_Item) MarshalJSON ¶
func (t ChatCompletionFieldOptions_Options_Item) MarshalJSON() ([]byte, error)
func (*ChatCompletionFieldOptions_Options_Item) MergeChatCompletionFieldOptionsOptions0 ¶
func (t *ChatCompletionFieldOptions_Options_Item) MergeChatCompletionFieldOptionsOptions0(v ChatCompletionFieldOptionsOptions0) error
MergeChatCompletionFieldOptionsOptions0 performs a merge with any union data inside the ChatCompletionFieldOptions_Options_Item, using the provided ChatCompletionFieldOptionsOptions0
func (*ChatCompletionFieldOptions_Options_Item) MergeChatCompletionFieldOptionsOptions1 ¶
func (t *ChatCompletionFieldOptions_Options_Item) MergeChatCompletionFieldOptionsOptions1(v ChatCompletionFieldOptionsOptions1) error
MergeChatCompletionFieldOptionsOptions1 performs a merge with any union data inside the ChatCompletionFieldOptions_Options_Item, using the provided ChatCompletionFieldOptionsOptions1
func (*ChatCompletionFieldOptions_Options_Item) UnmarshalJSON ¶
func (t *ChatCompletionFieldOptions_Options_Item) UnmarshalJSON(b []byte) error
type ChatCompletionFields ¶
type ChatCompletionFields struct {
FieldDefinitions []BaseFieldDefinition `json:"field_definitions"`
FieldGroups []FieldGroup `json:"field_groups"`
}
ChatCompletionFields defines model for ChatCompletionFields.
type ChatCompletionRequest ¶
type ChatCompletionRequest struct {
// FrequencyPenalty The `frequency_penalty` penalizes the repetition of words based on their frequency in the generated text. A higher frequency penalty discourages the model from repeating words that have already appeared frequently in the output, promoting diversity and reducing repetition.
FrequencyPenalty *float32 `json:"frequency_penalty,omitempty"`
// Guardrails A list of guardrail configurations to apply to this request. Each guardrail specifies a moderation type, categories with thresholds to evaluate, and an action to take on violation.
Guardrails *[]GuardrailConfig `json:"guardrails,omitempty"`
// MaxTokens The maximum number of tokens to generate in the completion. The token count of your prompt plus `max_tokens` cannot exceed the model's context length.
MaxTokens *int `json:"max_tokens,omitempty"`
// Messages The prompt(s) to generate completions for, encoded as a list of dict with role and content.
//
// Examples: [{"content":"Who is the best French painter? Answer in one short sentence.","role":"user"}]
Messages []ChatCompletionRequest_Messages_Item `json:"messages"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
// Model ID of the model to use. You can use the [List Available Models](/api/#tag/models/operation/list_models_v1_models_get) API to see all of your available models, or see our [Model overview](/models) for model descriptions.
//
// Examples: mistral-large-latest
Model string `json:"model"`
// N Number of completions to return for each request, input tokens are only billed once.
N *int `json:"n,omitempty"`
// ParallelToolCalls Whether to enable parallel function calling during tool use, when enabled the model can call multiple tools in parallel.
ParallelToolCalls *bool `json:"parallel_tool_calls,omitempty"`
// Prediction Enable users to specify expected results, optimizing response times by leveraging known or predictable content. This approach is especially effective for updating text documents or code files with minimal changes, reducing latency while maintaining high-quality results.
Prediction *Prediction `json:"prediction,omitempty"`
// PresencePenalty The `presence_penalty` determines how much the model penalizes the repetition of words or phrases. A higher presence penalty encourages the model to use a wider variety of words and phrases, making the output more diverse and creative.
PresencePenalty *float32 `json:"presence_penalty,omitempty"`
// PromptCacheKey A cache key to enable prompt caching. When provided, the API will attempt to reuse previously computed tokens for requests sharing the same prefix (e.g. multi-turn conversations or requests with a similar system prompt). Cached tokens are billed at 10% of the standard input token price.
PromptCacheKey *string `json:"prompt_cache_key,omitempty"`
// PromptMode Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. **Deprecated for reasoning models - use `reasoning_effort` parameter instead.**
PromptMode *MistralPromptMode `json:"prompt_mode,omitempty"`
// RandomSeed The seed to use for random sampling. If set, different calls will generate deterministic results.
RandomSeed *int `json:"random_seed,omitempty"`
// ReasoningEffort Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort.
ReasoningEffort *ChatCompletionRequestReasoningEffort `json:"reasoning_effort,omitempty"`
// ResponseFormat Specify the format that the model must output. By default it will use `{ "type": "text" }`. Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is in JSON. When using JSON mode you MUST also instruct the model to produce JSON yourself with a system or a user message. Setting to `{ "type": "json_schema" }` enables JSON schema mode, which guarantees the message the model generates is in JSON and follows the schema you provide.
//
// Examples: {"type":"text"}, {"type":"json_object"}, {"json_schema":{"name":"book","schema":{"additionalProperties":false,"properties":{"authors":{"items":{"type":"string"},"title":"Authors","type":"array"},"name":{"title":"Name","type":"string"}},"required":["name","authors"],"title":"Book","type":"object"},"strict":true},"type":"json_schema"}
ResponseFormat *ResponseFormat `json:"response_format,omitempty"`
// SafePrompt Whether to inject a safety prompt before all conversations.
SafePrompt *bool `json:"safe_prompt,omitempty"`
// Stop Stop generation if this token is detected. Or if one of these tokens is detected when providing an array
Stop *ChatCompletionRequest_Stop `json:"stop,omitempty"`
// Stream Whether to stream back partial progress. If set, tokens will be sent as data-only server-side events as they become available, with the stream terminated by a data: [DONE] message. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
Stream *bool `json:"stream,omitempty"`
// Temperature What sampling temperature to use, we recommend between 0.0 and 0.7. Higher values like 0.7 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or `top_p` but not both. The default value varies depending on the model you are targeting. Call the `/models` endpoint to retrieve the appropriate value.
Temperature *float32 `json:"temperature,omitempty"`
// ToolChoice Controls which (if any) tool is called by the model. `none` means the model will not call any tool and instead generates a message. `auto` means the model can pick between generating a message or calling one or more tools. `any` or `required` means the model must call one or more tools. Specifying a particular tool via `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool.
ToolChoice *ChatCompletionRequest_ToolChoice `json:"tool_choice,omitempty"`
// Tools A list of tools the model may call. Use this to provide a list of functions the model may generate JSON inputs for.
Tools *[]Tool `json:"tools,omitempty"`
// TopP Nucleus sampling, where the model considers the results of the tokens with `top_p` probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or `temperature` but not both.
TopP *float32 `json:"top_p,omitempty"`
}
ChatCompletionRequest defines model for ChatCompletionRequest.
type ChatCompletionRequestReasoningEffort ¶
type ChatCompletionRequestReasoningEffort string
ChatCompletionRequestReasoningEffort Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort.
const ( ChatCompletionRequestReasoningEffortHigh ChatCompletionRequestReasoningEffort = "high" ChatCompletionRequestReasoningEffortNone ChatCompletionRequestReasoningEffort = "none" )
Defines values for ChatCompletionRequestReasoningEffort.
func (ChatCompletionRequestReasoningEffort) Valid ¶
func (e ChatCompletionRequestReasoningEffort) Valid() bool
Valid indicates whether the value is a known member of the ChatCompletionRequestReasoningEffort enum.
type ChatCompletionRequestStop0 ¶
type ChatCompletionRequestStop0 = string
ChatCompletionRequestStop0 defines model for ChatCompletionRequest.Stop.0.
type ChatCompletionRequestStop1 ¶
type ChatCompletionRequestStop1 = []string
ChatCompletionRequestStop1 defines model for ChatCompletionRequest.Stop.1.
type ChatCompletionRequest_Messages_Item ¶
type ChatCompletionRequest_Messages_Item struct {
// contains filtered or unexported fields
}
ChatCompletionRequest_Messages_Item defines model for ChatCompletionRequest.messages.Item.
func (ChatCompletionRequest_Messages_Item) AsAssistantMessage ¶
func (t ChatCompletionRequest_Messages_Item) AsAssistantMessage() (AssistantMessage, error)
AsAssistantMessage returns the union data inside the ChatCompletionRequest_Messages_Item as a AssistantMessage
func (ChatCompletionRequest_Messages_Item) AsSystemMessage ¶
func (t ChatCompletionRequest_Messages_Item) AsSystemMessage() (SystemMessage, error)
AsSystemMessage returns the union data inside the ChatCompletionRequest_Messages_Item as a SystemMessage
func (ChatCompletionRequest_Messages_Item) AsToolMessage ¶
func (t ChatCompletionRequest_Messages_Item) AsToolMessage() (ToolMessage, error)
AsToolMessage returns the union data inside the ChatCompletionRequest_Messages_Item as a ToolMessage
func (ChatCompletionRequest_Messages_Item) AsUserMessage ¶
func (t ChatCompletionRequest_Messages_Item) AsUserMessage() (UserMessage, error)
AsUserMessage returns the union data inside the ChatCompletionRequest_Messages_Item as a UserMessage
func (ChatCompletionRequest_Messages_Item) Discriminator ¶
func (t ChatCompletionRequest_Messages_Item) Discriminator() (string, error)
func (*ChatCompletionRequest_Messages_Item) FromAssistantMessage ¶
func (t *ChatCompletionRequest_Messages_Item) FromAssistantMessage(v AssistantMessage) error
FromAssistantMessage overwrites any union data inside the ChatCompletionRequest_Messages_Item as the provided AssistantMessage
func (*ChatCompletionRequest_Messages_Item) FromSystemMessage ¶
func (t *ChatCompletionRequest_Messages_Item) FromSystemMessage(v SystemMessage) error
FromSystemMessage overwrites any union data inside the ChatCompletionRequest_Messages_Item as the provided SystemMessage
func (*ChatCompletionRequest_Messages_Item) FromToolMessage ¶
func (t *ChatCompletionRequest_Messages_Item) FromToolMessage(v ToolMessage) error
FromToolMessage overwrites any union data inside the ChatCompletionRequest_Messages_Item as the provided ToolMessage
func (*ChatCompletionRequest_Messages_Item) FromUserMessage ¶
func (t *ChatCompletionRequest_Messages_Item) FromUserMessage(v UserMessage) error
FromUserMessage overwrites any union data inside the ChatCompletionRequest_Messages_Item as the provided UserMessage
func (ChatCompletionRequest_Messages_Item) MarshalJSON ¶
func (t ChatCompletionRequest_Messages_Item) MarshalJSON() ([]byte, error)
func (*ChatCompletionRequest_Messages_Item) MergeAssistantMessage ¶
func (t *ChatCompletionRequest_Messages_Item) MergeAssistantMessage(v AssistantMessage) error
MergeAssistantMessage performs a merge with any union data inside the ChatCompletionRequest_Messages_Item, using the provided AssistantMessage
func (*ChatCompletionRequest_Messages_Item) MergeSystemMessage ¶
func (t *ChatCompletionRequest_Messages_Item) MergeSystemMessage(v SystemMessage) error
MergeSystemMessage performs a merge with any union data inside the ChatCompletionRequest_Messages_Item, using the provided SystemMessage
func (*ChatCompletionRequest_Messages_Item) MergeToolMessage ¶
func (t *ChatCompletionRequest_Messages_Item) MergeToolMessage(v ToolMessage) error
MergeToolMessage performs a merge with any union data inside the ChatCompletionRequest_Messages_Item, using the provided ToolMessage
func (*ChatCompletionRequest_Messages_Item) MergeUserMessage ¶
func (t *ChatCompletionRequest_Messages_Item) MergeUserMessage(v UserMessage) error
MergeUserMessage performs a merge with any union data inside the ChatCompletionRequest_Messages_Item, using the provided UserMessage
func (*ChatCompletionRequest_Messages_Item) UnmarshalJSON ¶
func (t *ChatCompletionRequest_Messages_Item) UnmarshalJSON(b []byte) error
func (ChatCompletionRequest_Messages_Item) ValueByDiscriminator ¶
func (t ChatCompletionRequest_Messages_Item) ValueByDiscriminator() (interface{}, error)
type ChatCompletionRequest_Stop ¶
type ChatCompletionRequest_Stop struct {
// contains filtered or unexported fields
}
ChatCompletionRequest_Stop Stop generation if this token is detected. Or if one of these tokens is detected when providing an array
func (ChatCompletionRequest_Stop) AsChatCompletionRequestStop0 ¶
func (t ChatCompletionRequest_Stop) AsChatCompletionRequestStop0() (ChatCompletionRequestStop0, error)
AsChatCompletionRequestStop0 returns the union data inside the ChatCompletionRequest_Stop as a ChatCompletionRequestStop0
func (ChatCompletionRequest_Stop) AsChatCompletionRequestStop1 ¶
func (t ChatCompletionRequest_Stop) AsChatCompletionRequestStop1() (ChatCompletionRequestStop1, error)
AsChatCompletionRequestStop1 returns the union data inside the ChatCompletionRequest_Stop as a ChatCompletionRequestStop1
func (*ChatCompletionRequest_Stop) FromChatCompletionRequestStop0 ¶
func (t *ChatCompletionRequest_Stop) FromChatCompletionRequestStop0(v ChatCompletionRequestStop0) error
FromChatCompletionRequestStop0 overwrites any union data inside the ChatCompletionRequest_Stop as the provided ChatCompletionRequestStop0
func (*ChatCompletionRequest_Stop) FromChatCompletionRequestStop1 ¶
func (t *ChatCompletionRequest_Stop) FromChatCompletionRequestStop1(v ChatCompletionRequestStop1) error
FromChatCompletionRequestStop1 overwrites any union data inside the ChatCompletionRequest_Stop as the provided ChatCompletionRequestStop1
func (ChatCompletionRequest_Stop) MarshalJSON ¶
func (t ChatCompletionRequest_Stop) MarshalJSON() ([]byte, error)
func (*ChatCompletionRequest_Stop) MergeChatCompletionRequestStop0 ¶
func (t *ChatCompletionRequest_Stop) MergeChatCompletionRequestStop0(v ChatCompletionRequestStop0) error
MergeChatCompletionRequestStop0 performs a merge with any union data inside the ChatCompletionRequest_Stop, using the provided ChatCompletionRequestStop0
func (*ChatCompletionRequest_Stop) MergeChatCompletionRequestStop1 ¶
func (t *ChatCompletionRequest_Stop) MergeChatCompletionRequestStop1(v ChatCompletionRequestStop1) error
MergeChatCompletionRequestStop1 performs a merge with any union data inside the ChatCompletionRequest_Stop, using the provided ChatCompletionRequestStop1
func (*ChatCompletionRequest_Stop) UnmarshalJSON ¶
func (t *ChatCompletionRequest_Stop) UnmarshalJSON(b []byte) error
type ChatCompletionRequest_ToolChoice ¶
type ChatCompletionRequest_ToolChoice struct {
// contains filtered or unexported fields
}
ChatCompletionRequest_ToolChoice Controls which (if any) tool is called by the model. `none` means the model will not call any tool and instead generates a message. `auto` means the model can pick between generating a message or calling one or more tools. `any` or `required` means the model must call one or more tools. Specifying a particular tool via `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool.
func (ChatCompletionRequest_ToolChoice) AsToolChoice ¶
func (t ChatCompletionRequest_ToolChoice) AsToolChoice() (ToolChoice, error)
AsToolChoice returns the union data inside the ChatCompletionRequest_ToolChoice as a ToolChoice
func (ChatCompletionRequest_ToolChoice) AsToolChoiceEnum ¶
func (t ChatCompletionRequest_ToolChoice) AsToolChoiceEnum() (ToolChoiceEnum, error)
AsToolChoiceEnum returns the union data inside the ChatCompletionRequest_ToolChoice as a ToolChoiceEnum
func (*ChatCompletionRequest_ToolChoice) FromToolChoice ¶
func (t *ChatCompletionRequest_ToolChoice) FromToolChoice(v ToolChoice) error
FromToolChoice overwrites any union data inside the ChatCompletionRequest_ToolChoice as the provided ToolChoice
func (*ChatCompletionRequest_ToolChoice) FromToolChoiceEnum ¶
func (t *ChatCompletionRequest_ToolChoice) FromToolChoiceEnum(v ToolChoiceEnum) error
FromToolChoiceEnum overwrites any union data inside the ChatCompletionRequest_ToolChoice as the provided ToolChoiceEnum
func (ChatCompletionRequest_ToolChoice) MarshalJSON ¶
func (t ChatCompletionRequest_ToolChoice) MarshalJSON() ([]byte, error)
func (*ChatCompletionRequest_ToolChoice) MergeToolChoice ¶
func (t *ChatCompletionRequest_ToolChoice) MergeToolChoice(v ToolChoice) error
MergeToolChoice performs a merge with any union data inside the ChatCompletionRequest_ToolChoice, using the provided ToolChoice
func (*ChatCompletionRequest_ToolChoice) MergeToolChoiceEnum ¶
func (t *ChatCompletionRequest_ToolChoice) MergeToolChoiceEnum(v ToolChoiceEnum) error
MergeToolChoiceEnum performs a merge with any union data inside the ChatCompletionRequest_ToolChoice, using the provided ToolChoiceEnum
func (*ChatCompletionRequest_ToolChoice) UnmarshalJSON ¶
func (t *ChatCompletionRequest_ToolChoice) UnmarshalJSON(b []byte) error
type ChatCompletionResponse ¶
type ChatCompletionResponse struct {
Choices []ChatCompletionChoice `json:"choices"`
Created int `json:"created"`
Id string `json:"id"`
Model string `json:"model"`
Object string `json:"object"`
Usage UsageInfo `json:"usage"`
}
ChatCompletionResponse defines model for ChatCompletionResponse.
type ChatCompletionResponseBase ¶
type ChatCompletionResponseBase struct {
Created *int `json:"created,omitempty"`
Id *string `json:"id,omitempty"`
Model *string `json:"model,omitempty"`
Object *string `json:"object,omitempty"`
Usage *UsageInfo `json:"usage,omitempty"`
}
ChatCompletionResponseBase defines model for ChatCompletionResponseBase.
type ChatCompletionV1ChatCompletionsPostJSONRequestBody ¶
type ChatCompletionV1ChatCompletionsPostJSONRequestBody = ChatCompletionRequest
ChatCompletionV1ChatCompletionsPostJSONRequestBody defines body for ChatCompletionV1ChatCompletionsPost for application/json ContentType.
type ChatCompletionV1ChatCompletionsPostResponse ¶
type ChatCompletionV1ChatCompletionsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChatCompletionResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseChatCompletionV1ChatCompletionsPostResponse ¶
func ParseChatCompletionV1ChatCompletionsPostResponse(rsp *http.Response) (*ChatCompletionV1ChatCompletionsPostResponse, error)
ParseChatCompletionV1ChatCompletionsPostResponse parses an HTTP response from a ChatCompletionV1ChatCompletionsPostWithResponse call
func (ChatCompletionV1ChatCompletionsPostResponse) ContentType ¶
func (r ChatCompletionV1ChatCompletionsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ChatCompletionV1ChatCompletionsPostResponse) GetBody ¶
func (r ChatCompletionV1ChatCompletionsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ChatCompletionV1ChatCompletionsPostResponse) GetJSON200 ¶
func (r ChatCompletionV1ChatCompletionsPostResponse) GetJSON200() *ChatCompletionResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ChatCompletionV1ChatCompletionsPostResponse) GetJSON422 ¶
func (r ChatCompletionV1ChatCompletionsPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ChatCompletionV1ChatCompletionsPostResponse) Status ¶
func (r ChatCompletionV1ChatCompletionsPostResponse) Status() string
Status returns HTTPResponse.Status
func (ChatCompletionV1ChatCompletionsPostResponse) StatusCode ¶
func (r ChatCompletionV1ChatCompletionsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ChatModerationRequest ¶
type ChatModerationRequest struct {
// Input Chat to classify
Input ChatModerationRequest_Input `json:"input"`
Model string `json:"model"`
}
ChatModerationRequest defines model for ChatModerationRequest.
type ChatModerationRequestInput0 ¶
type ChatModerationRequestInput0 = []ChatModerationRequest_Input_0_Item
ChatModerationRequestInput0 defines model for ChatModerationRequest.Input.0.
type ChatModerationRequestInput1 ¶
type ChatModerationRequestInput1 = [][]ChatModerationRequest_Input_1_Item
ChatModerationRequestInput1 defines model for ChatModerationRequest.Input.1.
type ChatModerationRequest_Input ¶
type ChatModerationRequest_Input struct {
// contains filtered or unexported fields
}
ChatModerationRequest_Input Chat to classify
func (ChatModerationRequest_Input) AsChatModerationRequestInput0 ¶
func (t ChatModerationRequest_Input) AsChatModerationRequestInput0() (ChatModerationRequestInput0, error)
AsChatModerationRequestInput0 returns the union data inside the ChatModerationRequest_Input as a ChatModerationRequestInput0
func (ChatModerationRequest_Input) AsChatModerationRequestInput1 ¶
func (t ChatModerationRequest_Input) AsChatModerationRequestInput1() (ChatModerationRequestInput1, error)
AsChatModerationRequestInput1 returns the union data inside the ChatModerationRequest_Input as a ChatModerationRequestInput1
func (*ChatModerationRequest_Input) FromChatModerationRequestInput0 ¶
func (t *ChatModerationRequest_Input) FromChatModerationRequestInput0(v ChatModerationRequestInput0) error
FromChatModerationRequestInput0 overwrites any union data inside the ChatModerationRequest_Input as the provided ChatModerationRequestInput0
func (*ChatModerationRequest_Input) FromChatModerationRequestInput1 ¶
func (t *ChatModerationRequest_Input) FromChatModerationRequestInput1(v ChatModerationRequestInput1) error
FromChatModerationRequestInput1 overwrites any union data inside the ChatModerationRequest_Input as the provided ChatModerationRequestInput1
func (ChatModerationRequest_Input) MarshalJSON ¶
func (t ChatModerationRequest_Input) MarshalJSON() ([]byte, error)
func (*ChatModerationRequest_Input) MergeChatModerationRequestInput0 ¶
func (t *ChatModerationRequest_Input) MergeChatModerationRequestInput0(v ChatModerationRequestInput0) error
MergeChatModerationRequestInput0 performs a merge with any union data inside the ChatModerationRequest_Input, using the provided ChatModerationRequestInput0
func (*ChatModerationRequest_Input) MergeChatModerationRequestInput1 ¶
func (t *ChatModerationRequest_Input) MergeChatModerationRequestInput1(v ChatModerationRequestInput1) error
MergeChatModerationRequestInput1 performs a merge with any union data inside the ChatModerationRequest_Input, using the provided ChatModerationRequestInput1
func (*ChatModerationRequest_Input) UnmarshalJSON ¶
func (t *ChatModerationRequest_Input) UnmarshalJSON(b []byte) error
type ChatModerationRequest_Input_0_Item ¶
type ChatModerationRequest_Input_0_Item struct {
// contains filtered or unexported fields
}
ChatModerationRequest_Input_0_Item defines model for ChatModerationRequest.Input.0.Item.
func (ChatModerationRequest_Input_0_Item) AsAssistantMessage ¶
func (t ChatModerationRequest_Input_0_Item) AsAssistantMessage() (AssistantMessage, error)
AsAssistantMessage returns the union data inside the ChatModerationRequest_Input_0_Item as a AssistantMessage
func (ChatModerationRequest_Input_0_Item) AsSystemMessage ¶
func (t ChatModerationRequest_Input_0_Item) AsSystemMessage() (SystemMessage, error)
AsSystemMessage returns the union data inside the ChatModerationRequest_Input_0_Item as a SystemMessage
func (ChatModerationRequest_Input_0_Item) AsToolMessage ¶
func (t ChatModerationRequest_Input_0_Item) AsToolMessage() (ToolMessage, error)
AsToolMessage returns the union data inside the ChatModerationRequest_Input_0_Item as a ToolMessage
func (ChatModerationRequest_Input_0_Item) AsUserMessage ¶
func (t ChatModerationRequest_Input_0_Item) AsUserMessage() (UserMessage, error)
AsUserMessage returns the union data inside the ChatModerationRequest_Input_0_Item as a UserMessage
func (ChatModerationRequest_Input_0_Item) Discriminator ¶
func (t ChatModerationRequest_Input_0_Item) Discriminator() (string, error)
func (*ChatModerationRequest_Input_0_Item) FromAssistantMessage ¶
func (t *ChatModerationRequest_Input_0_Item) FromAssistantMessage(v AssistantMessage) error
FromAssistantMessage overwrites any union data inside the ChatModerationRequest_Input_0_Item as the provided AssistantMessage
func (*ChatModerationRequest_Input_0_Item) FromSystemMessage ¶
func (t *ChatModerationRequest_Input_0_Item) FromSystemMessage(v SystemMessage) error
FromSystemMessage overwrites any union data inside the ChatModerationRequest_Input_0_Item as the provided SystemMessage
func (*ChatModerationRequest_Input_0_Item) FromToolMessage ¶
func (t *ChatModerationRequest_Input_0_Item) FromToolMessage(v ToolMessage) error
FromToolMessage overwrites any union data inside the ChatModerationRequest_Input_0_Item as the provided ToolMessage
func (*ChatModerationRequest_Input_0_Item) FromUserMessage ¶
func (t *ChatModerationRequest_Input_0_Item) FromUserMessage(v UserMessage) error
FromUserMessage overwrites any union data inside the ChatModerationRequest_Input_0_Item as the provided UserMessage
func (ChatModerationRequest_Input_0_Item) MarshalJSON ¶
func (t ChatModerationRequest_Input_0_Item) MarshalJSON() ([]byte, error)
func (*ChatModerationRequest_Input_0_Item) MergeAssistantMessage ¶
func (t *ChatModerationRequest_Input_0_Item) MergeAssistantMessage(v AssistantMessage) error
MergeAssistantMessage performs a merge with any union data inside the ChatModerationRequest_Input_0_Item, using the provided AssistantMessage
func (*ChatModerationRequest_Input_0_Item) MergeSystemMessage ¶
func (t *ChatModerationRequest_Input_0_Item) MergeSystemMessage(v SystemMessage) error
MergeSystemMessage performs a merge with any union data inside the ChatModerationRequest_Input_0_Item, using the provided SystemMessage
func (*ChatModerationRequest_Input_0_Item) MergeToolMessage ¶
func (t *ChatModerationRequest_Input_0_Item) MergeToolMessage(v ToolMessage) error
MergeToolMessage performs a merge with any union data inside the ChatModerationRequest_Input_0_Item, using the provided ToolMessage
func (*ChatModerationRequest_Input_0_Item) MergeUserMessage ¶
func (t *ChatModerationRequest_Input_0_Item) MergeUserMessage(v UserMessage) error
MergeUserMessage performs a merge with any union data inside the ChatModerationRequest_Input_0_Item, using the provided UserMessage
func (*ChatModerationRequest_Input_0_Item) UnmarshalJSON ¶
func (t *ChatModerationRequest_Input_0_Item) UnmarshalJSON(b []byte) error
func (ChatModerationRequest_Input_0_Item) ValueByDiscriminator ¶
func (t ChatModerationRequest_Input_0_Item) ValueByDiscriminator() (interface{}, error)
type ChatModerationRequest_Input_1_Item ¶
type ChatModerationRequest_Input_1_Item struct {
// contains filtered or unexported fields
}
ChatModerationRequest_Input_1_Item defines model for ChatModerationRequest.Input.1.Item.
func (ChatModerationRequest_Input_1_Item) AsAssistantMessage ¶
func (t ChatModerationRequest_Input_1_Item) AsAssistantMessage() (AssistantMessage, error)
AsAssistantMessage returns the union data inside the ChatModerationRequest_Input_1_Item as a AssistantMessage
func (ChatModerationRequest_Input_1_Item) AsSystemMessage ¶
func (t ChatModerationRequest_Input_1_Item) AsSystemMessage() (SystemMessage, error)
AsSystemMessage returns the union data inside the ChatModerationRequest_Input_1_Item as a SystemMessage
func (ChatModerationRequest_Input_1_Item) AsToolMessage ¶
func (t ChatModerationRequest_Input_1_Item) AsToolMessage() (ToolMessage, error)
AsToolMessage returns the union data inside the ChatModerationRequest_Input_1_Item as a ToolMessage
func (ChatModerationRequest_Input_1_Item) AsUserMessage ¶
func (t ChatModerationRequest_Input_1_Item) AsUserMessage() (UserMessage, error)
AsUserMessage returns the union data inside the ChatModerationRequest_Input_1_Item as a UserMessage
func (ChatModerationRequest_Input_1_Item) Discriminator ¶
func (t ChatModerationRequest_Input_1_Item) Discriminator() (string, error)
func (*ChatModerationRequest_Input_1_Item) FromAssistantMessage ¶
func (t *ChatModerationRequest_Input_1_Item) FromAssistantMessage(v AssistantMessage) error
FromAssistantMessage overwrites any union data inside the ChatModerationRequest_Input_1_Item as the provided AssistantMessage
func (*ChatModerationRequest_Input_1_Item) FromSystemMessage ¶
func (t *ChatModerationRequest_Input_1_Item) FromSystemMessage(v SystemMessage) error
FromSystemMessage overwrites any union data inside the ChatModerationRequest_Input_1_Item as the provided SystemMessage
func (*ChatModerationRequest_Input_1_Item) FromToolMessage ¶
func (t *ChatModerationRequest_Input_1_Item) FromToolMessage(v ToolMessage) error
FromToolMessage overwrites any union data inside the ChatModerationRequest_Input_1_Item as the provided ToolMessage
func (*ChatModerationRequest_Input_1_Item) FromUserMessage ¶
func (t *ChatModerationRequest_Input_1_Item) FromUserMessage(v UserMessage) error
FromUserMessage overwrites any union data inside the ChatModerationRequest_Input_1_Item as the provided UserMessage
func (ChatModerationRequest_Input_1_Item) MarshalJSON ¶
func (t ChatModerationRequest_Input_1_Item) MarshalJSON() ([]byte, error)
func (*ChatModerationRequest_Input_1_Item) MergeAssistantMessage ¶
func (t *ChatModerationRequest_Input_1_Item) MergeAssistantMessage(v AssistantMessage) error
MergeAssistantMessage performs a merge with any union data inside the ChatModerationRequest_Input_1_Item, using the provided AssistantMessage
func (*ChatModerationRequest_Input_1_Item) MergeSystemMessage ¶
func (t *ChatModerationRequest_Input_1_Item) MergeSystemMessage(v SystemMessage) error
MergeSystemMessage performs a merge with any union data inside the ChatModerationRequest_Input_1_Item, using the provided SystemMessage
func (*ChatModerationRequest_Input_1_Item) MergeToolMessage ¶
func (t *ChatModerationRequest_Input_1_Item) MergeToolMessage(v ToolMessage) error
MergeToolMessage performs a merge with any union data inside the ChatModerationRequest_Input_1_Item, using the provided ToolMessage
func (*ChatModerationRequest_Input_1_Item) MergeUserMessage ¶
func (t *ChatModerationRequest_Input_1_Item) MergeUserMessage(v UserMessage) error
MergeUserMessage performs a merge with any union data inside the ChatModerationRequest_Input_1_Item, using the provided UserMessage
func (*ChatModerationRequest_Input_1_Item) UnmarshalJSON ¶
func (t *ChatModerationRequest_Input_1_Item) UnmarshalJSON(b []byte) error
func (ChatModerationRequest_Input_1_Item) ValueByDiscriminator ¶
func (t ChatModerationRequest_Input_1_Item) ValueByDiscriminator() (interface{}, error)
type ChatModerationsV1ChatModerationsPostJSONRequestBody ¶
type ChatModerationsV1ChatModerationsPostJSONRequestBody = ChatModerationRequest
ChatModerationsV1ChatModerationsPostJSONRequestBody defines body for ChatModerationsV1ChatModerationsPost for application/json ContentType.
type ChatModerationsV1ChatModerationsPostResponse ¶
type ChatModerationsV1ChatModerationsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModerationResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseChatModerationsV1ChatModerationsPostResponse ¶
func ParseChatModerationsV1ChatModerationsPostResponse(rsp *http.Response) (*ChatModerationsV1ChatModerationsPostResponse, error)
ParseChatModerationsV1ChatModerationsPostResponse parses an HTTP response from a ChatModerationsV1ChatModerationsPostWithResponse call
func (ChatModerationsV1ChatModerationsPostResponse) ContentType ¶
func (r ChatModerationsV1ChatModerationsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ChatModerationsV1ChatModerationsPostResponse) GetBody ¶
func (r ChatModerationsV1ChatModerationsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ChatModerationsV1ChatModerationsPostResponse) GetJSON200 ¶
func (r ChatModerationsV1ChatModerationsPostResponse) GetJSON200() *ModerationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ChatModerationsV1ChatModerationsPostResponse) GetJSON422 ¶
func (r ChatModerationsV1ChatModerationsPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ChatModerationsV1ChatModerationsPostResponse) Status ¶
func (r ChatModerationsV1ChatModerationsPostResponse) Status() string
Status returns HTTPResponse.Status
func (ChatModerationsV1ChatModerationsPostResponse) StatusCode ¶
func (r ChatModerationsV1ChatModerationsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ChatTranscriptionEvent ¶
type ChatTranscriptionEvent struct {
AudioUrl string `json:"audio_url"`
Model string `json:"model"`
ResponseMessage map[string]interface{} `json:"response_message"`
}
ChatTranscriptionEvent defines model for ChatTranscriptionEvent.
type CheckpointOut ¶
type CheckpointOut struct {
// CreatedAt The UNIX timestamp (in seconds) for when the checkpoint was created.
//
// Examples: 1716963433
CreatedAt int `json:"created_at"`
// Metrics Metrics at the step number during the fine-tuning job. Use these metrics to assess if the training is going smoothly (loss should decrease, token accuracy should increase).
Metrics MetricOut `json:"metrics"`
// StepNumber The step number that the checkpoint was created at.
StepNumber int `json:"step_number"`
}
CheckpointOut defines model for CheckpointOut.
type ClassificationRequest ¶
type ClassificationRequest struct {
// Input Text to classify.
Input ClassificationRequest_Input `json:"input"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
// Model ID of the model to use.
//
// Examples: mistral-moderation-latest
Model string `json:"model"`
}
ClassificationRequest defines model for ClassificationRequest.
type ClassificationRequestInput0 ¶
type ClassificationRequestInput0 = string
ClassificationRequestInput0 defines model for ClassificationRequest.Input.0.
type ClassificationRequestInput1 ¶
type ClassificationRequestInput1 = []string
ClassificationRequestInput1 defines model for ClassificationRequest.Input.1.
type ClassificationRequest_Input ¶
type ClassificationRequest_Input struct {
// contains filtered or unexported fields
}
ClassificationRequest_Input Text to classify.
func (ClassificationRequest_Input) AsClassificationRequestInput0 ¶
func (t ClassificationRequest_Input) AsClassificationRequestInput0() (ClassificationRequestInput0, error)
AsClassificationRequestInput0 returns the union data inside the ClassificationRequest_Input as a ClassificationRequestInput0
func (ClassificationRequest_Input) AsClassificationRequestInput1 ¶
func (t ClassificationRequest_Input) AsClassificationRequestInput1() (ClassificationRequestInput1, error)
AsClassificationRequestInput1 returns the union data inside the ClassificationRequest_Input as a ClassificationRequestInput1
func (*ClassificationRequest_Input) FromClassificationRequestInput0 ¶
func (t *ClassificationRequest_Input) FromClassificationRequestInput0(v ClassificationRequestInput0) error
FromClassificationRequestInput0 overwrites any union data inside the ClassificationRequest_Input as the provided ClassificationRequestInput0
func (*ClassificationRequest_Input) FromClassificationRequestInput1 ¶
func (t *ClassificationRequest_Input) FromClassificationRequestInput1(v ClassificationRequestInput1) error
FromClassificationRequestInput1 overwrites any union data inside the ClassificationRequest_Input as the provided ClassificationRequestInput1
func (ClassificationRequest_Input) MarshalJSON ¶
func (t ClassificationRequest_Input) MarshalJSON() ([]byte, error)
func (*ClassificationRequest_Input) MergeClassificationRequestInput0 ¶
func (t *ClassificationRequest_Input) MergeClassificationRequestInput0(v ClassificationRequestInput0) error
MergeClassificationRequestInput0 performs a merge with any union data inside the ClassificationRequest_Input, using the provided ClassificationRequestInput0
func (*ClassificationRequest_Input) MergeClassificationRequestInput1 ¶
func (t *ClassificationRequest_Input) MergeClassificationRequestInput1(v ClassificationRequestInput1) error
MergeClassificationRequestInput1 performs a merge with any union data inside the ClassificationRequest_Input, using the provided ClassificationRequestInput1
func (*ClassificationRequest_Input) UnmarshalJSON ¶
func (t *ClassificationRequest_Input) UnmarshalJSON(b []byte) error
type ClassificationResponse ¶
type ClassificationResponse struct {
Id string `json:"id"`
Model string `json:"model"`
Results []map[string]ClassificationTargetResult `json:"results"`
}
ClassificationResponse defines model for ClassificationResponse.
type ClassificationTargetResult ¶
ClassificationTargetResult defines model for ClassificationTargetResult.
type ClassificationsV1ClassificationsPostJSONRequestBody ¶
type ClassificationsV1ClassificationsPostJSONRequestBody = ClassificationRequest
ClassificationsV1ClassificationsPostJSONRequestBody defines body for ClassificationsV1ClassificationsPost for application/json ContentType.
type ClassificationsV1ClassificationsPostResponse ¶
type ClassificationsV1ClassificationsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ClassificationResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseClassificationsV1ClassificationsPostResponse ¶
func ParseClassificationsV1ClassificationsPostResponse(rsp *http.Response) (*ClassificationsV1ClassificationsPostResponse, error)
ParseClassificationsV1ClassificationsPostResponse parses an HTTP response from a ClassificationsV1ClassificationsPostWithResponse call
func (ClassificationsV1ClassificationsPostResponse) ContentType ¶
func (r ClassificationsV1ClassificationsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ClassificationsV1ClassificationsPostResponse) GetBody ¶
func (r ClassificationsV1ClassificationsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ClassificationsV1ClassificationsPostResponse) GetJSON200 ¶
func (r ClassificationsV1ClassificationsPostResponse) GetJSON200() *ClassificationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ClassificationsV1ClassificationsPostResponse) GetJSON422 ¶
func (r ClassificationsV1ClassificationsPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ClassificationsV1ClassificationsPostResponse) Status ¶
func (r ClassificationsV1ClassificationsPostResponse) Status() string
Status returns HTTPResponse.Status
func (ClassificationsV1ClassificationsPostResponse) StatusCode ¶
func (r ClassificationsV1ClassificationsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClassifierDetailedJobOut ¶
type ClassifierDetailedJobOut struct {
AutoStart bool `json:"auto_start"`
Checkpoints *[]CheckpointOut `json:"checkpoints,omitempty"`
ClassifierTargets []ClassifierTargetOut `json:"classifier_targets"`
CreatedAt int `json:"created_at"`
// Events Event items are created every time the status of a fine-tuning job changes. The timestamped list of all events is accessible here.
Events *[]EventOut `json:"events,omitempty"`
FineTunedModel *string `json:"fine_tuned_model,omitempty"`
Hyperparameters ClassifierTrainingParameters `json:"hyperparameters"`
Id openapi_types.UUID `json:"id"`
Integrations *[]ClassifierDetailedJobOut_Integrations_Item `json:"integrations,omitempty"`
JobType *ClassifierDetailedJobOutJobType `json:"job_type,omitempty"`
Metadata *JobMetadataOut `json:"metadata,omitempty"`
Model string `json:"model"`
ModifiedAt int `json:"modified_at"`
Object *ClassifierDetailedJobOutObject `json:"object,omitempty"`
Status ClassifierDetailedJobOutStatus `json:"status"`
Suffix *string `json:"suffix,omitempty"`
TrainedTokens *int `json:"trained_tokens,omitempty"`
TrainingFiles []openapi_types.UUID `json:"training_files"`
ValidationFiles *[]openapi_types.UUID `json:"validation_files,omitempty"`
}
ClassifierDetailedJobOut defines model for ClassifierDetailedJobOut.
type ClassifierDetailedJobOutJobType ¶
type ClassifierDetailedJobOutJobType string
ClassifierDetailedJobOutJobType defines model for ClassifierDetailedJobOut.JobType.
const (
ClassifierDetailedJobOutJobTypeClassifier ClassifierDetailedJobOutJobType = "classifier"
)
Defines values for ClassifierDetailedJobOutJobType.
func (ClassifierDetailedJobOutJobType) Valid ¶
func (e ClassifierDetailedJobOutJobType) Valid() bool
Valid indicates whether the value is a known member of the ClassifierDetailedJobOutJobType enum.
type ClassifierDetailedJobOutObject ¶
type ClassifierDetailedJobOutObject string
ClassifierDetailedJobOutObject defines model for ClassifierDetailedJobOut.Object.
const (
ClassifierDetailedJobOutObjectJob ClassifierDetailedJobOutObject = "job"
)
Defines values for ClassifierDetailedJobOutObject.
func (ClassifierDetailedJobOutObject) Valid ¶
func (e ClassifierDetailedJobOutObject) Valid() bool
Valid indicates whether the value is a known member of the ClassifierDetailedJobOutObject enum.
type ClassifierDetailedJobOutStatus ¶
type ClassifierDetailedJobOutStatus string
ClassifierDetailedJobOutStatus defines model for ClassifierDetailedJobOut.Status.
const ( ClassifierDetailedJobOutStatusCANCELLATIONREQUESTED ClassifierDetailedJobOutStatus = "CANCELLATION_REQUESTED" ClassifierDetailedJobOutStatusCANCELLED ClassifierDetailedJobOutStatus = "CANCELLED" ClassifierDetailedJobOutStatusFAILED ClassifierDetailedJobOutStatus = "FAILED" ClassifierDetailedJobOutStatusFAILEDVALIDATION ClassifierDetailedJobOutStatus = "FAILED_VALIDATION" ClassifierDetailedJobOutStatusQUEUED ClassifierDetailedJobOutStatus = "QUEUED" ClassifierDetailedJobOutStatusRUNNING ClassifierDetailedJobOutStatus = "RUNNING" ClassifierDetailedJobOutStatusSTARTED ClassifierDetailedJobOutStatus = "STARTED" ClassifierDetailedJobOutStatusSUCCESS ClassifierDetailedJobOutStatus = "SUCCESS" ClassifierDetailedJobOutStatusVALIDATED ClassifierDetailedJobOutStatus = "VALIDATED" ClassifierDetailedJobOutStatusVALIDATING ClassifierDetailedJobOutStatus = "VALIDATING" )
Defines values for ClassifierDetailedJobOutStatus.
func (ClassifierDetailedJobOutStatus) Valid ¶
func (e ClassifierDetailedJobOutStatus) Valid() bool
Valid indicates whether the value is a known member of the ClassifierDetailedJobOutStatus enum.
type ClassifierDetailedJobOut_Integrations_Item ¶
type ClassifierDetailedJobOut_Integrations_Item struct {
// contains filtered or unexported fields
}
ClassifierDetailedJobOut_Integrations_Item defines model for ClassifierDetailedJobOut.integrations.Item.
func (ClassifierDetailedJobOut_Integrations_Item) AsWandbIntegrationOut ¶
func (t ClassifierDetailedJobOut_Integrations_Item) AsWandbIntegrationOut() (WandbIntegrationOut, error)
AsWandbIntegrationOut returns the union data inside the ClassifierDetailedJobOut_Integrations_Item as a WandbIntegrationOut
func (ClassifierDetailedJobOut_Integrations_Item) Discriminator ¶
func (t ClassifierDetailedJobOut_Integrations_Item) Discriminator() (string, error)
func (*ClassifierDetailedJobOut_Integrations_Item) FromWandbIntegrationOut ¶
func (t *ClassifierDetailedJobOut_Integrations_Item) FromWandbIntegrationOut(v WandbIntegrationOut) error
FromWandbIntegrationOut overwrites any union data inside the ClassifierDetailedJobOut_Integrations_Item as the provided WandbIntegrationOut
func (ClassifierDetailedJobOut_Integrations_Item) MarshalJSON ¶
func (t ClassifierDetailedJobOut_Integrations_Item) MarshalJSON() ([]byte, error)
func (*ClassifierDetailedJobOut_Integrations_Item) MergeWandbIntegrationOut ¶
func (t *ClassifierDetailedJobOut_Integrations_Item) MergeWandbIntegrationOut(v WandbIntegrationOut) error
MergeWandbIntegrationOut performs a merge with any union data inside the ClassifierDetailedJobOut_Integrations_Item, using the provided WandbIntegrationOut
func (*ClassifierDetailedJobOut_Integrations_Item) UnmarshalJSON ¶
func (t *ClassifierDetailedJobOut_Integrations_Item) UnmarshalJSON(b []byte) error
func (ClassifierDetailedJobOut_Integrations_Item) ValueByDiscriminator ¶
func (t ClassifierDetailedJobOut_Integrations_Item) ValueByDiscriminator() (interface{}, error)
type ClassifierFTModelOut ¶
type ClassifierFTModelOut struct {
Aliases *[]string `json:"aliases,omitempty"`
Archived bool `json:"archived"`
Capabilities FTModelCapabilitiesOut `json:"capabilities"`
ClassifierTargets []ClassifierTargetOut `json:"classifier_targets"`
Created int `json:"created"`
Description *string `json:"description,omitempty"`
Id string `json:"id"`
Job openapi_types.UUID `json:"job"`
MaxContextLength *int `json:"max_context_length,omitempty"`
ModelType *ClassifierFTModelOutModelType `json:"model_type,omitempty"`
Name *string `json:"name,omitempty"`
Object *ClassifierFTModelOutObject `json:"object,omitempty"`
OwnedBy string `json:"owned_by"`
Root string `json:"root"`
RootVersion string `json:"root_version"`
WorkspaceId string `json:"workspace_id"`
}
ClassifierFTModelOut defines model for ClassifierFTModelOut.
type ClassifierFTModelOutModelType ¶
type ClassifierFTModelOutModelType string
ClassifierFTModelOutModelType defines model for ClassifierFTModelOut.ModelType.
const (
ClassifierFTModelOutModelTypeClassifier ClassifierFTModelOutModelType = "classifier"
)
Defines values for ClassifierFTModelOutModelType.
func (ClassifierFTModelOutModelType) Valid ¶
func (e ClassifierFTModelOutModelType) Valid() bool
Valid indicates whether the value is a known member of the ClassifierFTModelOutModelType enum.
type ClassifierFTModelOutObject ¶
type ClassifierFTModelOutObject string
ClassifierFTModelOutObject defines model for ClassifierFTModelOut.Object.
const (
ClassifierFTModelOutObjectModel ClassifierFTModelOutObject = "model"
)
Defines values for ClassifierFTModelOutObject.
func (ClassifierFTModelOutObject) Valid ¶
func (e ClassifierFTModelOutObject) Valid() bool
Valid indicates whether the value is a known member of the ClassifierFTModelOutObject enum.
type ClassifierJobOut ¶
type ClassifierJobOut struct {
AutoStart bool `json:"auto_start"`
// CreatedAt The UNIX timestamp (in seconds) for when the fine-tuning job was created.
CreatedAt int `json:"created_at"`
// FineTunedModel The name of the fine-tuned model that is being created. The value will be `null` if the fine-tuning job is still running.
FineTunedModel *string `json:"fine_tuned_model,omitempty"`
Hyperparameters ClassifierTrainingParameters `json:"hyperparameters"`
// Id The ID of the job.
Id openapi_types.UUID `json:"id"`
// Integrations A list of integrations enabled for your fine-tuning job.
Integrations *[]ClassifierJobOut_Integrations_Item `json:"integrations,omitempty"`
// JobType The type of job (`FT` for fine-tuning).
JobType *ClassifierJobOutJobType `json:"job_type,omitempty"`
Metadata *JobMetadataOut `json:"metadata,omitempty"`
Model string `json:"model"`
// ModifiedAt The UNIX timestamp (in seconds) for when the fine-tuning job was last modified.
ModifiedAt int `json:"modified_at"`
// Object The object type of the fine-tuning job.
Object *ClassifierJobOutObject `json:"object,omitempty"`
// Status The current status of the fine-tuning job.
Status ClassifierJobOutStatus `json:"status"`
// Suffix Optional text/code that adds more context for the model. When given a `prompt` and a `suffix` the model will fill what is between them. When `suffix` is not provided, the model will simply execute completion starting with `prompt`.
Suffix *string `json:"suffix,omitempty"`
// TrainedTokens Total number of tokens trained.
TrainedTokens *int `json:"trained_tokens,omitempty"`
// TrainingFiles A list containing the IDs of uploaded files that contain training data.
TrainingFiles []openapi_types.UUID `json:"training_files"`
// ValidationFiles A list containing the IDs of uploaded files that contain validation data.
ValidationFiles *[]openapi_types.UUID `json:"validation_files,omitempty"`
}
ClassifierJobOut defines model for ClassifierJobOut.
type ClassifierJobOutJobType ¶
type ClassifierJobOutJobType string
ClassifierJobOutJobType The type of job (`FT` for fine-tuning).
const (
ClassifierJobOutJobTypeClassifier ClassifierJobOutJobType = "classifier"
)
Defines values for ClassifierJobOutJobType.
func (ClassifierJobOutJobType) Valid ¶
func (e ClassifierJobOutJobType) Valid() bool
Valid indicates whether the value is a known member of the ClassifierJobOutJobType enum.
type ClassifierJobOutObject ¶
type ClassifierJobOutObject string
ClassifierJobOutObject The object type of the fine-tuning job.
const (
ClassifierJobOutObjectJob ClassifierJobOutObject = "job"
)
Defines values for ClassifierJobOutObject.
func (ClassifierJobOutObject) Valid ¶
func (e ClassifierJobOutObject) Valid() bool
Valid indicates whether the value is a known member of the ClassifierJobOutObject enum.
type ClassifierJobOutStatus ¶
type ClassifierJobOutStatus string
ClassifierJobOutStatus The current status of the fine-tuning job.
const ( ClassifierJobOutStatusCANCELLATIONREQUESTED ClassifierJobOutStatus = "CANCELLATION_REQUESTED" ClassifierJobOutStatusCANCELLED ClassifierJobOutStatus = "CANCELLED" ClassifierJobOutStatusFAILED ClassifierJobOutStatus = "FAILED" ClassifierJobOutStatusFAILEDVALIDATION ClassifierJobOutStatus = "FAILED_VALIDATION" ClassifierJobOutStatusQUEUED ClassifierJobOutStatus = "QUEUED" ClassifierJobOutStatusRUNNING ClassifierJobOutStatus = "RUNNING" ClassifierJobOutStatusSTARTED ClassifierJobOutStatus = "STARTED" ClassifierJobOutStatusSUCCESS ClassifierJobOutStatus = "SUCCESS" ClassifierJobOutStatusVALIDATED ClassifierJobOutStatus = "VALIDATED" ClassifierJobOutStatusVALIDATING ClassifierJobOutStatus = "VALIDATING" )
Defines values for ClassifierJobOutStatus.
func (ClassifierJobOutStatus) Valid ¶
func (e ClassifierJobOutStatus) Valid() bool
Valid indicates whether the value is a known member of the ClassifierJobOutStatus enum.
type ClassifierJobOut_Integrations_Item ¶
type ClassifierJobOut_Integrations_Item struct {
// contains filtered or unexported fields
}
ClassifierJobOut_Integrations_Item defines model for ClassifierJobOut.integrations.Item.
func (ClassifierJobOut_Integrations_Item) AsWandbIntegrationOut ¶
func (t ClassifierJobOut_Integrations_Item) AsWandbIntegrationOut() (WandbIntegrationOut, error)
AsWandbIntegrationOut returns the union data inside the ClassifierJobOut_Integrations_Item as a WandbIntegrationOut
func (ClassifierJobOut_Integrations_Item) Discriminator ¶
func (t ClassifierJobOut_Integrations_Item) Discriminator() (string, error)
func (*ClassifierJobOut_Integrations_Item) FromWandbIntegrationOut ¶
func (t *ClassifierJobOut_Integrations_Item) FromWandbIntegrationOut(v WandbIntegrationOut) error
FromWandbIntegrationOut overwrites any union data inside the ClassifierJobOut_Integrations_Item as the provided WandbIntegrationOut
func (ClassifierJobOut_Integrations_Item) MarshalJSON ¶
func (t ClassifierJobOut_Integrations_Item) MarshalJSON() ([]byte, error)
func (*ClassifierJobOut_Integrations_Item) MergeWandbIntegrationOut ¶
func (t *ClassifierJobOut_Integrations_Item) MergeWandbIntegrationOut(v WandbIntegrationOut) error
MergeWandbIntegrationOut performs a merge with any union data inside the ClassifierJobOut_Integrations_Item, using the provided WandbIntegrationOut
func (*ClassifierJobOut_Integrations_Item) UnmarshalJSON ¶
func (t *ClassifierJobOut_Integrations_Item) UnmarshalJSON(b []byte) error
func (ClassifierJobOut_Integrations_Item) ValueByDiscriminator ¶
func (t ClassifierJobOut_Integrations_Item) ValueByDiscriminator() (interface{}, error)
type ClassifierTargetIn ¶
type ClassifierTargetIn struct {
Labels []string `json:"labels"`
LossFunction *FTClassifierLossFunction `json:"loss_function,omitempty"`
Name string `json:"name"`
Weight *float32 `json:"weight,omitempty"`
}
ClassifierTargetIn defines model for ClassifierTargetIn.
type ClassifierTargetOut ¶
type ClassifierTargetOut struct {
Labels []string `json:"labels"`
LossFunction FTClassifierLossFunction `json:"loss_function"`
Name string `json:"name"`
Weight float32 `json:"weight"`
}
ClassifierTargetOut defines model for ClassifierTargetOut.
type ClassifierTrainingParameters ¶
type ClassifierTrainingParameters struct {
Epochs *float32 `json:"epochs,omitempty"`
LearningRate *float32 `json:"learning_rate,omitempty"`
SeqLen *int `json:"seq_len,omitempty"`
TrainingSteps *int `json:"training_steps,omitempty"`
WarmupFraction *float32 `json:"warmup_fraction,omitempty"`
WeightDecay *float32 `json:"weight_decay,omitempty"`
}
ClassifierTrainingParameters defines model for ClassifierTrainingParameters.
type ClassifierTrainingParametersIn ¶
type ClassifierTrainingParametersIn struct {
Epochs *float32 `json:"epochs,omitempty"`
// LearningRate A parameter describing how much to adjust the pre-trained model's weights in response to the estimated error each time the weights are updated during the fine-tuning process.
LearningRate *float32 `json:"learning_rate,omitempty"`
SeqLen *int `json:"seq_len,omitempty"`
// TrainingSteps The number of training steps to perform. A training step refers to a single update of the model weights during the fine-tuning process. This update is typically calculated using a batch of samples from the training dataset.
TrainingSteps *int `json:"training_steps,omitempty"`
// WarmupFraction (Advanced Usage) A parameter that specifies the percentage of the total training steps at which the learning rate warm-up phase ends. During this phase, the learning rate gradually increases from a small value to the initial learning rate, helping to stabilize the training process and improve convergence. Similar to `pct_start` in [mistral-finetune](https://github.com/mistralai/mistral-finetune)
WarmupFraction *float32 `json:"warmup_fraction,omitempty"`
// WeightDecay (Advanced Usage) Weight decay adds a term to the loss function that is proportional to the sum of the squared weights. This term reduces the magnitude of the weights and prevents them from growing too large.
WeightDecay *float32 `json:"weight_decay,omitempty"`
}
ClassifierTrainingParametersIn The fine-tuning hyperparameter settings used in a classifier fine-tune job.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AgentsApiV1AgentsCreate ¶
func (c *Client) AgentsApiV1AgentsCreate(ctx context.Context, body AgentsApiV1AgentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1AgentsCreate Create a agent that can be used within a conversation.
Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/agents (the `AgentsApiV1AgentsCreate` operationId).
func (*Client) AgentsApiV1AgentsCreateOrUpdateAlias ¶
func (c *Client) AgentsApiV1AgentsCreateOrUpdateAlias(ctx context.Context, agentId string, params *AgentsApiV1AgentsCreateOrUpdateAliasParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1AgentsCreateOrUpdateAlias Create or update an agent version alias.
Create a new alias or update an existing alias to point to a specific version. Aliases are unique per agent and can be reassigned to different versions.
Corresponds with PUT /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsCreateOrUpdateAlias` operationId).
func (*Client) AgentsApiV1AgentsCreateWithBody ¶
func (c *Client) AgentsApiV1AgentsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1AgentsCreateWithBody Create a agent that can be used within a conversation.
Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.
Takes any type of body and a specified content type.
Corresponds with POST /v1/agents (the `AgentsApiV1AgentsCreate` operationId).
func (*Client) AgentsApiV1AgentsDelete ¶
func (c *Client) AgentsApiV1AgentsDelete(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1AgentsDelete Delete an agent entity.
Corresponds with DELETE /v1/agents/{agent_id} (the `AgentsApiV1AgentsDelete` operationId).
func (*Client) AgentsApiV1AgentsDeleteAlias ¶
func (c *Client) AgentsApiV1AgentsDeleteAlias(ctx context.Context, agentId string, params *AgentsApiV1AgentsDeleteAliasParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1AgentsDeleteAlias Delete an agent version alias.
Delete an existing alias for an agent.
Corresponds with DELETE /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsDeleteAlias` operationId).
func (*Client) AgentsApiV1AgentsGet ¶
func (c *Client) AgentsApiV1AgentsGet(ctx context.Context, agentId string, params *AgentsApiV1AgentsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1AgentsGet Retrieve an agent entity.
Given an agent, retrieve an agent entity with its attributes. The agent_version parameter can be an integer version number or a string alias.
Corresponds with GET /v1/agents/{agent_id} (the `AgentsApiV1AgentsGet` operationId).
func (*Client) AgentsApiV1AgentsGetVersion ¶
func (c *Client) AgentsApiV1AgentsGetVersion(ctx context.Context, agentId string, version string, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1AgentsGetVersion Retrieve a specific version of an agent.
Get a specific agent version by version number.
Corresponds with GET /v1/agents/{agent_id}/versions/{version} (the `AgentsApiV1AgentsGetVersion` operationId).
func (*Client) AgentsApiV1AgentsList ¶
func (c *Client) AgentsApiV1AgentsList(ctx context.Context, params *AgentsApiV1AgentsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1AgentsList List agent entities.
Retrieve a list of agent entities sorted by creation time. Deprecated: some features such as agent sharing are not supported by this endpoint. Use the cursor-paginated `GET /v1/agents/pages` instead.
Corresponds with GET /v1/agents (the `AgentsApiV1AgentsList` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) AgentsApiV1AgentsListPages ¶
func (c *Client) AgentsApiV1AgentsListPages(ctx context.Context, params *AgentsApiV1AgentsListPagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1AgentsListPages List agent entities, cursor-paginated.
Retrieve a page of agent entities. Unlike the deprecated `GET /v1/agents`, this endpoint paginates by opaque cursor and honors per-agent sharing, returning only agents the caller is authorized to see.
Corresponds with GET /v1/agents/pages (the `AgentsApiV1AgentsListPages` operationId).
func (*Client) AgentsApiV1AgentsListVersionAliases ¶
func (c *Client) AgentsApiV1AgentsListVersionAliases(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1AgentsListVersionAliases List all aliases for an agent.
Retrieve all version aliases for a specific agent.
Corresponds with GET /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsListVersionAliases` operationId).
func (*Client) AgentsApiV1AgentsListVersions ¶
func (c *Client) AgentsApiV1AgentsListVersions(ctx context.Context, agentId string, params *AgentsApiV1AgentsListVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1AgentsListVersions List all versions of an agent.
Retrieve all versions for a specific agent with full agent context. Supports pagination.
Corresponds with GET /v1/agents/{agent_id}/versions (the `AgentsApiV1AgentsListVersions` operationId).
func (*Client) AgentsApiV1AgentsUpdate ¶
func (c *Client) AgentsApiV1AgentsUpdate(ctx context.Context, agentId string, body AgentsApiV1AgentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1AgentsUpdate Update an agent entity.
Update an agent attributes and create a new version.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/agents/{agent_id} (the `AgentsApiV1AgentsUpdate` operationId).
func (*Client) AgentsApiV1AgentsUpdateVersion ¶
func (c *Client) AgentsApiV1AgentsUpdateVersion(ctx context.Context, agentId string, params *AgentsApiV1AgentsUpdateVersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1AgentsUpdateVersion Update an agent version.
Switch the version of an agent.
Corresponds with PATCH /v1/agents/{agent_id}/version (the `AgentsApiV1AgentsUpdateVersion` operationId).
func (*Client) AgentsApiV1AgentsUpdateWithBody ¶
func (c *Client) AgentsApiV1AgentsUpdateWithBody(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1AgentsUpdateWithBody Update an agent entity.
Update an agent attributes and create a new version.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/agents/{agent_id} (the `AgentsApiV1AgentsUpdate` operationId).
func (*Client) AgentsApiV1ConversationsAppend ¶
func (c *Client) AgentsApiV1ConversationsAppend(ctx context.Context, conversationId string, body AgentsApiV1ConversationsAppendJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1ConversationsAppend Append new entries to an existing conversation.
Run completion on the history of the conversation and the user entries. Return the new created entries.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsAppend` operationId).
func (*Client) AgentsApiV1ConversationsAppendStream ¶
func (c *Client) AgentsApiV1ConversationsAppendStream(ctx context.Context, conversationId string, body AgentsApiV1ConversationsAppendStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1ConversationsAppendStream Append new entries to an existing conversation.
Run completion on the history of the conversation and the user entries. Return the new created entries.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/conversations/{conversation_id}#stream (the `AgentsApiV1ConversationsAppendStream` operationId).
func (*Client) AgentsApiV1ConversationsAppendStreamWithBody ¶
func (c *Client) AgentsApiV1ConversationsAppendStreamWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1ConversationsAppendStreamWithBody Append new entries to an existing conversation.
Run completion on the history of the conversation and the user entries. Return the new created entries.
Takes any type of body and a specified content type.
Corresponds with POST /v1/conversations/{conversation_id}#stream (the `AgentsApiV1ConversationsAppendStream` operationId).
func (*Client) AgentsApiV1ConversationsAppendWithBody ¶
func (c *Client) AgentsApiV1ConversationsAppendWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1ConversationsAppendWithBody Append new entries to an existing conversation.
Run completion on the history of the conversation and the user entries. Return the new created entries.
Takes any type of body and a specified content type.
Corresponds with POST /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsAppend` operationId).
func (*Client) AgentsApiV1ConversationsDelete ¶
func (c *Client) AgentsApiV1ConversationsDelete(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1ConversationsDelete Delete a conversation.
Delete a conversation given a conversation_id.
Corresponds with DELETE /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsDelete` operationId).
func (*Client) AgentsApiV1ConversationsGet ¶
func (c *Client) AgentsApiV1ConversationsGet(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1ConversationsGet Retrieve a conversation information.
Given a conversation_id retrieve a conversation entity with its attributes.
Corresponds with GET /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsGet` operationId).
func (*Client) AgentsApiV1ConversationsHistory ¶
func (c *Client) AgentsApiV1ConversationsHistory(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1ConversationsHistory Retrieve all entries in a conversation.
Given a conversation_id retrieve all the entries belonging to that conversation. The entries are sorted in the order they were appended, those can be messages, connectors or function_call.
Corresponds with GET /v1/conversations/{conversation_id}/history (the `AgentsApiV1ConversationsHistory` operationId).
func (*Client) AgentsApiV1ConversationsList ¶
func (c *Client) AgentsApiV1ConversationsList(ctx context.Context, params *AgentsApiV1ConversationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1ConversationsList List all created conversations.
Retrieve a list of conversation entities sorted by creation time.
Corresponds with GET /v1/conversations (the `AgentsApiV1ConversationsList` operationId).
func (*Client) AgentsApiV1ConversationsMessages ¶
func (c *Client) AgentsApiV1ConversationsMessages(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1ConversationsMessages Retrieve all messages in a conversation.
Given a conversation_id retrieve all the messages belonging to that conversation. This is similar to retrieving all entries except we filter the messages only.
Corresponds with GET /v1/conversations/{conversation_id}/messages (the `AgentsApiV1ConversationsMessages` operationId).
func (*Client) AgentsApiV1ConversationsRestart ¶
func (c *Client) AgentsApiV1ConversationsRestart(ctx context.Context, conversationId string, body AgentsApiV1ConversationsRestartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1ConversationsRestart Restart a conversation starting from a given entry.
Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/conversations/{conversation_id}/restart (the `AgentsApiV1ConversationsRestart` operationId).
func (*Client) AgentsApiV1ConversationsRestartStream ¶
func (c *Client) AgentsApiV1ConversationsRestartStream(ctx context.Context, conversationId string, body AgentsApiV1ConversationsRestartStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1ConversationsRestartStream Restart a conversation starting from a given entry.
Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/conversations/{conversation_id}/restart#stream (the `AgentsApiV1ConversationsRestartStream` operationId).
func (*Client) AgentsApiV1ConversationsRestartStreamWithBody ¶
func (c *Client) AgentsApiV1ConversationsRestartStreamWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1ConversationsRestartStreamWithBody Restart a conversation starting from a given entry.
Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
Takes any type of body and a specified content type.
Corresponds with POST /v1/conversations/{conversation_id}/restart#stream (the `AgentsApiV1ConversationsRestartStream` operationId).
func (*Client) AgentsApiV1ConversationsRestartWithBody ¶
func (c *Client) AgentsApiV1ConversationsRestartWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1ConversationsRestartWithBody Restart a conversation starting from a given entry.
Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
Takes any type of body and a specified content type.
Corresponds with POST /v1/conversations/{conversation_id}/restart (the `AgentsApiV1ConversationsRestart` operationId).
func (*Client) AgentsApiV1ConversationsStart ¶
func (c *Client) AgentsApiV1ConversationsStart(ctx context.Context, body AgentsApiV1ConversationsStartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1ConversationsStart Create a conversation and append entries to it.
Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/conversations (the `AgentsApiV1ConversationsStart` operationId).
func (*Client) AgentsApiV1ConversationsStartStream ¶
func (c *Client) AgentsApiV1ConversationsStartStream(ctx context.Context, body AgentsApiV1ConversationsStartStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1ConversationsStartStream Create a conversation and append entries to it.
Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/conversations#stream (the `AgentsApiV1ConversationsStartStream` operationId).
func (*Client) AgentsApiV1ConversationsStartStreamWithBody ¶
func (c *Client) AgentsApiV1ConversationsStartStreamWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1ConversationsStartStreamWithBody Create a conversation and append entries to it.
Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
Takes any type of body and a specified content type.
Corresponds with POST /v1/conversations#stream (the `AgentsApiV1ConversationsStartStream` operationId).
func (*Client) AgentsApiV1ConversationsStartWithBody ¶
func (c *Client) AgentsApiV1ConversationsStartWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsApiV1ConversationsStartWithBody Create a conversation and append entries to it.
Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
Takes any type of body and a specified content type.
Corresponds with POST /v1/conversations (the `AgentsApiV1ConversationsStart` operationId).
func (*Client) AgentsCompletionV1AgentsCompletionsPost ¶
func (c *Client) AgentsCompletionV1AgentsCompletionsPost(ctx context.Context, body AgentsCompletionV1AgentsCompletionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsCompletionV1AgentsCompletionsPost Agents Completion
Takes a body of the `application/json` content type.
Corresponds with POST /v1/agents/completions (the `AgentsCompletionV1AgentsCompletionsPost` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) AgentsCompletionV1AgentsCompletionsPostWithBody ¶
func (c *Client) AgentsCompletionV1AgentsCompletionsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentsCompletionV1AgentsCompletionsPostWithBody Agents Completion
Takes any type of body and a specified content type.
Corresponds with POST /v1/agents/completions (the `AgentsCompletionV1AgentsCompletionsPost` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut ¶
func (c *Client) ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*http.Response, error)
ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut Archive Workflow
Corresponds with PUT /v1/workflows/{workflow_identifier}/archive (the `ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut` operationId).
func (*Client) AudioApiV1TranscriptionsPostStreamWithBody ¶
func (c *Client) AudioApiV1TranscriptionsPostStreamWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AudioApiV1TranscriptionsPostStreamWithBody Create Streaming Transcription (SSE)
Takes any type of body and a specified content type.
Corresponds with POST /v1/audio/transcriptions#stream (the `AudioApiV1TranscriptionsPostStream` operationId).
func (*Client) AudioApiV1TranscriptionsPostWithBody ¶
func (c *Client) AudioApiV1TranscriptionsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AudioApiV1TranscriptionsPostWithBody Create Transcription
Takes any type of body and a specified content type.
Corresponds with POST /v1/audio/transcriptions (the `AudioApiV1TranscriptionsPost` operationId).
func (*Client) BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost ¶
func (c *Client) BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost(ctx context.Context, body BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost Batch Cancel Workflow Executions
Takes a body of the `application/json` content type.
Corresponds with POST /v1/workflows/executions/cancel (the `BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost` operationId).
func (*Client) BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBody ¶
func (c *Client) BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBody Batch Cancel Workflow Executions
Takes any type of body and a specified content type.
Corresponds with POST /v1/workflows/executions/cancel (the `BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost` operationId).
func (*Client) BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost ¶
func (c *Client) BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost(ctx context.Context, body BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost Batch Terminate Workflow Executions
Takes a body of the `application/json` content type.
Corresponds with POST /v1/workflows/executions/terminate (the `BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost` operationId).
func (*Client) BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBody ¶
func (c *Client) BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBody Batch Terminate Workflow Executions
Takes any type of body and a specified content type.
Corresponds with POST /v1/workflows/executions/terminate (the `BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost` operationId).
func (*Client) CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost ¶
func (c *Client) CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost Cancel Workflow Execution
Corresponds with POST /v1/workflows/executions/{execution_id}/cancel (the `CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost` operationId).
func (*Client) ChatClassificationsV1ChatClassificationsPost ¶
func (c *Client) ChatClassificationsV1ChatClassificationsPost(ctx context.Context, body ChatClassificationsV1ChatClassificationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ChatClassificationsV1ChatClassificationsPost Chat Classifications
Takes a body of the `application/json` content type.
Corresponds with POST /v1/chat/classifications (the `ChatClassificationsV1ChatClassificationsPost` operationId).
func (*Client) ChatClassificationsV1ChatClassificationsPostWithBody ¶
func (c *Client) ChatClassificationsV1ChatClassificationsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ChatClassificationsV1ChatClassificationsPostWithBody Chat Classifications
Takes any type of body and a specified content type.
Corresponds with POST /v1/chat/classifications (the `ChatClassificationsV1ChatClassificationsPost` operationId).
func (*Client) ChatCompletionV1ChatCompletionsPost ¶
func (c *Client) ChatCompletionV1ChatCompletionsPost(ctx context.Context, body ChatCompletionV1ChatCompletionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ChatCompletionV1ChatCompletionsPost Chat Completion
Takes a body of the `application/json` content type.
Corresponds with POST /v1/chat/completions (the `ChatCompletionV1ChatCompletionsPost` operationId).
func (*Client) ChatCompletionV1ChatCompletionsPostWithBody ¶
func (c *Client) ChatCompletionV1ChatCompletionsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ChatCompletionV1ChatCompletionsPostWithBody Chat Completion
Takes any type of body and a specified content type.
Corresponds with POST /v1/chat/completions (the `ChatCompletionV1ChatCompletionsPost` operationId).
func (*Client) ChatModerationsV1ChatModerationsPost ¶
func (c *Client) ChatModerationsV1ChatModerationsPost(ctx context.Context, body ChatModerationsV1ChatModerationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ChatModerationsV1ChatModerationsPost Chat Moderations
Takes a body of the `application/json` content type.
Corresponds with POST /v1/chat/moderations (the `ChatModerationsV1ChatModerationsPost` operationId).
func (*Client) ChatModerationsV1ChatModerationsPostWithBody ¶
func (c *Client) ChatModerationsV1ChatModerationsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ChatModerationsV1ChatModerationsPostWithBody Chat Moderations
Takes any type of body and a specified content type.
Corresponds with POST /v1/chat/moderations (the `ChatModerationsV1ChatModerationsPost` operationId).
func (*Client) ClassificationsV1ClassificationsPost ¶
func (c *Client) ClassificationsV1ClassificationsPost(ctx context.Context, body ClassificationsV1ClassificationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ClassificationsV1ClassificationsPost Classifications
Takes a body of the `application/json` content type.
Corresponds with POST /v1/classifications (the `ClassificationsV1ClassificationsPost` operationId).
func (*Client) ClassificationsV1ClassificationsPostWithBody ¶
func (c *Client) ClassificationsV1ClassificationsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ClassificationsV1ClassificationsPostWithBody Classifications
Takes any type of body and a specified content type.
Corresponds with POST /v1/classifications (the `ClassificationsV1ClassificationsPost` operationId).
func (*Client) ConnectorCallToolV1 ¶
func (c *Client) ConnectorCallToolV1(ctx context.Context, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, body ConnectorCallToolV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorCallToolV1 Call Connector Tool
Call a tool on an MCP connector.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/connectors/{connector_id_or_name}/tools/{tool_name}/call (the `ConnectorCallToolV1` operationId).
func (*Client) ConnectorCallToolV1WithBody ¶
func (c *Client) ConnectorCallToolV1WithBody(ctx context.Context, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorCallToolV1WithBody Call Connector Tool
Call a tool on an MCP connector.
Takes any type of body and a specified content type.
Corresponds with POST /v1/connectors/{connector_id_or_name}/tools/{tool_name}/call (the `ConnectorCallToolV1` operationId).
func (*Client) ConnectorCreateOrUpdateOrganizationCredentialsV1 ¶
func (c *Client) ConnectorCreateOrUpdateOrganizationCredentialsV1(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateOrganizationCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorCreateOrUpdateOrganizationCredentialsV1 Create or update organization credentials for a connector.
Create or update credentials at the organization level for a given connector.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorCreateOrUpdateOrganizationCredentialsV1` operationId).
func (*Client) ConnectorCreateOrUpdateOrganizationCredentialsV1WithBody ¶
func (c *Client) ConnectorCreateOrUpdateOrganizationCredentialsV1WithBody(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorCreateOrUpdateOrganizationCredentialsV1WithBody Create or update organization credentials for a connector.
Create or update credentials at the organization level for a given connector.
Takes any type of body and a specified content type.
Corresponds with POST /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorCreateOrUpdateOrganizationCredentialsV1` operationId).
func (*Client) ConnectorCreateOrUpdateUserCredentialsV1 ¶
func (c *Client) ConnectorCreateOrUpdateUserCredentialsV1(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateUserCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorCreateOrUpdateUserCredentialsV1 Create or update user credentials for a connector.
Create or update credentials at the user level for a given connector.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorCreateOrUpdateUserCredentialsV1` operationId).
func (*Client) ConnectorCreateOrUpdateUserCredentialsV1WithBody ¶
func (c *Client) ConnectorCreateOrUpdateUserCredentialsV1WithBody(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorCreateOrUpdateUserCredentialsV1WithBody Create or update user credentials for a connector.
Create or update credentials at the user level for a given connector.
Takes any type of body and a specified content type.
Corresponds with POST /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorCreateOrUpdateUserCredentialsV1` operationId).
func (*Client) ConnectorCreateOrUpdateWorkspaceCredentialsV1 ¶
func (c *Client) ConnectorCreateOrUpdateWorkspaceCredentialsV1(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateWorkspaceCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorCreateOrUpdateWorkspaceCredentialsV1 Create or update workspace credentials for a connector.
Create or update credentials at the workspace level for a given connector.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorCreateOrUpdateWorkspaceCredentialsV1` operationId).
func (*Client) ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBody ¶
func (c *Client) ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBody(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBody Create or update workspace credentials for a connector.
Create or update credentials at the workspace level for a given connector.
Takes any type of body and a specified content type.
Corresponds with POST /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorCreateOrUpdateWorkspaceCredentialsV1` operationId).
func (*Client) ConnectorCreateV1 ¶
func (c *Client) ConnectorCreateV1(ctx context.Context, body ConnectorCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorCreateV1 Create a new connector.
Create a new MCP connector. You can customize its visibility, url and auth type.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/connectors (the `ConnectorCreateV1` operationId).
func (*Client) ConnectorCreateV1WithBody ¶
func (c *Client) ConnectorCreateV1WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorCreateV1WithBody Create a new connector.
Create a new MCP connector. You can customize its visibility, url and auth type.
Takes any type of body and a specified content type.
Corresponds with POST /v1/connectors (the `ConnectorCreateV1` operationId).
func (*Client) ConnectorDeleteOrganizationCredentialsV1 ¶
func (c *Client) ConnectorDeleteOrganizationCredentialsV1(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorDeleteOrganizationCredentialsV1 Delete organization credentials for a connector.
Delete credentials at the organization level for a given connector.
Corresponds with DELETE /v1/connectors/{connector_id_or_name}/organization/credentials/{credentials_name} (the `ConnectorDeleteOrganizationCredentialsV1` operationId).
func (*Client) ConnectorDeleteUserCredentialsV1 ¶
func (c *Client) ConnectorDeleteUserCredentialsV1(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorDeleteUserCredentialsV1 Delete user credentials for a connector.
Delete credentials at the user level for a given connector.
Corresponds with DELETE /v1/connectors/{connector_id_or_name}/user/credentials/{credentials_name} (the `ConnectorDeleteUserCredentialsV1` operationId).
func (*Client) ConnectorDeleteV1 ¶
func (c *Client) ConnectorDeleteV1(ctx context.Context, connectorId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorDeleteV1 Delete a connector.
Delete a connector by its ID.
Corresponds with DELETE /v1/connectors/{connector_id}#id (the `ConnectorDeleteV1` operationId).
func (*Client) ConnectorDeleteWorkspaceCredentialsV1 ¶
func (c *Client) ConnectorDeleteWorkspaceCredentialsV1(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorDeleteWorkspaceCredentialsV1 Delete workspace credentials for a connector.
Delete credentials at the workspace level for a given connector.
Corresponds with DELETE /v1/connectors/{connector_id_or_name}/workspace/credentials/{credentials_name} (the `ConnectorDeleteWorkspaceCredentialsV1` operationId).
func (*Client) ConnectorGetAuthUrlV1 ¶
func (c *Client) ConnectorGetAuthUrlV1(ctx context.Context, connectorIdOrName string, params *ConnectorGetAuthUrlV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorGetAuthUrlV1 Get the auth URL for a connector.
Get the OAuth2 authorization URL for a connector to initiate user authentication.
Corresponds with GET /v1/connectors/{connector_id_or_name}/auth_url (the `ConnectorGetAuthUrlV1` operationId).
func (*Client) ConnectorGetAuthenticationMethodsV1 ¶
func (c *Client) ConnectorGetAuthenticationMethodsV1(ctx context.Context, connectorIdOrName string, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorGetAuthenticationMethodsV1 Get authentication methods for a connector.
Get the authentication schema for a connector. Returns the list of supported authentication methods and their required headers.
Corresponds with GET /v1/connectors/{connector_id_or_name}/authentication_methods (the `ConnectorGetAuthenticationMethodsV1` operationId).
func (*Client) ConnectorGetV1 ¶
func (c *Client) ConnectorGetV1(ctx context.Context, connectorIdOrName string, params *ConnectorGetV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorGetV1 Get a connector.
Get a connector by its ID or name.
Corresponds with GET /v1/connectors/{connector_id_or_name}#idOrName (the `ConnectorGetV1` operationId).
func (*Client) ConnectorListOrganizationCredentialsV1 ¶
func (c *Client) ConnectorListOrganizationCredentialsV1(ctx context.Context, connectorIdOrName string, params *ConnectorListOrganizationCredentialsV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorListOrganizationCredentialsV1 List organization credentials for a connector.
List all credentials configured at the organization level for a given connector.
Corresponds with GET /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorListOrganizationCredentialsV1` operationId).
func (*Client) ConnectorListToolsV1 ¶
func (c *Client) ConnectorListToolsV1(ctx context.Context, connectorIdOrName string, params *ConnectorListToolsV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorListToolsV1 List tools for a connector.
List all tools available for an MCP connector.
Corresponds with GET /v1/connectors/{connector_id_or_name}/tools (the `ConnectorListToolsV1` operationId).
func (*Client) ConnectorListUserCredentialsV1 ¶
func (c *Client) ConnectorListUserCredentialsV1(ctx context.Context, connectorIdOrName string, params *ConnectorListUserCredentialsV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorListUserCredentialsV1 List user credentials for a connector.
List all credentials configured at the user level for a given connector.
Corresponds with GET /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorListUserCredentialsV1` operationId).
func (*Client) ConnectorListV1 ¶
func (c *Client) ConnectorListV1(ctx context.Context, params *ConnectorListV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorListV1 List all connectors.
List all your custom connectors with keyset pagination and filters.
Corresponds with GET /v1/connectors (the `ConnectorListV1` operationId).
func (*Client) ConnectorListWorkspaceCredentialsV1 ¶
func (c *Client) ConnectorListWorkspaceCredentialsV1(ctx context.Context, connectorIdOrName string, params *ConnectorListWorkspaceCredentialsV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorListWorkspaceCredentialsV1 List workspace credentials for a connector.
List all credentials configured at the workspace level for a given connector.
Corresponds with GET /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorListWorkspaceCredentialsV1` operationId).
func (*Client) ConnectorUpdateV1 ¶
func (c *Client) ConnectorUpdateV1(ctx context.Context, connectorId openapi_types.UUID, body ConnectorUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorUpdateV1 Update a connector.
Update a connector by its ID.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/connectors/{connector_id}#id (the `ConnectorUpdateV1` operationId).
func (*Client) ConnectorUpdateV1WithBody ¶
func (c *Client) ConnectorUpdateV1WithBody(ctx context.Context, connectorId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectorUpdateV1WithBody Update a connector.
Update a connector by its ID.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/connectors/{connector_id}#id (the `ConnectorUpdateV1` operationId).
func (*Client) CreateCampaignV1ObservabilityCampaignsPost ¶
func (c *Client) CreateCampaignV1ObservabilityCampaignsPost(ctx context.Context, body CreateCampaignV1ObservabilityCampaignsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCampaignV1ObservabilityCampaignsPost Create and start a new campaign
Takes a body of the `application/json` content type.
Corresponds with POST /v1/observability/campaigns (the `CreateCampaignV1ObservabilityCampaignsPost` operationId).
func (*Client) CreateCampaignV1ObservabilityCampaignsPostWithBody ¶
func (c *Client) CreateCampaignV1ObservabilityCampaignsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCampaignV1ObservabilityCampaignsPostWithBody Create and start a new campaign
Takes any type of body and a specified content type.
Corresponds with POST /v1/observability/campaigns (the `CreateCampaignV1ObservabilityCampaignsPost` operationId).
func (*Client) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost ¶
func (c *Client) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost(ctx context.Context, datasetId openapi_types.UUID, body CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost Add a conversation to the dataset
Takes a body of the `application/json` content type.
Corresponds with POST /v1/observability/datasets/{dataset_id}/records (the `CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost` operationId).
func (*Client) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBody ¶
func (c *Client) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBody Add a conversation to the dataset
Takes any type of body and a specified content type.
Corresponds with POST /v1/observability/datasets/{dataset_id}/records (the `CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost` operationId).
func (*Client) CreateDatasetV1ObservabilityDatasetsPost ¶
func (c *Client) CreateDatasetV1ObservabilityDatasetsPost(ctx context.Context, body CreateDatasetV1ObservabilityDatasetsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDatasetV1ObservabilityDatasetsPost Create a new empty dataset
Takes a body of the `application/json` content type.
Corresponds with POST /v1/observability/datasets (the `CreateDatasetV1ObservabilityDatasetsPost` operationId).
func (*Client) CreateDatasetV1ObservabilityDatasetsPostWithBody ¶
func (c *Client) CreateDatasetV1ObservabilityDatasetsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDatasetV1ObservabilityDatasetsPostWithBody Create a new empty dataset
Takes any type of body and a specified content type.
Corresponds with POST /v1/observability/datasets (the `CreateDatasetV1ObservabilityDatasetsPost` operationId).
func (*Client) CreateJudgeV1ObservabilityJudgesPost ¶
func (c *Client) CreateJudgeV1ObservabilityJudgesPost(ctx context.Context, body CreateJudgeV1ObservabilityJudgesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateJudgeV1ObservabilityJudgesPost Create a new judge
Takes a body of the `application/json` content type.
Corresponds with POST /v1/observability/judges (the `CreateJudgeV1ObservabilityJudgesPost` operationId).
func (*Client) CreateJudgeV1ObservabilityJudgesPostWithBody ¶
func (c *Client) CreateJudgeV1ObservabilityJudgesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateJudgeV1ObservabilityJudgesPostWithBody Create a new judge
Takes any type of body and a specified content type.
Corresponds with POST /v1/observability/judges (the `CreateJudgeV1ObservabilityJudgesPost` operationId).
func (*Client) CreateVoiceV1AudioVoicesPost ¶
func (c *Client) CreateVoiceV1AudioVoicesPost(ctx context.Context, body CreateVoiceV1AudioVoicesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVoiceV1AudioVoicesPost Create a new voice
Create a new voice with a base64-encoded audio sample.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/audio/voices (the `CreateVoiceV1AudioVoicesPost` operationId).
func (*Client) CreateVoiceV1AudioVoicesPostWithBody ¶
func (c *Client) CreateVoiceV1AudioVoicesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVoiceV1AudioVoicesPostWithBody Create a new voice
Create a new voice with a base64-encoded audio sample.
Takes any type of body and a specified content type.
Corresponds with POST /v1/audio/voices (the `CreateVoiceV1AudioVoicesPost` operationId).
func (*Client) DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete ¶
func (c *Client) DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete Delete a campaign
Corresponds with DELETE /v1/observability/campaigns/{campaign_id} (the `DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete` operationId).
func (*Client) DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete ¶
func (c *Client) DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete(ctx context.Context, datasetRecordId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete Delete a record from a dataset
Corresponds with DELETE /v1/observability/dataset-records/{dataset_record_id} (the `DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete` operationId).
func (*Client) DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost ¶
func (c *Client) DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost(ctx context.Context, body DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost Delete multiple records from datasets
Takes a body of the `application/json` content type.
Corresponds with POST /v1/observability/dataset-records/bulk-delete (the `DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost` operationId).
func (*Client) DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBody ¶
func (c *Client) DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBody Delete multiple records from datasets
Takes any type of body and a specified content type.
Corresponds with POST /v1/observability/dataset-records/bulk-delete (the `DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost` operationId).
func (*Client) DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete ¶
func (c *Client) DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete Delete a dataset
Corresponds with DELETE /v1/observability/datasets/{dataset_id} (the `DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete` operationId).
func (*Client) DeleteJudgeV1ObservabilityJudgesJudgeIdDelete ¶
func (c *Client) DeleteJudgeV1ObservabilityJudgesJudgeIdDelete(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteJudgeV1ObservabilityJudgesJudgeIdDelete Delete a judge
Corresponds with DELETE /v1/observability/judges/{judge_id} (the `DeleteJudgeV1ObservabilityJudgesJudgeIdDelete` operationId).
func (*Client) DeleteModelV1ModelsModelIdDelete ¶
func (c *Client) DeleteModelV1ModelsModelIdDelete(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteModelV1ModelsModelIdDelete Delete Model
Delete a fine-tuned model.
Corresponds with DELETE /v1/models/{model_id} (the `DeleteModelV1ModelsModelIdDelete` operationId).
func (*Client) DeleteVoiceV1AudioVoicesVoiceIdDelete ¶
func (c *Client) DeleteVoiceV1AudioVoicesVoiceIdDelete(ctx context.Context, voiceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVoiceV1AudioVoicesVoiceIdDelete Delete a custom voice
Corresponds with DELETE /v1/audio/voices/{voice_id} (the `DeleteVoiceV1AudioVoicesVoiceIdDelete` operationId).
func (*Client) EmbeddingsV1EmbeddingsPost ¶
func (c *Client) EmbeddingsV1EmbeddingsPost(ctx context.Context, body EmbeddingsV1EmbeddingsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EmbeddingsV1EmbeddingsPost Embeddings
Takes a body of the `application/json` content type.
Corresponds with POST /v1/embeddings (the `EmbeddingsV1EmbeddingsPost` operationId).
func (*Client) EmbeddingsV1EmbeddingsPostWithBody ¶
func (c *Client) EmbeddingsV1EmbeddingsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EmbeddingsV1EmbeddingsPostWithBody Embeddings
Takes any type of body and a specified content type.
Corresponds with POST /v1/embeddings (the `EmbeddingsV1EmbeddingsPost` operationId).
func (*Client) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost ¶
func (c *Client) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost(ctx context.Context, workflowRegistrationId openapi_types.UUID, body ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost Execute Workflow Registration
Takes a body of the `application/json` content type.
Corresponds with POST /v1/workflows/registrations/{workflow_registration_id}/execute (the `ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBody ¶
func (c *Client) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBody(ctx context.Context, workflowRegistrationId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBody Execute Workflow Registration
Takes any type of body and a specified content type.
Corresponds with POST /v1/workflows/registrations/{workflow_registration_id}/execute (the `ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*Client) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost ¶
func (c *Client) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost(ctx context.Context, workflowIdentifier string, body ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost Execute Workflow
Takes a body of the `application/json` content type.
Corresponds with POST /v1/workflows/{workflow_identifier}/execute (the `ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost` operationId).
func (*Client) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBody ¶
func (c *Client) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBody(ctx context.Context, workflowIdentifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBody Execute Workflow
Takes any type of body and a specified content type.
Corresponds with POST /v1/workflows/{workflow_identifier}/execute (the `ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost` operationId).
func (*Client) ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet ¶
func (c *Client) ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet Export to the Files API and retrieve presigned URL to download the resulting JSONL file
Corresponds with GET /v1/observability/datasets/{dataset_id}/exports/to-jsonl (the `ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet` operationId).
func (*Client) FilesApiRoutesDeleteFile ¶
func (c *Client) FilesApiRoutesDeleteFile(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
FilesApiRoutesDeleteFile Delete File
Delete a file.
Corresponds with DELETE /v1/files/{file_id} (the `FilesApiRoutesDeleteFile` operationId).
func (*Client) FilesApiRoutesDownloadFile ¶
func (c *Client) FilesApiRoutesDownloadFile(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
FilesApiRoutesDownloadFile Download File
Download a file.
Corresponds with GET /v1/files/{file_id}/content (the `FilesApiRoutesDownloadFile` operationId).
func (*Client) FilesApiRoutesGetSignedUrl ¶
func (c *Client) FilesApiRoutesGetSignedUrl(ctx context.Context, fileId openapi_types.UUID, params *FilesApiRoutesGetSignedUrlParams, reqEditors ...RequestEditorFn) (*http.Response, error)
FilesApiRoutesGetSignedUrl Get Signed Url
Corresponds with GET /v1/files/{file_id}/url (the `FilesApiRoutesGetSignedUrl` operationId).
func (*Client) FilesApiRoutesListFiles ¶
func (c *Client) FilesApiRoutesListFiles(ctx context.Context, params *FilesApiRoutesListFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
FilesApiRoutesListFiles List Files
Returns a list of files that belong to the user's organization.
Corresponds with GET /v1/files (the `FilesApiRoutesListFiles` operationId).
func (*Client) FilesApiRoutesRetrieveFile ¶
func (c *Client) FilesApiRoutesRetrieveFile(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
FilesApiRoutesRetrieveFile Retrieve File
Returns information about a specific file.
Corresponds with GET /v1/files/{file_id} (the `FilesApiRoutesRetrieveFile` operationId).
func (*Client) FilesApiRoutesUploadFileWithBody ¶
func (c *Client) FilesApiRoutesUploadFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
FilesApiRoutesUploadFileWithBody Upload File
Upload a file that can be used across various endpoints.
The size of individual files can be a maximum of 512 MB. The Fine-tuning API only supports .jsonl files.
Please contact us if you need to increase these storage limits.
Takes any type of body and a specified content type.
Corresponds with POST /v1/files (the `FilesApiRoutesUploadFile` operationId).
func (*Client) FimCompletionV1FimCompletionsPost ¶
func (c *Client) FimCompletionV1FimCompletionsPost(ctx context.Context, body FimCompletionV1FimCompletionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
FimCompletionV1FimCompletionsPost Fim Completion
FIM completion.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/fim/completions (the `FimCompletionV1FimCompletionsPost` operationId).
func (*Client) FimCompletionV1FimCompletionsPostWithBody ¶
func (c *Client) FimCompletionV1FimCompletionsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
FimCompletionV1FimCompletionsPostWithBody Fim Completion
FIM completion.
Takes any type of body and a specified content type.
Corresponds with POST /v1/fim/completions (the `FimCompletionV1FimCompletionsPost` operationId).
func (*Client) GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet ¶
func (c *Client) GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet Get campaign by id
Corresponds with GET /v1/observability/campaigns/{campaign_id} (the `GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet` operationId).
func (*Client) GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet ¶
func (c *Client) GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet(ctx context.Context, campaignId openapi_types.UUID, params *GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet Get event ids that were selected by the given campaign
Corresponds with GET /v1/observability/campaigns/{campaign_id}/selected-events (the `GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet` operationId).
func (*Client) GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet ¶
func (c *Client) GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet Get campaign status by campaign id
Corresponds with GET /v1/observability/campaigns/{campaign_id}/status (the `GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet` operationId).
func (*Client) GetCampaignsV1ObservabilityCampaignsGet ¶
func (c *Client) GetCampaignsV1ObservabilityCampaignsGet(ctx context.Context, params *GetCampaignsV1ObservabilityCampaignsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCampaignsV1ObservabilityCampaignsGet Get all campaigns
Corresponds with GET /v1/observability/campaigns (the `GetCampaignsV1ObservabilityCampaignsGet` operationId).
func (*Client) GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost ¶
func (c *Client) GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost(ctx context.Context, body GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost Alternative to /search that returns only the IDs and that can return many IDs at once
Takes a body of the `application/json` content type.
Corresponds with POST /v1/observability/chat-completion-events/search-ids (the `GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost` operationId).
func (*Client) GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBody ¶
func (c *Client) GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBody Alternative to /search that returns only the IDs and that can return many IDs at once
Takes any type of body and a specified content type.
Corresponds with POST /v1/observability/chat-completion-events/search-ids (the `GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost` operationId).
func (*Client) GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet ¶
func (c *Client) GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet Get Chat Completion Event
Corresponds with GET /v1/observability/chat-completion-events/{event_id} (the `GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet` operationId).
func (*Client) GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost ¶
func (c *Client) GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost(ctx context.Context, params *GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams, body GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost Get Chat Completion Events
Takes a body of the `application/json` content type.
Corresponds with POST /v1/observability/chat-completion-events/search (the `GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost` operationId).
func (*Client) GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBody ¶
func (c *Client) GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBody(ctx context.Context, params *GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBody Get Chat Completion Events
Takes any type of body and a specified content type.
Corresponds with POST /v1/observability/chat-completion-events/search (the `GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost` operationId).
func (*Client) GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost ¶
func (c *Client) GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost(ctx context.Context, fieldName string, body GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost Get Chat Completion Field Options Counts
Takes a body of the `application/json` content type.
Corresponds with POST /v1/observability/chat-completion-fields/{field_name}/options-counts (the `GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost` operationId).
func (*Client) GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBody ¶
func (c *Client) GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBody(ctx context.Context, fieldName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBody Get Chat Completion Field Options Counts
Takes any type of body and a specified content type.
Corresponds with POST /v1/observability/chat-completion-fields/{field_name}/options-counts (the `GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost` operationId).
func (*Client) GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet ¶
func (c *Client) GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet(ctx context.Context, fieldName string, params *GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet Get Chat Completion Field Options
Corresponds with GET /v1/observability/chat-completion-fields/{field_name}/options (the `GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet` operationId).
func (*Client) GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet ¶
func (c *Client) GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet Get Chat Completion Fields
Corresponds with GET /v1/observability/chat-completion-fields (the `GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet` operationId).
func (*Client) GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet ¶
func (c *Client) GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet Get dataset by id
Corresponds with GET /v1/observability/datasets/{dataset_id} (the `GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet` operationId).
func (*Client) GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet ¶
func (c *Client) GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet(ctx context.Context, datasetId openapi_types.UUID, taskId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet Get status of a dataset import task
Corresponds with GET /v1/observability/datasets/{dataset_id}/tasks/{task_id} (the `GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet` operationId).
func (*Client) GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet ¶
func (c *Client) GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet(ctx context.Context, datasetId openapi_types.UUID, params *GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet List import tasks for the given dataset
Corresponds with GET /v1/observability/datasets/{dataset_id}/tasks (the `GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet` operationId).
func (*Client) GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet ¶
func (c *Client) GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet(ctx context.Context, datasetRecordId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet Get the content of a given conversation from a dataset
Corresponds with GET /v1/observability/dataset-records/{dataset_record_id} (the `GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet` operationId).
func (*Client) GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet ¶
func (c *Client) GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet(ctx context.Context, datasetId openapi_types.UUID, params *GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet List existing records in the dataset
Corresponds with GET /v1/observability/datasets/{dataset_id}/records (the `GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet` operationId).
func (*Client) GetDatasetsV1ObservabilityDatasetsGet ¶
func (c *Client) GetDatasetsV1ObservabilityDatasetsGet(ctx context.Context, params *GetDatasetsV1ObservabilityDatasetsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDatasetsV1ObservabilityDatasetsGet List existing datasets
Corresponds with GET /v1/observability/datasets (the `GetDatasetsV1ObservabilityDatasetsGet` operationId).
func (*Client) GetDeploymentV1WorkflowsDeploymentsNameGet ¶
func (c *Client) GetDeploymentV1WorkflowsDeploymentsNameGet(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDeploymentV1WorkflowsDeploymentsNameGet Get Deployment
Corresponds with GET /v1/workflows/deployments/{name} (the `GetDeploymentV1WorkflowsDeploymentsNameGet` operationId).
func (*Client) GetJudgeByIdV1ObservabilityJudgesJudgeIdGet ¶
func (c *Client) GetJudgeByIdV1ObservabilityJudgesJudgeIdGet(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetJudgeByIdV1ObservabilityJudgesJudgeIdGet Get judge by id
Corresponds with GET /v1/observability/judges/{judge_id} (the `GetJudgeByIdV1ObservabilityJudgesJudgeIdGet` operationId).
func (*Client) GetJudgesV1ObservabilityJudgesGet ¶
func (c *Client) GetJudgesV1ObservabilityJudgesGet(ctx context.Context, params *GetJudgesV1ObservabilityJudgesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetJudgesV1ObservabilityJudgesGet Get judges with optional filtering and search
Corresponds with GET /v1/observability/judges (the `GetJudgesV1ObservabilityJudgesGet` operationId).
func (*Client) GetRunHistoryV1WorkflowsRunsRunIdHistoryGet ¶
func (c *Client) GetRunHistoryV1WorkflowsRunsRunIdHistoryGet(ctx context.Context, runId openapi_types.UUID, params *GetRunHistoryV1WorkflowsRunsRunIdHistoryGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRunHistoryV1WorkflowsRunsRunIdHistoryGet Get Run History
Corresponds with GET /v1/workflows/runs/{run_id}/history (the `GetRunHistoryV1WorkflowsRunsRunIdHistoryGet` operationId).
func (*Client) GetRunV1WorkflowsRunsRunIdGet ¶
func (c *Client) GetRunV1WorkflowsRunsRunIdGet(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRunV1WorkflowsRunsRunIdGet Get Run
Corresponds with GET /v1/workflows/runs/{run_id} (the `GetRunV1WorkflowsRunsRunIdGet` operationId).
func (*Client) GetSchedulesV1WorkflowsSchedulesGet ¶
func (c *Client) GetSchedulesV1WorkflowsSchedulesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSchedulesV1WorkflowsSchedulesGet Get Schedules
Corresponds with GET /v1/workflows/schedules (the `GetSchedulesV1WorkflowsSchedulesGet` operationId).
func (*Client) GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet ¶
func (c *Client) GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet Get Similar Chat Completion Events
Corresponds with GET /v1/observability/chat-completion-events/{event_id}/similar-events (the `GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet` operationId).
func (*Client) GetStreamEventsV1WorkflowsEventsStreamGet ¶
func (c *Client) GetStreamEventsV1WorkflowsEventsStreamGet(ctx context.Context, params *GetStreamEventsV1WorkflowsEventsStreamGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetStreamEventsV1WorkflowsEventsStreamGet Get Stream Events
Corresponds with GET /v1/workflows/events/stream (the `GetStreamEventsV1WorkflowsEventsStreamGet` operationId).
func (*Client) GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet ¶
func (c *Client) GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet(ctx context.Context, voiceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet Get voice sample audio
Get the audio sample for a voice.
Corresponds with GET /v1/audio/voices/{voice_id}/sample (the `GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet` operationId).
func (*Client) GetVoiceV1AudioVoicesVoiceIdGet ¶
func (c *Client) GetVoiceV1AudioVoicesVoiceIdGet(ctx context.Context, voiceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVoiceV1AudioVoicesVoiceIdGet Get voice details
Get voice details (excluding sample).
Corresponds with GET /v1/audio/voices/{voice_id} (the `GetVoiceV1AudioVoicesVoiceIdGet` operationId).
func (*Client) GetWorkerInfoV1WorkflowsWorkersWhoamiGet ¶
func (c *Client) GetWorkerInfoV1WorkflowsWorkersWhoamiGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWorkerInfoV1WorkflowsWorkersWhoamiGet Get Worker Info
Corresponds with GET /v1/workflows/workers/whoami (the `GetWorkerInfoV1WorkflowsWorkersWhoamiGet` operationId).
func (*Client) GetWorkflowEventsV1WorkflowsEventsListGet ¶
func (c *Client) GetWorkflowEventsV1WorkflowsEventsListGet(ctx context.Context, params *GetWorkflowEventsV1WorkflowsEventsListGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWorkflowEventsV1WorkflowsEventsListGet Get Workflow Events
Corresponds with GET /v1/workflows/events/list (the `GetWorkflowEventsV1WorkflowsEventsListGet` operationId).
func (*Client) GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet ¶
func (c *Client) GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet(ctx context.Context, executionId string, params *GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet Get Workflow Execution History
Corresponds with GET /v1/workflows/executions/{execution_id}/history (the `GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet` operationId).
func (*Client) GetWorkflowExecutionTraceEvents ¶
func (c *Client) GetWorkflowExecutionTraceEvents(ctx context.Context, executionId string, params *GetWorkflowExecutionTraceEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWorkflowExecutionTraceEvents Get Workflow Execution Trace Events
Corresponds with GET /v1/workflows/executions/{execution_id}/trace/events (the `GetWorkflowExecutionTraceEvents` operationId).
func (*Client) GetWorkflowExecutionTraceOtel ¶
func (c *Client) GetWorkflowExecutionTraceOtel(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWorkflowExecutionTraceOtel Get Workflow Execution Trace Otel
Corresponds with GET /v1/workflows/executions/{execution_id}/trace/otel (the `GetWorkflowExecutionTraceOtel` operationId).
func (*Client) GetWorkflowExecutionTraceSummary ¶
func (c *Client) GetWorkflowExecutionTraceSummary(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWorkflowExecutionTraceSummary Get Workflow Execution Trace Summary
Corresponds with GET /v1/workflows/executions/{execution_id}/trace/summary (the `GetWorkflowExecutionTraceSummary` operationId).
func (*Client) GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet ¶
func (c *Client) GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet Get Workflow Execution
Corresponds with GET /v1/workflows/executions/{execution_id} (the `GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet` operationId).
func (*Client) GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet ¶
func (c *Client) GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet(ctx context.Context, workflowName string, params *GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet Get Workflow Metrics
Get comprehensive metrics for a specific workflow.
Args:
workflow_name: The name of the workflow type to get metrics for start_time: Optional start time filter (ISO 8601 format) end_time: Optional end time filter (ISO 8601 format)
Returns:
WorkflowMetrics: Dictionary containing metrics:
- execution_count: Total number of executions
- success_count: Number of successful executions
- error_count: Number of failed/terminated executions
- average_latency_ms: Average execution duration in milliseconds
- retry_rate: Proportion of workflows with retries
- latency_over_time: Time-series data of execution durations
Example:
GET /v1/workflows/MyWorkflow/metrics GET /v1/workflows/MyWorkflow/metrics?start_time=2025-01-01T00:00:00Z GET /v1/workflows/MyWorkflow/metrics?start_time=2025-01-01T00:00:00Z&end_time=2025-12-31T23:59:59Z
Corresponds with GET /v1/workflows/{workflow_name}/metrics (the `GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet` operationId).
func (*Client) GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet ¶
func (c *Client) GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet(ctx context.Context, workflowRegistrationId openapi_types.UUID, params *GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet Get Workflow Registration
Corresponds with GET /v1/workflows/registrations/{workflow_registration_id} (the `GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet` operationId).
func (*Client) GetWorkflowRegistrationsV1WorkflowsRegistrationsGet ¶
func (c *Client) GetWorkflowRegistrationsV1WorkflowsRegistrationsGet(ctx context.Context, params *GetWorkflowRegistrationsV1WorkflowsRegistrationsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWorkflowRegistrationsV1WorkflowsRegistrationsGet Get Workflow Registrations
Corresponds with GET /v1/workflows/registrations (the `GetWorkflowRegistrationsV1WorkflowsRegistrationsGet` operationId).
func (*Client) GetWorkflowV1WorkflowsWorkflowIdentifierGet ¶
func (c *Client) GetWorkflowV1WorkflowsWorkflowIdentifierGet(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWorkflowV1WorkflowsWorkflowIdentifierGet Get Workflow
Corresponds with GET /v1/workflows/{workflow_identifier} (the `GetWorkflowV1WorkflowsWorkflowIdentifierGet` operationId).
func (*Client) JobsApiRoutesBatchCancelBatchJob ¶
func (c *Client) JobsApiRoutesBatchCancelBatchJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
JobsApiRoutesBatchCancelBatchJob Cancel Batch Job
Request the cancellation of a batch job.
Corresponds with POST /v1/batch/jobs/{job_id}/cancel (the `JobsApiRoutesBatchCancelBatchJob` operationId).
func (*Client) JobsApiRoutesBatchCreateBatchJob ¶
func (c *Client) JobsApiRoutesBatchCreateBatchJob(ctx context.Context, body JobsApiRoutesBatchCreateBatchJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
JobsApiRoutesBatchCreateBatchJob Create Batch Job
Create a new batch job, it will be queued for processing.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/batch/jobs (the `JobsApiRoutesBatchCreateBatchJob` operationId).
func (*Client) JobsApiRoutesBatchCreateBatchJobWithBody ¶
func (c *Client) JobsApiRoutesBatchCreateBatchJobWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
JobsApiRoutesBatchCreateBatchJobWithBody Create Batch Job
Create a new batch job, it will be queued for processing.
Takes any type of body and a specified content type.
Corresponds with POST /v1/batch/jobs (the `JobsApiRoutesBatchCreateBatchJob` operationId).
func (*Client) JobsApiRoutesBatchGetBatchJob ¶
func (c *Client) JobsApiRoutesBatchGetBatchJob(ctx context.Context, jobId openapi_types.UUID, params *JobsApiRoutesBatchGetBatchJobParams, reqEditors ...RequestEditorFn) (*http.Response, error)
JobsApiRoutesBatchGetBatchJob Get Batch Job
Get a batch job details by its UUID.
Args:
inline: If True, return results inline in the response.
Corresponds with GET /v1/batch/jobs/{job_id} (the `JobsApiRoutesBatchGetBatchJob` operationId).
func (*Client) JobsApiRoutesBatchGetBatchJobs ¶
func (c *Client) JobsApiRoutesBatchGetBatchJobs(ctx context.Context, params *JobsApiRoutesBatchGetBatchJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
JobsApiRoutesBatchGetBatchJobs Get Batch Jobs
Get a list of batch jobs for your organization and user.
Corresponds with GET /v1/batch/jobs (the `JobsApiRoutesBatchGetBatchJobs` operationId).
func (*Client) JobsApiRoutesFineTuningArchiveFineTunedModel ¶
func (c *Client) JobsApiRoutesFineTuningArchiveFineTunedModel(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
JobsApiRoutesFineTuningArchiveFineTunedModel Archive Fine Tuned Model
Archive a fine-tuned model.
Corresponds with POST /v1/fine_tuning/models/{model_id}/archive (the `JobsApiRoutesFineTuningArchiveFineTunedModel` operationId).
func (*Client) JobsApiRoutesFineTuningCancelFineTuningJob ¶
func (c *Client) JobsApiRoutesFineTuningCancelFineTuningJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
JobsApiRoutesFineTuningCancelFineTuningJob Cancel Fine Tuning Job
Request the cancellation of a fine tuning job.
Corresponds with POST /v1/fine_tuning/jobs/{job_id}/cancel (the `JobsApiRoutesFineTuningCancelFineTuningJob` operationId).
func (*Client) JobsApiRoutesFineTuningCreateFineTuningJob ¶
func (c *Client) JobsApiRoutesFineTuningCreateFineTuningJob(ctx context.Context, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, body JobsApiRoutesFineTuningCreateFineTuningJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
JobsApiRoutesFineTuningCreateFineTuningJob Create Fine Tuning Job
Create a new fine-tuning job, it will be queued for processing.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningCreateFineTuningJob` operationId).
func (*Client) JobsApiRoutesFineTuningCreateFineTuningJobWithBody ¶
func (c *Client) JobsApiRoutesFineTuningCreateFineTuningJobWithBody(ctx context.Context, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
JobsApiRoutesFineTuningCreateFineTuningJobWithBody Create Fine Tuning Job
Create a new fine-tuning job, it will be queued for processing.
Takes any type of body and a specified content type.
Corresponds with POST /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningCreateFineTuningJob` operationId).
func (*Client) JobsApiRoutesFineTuningGetFineTuningJob ¶
func (c *Client) JobsApiRoutesFineTuningGetFineTuningJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
JobsApiRoutesFineTuningGetFineTuningJob Get Fine Tuning Job
Get a fine-tuned job details by its UUID.
Corresponds with GET /v1/fine_tuning/jobs/{job_id} (the `JobsApiRoutesFineTuningGetFineTuningJob` operationId).
func (*Client) JobsApiRoutesFineTuningGetFineTuningJobs ¶
func (c *Client) JobsApiRoutesFineTuningGetFineTuningJobs(ctx context.Context, params *JobsApiRoutesFineTuningGetFineTuningJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
JobsApiRoutesFineTuningGetFineTuningJobs Get Fine Tuning Jobs
Get a list of fine-tuning jobs for your organization and user.
Corresponds with GET /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningGetFineTuningJobs` operationId).
func (*Client) JobsApiRoutesFineTuningStartFineTuningJob ¶
func (c *Client) JobsApiRoutesFineTuningStartFineTuningJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
JobsApiRoutesFineTuningStartFineTuningJob Start Fine Tuning Job
Request the start of a validated fine tuning job.
Corresponds with POST /v1/fine_tuning/jobs/{job_id}/start (the `JobsApiRoutesFineTuningStartFineTuningJob` operationId).
func (*Client) JobsApiRoutesFineTuningUnarchiveFineTunedModel ¶
func (c *Client) JobsApiRoutesFineTuningUnarchiveFineTunedModel(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
JobsApiRoutesFineTuningUnarchiveFineTunedModel Unarchive Fine Tuned Model
Un-archive a fine-tuned model.
Corresponds with DELETE /v1/fine_tuning/models/{model_id}/archive (the `JobsApiRoutesFineTuningUnarchiveFineTunedModel` operationId).
func (*Client) JobsApiRoutesFineTuningUpdateFineTunedModel ¶
func (c *Client) JobsApiRoutesFineTuningUpdateFineTunedModel(ctx context.Context, modelId string, body JobsApiRoutesFineTuningUpdateFineTunedModelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
JobsApiRoutesFineTuningUpdateFineTunedModel Update Fine Tuned Model
Update a model name or description.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/fine_tuning/models/{model_id} (the `JobsApiRoutesFineTuningUpdateFineTunedModel` operationId).
func (*Client) JobsApiRoutesFineTuningUpdateFineTunedModelWithBody ¶
func (c *Client) JobsApiRoutesFineTuningUpdateFineTunedModelWithBody(ctx context.Context, modelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
JobsApiRoutesFineTuningUpdateFineTunedModelWithBody Update Fine Tuned Model
Update a model name or description.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/fine_tuning/models/{model_id} (the `JobsApiRoutesFineTuningUpdateFineTunedModel` operationId).
func (*Client) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost ¶
func (c *Client) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost(ctx context.Context, eventId openapi_types.UUID, body JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost Run Judge on an event based on the given options
Takes a body of the `application/json` content type.
Corresponds with POST /v1/observability/chat-completion-events/{event_id}/live-judging (the `JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost` operationId).
func (*Client) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBody ¶
func (c *Client) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBody(ctx context.Context, eventId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBody Run Judge on an event based on the given options
Takes any type of body and a specified content type.
Corresponds with POST /v1/observability/chat-completion-events/{event_id}/live-judging (the `JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost` operationId).
func (*Client) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost ¶
func (c *Client) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost(ctx context.Context, judgeId openapi_types.UUID, body JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost Run a saved judge on a conversation
Takes a body of the `application/json` content type.
Corresponds with POST /v1/observability/judges/{judge_id}/live-judging (the `JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost` operationId).
func (*Client) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBody ¶
func (c *Client) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBody(ctx context.Context, judgeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBody Run a saved judge on a conversation
Takes any type of body and a specified content type.
Corresponds with POST /v1/observability/judges/{judge_id}/live-judging (the `JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost` operationId).
func (*Client) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost ¶
func (c *Client) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost(ctx context.Context, datasetRecordId openapi_types.UUID, body JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost Run Judge on a dataset record based on the given options
Takes a body of the `application/json` content type.
Corresponds with POST /v1/observability/dataset-records/{dataset_record_id}/live-judging (the `JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost` operationId).
func (*Client) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBody ¶
func (c *Client) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBody(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBody Run Judge on a dataset record based on the given options
Takes any type of body and a specified content type.
Corresponds with POST /v1/observability/dataset-records/{dataset_record_id}/live-judging (the `JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost` operationId).
func (*Client) LibrariesCreateV1 ¶
func (c *Client) LibrariesCreateV1(ctx context.Context, body LibrariesCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesCreateV1 Create a new Library.
Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/libraries (the `LibrariesCreateV1` operationId).
func (*Client) LibrariesCreateV1WithBody ¶
func (c *Client) LibrariesCreateV1WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesCreateV1WithBody Create a new Library.
Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.
Takes any type of body and a specified content type.
Corresponds with POST /v1/libraries (the `LibrariesCreateV1` operationId).
func (*Client) LibrariesDeleteV1 ¶
func (c *Client) LibrariesDeleteV1(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesDeleteV1 Delete a library and all of it's document.
Given a library id, deletes it together with all documents that have been uploaded to that library.
Corresponds with DELETE /v1/libraries/{library_id} (the `LibrariesDeleteV1` operationId).
func (*Client) LibrariesDocumentsDeleteV1 ¶
func (c *Client) LibrariesDocumentsDeleteV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesDocumentsDeleteV1 Delete a document.
Given a library and a document in that library, delete that document. The document will be deleted from the library and the search index.
Corresponds with DELETE /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsDeleteV1` operationId).
func (*Client) LibrariesDocumentsGetExtractedTextSignedUrlV1 ¶
func (c *Client) LibrariesDocumentsGetExtractedTextSignedUrlV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesDocumentsGetExtractedTextSignedUrlV1 Retrieve the signed URL of text extracted from a given document.
Given a library and a document in that library, retrieve the signed URL of text extracted. For documents that are sent to the OCR this returns the result of the OCR queries.
Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/extracted-text-signed-url (the `LibrariesDocumentsGetExtractedTextSignedUrlV1` operationId).
func (*Client) LibrariesDocumentsGetSignedUrlV1 ¶
func (c *Client) LibrariesDocumentsGetSignedUrlV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesDocumentsGetSignedUrlV1 Retrieve the signed URL of a specific document.
Given a library and a document in that library, retrieve the signed URL of a specific document.The url will expire after 30 minutes and can be accessed by anyone with the link.
Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/signed-url (the `LibrariesDocumentsGetSignedUrlV1` operationId).
func (*Client) LibrariesDocumentsGetStatusV1 ¶
func (c *Client) LibrariesDocumentsGetStatusV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesDocumentsGetStatusV1 Retrieve the processing status of a specific document.
Given a library and a document in that library, retrieve the processing status of that document.
Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/status (the `LibrariesDocumentsGetStatusV1` operationId).
func (*Client) LibrariesDocumentsGetTextContentV1 ¶
func (c *Client) LibrariesDocumentsGetTextContentV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesDocumentsGetTextContentV1 Retrieve the text content of a specific document.
Given a library and a document in that library, you can retrieve the text content of that document if it exists. For documents like pdf, docx and pptx the text content results from our processing using Mistral OCR.
Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/text_content (the `LibrariesDocumentsGetTextContentV1` operationId).
func (*Client) LibrariesDocumentsGetV1 ¶
func (c *Client) LibrariesDocumentsGetV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesDocumentsGetV1 Retrieve the metadata of a specific document.
Given a library and a document in this library, you can retrieve the metadata of that document.
Corresponds with GET /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsGetV1` operationId).
func (*Client) LibrariesDocumentsListV1 ¶
func (c *Client) LibrariesDocumentsListV1(ctx context.Context, libraryId openapi_types.UUID, params *LibrariesDocumentsListV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesDocumentsListV1 List documents in a given library.
Given a library, lists the document that have been uploaded to that library.
Corresponds with GET /v1/libraries/{library_id}/documents (the `LibrariesDocumentsListV1` operationId).
func (*Client) LibrariesDocumentsReprocessV1 ¶
func (c *Client) LibrariesDocumentsReprocessV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesDocumentsReprocessV1 Reprocess a document.
Given a library and a document in that library, reprocess that document, it will be billed again.
Corresponds with POST /v1/libraries/{library_id}/documents/{document_id}/reprocess (the `LibrariesDocumentsReprocessV1` operationId).
func (*Client) LibrariesDocumentsUpdateV1 ¶
func (c *Client) LibrariesDocumentsUpdateV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, body LibrariesDocumentsUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesDocumentsUpdateV1 Update the metadata of a specific document.
Given a library and a document in that library, update the name of that document.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsUpdateV1` operationId).
func (*Client) LibrariesDocumentsUpdateV1WithBody ¶
func (c *Client) LibrariesDocumentsUpdateV1WithBody(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesDocumentsUpdateV1WithBody Update the metadata of a specific document.
Given a library and a document in that library, update the name of that document.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsUpdateV1` operationId).
func (*Client) LibrariesDocumentsUploadV1WithBody ¶
func (c *Client) LibrariesDocumentsUploadV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesDocumentsUploadV1WithBody Upload a new document.
Given a library, upload a new document to that library. It is queued for processing, it status will change it has been processed. The processing has to be completed in order be discoverable for the library search
Takes any type of body and a specified content type.
Corresponds with POST /v1/libraries/{library_id}/documents (the `LibrariesDocumentsUploadV1` operationId).
func (*Client) LibrariesGetV1 ¶
func (c *Client) LibrariesGetV1(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesGetV1 Detailed information about a specific Library.
Given a library id, details information about that Library.
Corresponds with GET /v1/libraries/{library_id} (the `LibrariesGetV1` operationId).
func (*Client) LibrariesListV1 ¶
func (c *Client) LibrariesListV1(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesListV1 List all libraries you have access to.
List all libraries that you have created or have been shared with you.
Corresponds with GET /v1/libraries (the `LibrariesListV1` operationId).
func (*Client) LibrariesShareCreateV1 ¶
func (c *Client) LibrariesShareCreateV1(ctx context.Context, libraryId openapi_types.UUID, body LibrariesShareCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesShareCreateV1 Create or update an access level.
Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/libraries/{library_id}/share (the `LibrariesShareCreateV1` operationId).
func (*Client) LibrariesShareCreateV1WithBody ¶
func (c *Client) LibrariesShareCreateV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesShareCreateV1WithBody Create or update an access level.
Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/libraries/{library_id}/share (the `LibrariesShareCreateV1` operationId).
func (*Client) LibrariesShareDeleteV1 ¶
func (c *Client) LibrariesShareDeleteV1(ctx context.Context, libraryId openapi_types.UUID, body LibrariesShareDeleteV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesShareDeleteV1 Delete an access level.
Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.
Takes a body of the `application/json` content type.
Corresponds with DELETE /v1/libraries/{library_id}/share (the `LibrariesShareDeleteV1` operationId).
func (*Client) LibrariesShareDeleteV1WithBody ¶
func (c *Client) LibrariesShareDeleteV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesShareDeleteV1WithBody Delete an access level.
Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.
Takes any type of body and a specified content type.
Corresponds with DELETE /v1/libraries/{library_id}/share (the `LibrariesShareDeleteV1` operationId).
func (*Client) LibrariesShareListV1 ¶
func (c *Client) LibrariesShareListV1(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesShareListV1 List all of the access to this library.
Given a library, list all of the Entity that have access and to what level.
Corresponds with GET /v1/libraries/{library_id}/share (the `LibrariesShareListV1` operationId).
func (*Client) LibrariesUpdateV1 ¶
func (c *Client) LibrariesUpdateV1(ctx context.Context, libraryId openapi_types.UUID, body LibrariesUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesUpdateV1 Update a library.
Given a library id, you can update the name and description.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/libraries/{library_id} (the `LibrariesUpdateV1` operationId).
func (*Client) LibrariesUpdateV1WithBody ¶
func (c *Client) LibrariesUpdateV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LibrariesUpdateV1WithBody Update a library.
Given a library id, you can update the name and description.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/libraries/{library_id} (the `LibrariesUpdateV1` operationId).
func (*Client) ListDeploymentsV1WorkflowsDeploymentsGet ¶
func (c *Client) ListDeploymentsV1WorkflowsDeploymentsGet(ctx context.Context, params *ListDeploymentsV1WorkflowsDeploymentsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDeploymentsV1WorkflowsDeploymentsGet List Deployments
Corresponds with GET /v1/workflows/deployments (the `ListDeploymentsV1WorkflowsDeploymentsGet` operationId).
func (*Client) ListModelsV1ModelsGet ¶
func (c *Client) ListModelsV1ModelsGet(ctx context.Context, params *ListModelsV1ModelsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListModelsV1ModelsGet List Models
List all models available to the user.
Corresponds with GET /v1/models (the `ListModelsV1ModelsGet` operationId).
func (*Client) ListRunsV1WorkflowsRunsGet ¶
func (c *Client) ListRunsV1WorkflowsRunsGet(ctx context.Context, params *ListRunsV1WorkflowsRunsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListRunsV1WorkflowsRunsGet List Runs
Corresponds with GET /v1/workflows/runs (the `ListRunsV1WorkflowsRunsGet` operationId).
func (*Client) ListVoicesV1AudioVoicesGet ¶
func (c *Client) ListVoicesV1AudioVoicesGet(ctx context.Context, params *ListVoicesV1AudioVoicesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListVoicesV1AudioVoicesGet List all voices
List all voices (excluding sample data).
Corresponds with GET /v1/audio/voices (the `ListVoicesV1AudioVoicesGet` operationId).
func (*Client) ModerationsV1ModerationsPost ¶
func (c *Client) ModerationsV1ModerationsPost(ctx context.Context, body ModerationsV1ModerationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ModerationsV1ModerationsPost Moderations
Takes a body of the `application/json` content type.
Corresponds with POST /v1/moderations (the `ModerationsV1ModerationsPost` operationId).
func (*Client) ModerationsV1ModerationsPostWithBody ¶
func (c *Client) ModerationsV1ModerationsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ModerationsV1ModerationsPostWithBody Moderations
Takes any type of body and a specified content type.
Corresponds with POST /v1/moderations (the `ModerationsV1ModerationsPost` operationId).
func (*Client) OcrV1OcrPost ¶
func (c *Client) OcrV1OcrPost(ctx context.Context, body OcrV1OcrPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
OcrV1OcrPost OCR
Takes a body of the `application/json` content type.
Corresponds with POST /v1/ocr (the `OcrV1OcrPost` operationId).
func (*Client) OcrV1OcrPostWithBody ¶
func (c *Client) OcrV1OcrPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
OcrV1OcrPostWithBody OCR
Takes any type of body and a specified content type.
Corresponds with POST /v1/ocr (the `OcrV1OcrPost` operationId).
func (*Client) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost ¶
func (c *Client) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost Populate the dataset with a campaign
Takes a body of the `application/json` content type.
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-campaign (the `PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost` operationId).
func (*Client) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBody ¶
func (c *Client) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBody Populate the dataset with a campaign
Takes any type of body and a specified content type.
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-campaign (the `PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost` operationId).
func (*Client) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost ¶
func (c *Client) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost Populate the dataset with samples from another dataset
Takes a body of the `application/json` content type.
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-dataset (the `PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost` operationId).
func (*Client) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBody ¶
func (c *Client) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBody Populate the dataset with samples from another dataset
Takes any type of body and a specified content type.
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-dataset (the `PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost` operationId).
func (*Client) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost ¶
func (c *Client) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost Populate the dataset with samples from the explorer
Takes a body of the `application/json` content type.
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-explorer (the `PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost` operationId).
func (*Client) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBody ¶
func (c *Client) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBody Populate the dataset with samples from the explorer
Takes any type of body and a specified content type.
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-explorer (the `PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost` operationId).
func (*Client) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost ¶
func (c *Client) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost Populate the dataset with samples from an uploaded file
Takes a body of the `application/json` content type.
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-file (the `PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost` operationId).
func (*Client) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBody ¶
func (c *Client) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBody Populate the dataset with samples from an uploaded file
Takes any type of body and a specified content type.
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-file (the `PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost` operationId).
func (*Client) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost ¶
func (c *Client) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost Populate the dataset with samples from the playground
Takes a body of the `application/json` content type.
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-playground (the `PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost` operationId).
func (*Client) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBody ¶
func (c *Client) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBody Populate the dataset with samples from the playground
Takes any type of body and a specified content type.
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-playground (the `PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost` operationId).
func (*Client) QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost ¶
func (c *Client) QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost(ctx context.Context, executionId string, body QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost Query Workflow Execution
Takes a body of the `application/json` content type.
Corresponds with POST /v1/workflows/executions/{execution_id}/queries (the `QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost` operationId).
func (*Client) QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBody ¶
func (c *Client) QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBody(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBody Query Workflow Execution
Takes any type of body and a specified content type.
Corresponds with POST /v1/workflows/executions/{execution_id}/queries (the `QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost` operationId).
func (*Client) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost ¶
func (c *Client) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost(ctx context.Context, executionId string, body ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost Reset Workflow
Takes a body of the `application/json` content type.
Corresponds with POST /v1/workflows/executions/{execution_id}/reset (the `ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost` operationId).
func (*Client) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBody ¶
func (c *Client) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBody(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBody Reset Workflow
Takes any type of body and a specified content type.
Corresponds with POST /v1/workflows/executions/{execution_id}/reset (the `ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost` operationId).
func (*Client) RetrieveModelV1ModelsModelIdGet ¶
func (c *Client) RetrieveModelV1ModelsModelIdGet(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
RetrieveModelV1ModelsModelIdGet Retrieve Model
Retrieve information about a model.
Corresponds with GET /v1/models/{model_id} (the `RetrieveModelV1ModelsModelIdGet` operationId).
func (*Client) ScheduleWorkflowV1WorkflowsSchedulesPost ¶
func (c *Client) ScheduleWorkflowV1WorkflowsSchedulesPost(ctx context.Context, body ScheduleWorkflowV1WorkflowsSchedulesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ScheduleWorkflowV1WorkflowsSchedulesPost Schedule Workflow
Takes a body of the `application/json` content type.
Corresponds with POST /v1/workflows/schedules (the `ScheduleWorkflowV1WorkflowsSchedulesPost` operationId).
func (*Client) ScheduleWorkflowV1WorkflowsSchedulesPostWithBody ¶
func (c *Client) ScheduleWorkflowV1WorkflowsSchedulesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ScheduleWorkflowV1WorkflowsSchedulesPostWithBody Schedule Workflow
Takes any type of body and a specified content type.
Corresponds with POST /v1/workflows/schedules (the `ScheduleWorkflowV1WorkflowsSchedulesPost` operationId).
func (*Client) SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost ¶
func (c *Client) SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost(ctx context.Context, executionId string, body SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost Signal Workflow Execution
Takes a body of the `application/json` content type.
Corresponds with POST /v1/workflows/executions/{execution_id}/signals (the `SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost` operationId).
func (*Client) SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBody ¶
func (c *Client) SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBody(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBody Signal Workflow Execution
Takes any type of body and a specified content type.
Corresponds with POST /v1/workflows/executions/{execution_id}/signals (the `SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost` operationId).
func (*Client) SpeechV1AudioSpeechPost ¶
func (c *Client) SpeechV1AudioSpeechPost(ctx context.Context, body SpeechV1AudioSpeechPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SpeechV1AudioSpeechPost Speech
Generate speech from text using a saved voice or a reference audio clip.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/audio/speech (the `SpeechV1AudioSpeechPost` operationId).
func (*Client) SpeechV1AudioSpeechPostWithBody ¶
func (c *Client) SpeechV1AudioSpeechPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SpeechV1AudioSpeechPostWithBody Speech
Generate speech from text using a saved voice or a reference audio clip.
Takes any type of body and a specified content type.
Corresponds with POST /v1/audio/speech (the `SpeechV1AudioSpeechPost` operationId).
func (*Client) StreamV1WorkflowsExecutionsExecutionIdStreamGet ¶
func (c *Client) StreamV1WorkflowsExecutionsExecutionIdStreamGet(ctx context.Context, executionId string, params *StreamV1WorkflowsExecutionsExecutionIdStreamGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
StreamV1WorkflowsExecutionsExecutionIdStreamGet Stream
Corresponds with GET /v1/workflows/executions/{execution_id}/stream (the `StreamV1WorkflowsExecutionsExecutionIdStreamGet` operationId).
func (*Client) TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost ¶
func (c *Client) TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost Terminate Workflow Execution
Corresponds with POST /v1/workflows/executions/{execution_id}/terminate (the `TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost` operationId).
func (*Client) UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut ¶
func (c *Client) UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*http.Response, error)
UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut Unarchive Workflow
Corresponds with PUT /v1/workflows/{workflow_identifier}/unarchive (the `UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut` operationId).
func (*Client) UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete ¶
func (c *Client) UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete(ctx context.Context, scheduleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete Unschedule Workflow
Corresponds with DELETE /v1/workflows/schedules/{schedule_id} (the `UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete` operationId).
func (*Client) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut ¶
func (c *Client) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut(ctx context.Context, datasetRecordId openapi_types.UUID, body UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut Update a dataset record conversation payload
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/payload (the `UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut` operationId).
func (*Client) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBody ¶
func (c *Client) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBody(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBody Update a dataset record conversation payload
Takes any type of body and a specified content type.
Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/payload (the `UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut` operationId).
func (*Client) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut ¶
func (c *Client) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut(ctx context.Context, datasetRecordId openapi_types.UUID, body UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut Update conversation properties
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/properties (the `UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut` operationId).
func (*Client) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBody ¶
func (c *Client) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBody(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBody Update conversation properties
Takes any type of body and a specified content type.
Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/properties (the `UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut` operationId).
func (*Client) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch ¶
func (c *Client) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch(ctx context.Context, datasetId openapi_types.UUID, body UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch Patch dataset
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/observability/datasets/{dataset_id} (the `UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch` operationId).
func (*Client) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBody ¶
func (c *Client) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBody Patch dataset
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/observability/datasets/{dataset_id} (the `UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch` operationId).
func (*Client) UpdateJudgeV1ObservabilityJudgesJudgeIdPut ¶
func (c *Client) UpdateJudgeV1ObservabilityJudgesJudgeIdPut(ctx context.Context, judgeId openapi_types.UUID, body UpdateJudgeV1ObservabilityJudgesJudgeIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateJudgeV1ObservabilityJudgesJudgeIdPut Update a judge
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/observability/judges/{judge_id} (the `UpdateJudgeV1ObservabilityJudgesJudgeIdPut` operationId).
func (*Client) UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBody ¶
func (c *Client) UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBody(ctx context.Context, judgeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBody Update a judge
Takes any type of body and a specified content type.
Corresponds with PUT /v1/observability/judges/{judge_id} (the `UpdateJudgeV1ObservabilityJudgesJudgeIdPut` operationId).
func (*Client) UpdateVoiceV1AudioVoicesVoiceIdPatch ¶
func (c *Client) UpdateVoiceV1AudioVoicesVoiceIdPatch(ctx context.Context, voiceId openapi_types.UUID, body UpdateVoiceV1AudioVoicesVoiceIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateVoiceV1AudioVoicesVoiceIdPatch Update voice metadata
Update voice metadata (name, gender, languages, age, tags).
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/audio/voices/{voice_id} (the `UpdateVoiceV1AudioVoicesVoiceIdPatch` operationId).
func (*Client) UpdateVoiceV1AudioVoicesVoiceIdPatchWithBody ¶
func (c *Client) UpdateVoiceV1AudioVoicesVoiceIdPatchWithBody(ctx context.Context, voiceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateVoiceV1AudioVoicesVoiceIdPatchWithBody Update voice metadata
Update voice metadata (name, gender, languages, age, tags).
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/audio/voices/{voice_id} (the `UpdateVoiceV1AudioVoicesVoiceIdPatch` operationId).
func (*Client) UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost ¶
func (c *Client) UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost(ctx context.Context, executionId string, body UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost Update Workflow Execution
Takes a body of the `application/json` content type.
Corresponds with POST /v1/workflows/executions/{execution_id}/updates (the `UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost` operationId).
func (*Client) UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBody ¶
func (c *Client) UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBody(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBody Update Workflow Execution
Takes any type of body and a specified content type.
Corresponds with POST /v1/workflows/executions/{execution_id}/updates (the `UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost` operationId).
func (*Client) UpdateWorkflowV1WorkflowsWorkflowIdentifierPut ¶
func (c *Client) UpdateWorkflowV1WorkflowsWorkflowIdentifierPut(ctx context.Context, workflowIdentifier string, body UpdateWorkflowV1WorkflowsWorkflowIdentifierPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWorkflowV1WorkflowsWorkflowIdentifierPut Update Workflow
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/workflows/{workflow_identifier} (the `UpdateWorkflowV1WorkflowsWorkflowIdentifierPut` operationId).
func (*Client) UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBody ¶
func (c *Client) UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBody(ctx context.Context, workflowIdentifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBody Update Workflow
Takes any type of body and a specified content type.
Corresponds with PUT /v1/workflows/{workflow_identifier} (the `UpdateWorkflowV1WorkflowsWorkflowIdentifierPut` operationId).
type ClientInterface ¶
type ClientInterface interface {
// AgentsApiV1AgentsList List agent entities.
//
// Retrieve a list of agent entities sorted by creation time. Deprecated: some features such as agent sharing are not supported by this endpoint. Use the cursor-paginated `GET /v1/agents/pages` instead.
//
// Corresponds with GET /v1/agents (the `AgentsApiV1AgentsList` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AgentsApiV1AgentsList(ctx context.Context, params *AgentsApiV1AgentsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1AgentsCreateWithBody Create a agent that can be used within a conversation.
//
// Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/agents (the `AgentsApiV1AgentsCreate` operationId).
AgentsApiV1AgentsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1AgentsCreate Create a agent that can be used within a conversation.
//
// Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/agents (the `AgentsApiV1AgentsCreate` operationId).
AgentsApiV1AgentsCreate(ctx context.Context, body AgentsApiV1AgentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsCompletionV1AgentsCompletionsPostWithBody Agents Completion
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/agents/completions (the `AgentsCompletionV1AgentsCompletionsPost` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AgentsCompletionV1AgentsCompletionsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsCompletionV1AgentsCompletionsPost Agents Completion
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/agents/completions (the `AgentsCompletionV1AgentsCompletionsPost` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AgentsCompletionV1AgentsCompletionsPost(ctx context.Context, body AgentsCompletionV1AgentsCompletionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1AgentsListPages List agent entities, cursor-paginated.
//
// Retrieve a page of agent entities. Unlike the deprecated `GET /v1/agents`, this endpoint paginates by opaque cursor and honors per-agent sharing, returning only agents the caller is authorized to see.
//
// Corresponds with GET /v1/agents/pages (the `AgentsApiV1AgentsListPages` operationId).
AgentsApiV1AgentsListPages(ctx context.Context, params *AgentsApiV1AgentsListPagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1AgentsDelete Delete an agent entity.
//
// Corresponds with DELETE /v1/agents/{agent_id} (the `AgentsApiV1AgentsDelete` operationId).
AgentsApiV1AgentsDelete(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1AgentsGet Retrieve an agent entity.
//
// Given an agent, retrieve an agent entity with its attributes. The agent_version parameter can be an integer version number or a string alias.
//
// Corresponds with GET /v1/agents/{agent_id} (the `AgentsApiV1AgentsGet` operationId).
AgentsApiV1AgentsGet(ctx context.Context, agentId string, params *AgentsApiV1AgentsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1AgentsUpdateWithBody Update an agent entity.
//
// Update an agent attributes and create a new version.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/agents/{agent_id} (the `AgentsApiV1AgentsUpdate` operationId).
AgentsApiV1AgentsUpdateWithBody(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1AgentsUpdate Update an agent entity.
//
// Update an agent attributes and create a new version.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/agents/{agent_id} (the `AgentsApiV1AgentsUpdate` operationId).
AgentsApiV1AgentsUpdate(ctx context.Context, agentId string, body AgentsApiV1AgentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1AgentsDeleteAlias Delete an agent version alias.
//
// Delete an existing alias for an agent.
//
// Corresponds with DELETE /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsDeleteAlias` operationId).
AgentsApiV1AgentsDeleteAlias(ctx context.Context, agentId string, params *AgentsApiV1AgentsDeleteAliasParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1AgentsListVersionAliases List all aliases for an agent.
//
// Retrieve all version aliases for a specific agent.
//
// Corresponds with GET /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsListVersionAliases` operationId).
AgentsApiV1AgentsListVersionAliases(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1AgentsCreateOrUpdateAlias Create or update an agent version alias.
//
// Create a new alias or update an existing alias to point to a specific version. Aliases are unique per agent and can be reassigned to different versions.
//
// Corresponds with PUT /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsCreateOrUpdateAlias` operationId).
AgentsApiV1AgentsCreateOrUpdateAlias(ctx context.Context, agentId string, params *AgentsApiV1AgentsCreateOrUpdateAliasParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1AgentsUpdateVersion Update an agent version.
//
// Switch the version of an agent.
//
// Corresponds with PATCH /v1/agents/{agent_id}/version (the `AgentsApiV1AgentsUpdateVersion` operationId).
AgentsApiV1AgentsUpdateVersion(ctx context.Context, agentId string, params *AgentsApiV1AgentsUpdateVersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1AgentsListVersions List all versions of an agent.
//
// Retrieve all versions for a specific agent with full agent context. Supports pagination.
//
// Corresponds with GET /v1/agents/{agent_id}/versions (the `AgentsApiV1AgentsListVersions` operationId).
AgentsApiV1AgentsListVersions(ctx context.Context, agentId string, params *AgentsApiV1AgentsListVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1AgentsGetVersion Retrieve a specific version of an agent.
//
// Get a specific agent version by version number.
//
// Corresponds with GET /v1/agents/{agent_id}/versions/{version} (the `AgentsApiV1AgentsGetVersion` operationId).
AgentsApiV1AgentsGetVersion(ctx context.Context, agentId string, version string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SpeechV1AudioSpeechPostWithBody Speech
//
// Generate speech from text using a saved voice or a reference audio clip.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/audio/speech (the `SpeechV1AudioSpeechPost` operationId).
SpeechV1AudioSpeechPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SpeechV1AudioSpeechPost Speech
//
// Generate speech from text using a saved voice or a reference audio clip.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/audio/speech (the `SpeechV1AudioSpeechPost` operationId).
SpeechV1AudioSpeechPost(ctx context.Context, body SpeechV1AudioSpeechPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AudioApiV1TranscriptionsPostWithBody Create Transcription
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/audio/transcriptions (the `AudioApiV1TranscriptionsPost` operationId).
AudioApiV1TranscriptionsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AudioApiV1TranscriptionsPostStreamWithBody Create Streaming Transcription (SSE)
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/audio/transcriptions#stream (the `AudioApiV1TranscriptionsPostStream` operationId).
AudioApiV1TranscriptionsPostStreamWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVoicesV1AudioVoicesGet List all voices
//
// List all voices (excluding sample data).
//
// Corresponds with GET /v1/audio/voices (the `ListVoicesV1AudioVoicesGet` operationId).
ListVoicesV1AudioVoicesGet(ctx context.Context, params *ListVoicesV1AudioVoicesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVoiceV1AudioVoicesPostWithBody Create a new voice
//
// Create a new voice with a base64-encoded audio sample.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/audio/voices (the `CreateVoiceV1AudioVoicesPost` operationId).
CreateVoiceV1AudioVoicesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVoiceV1AudioVoicesPost Create a new voice
//
// Create a new voice with a base64-encoded audio sample.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/audio/voices (the `CreateVoiceV1AudioVoicesPost` operationId).
CreateVoiceV1AudioVoicesPost(ctx context.Context, body CreateVoiceV1AudioVoicesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVoiceV1AudioVoicesVoiceIdDelete Delete a custom voice
//
// Corresponds with DELETE /v1/audio/voices/{voice_id} (the `DeleteVoiceV1AudioVoicesVoiceIdDelete` operationId).
DeleteVoiceV1AudioVoicesVoiceIdDelete(ctx context.Context, voiceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVoiceV1AudioVoicesVoiceIdGet Get voice details
//
// Get voice details (excluding sample).
//
// Corresponds with GET /v1/audio/voices/{voice_id} (the `GetVoiceV1AudioVoicesVoiceIdGet` operationId).
GetVoiceV1AudioVoicesVoiceIdGet(ctx context.Context, voiceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateVoiceV1AudioVoicesVoiceIdPatchWithBody Update voice metadata
//
// Update voice metadata (name, gender, languages, age, tags).
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/audio/voices/{voice_id} (the `UpdateVoiceV1AudioVoicesVoiceIdPatch` operationId).
UpdateVoiceV1AudioVoicesVoiceIdPatchWithBody(ctx context.Context, voiceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateVoiceV1AudioVoicesVoiceIdPatch Update voice metadata
//
// Update voice metadata (name, gender, languages, age, tags).
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/audio/voices/{voice_id} (the `UpdateVoiceV1AudioVoicesVoiceIdPatch` operationId).
UpdateVoiceV1AudioVoicesVoiceIdPatch(ctx context.Context, voiceId openapi_types.UUID, body UpdateVoiceV1AudioVoicesVoiceIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet Get voice sample audio
//
// Get the audio sample for a voice.
//
// Corresponds with GET /v1/audio/voices/{voice_id}/sample (the `GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet` operationId).
GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet(ctx context.Context, voiceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// JobsApiRoutesBatchGetBatchJobs Get Batch Jobs
//
// Get a list of batch jobs for your organization and user.
//
// Corresponds with GET /v1/batch/jobs (the `JobsApiRoutesBatchGetBatchJobs` operationId).
JobsApiRoutesBatchGetBatchJobs(ctx context.Context, params *JobsApiRoutesBatchGetBatchJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// JobsApiRoutesBatchCreateBatchJobWithBody Create Batch Job
//
// Create a new batch job, it will be queued for processing.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/batch/jobs (the `JobsApiRoutesBatchCreateBatchJob` operationId).
JobsApiRoutesBatchCreateBatchJobWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// JobsApiRoutesBatchCreateBatchJob Create Batch Job
//
// Create a new batch job, it will be queued for processing.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/batch/jobs (the `JobsApiRoutesBatchCreateBatchJob` operationId).
JobsApiRoutesBatchCreateBatchJob(ctx context.Context, body JobsApiRoutesBatchCreateBatchJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// JobsApiRoutesBatchGetBatchJob Get Batch Job
//
// Get a batch job details by its UUID.
//
// Args:
// inline: If True, return results inline in the response.
//
// Corresponds with GET /v1/batch/jobs/{job_id} (the `JobsApiRoutesBatchGetBatchJob` operationId).
JobsApiRoutesBatchGetBatchJob(ctx context.Context, jobId openapi_types.UUID, params *JobsApiRoutesBatchGetBatchJobParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// JobsApiRoutesBatchCancelBatchJob Cancel Batch Job
//
// Request the cancellation of a batch job.
//
// Corresponds with POST /v1/batch/jobs/{job_id}/cancel (the `JobsApiRoutesBatchCancelBatchJob` operationId).
JobsApiRoutesBatchCancelBatchJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChatClassificationsV1ChatClassificationsPostWithBody Chat Classifications
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/chat/classifications (the `ChatClassificationsV1ChatClassificationsPost` operationId).
ChatClassificationsV1ChatClassificationsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChatClassificationsV1ChatClassificationsPost Chat Classifications
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/chat/classifications (the `ChatClassificationsV1ChatClassificationsPost` operationId).
ChatClassificationsV1ChatClassificationsPost(ctx context.Context, body ChatClassificationsV1ChatClassificationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChatCompletionV1ChatCompletionsPostWithBody Chat Completion
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/chat/completions (the `ChatCompletionV1ChatCompletionsPost` operationId).
ChatCompletionV1ChatCompletionsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChatCompletionV1ChatCompletionsPost Chat Completion
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/chat/completions (the `ChatCompletionV1ChatCompletionsPost` operationId).
ChatCompletionV1ChatCompletionsPost(ctx context.Context, body ChatCompletionV1ChatCompletionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChatModerationsV1ChatModerationsPostWithBody Chat Moderations
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/chat/moderations (the `ChatModerationsV1ChatModerationsPost` operationId).
ChatModerationsV1ChatModerationsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChatModerationsV1ChatModerationsPost Chat Moderations
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/chat/moderations (the `ChatModerationsV1ChatModerationsPost` operationId).
ChatModerationsV1ChatModerationsPost(ctx context.Context, body ChatModerationsV1ChatModerationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClassificationsV1ClassificationsPostWithBody Classifications
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/classifications (the `ClassificationsV1ClassificationsPost` operationId).
ClassificationsV1ClassificationsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClassificationsV1ClassificationsPost Classifications
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/classifications (the `ClassificationsV1ClassificationsPost` operationId).
ClassificationsV1ClassificationsPost(ctx context.Context, body ClassificationsV1ClassificationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorListV1 List all connectors.
//
// List all your custom connectors with keyset pagination and filters.
//
// Corresponds with GET /v1/connectors (the `ConnectorListV1` operationId).
ConnectorListV1(ctx context.Context, params *ConnectorListV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorCreateV1WithBody Create a new connector.
//
// Create a new MCP connector. You can customize its visibility, url and auth type.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/connectors (the `ConnectorCreateV1` operationId).
ConnectorCreateV1WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorCreateV1 Create a new connector.
//
// Create a new MCP connector. You can customize its visibility, url and auth type.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/connectors (the `ConnectorCreateV1` operationId).
ConnectorCreateV1(ctx context.Context, body ConnectorCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorGetV1 Get a connector.
//
// Get a connector by its ID or name.
//
// Corresponds with GET /v1/connectors/{connector_id_or_name}#idOrName (the `ConnectorGetV1` operationId).
ConnectorGetV1(ctx context.Context, connectorIdOrName string, params *ConnectorGetV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorGetAuthUrlV1 Get the auth URL for a connector.
//
// Get the OAuth2 authorization URL for a connector to initiate user authentication.
//
// Corresponds with GET /v1/connectors/{connector_id_or_name}/auth_url (the `ConnectorGetAuthUrlV1` operationId).
ConnectorGetAuthUrlV1(ctx context.Context, connectorIdOrName string, params *ConnectorGetAuthUrlV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorGetAuthenticationMethodsV1 Get authentication methods for a connector.
//
// Get the authentication schema for a connector. Returns the list of supported authentication methods and their required headers.
//
// Corresponds with GET /v1/connectors/{connector_id_or_name}/authentication_methods (the `ConnectorGetAuthenticationMethodsV1` operationId).
ConnectorGetAuthenticationMethodsV1(ctx context.Context, connectorIdOrName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorListOrganizationCredentialsV1 List organization credentials for a connector.
//
// List all credentials configured at the organization level for a given connector.
//
// Corresponds with GET /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorListOrganizationCredentialsV1` operationId).
ConnectorListOrganizationCredentialsV1(ctx context.Context, connectorIdOrName string, params *ConnectorListOrganizationCredentialsV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorCreateOrUpdateOrganizationCredentialsV1WithBody Create or update organization credentials for a connector.
//
// Create or update credentials at the organization level for a given connector.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorCreateOrUpdateOrganizationCredentialsV1` operationId).
ConnectorCreateOrUpdateOrganizationCredentialsV1WithBody(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorCreateOrUpdateOrganizationCredentialsV1 Create or update organization credentials for a connector.
//
// Create or update credentials at the organization level for a given connector.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorCreateOrUpdateOrganizationCredentialsV1` operationId).
ConnectorCreateOrUpdateOrganizationCredentialsV1(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateOrganizationCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorDeleteOrganizationCredentialsV1 Delete organization credentials for a connector.
//
// Delete credentials at the organization level for a given connector.
//
// Corresponds with DELETE /v1/connectors/{connector_id_or_name}/organization/credentials/{credentials_name} (the `ConnectorDeleteOrganizationCredentialsV1` operationId).
ConnectorDeleteOrganizationCredentialsV1(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorListToolsV1 List tools for a connector.
//
// List all tools available for an MCP connector.
//
// Corresponds with GET /v1/connectors/{connector_id_or_name}/tools (the `ConnectorListToolsV1` operationId).
ConnectorListToolsV1(ctx context.Context, connectorIdOrName string, params *ConnectorListToolsV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorCallToolV1WithBody Call Connector Tool
//
// Call a tool on an MCP connector.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/connectors/{connector_id_or_name}/tools/{tool_name}/call (the `ConnectorCallToolV1` operationId).
ConnectorCallToolV1WithBody(ctx context.Context, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorCallToolV1 Call Connector Tool
//
// Call a tool on an MCP connector.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/connectors/{connector_id_or_name}/tools/{tool_name}/call (the `ConnectorCallToolV1` operationId).
ConnectorCallToolV1(ctx context.Context, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, body ConnectorCallToolV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorListUserCredentialsV1 List user credentials for a connector.
//
// List all credentials configured at the user level for a given connector.
//
// Corresponds with GET /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorListUserCredentialsV1` operationId).
ConnectorListUserCredentialsV1(ctx context.Context, connectorIdOrName string, params *ConnectorListUserCredentialsV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorCreateOrUpdateUserCredentialsV1WithBody Create or update user credentials for a connector.
//
// Create or update credentials at the user level for a given connector.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorCreateOrUpdateUserCredentialsV1` operationId).
ConnectorCreateOrUpdateUserCredentialsV1WithBody(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorCreateOrUpdateUserCredentialsV1 Create or update user credentials for a connector.
//
// Create or update credentials at the user level for a given connector.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorCreateOrUpdateUserCredentialsV1` operationId).
ConnectorCreateOrUpdateUserCredentialsV1(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateUserCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorDeleteUserCredentialsV1 Delete user credentials for a connector.
//
// Delete credentials at the user level for a given connector.
//
// Corresponds with DELETE /v1/connectors/{connector_id_or_name}/user/credentials/{credentials_name} (the `ConnectorDeleteUserCredentialsV1` operationId).
ConnectorDeleteUserCredentialsV1(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorListWorkspaceCredentialsV1 List workspace credentials for a connector.
//
// List all credentials configured at the workspace level for a given connector.
//
// Corresponds with GET /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorListWorkspaceCredentialsV1` operationId).
ConnectorListWorkspaceCredentialsV1(ctx context.Context, connectorIdOrName string, params *ConnectorListWorkspaceCredentialsV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBody Create or update workspace credentials for a connector.
//
// Create or update credentials at the workspace level for a given connector.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorCreateOrUpdateWorkspaceCredentialsV1` operationId).
ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBody(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorCreateOrUpdateWorkspaceCredentialsV1 Create or update workspace credentials for a connector.
//
// Create or update credentials at the workspace level for a given connector.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorCreateOrUpdateWorkspaceCredentialsV1` operationId).
ConnectorCreateOrUpdateWorkspaceCredentialsV1(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateWorkspaceCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorDeleteWorkspaceCredentialsV1 Delete workspace credentials for a connector.
//
// Delete credentials at the workspace level for a given connector.
//
// Corresponds with DELETE /v1/connectors/{connector_id_or_name}/workspace/credentials/{credentials_name} (the `ConnectorDeleteWorkspaceCredentialsV1` operationId).
ConnectorDeleteWorkspaceCredentialsV1(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorDeleteV1 Delete a connector.
//
// Delete a connector by its ID.
//
// Corresponds with DELETE /v1/connectors/{connector_id}#id (the `ConnectorDeleteV1` operationId).
ConnectorDeleteV1(ctx context.Context, connectorId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorUpdateV1WithBody Update a connector.
//
// Update a connector by its ID.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/connectors/{connector_id}#id (the `ConnectorUpdateV1` operationId).
ConnectorUpdateV1WithBody(ctx context.Context, connectorId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectorUpdateV1 Update a connector.
//
// Update a connector by its ID.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/connectors/{connector_id}#id (the `ConnectorUpdateV1` operationId).
ConnectorUpdateV1(ctx context.Context, connectorId openapi_types.UUID, body ConnectorUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1ConversationsList List all created conversations.
//
// Retrieve a list of conversation entities sorted by creation time.
//
// Corresponds with GET /v1/conversations (the `AgentsApiV1ConversationsList` operationId).
AgentsApiV1ConversationsList(ctx context.Context, params *AgentsApiV1ConversationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1ConversationsStartWithBody Create a conversation and append entries to it.
//
// Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/conversations (the `AgentsApiV1ConversationsStart` operationId).
AgentsApiV1ConversationsStartWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1ConversationsStart Create a conversation and append entries to it.
//
// Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/conversations (the `AgentsApiV1ConversationsStart` operationId).
AgentsApiV1ConversationsStart(ctx context.Context, body AgentsApiV1ConversationsStartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1ConversationsStartStreamWithBody Create a conversation and append entries to it.
//
// Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/conversations#stream (the `AgentsApiV1ConversationsStartStream` operationId).
AgentsApiV1ConversationsStartStreamWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1ConversationsStartStream Create a conversation and append entries to it.
//
// Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/conversations#stream (the `AgentsApiV1ConversationsStartStream` operationId).
AgentsApiV1ConversationsStartStream(ctx context.Context, body AgentsApiV1ConversationsStartStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1ConversationsDelete Delete a conversation.
//
// Delete a conversation given a conversation_id.
//
// Corresponds with DELETE /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsDelete` operationId).
AgentsApiV1ConversationsDelete(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1ConversationsGet Retrieve a conversation information.
//
// Given a conversation_id retrieve a conversation entity with its attributes.
//
// Corresponds with GET /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsGet` operationId).
AgentsApiV1ConversationsGet(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1ConversationsAppendWithBody Append new entries to an existing conversation.
//
// Run completion on the history of the conversation and the user entries. Return the new created entries.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsAppend` operationId).
AgentsApiV1ConversationsAppendWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1ConversationsAppend Append new entries to an existing conversation.
//
// Run completion on the history of the conversation and the user entries. Return the new created entries.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsAppend` operationId).
AgentsApiV1ConversationsAppend(ctx context.Context, conversationId string, body AgentsApiV1ConversationsAppendJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1ConversationsAppendStreamWithBody Append new entries to an existing conversation.
//
// Run completion on the history of the conversation and the user entries. Return the new created entries.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/conversations/{conversation_id}#stream (the `AgentsApiV1ConversationsAppendStream` operationId).
AgentsApiV1ConversationsAppendStreamWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1ConversationsAppendStream Append new entries to an existing conversation.
//
// Run completion on the history of the conversation and the user entries. Return the new created entries.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/conversations/{conversation_id}#stream (the `AgentsApiV1ConversationsAppendStream` operationId).
AgentsApiV1ConversationsAppendStream(ctx context.Context, conversationId string, body AgentsApiV1ConversationsAppendStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1ConversationsHistory Retrieve all entries in a conversation.
//
// Given a conversation_id retrieve all the entries belonging to that conversation. The entries are sorted in the order they were appended, those can be messages, connectors or function_call.
//
// Corresponds with GET /v1/conversations/{conversation_id}/history (the `AgentsApiV1ConversationsHistory` operationId).
AgentsApiV1ConversationsHistory(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1ConversationsMessages Retrieve all messages in a conversation.
//
// Given a conversation_id retrieve all the messages belonging to that conversation. This is similar to retrieving all entries except we filter the messages only.
//
// Corresponds with GET /v1/conversations/{conversation_id}/messages (the `AgentsApiV1ConversationsMessages` operationId).
AgentsApiV1ConversationsMessages(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1ConversationsRestartWithBody Restart a conversation starting from a given entry.
//
// Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/conversations/{conversation_id}/restart (the `AgentsApiV1ConversationsRestart` operationId).
AgentsApiV1ConversationsRestartWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1ConversationsRestart Restart a conversation starting from a given entry.
//
// Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/conversations/{conversation_id}/restart (the `AgentsApiV1ConversationsRestart` operationId).
AgentsApiV1ConversationsRestart(ctx context.Context, conversationId string, body AgentsApiV1ConversationsRestartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1ConversationsRestartStreamWithBody Restart a conversation starting from a given entry.
//
// Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/conversations/{conversation_id}/restart#stream (the `AgentsApiV1ConversationsRestartStream` operationId).
AgentsApiV1ConversationsRestartStreamWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentsApiV1ConversationsRestartStream Restart a conversation starting from a given entry.
//
// Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/conversations/{conversation_id}/restart#stream (the `AgentsApiV1ConversationsRestartStream` operationId).
AgentsApiV1ConversationsRestartStream(ctx context.Context, conversationId string, body AgentsApiV1ConversationsRestartStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EmbeddingsV1EmbeddingsPostWithBody Embeddings
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/embeddings (the `EmbeddingsV1EmbeddingsPost` operationId).
EmbeddingsV1EmbeddingsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EmbeddingsV1EmbeddingsPost Embeddings
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/embeddings (the `EmbeddingsV1EmbeddingsPost` operationId).
EmbeddingsV1EmbeddingsPost(ctx context.Context, body EmbeddingsV1EmbeddingsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// FilesApiRoutesListFiles List Files
//
// Returns a list of files that belong to the user's organization.
//
// Corresponds with GET /v1/files (the `FilesApiRoutesListFiles` operationId).
FilesApiRoutesListFiles(ctx context.Context, params *FilesApiRoutesListFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// FilesApiRoutesUploadFileWithBody Upload File
//
// Upload a file that can be used across various endpoints.
//
// The size of individual files can be a maximum of 512 MB. The Fine-tuning API only supports .jsonl files.
//
// Please contact us if you need to increase these storage limits.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/files (the `FilesApiRoutesUploadFile` operationId).
FilesApiRoutesUploadFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// FilesApiRoutesDeleteFile Delete File
//
// Delete a file.
//
// Corresponds with DELETE /v1/files/{file_id} (the `FilesApiRoutesDeleteFile` operationId).
FilesApiRoutesDeleteFile(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// FilesApiRoutesRetrieveFile Retrieve File
//
// Returns information about a specific file.
//
// Corresponds with GET /v1/files/{file_id} (the `FilesApiRoutesRetrieveFile` operationId).
FilesApiRoutesRetrieveFile(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// FilesApiRoutesDownloadFile Download File
//
// Download a file.
//
// Corresponds with GET /v1/files/{file_id}/content (the `FilesApiRoutesDownloadFile` operationId).
FilesApiRoutesDownloadFile(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// FilesApiRoutesGetSignedUrl Get Signed Url
//
// Corresponds with GET /v1/files/{file_id}/url (the `FilesApiRoutesGetSignedUrl` operationId).
FilesApiRoutesGetSignedUrl(ctx context.Context, fileId openapi_types.UUID, params *FilesApiRoutesGetSignedUrlParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// FimCompletionV1FimCompletionsPostWithBody Fim Completion
//
// FIM completion.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/fim/completions (the `FimCompletionV1FimCompletionsPost` operationId).
FimCompletionV1FimCompletionsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// FimCompletionV1FimCompletionsPost Fim Completion
//
// FIM completion.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/fim/completions (the `FimCompletionV1FimCompletionsPost` operationId).
FimCompletionV1FimCompletionsPost(ctx context.Context, body FimCompletionV1FimCompletionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// JobsApiRoutesFineTuningGetFineTuningJobs Get Fine Tuning Jobs
//
// Get a list of fine-tuning jobs for your organization and user.
//
// Corresponds with GET /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningGetFineTuningJobs` operationId).
JobsApiRoutesFineTuningGetFineTuningJobs(ctx context.Context, params *JobsApiRoutesFineTuningGetFineTuningJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// JobsApiRoutesFineTuningCreateFineTuningJobWithBody Create Fine Tuning Job
//
// Create a new fine-tuning job, it will be queued for processing.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningCreateFineTuningJob` operationId).
JobsApiRoutesFineTuningCreateFineTuningJobWithBody(ctx context.Context, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// JobsApiRoutesFineTuningCreateFineTuningJob Create Fine Tuning Job
//
// Create a new fine-tuning job, it will be queued for processing.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningCreateFineTuningJob` operationId).
JobsApiRoutesFineTuningCreateFineTuningJob(ctx context.Context, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, body JobsApiRoutesFineTuningCreateFineTuningJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// JobsApiRoutesFineTuningGetFineTuningJob Get Fine Tuning Job
//
// Get a fine-tuned job details by its UUID.
//
// Corresponds with GET /v1/fine_tuning/jobs/{job_id} (the `JobsApiRoutesFineTuningGetFineTuningJob` operationId).
JobsApiRoutesFineTuningGetFineTuningJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// JobsApiRoutesFineTuningCancelFineTuningJob Cancel Fine Tuning Job
//
// Request the cancellation of a fine tuning job.
//
// Corresponds with POST /v1/fine_tuning/jobs/{job_id}/cancel (the `JobsApiRoutesFineTuningCancelFineTuningJob` operationId).
JobsApiRoutesFineTuningCancelFineTuningJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// JobsApiRoutesFineTuningStartFineTuningJob Start Fine Tuning Job
//
// Request the start of a validated fine tuning job.
//
// Corresponds with POST /v1/fine_tuning/jobs/{job_id}/start (the `JobsApiRoutesFineTuningStartFineTuningJob` operationId).
JobsApiRoutesFineTuningStartFineTuningJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// JobsApiRoutesFineTuningUpdateFineTunedModelWithBody Update Fine Tuned Model
//
// Update a model name or description.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/fine_tuning/models/{model_id} (the `JobsApiRoutesFineTuningUpdateFineTunedModel` operationId).
JobsApiRoutesFineTuningUpdateFineTunedModelWithBody(ctx context.Context, modelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// JobsApiRoutesFineTuningUpdateFineTunedModel Update Fine Tuned Model
//
// Update a model name or description.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/fine_tuning/models/{model_id} (the `JobsApiRoutesFineTuningUpdateFineTunedModel` operationId).
JobsApiRoutesFineTuningUpdateFineTunedModel(ctx context.Context, modelId string, body JobsApiRoutesFineTuningUpdateFineTunedModelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// JobsApiRoutesFineTuningUnarchiveFineTunedModel Unarchive Fine Tuned Model
//
// Un-archive a fine-tuned model.
//
// Corresponds with DELETE /v1/fine_tuning/models/{model_id}/archive (the `JobsApiRoutesFineTuningUnarchiveFineTunedModel` operationId).
JobsApiRoutesFineTuningUnarchiveFineTunedModel(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// JobsApiRoutesFineTuningArchiveFineTunedModel Archive Fine Tuned Model
//
// Archive a fine-tuned model.
//
// Corresponds with POST /v1/fine_tuning/models/{model_id}/archive (the `JobsApiRoutesFineTuningArchiveFineTunedModel` operationId).
JobsApiRoutesFineTuningArchiveFineTunedModel(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrariesListV1 List all libraries you have access to.
//
// List all libraries that you have created or have been shared with you.
//
// Corresponds with GET /v1/libraries (the `LibrariesListV1` operationId).
LibrariesListV1(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrariesCreateV1WithBody Create a new Library.
//
// Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/libraries (the `LibrariesCreateV1` operationId).
LibrariesCreateV1WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrariesCreateV1 Create a new Library.
//
// Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/libraries (the `LibrariesCreateV1` operationId).
LibrariesCreateV1(ctx context.Context, body LibrariesCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrariesDeleteV1 Delete a library and all of it's document.
//
// Given a library id, deletes it together with all documents that have been uploaded to that library.
//
// Corresponds with DELETE /v1/libraries/{library_id} (the `LibrariesDeleteV1` operationId).
LibrariesDeleteV1(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrariesGetV1 Detailed information about a specific Library.
//
// Given a library id, details information about that Library.
//
// Corresponds with GET /v1/libraries/{library_id} (the `LibrariesGetV1` operationId).
LibrariesGetV1(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrariesUpdateV1WithBody Update a library.
//
// Given a library id, you can update the name and description.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/libraries/{library_id} (the `LibrariesUpdateV1` operationId).
LibrariesUpdateV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrariesUpdateV1 Update a library.
//
// Given a library id, you can update the name and description.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/libraries/{library_id} (the `LibrariesUpdateV1` operationId).
LibrariesUpdateV1(ctx context.Context, libraryId openapi_types.UUID, body LibrariesUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrariesDocumentsListV1 List documents in a given library.
//
// Given a library, lists the document that have been uploaded to that library.
//
// Corresponds with GET /v1/libraries/{library_id}/documents (the `LibrariesDocumentsListV1` operationId).
LibrariesDocumentsListV1(ctx context.Context, libraryId openapi_types.UUID, params *LibrariesDocumentsListV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrariesDocumentsUploadV1WithBody Upload a new document.
//
// Given a library, upload a new document to that library. It is queued for processing, it status will change it has been processed. The processing has to be completed in order be discoverable for the library search
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/libraries/{library_id}/documents (the `LibrariesDocumentsUploadV1` operationId).
LibrariesDocumentsUploadV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrariesDocumentsDeleteV1 Delete a document.
//
// Given a library and a document in that library, delete that document. The document will be deleted from the library and the search index.
//
// Corresponds with DELETE /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsDeleteV1` operationId).
LibrariesDocumentsDeleteV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrariesDocumentsGetV1 Retrieve the metadata of a specific document.
//
// Given a library and a document in this library, you can retrieve the metadata of that document.
//
// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsGetV1` operationId).
LibrariesDocumentsGetV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrariesDocumentsUpdateV1WithBody Update the metadata of a specific document.
//
// Given a library and a document in that library, update the name of that document.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsUpdateV1` operationId).
LibrariesDocumentsUpdateV1WithBody(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrariesDocumentsUpdateV1 Update the metadata of a specific document.
//
// Given a library and a document in that library, update the name of that document.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsUpdateV1` operationId).
LibrariesDocumentsUpdateV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, body LibrariesDocumentsUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrariesDocumentsGetExtractedTextSignedUrlV1 Retrieve the signed URL of text extracted from a given document.
//
// Given a library and a document in that library, retrieve the signed URL of text extracted. For documents that are sent to the OCR this returns the result of the OCR queries.
//
// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/extracted-text-signed-url (the `LibrariesDocumentsGetExtractedTextSignedUrlV1` operationId).
LibrariesDocumentsGetExtractedTextSignedUrlV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrariesDocumentsReprocessV1 Reprocess a document.
//
// Given a library and a document in that library, reprocess that document, it will be billed again.
//
// Corresponds with POST /v1/libraries/{library_id}/documents/{document_id}/reprocess (the `LibrariesDocumentsReprocessV1` operationId).
LibrariesDocumentsReprocessV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrariesDocumentsGetSignedUrlV1 Retrieve the signed URL of a specific document.
//
// Given a library and a document in that library, retrieve the signed URL of a specific document.The url will expire after 30 minutes and can be accessed by anyone with the link.
//
// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/signed-url (the `LibrariesDocumentsGetSignedUrlV1` operationId).
LibrariesDocumentsGetSignedUrlV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrariesDocumentsGetStatusV1 Retrieve the processing status of a specific document.
//
// Given a library and a document in that library, retrieve the processing status of that document.
//
// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/status (the `LibrariesDocumentsGetStatusV1` operationId).
LibrariesDocumentsGetStatusV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// LibrariesDocumentsGetTextContentV1 Retrieve the text content of a specific document.
//
// Given a library and a document in that library, you can retrieve the text content of that document if it exists. For documents like pdf, docx and pptx the text content results from our processing using Mistral OCR.
//
// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/text_content (the `LibrariesDocumentsGetTextContentV1` operationId).
LibrariesDocumentsGetTextContentV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /v1/libraries/{library_id}/share (the `LibrariesShareDeleteV1` operationId).
LibrariesShareDeleteV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /v1/libraries/{library_id}/share (the `LibrariesShareDeleteV1` operationId).
LibrariesShareDeleteV1(ctx context.Context, libraryId openapi_types.UUID, body LibrariesShareDeleteV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Given a library, list all of the Entity that have access and to what level.
//
// Corresponds with GET /v1/libraries/{library_id}/share (the `LibrariesShareListV1` operationId).
LibrariesShareListV1(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/libraries/{library_id}/share (the `LibrariesShareCreateV1` operationId).
LibrariesShareCreateV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/libraries/{library_id}/share (the `LibrariesShareCreateV1` operationId).
LibrariesShareCreateV1(ctx context.Context, libraryId openapi_types.UUID, body LibrariesShareCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListModelsV1ModelsGet List Models
//
// List all models available to the user.
//
// Corresponds with GET /v1/models (the `ListModelsV1ModelsGet` operationId).
ListModelsV1ModelsGet(ctx context.Context, params *ListModelsV1ModelsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteModelV1ModelsModelIdDelete Delete Model
//
// Delete a fine-tuned model.
//
// Corresponds with DELETE /v1/models/{model_id} (the `DeleteModelV1ModelsModelIdDelete` operationId).
DeleteModelV1ModelsModelIdDelete(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetrieveModelV1ModelsModelIdGet Retrieve Model
//
// Retrieve information about a model.
//
// Corresponds with GET /v1/models/{model_id} (the `RetrieveModelV1ModelsModelIdGet` operationId).
RetrieveModelV1ModelsModelIdGet(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModerationsV1ModerationsPostWithBody Moderations
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/moderations (the `ModerationsV1ModerationsPost` operationId).
ModerationsV1ModerationsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ModerationsV1ModerationsPost Moderations
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/moderations (the `ModerationsV1ModerationsPost` operationId).
ModerationsV1ModerationsPost(ctx context.Context, body ModerationsV1ModerationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCampaignsV1ObservabilityCampaignsGet Get all campaigns
//
// Corresponds with GET /v1/observability/campaigns (the `GetCampaignsV1ObservabilityCampaignsGet` operationId).
GetCampaignsV1ObservabilityCampaignsGet(ctx context.Context, params *GetCampaignsV1ObservabilityCampaignsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCampaignV1ObservabilityCampaignsPostWithBody Create and start a new campaign
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/observability/campaigns (the `CreateCampaignV1ObservabilityCampaignsPost` operationId).
CreateCampaignV1ObservabilityCampaignsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCampaignV1ObservabilityCampaignsPost Create and start a new campaign
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/observability/campaigns (the `CreateCampaignV1ObservabilityCampaignsPost` operationId).
CreateCampaignV1ObservabilityCampaignsPost(ctx context.Context, body CreateCampaignV1ObservabilityCampaignsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete Delete a campaign
//
// Corresponds with DELETE /v1/observability/campaigns/{campaign_id} (the `DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete` operationId).
DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet Get campaign by id
//
// Corresponds with GET /v1/observability/campaigns/{campaign_id} (the `GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet` operationId).
GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet Get event ids that were selected by the given campaign
//
// Corresponds with GET /v1/observability/campaigns/{campaign_id}/selected-events (the `GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet` operationId).
GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet(ctx context.Context, campaignId openapi_types.UUID, params *GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet Get campaign status by campaign id
//
// Corresponds with GET /v1/observability/campaigns/{campaign_id}/status (the `GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet` operationId).
GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBody Get Chat Completion Events
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/observability/chat-completion-events/search (the `GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost` operationId).
GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBody(ctx context.Context, params *GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost Get Chat Completion Events
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/observability/chat-completion-events/search (the `GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost` operationId).
GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost(ctx context.Context, params *GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams, body GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBody Alternative to /search that returns only the IDs and that can return many IDs at once
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/observability/chat-completion-events/search-ids (the `GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost` operationId).
GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost Alternative to /search that returns only the IDs and that can return many IDs at once
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/observability/chat-completion-events/search-ids (the `GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost` operationId).
GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost(ctx context.Context, body GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet Get Chat Completion Event
//
// Corresponds with GET /v1/observability/chat-completion-events/{event_id} (the `GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet` operationId).
GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBody Run Judge on an event based on the given options
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/observability/chat-completion-events/{event_id}/live-judging (the `JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost` operationId).
JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBody(ctx context.Context, eventId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost Run Judge on an event based on the given options
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/observability/chat-completion-events/{event_id}/live-judging (the `JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost` operationId).
JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost(ctx context.Context, eventId openapi_types.UUID, body JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet Get Similar Chat Completion Events
//
// Corresponds with GET /v1/observability/chat-completion-events/{event_id}/similar-events (the `GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet` operationId).
GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet Get Chat Completion Fields
//
// Corresponds with GET /v1/observability/chat-completion-fields (the `GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet` operationId).
GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet Get Chat Completion Field Options
//
// Corresponds with GET /v1/observability/chat-completion-fields/{field_name}/options (the `GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet` operationId).
GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet(ctx context.Context, fieldName string, params *GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBody Get Chat Completion Field Options Counts
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/observability/chat-completion-fields/{field_name}/options-counts (the `GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost` operationId).
GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBody(ctx context.Context, fieldName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost Get Chat Completion Field Options Counts
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/observability/chat-completion-fields/{field_name}/options-counts (the `GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost` operationId).
GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost(ctx context.Context, fieldName string, body GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBody Delete multiple records from datasets
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/observability/dataset-records/bulk-delete (the `DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost` operationId).
DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost Delete multiple records from datasets
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/observability/dataset-records/bulk-delete (the `DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost` operationId).
DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost(ctx context.Context, body DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete Delete a record from a dataset
//
// Corresponds with DELETE /v1/observability/dataset-records/{dataset_record_id} (the `DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete` operationId).
DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete(ctx context.Context, datasetRecordId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet Get the content of a given conversation from a dataset
//
// Corresponds with GET /v1/observability/dataset-records/{dataset_record_id} (the `GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet` operationId).
GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet(ctx context.Context, datasetRecordId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBody Run Judge on a dataset record based on the given options
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/observability/dataset-records/{dataset_record_id}/live-judging (the `JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost` operationId).
JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBody(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost Run Judge on a dataset record based on the given options
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/observability/dataset-records/{dataset_record_id}/live-judging (the `JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost` operationId).
JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost(ctx context.Context, datasetRecordId openapi_types.UUID, body JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBody Update a dataset record conversation payload
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/payload (the `UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut` operationId).
UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBody(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut Update a dataset record conversation payload
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/payload (the `UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut` operationId).
UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut(ctx context.Context, datasetRecordId openapi_types.UUID, body UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBody Update conversation properties
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/properties (the `UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut` operationId).
UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBody(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut Update conversation properties
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/properties (the `UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut` operationId).
UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut(ctx context.Context, datasetRecordId openapi_types.UUID, body UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatasetsV1ObservabilityDatasetsGet List existing datasets
//
// Corresponds with GET /v1/observability/datasets (the `GetDatasetsV1ObservabilityDatasetsGet` operationId).
GetDatasetsV1ObservabilityDatasetsGet(ctx context.Context, params *GetDatasetsV1ObservabilityDatasetsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDatasetV1ObservabilityDatasetsPostWithBody Create a new empty dataset
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/observability/datasets (the `CreateDatasetV1ObservabilityDatasetsPost` operationId).
CreateDatasetV1ObservabilityDatasetsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDatasetV1ObservabilityDatasetsPost Create a new empty dataset
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/observability/datasets (the `CreateDatasetV1ObservabilityDatasetsPost` operationId).
CreateDatasetV1ObservabilityDatasetsPost(ctx context.Context, body CreateDatasetV1ObservabilityDatasetsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete Delete a dataset
//
// Corresponds with DELETE /v1/observability/datasets/{dataset_id} (the `DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete` operationId).
DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet Get dataset by id
//
// Corresponds with GET /v1/observability/datasets/{dataset_id} (the `GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet` operationId).
GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBody Patch dataset
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/observability/datasets/{dataset_id} (the `UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch` operationId).
UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch Patch dataset
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/observability/datasets/{dataset_id} (the `UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch` operationId).
UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch(ctx context.Context, datasetId openapi_types.UUID, body UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet Export to the Files API and retrieve presigned URL to download the resulting JSONL file
//
// Corresponds with GET /v1/observability/datasets/{dataset_id}/exports/to-jsonl (the `ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet` operationId).
ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBody Populate the dataset with a campaign
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-campaign (the `PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost` operationId).
PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost Populate the dataset with a campaign
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-campaign (the `PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost` operationId).
PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBody Populate the dataset with samples from another dataset
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-dataset (the `PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost` operationId).
PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost Populate the dataset with samples from another dataset
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-dataset (the `PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost` operationId).
PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBody Populate the dataset with samples from the explorer
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-explorer (the `PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost` operationId).
PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost Populate the dataset with samples from the explorer
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-explorer (the `PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost` operationId).
PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBody Populate the dataset with samples from an uploaded file
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-file (the `PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost` operationId).
PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost Populate the dataset with samples from an uploaded file
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-file (the `PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost` operationId).
PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBody Populate the dataset with samples from the playground
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-playground (the `PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost` operationId).
PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost Populate the dataset with samples from the playground
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-playground (the `PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost` operationId).
PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet List existing records in the dataset
//
// Corresponds with GET /v1/observability/datasets/{dataset_id}/records (the `GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet` operationId).
GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet(ctx context.Context, datasetId openapi_types.UUID, params *GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBody Add a conversation to the dataset
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/records (the `CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost` operationId).
CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost Add a conversation to the dataset
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/records (the `CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost` operationId).
CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost(ctx context.Context, datasetId openapi_types.UUID, body CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet List import tasks for the given dataset
//
// Corresponds with GET /v1/observability/datasets/{dataset_id}/tasks (the `GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet` operationId).
GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet(ctx context.Context, datasetId openapi_types.UUID, params *GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet Get status of a dataset import task
//
// Corresponds with GET /v1/observability/datasets/{dataset_id}/tasks/{task_id} (the `GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet` operationId).
GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet(ctx context.Context, datasetId openapi_types.UUID, taskId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetJudgesV1ObservabilityJudgesGet Get judges with optional filtering and search
//
// Corresponds with GET /v1/observability/judges (the `GetJudgesV1ObservabilityJudgesGet` operationId).
GetJudgesV1ObservabilityJudgesGet(ctx context.Context, params *GetJudgesV1ObservabilityJudgesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateJudgeV1ObservabilityJudgesPostWithBody Create a new judge
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/observability/judges (the `CreateJudgeV1ObservabilityJudgesPost` operationId).
CreateJudgeV1ObservabilityJudgesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateJudgeV1ObservabilityJudgesPost Create a new judge
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/observability/judges (the `CreateJudgeV1ObservabilityJudgesPost` operationId).
CreateJudgeV1ObservabilityJudgesPost(ctx context.Context, body CreateJudgeV1ObservabilityJudgesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteJudgeV1ObservabilityJudgesJudgeIdDelete Delete a judge
//
// Corresponds with DELETE /v1/observability/judges/{judge_id} (the `DeleteJudgeV1ObservabilityJudgesJudgeIdDelete` operationId).
DeleteJudgeV1ObservabilityJudgesJudgeIdDelete(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetJudgeByIdV1ObservabilityJudgesJudgeIdGet Get judge by id
//
// Corresponds with GET /v1/observability/judges/{judge_id} (the `GetJudgeByIdV1ObservabilityJudgesJudgeIdGet` operationId).
GetJudgeByIdV1ObservabilityJudgesJudgeIdGet(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBody Update a judge
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/observability/judges/{judge_id} (the `UpdateJudgeV1ObservabilityJudgesJudgeIdPut` operationId).
UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBody(ctx context.Context, judgeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateJudgeV1ObservabilityJudgesJudgeIdPut Update a judge
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/observability/judges/{judge_id} (the `UpdateJudgeV1ObservabilityJudgesJudgeIdPut` operationId).
UpdateJudgeV1ObservabilityJudgesJudgeIdPut(ctx context.Context, judgeId openapi_types.UUID, body UpdateJudgeV1ObservabilityJudgesJudgeIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBody Run a saved judge on a conversation
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/observability/judges/{judge_id}/live-judging (the `JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost` operationId).
JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBody(ctx context.Context, judgeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost Run a saved judge on a conversation
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/observability/judges/{judge_id}/live-judging (the `JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost` operationId).
JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost(ctx context.Context, judgeId openapi_types.UUID, body JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// OcrV1OcrPostWithBody OCR
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/ocr (the `OcrV1OcrPost` operationId).
OcrV1OcrPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// OcrV1OcrPost OCR
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/ocr (the `OcrV1OcrPost` operationId).
OcrV1OcrPost(ctx context.Context, body OcrV1OcrPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDeploymentsV1WorkflowsDeploymentsGet List Deployments
//
// Corresponds with GET /v1/workflows/deployments (the `ListDeploymentsV1WorkflowsDeploymentsGet` operationId).
ListDeploymentsV1WorkflowsDeploymentsGet(ctx context.Context, params *ListDeploymentsV1WorkflowsDeploymentsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeploymentV1WorkflowsDeploymentsNameGet Get Deployment
//
// Corresponds with GET /v1/workflows/deployments/{name} (the `GetDeploymentV1WorkflowsDeploymentsNameGet` operationId).
GetDeploymentV1WorkflowsDeploymentsNameGet(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflowEventsV1WorkflowsEventsListGet Get Workflow Events
//
// Corresponds with GET /v1/workflows/events/list (the `GetWorkflowEventsV1WorkflowsEventsListGet` operationId).
GetWorkflowEventsV1WorkflowsEventsListGet(ctx context.Context, params *GetWorkflowEventsV1WorkflowsEventsListGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStreamEventsV1WorkflowsEventsStreamGet Get Stream Events
//
// Corresponds with GET /v1/workflows/events/stream (the `GetStreamEventsV1WorkflowsEventsStreamGet` operationId).
GetStreamEventsV1WorkflowsEventsStreamGet(ctx context.Context, params *GetStreamEventsV1WorkflowsEventsStreamGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBody Batch Cancel Workflow Executions
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/workflows/executions/cancel (the `BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost` operationId).
BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost Batch Cancel Workflow Executions
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/workflows/executions/cancel (the `BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost` operationId).
BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost(ctx context.Context, body BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBody Batch Terminate Workflow Executions
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/workflows/executions/terminate (the `BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost` operationId).
BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost Batch Terminate Workflow Executions
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/workflows/executions/terminate (the `BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost` operationId).
BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost(ctx context.Context, body BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet Get Workflow Execution
//
// Corresponds with GET /v1/workflows/executions/{execution_id} (the `GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet` operationId).
GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost Cancel Workflow Execution
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/cancel (the `CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost` operationId).
CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet Get Workflow Execution History
//
// Corresponds with GET /v1/workflows/executions/{execution_id}/history (the `GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet` operationId).
GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet(ctx context.Context, executionId string, params *GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBody Query Workflow Execution
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/queries (the `QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost` operationId).
QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBody(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost Query Workflow Execution
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/queries (the `QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost` operationId).
QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost(ctx context.Context, executionId string, body QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBody Reset Workflow
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/reset (the `ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost` operationId).
ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBody(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost Reset Workflow
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/reset (the `ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost` operationId).
ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost(ctx context.Context, executionId string, body ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBody Signal Workflow Execution
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/signals (the `SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost` operationId).
SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBody(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost Signal Workflow Execution
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/signals (the `SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost` operationId).
SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost(ctx context.Context, executionId string, body SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// StreamV1WorkflowsExecutionsExecutionIdStreamGet Stream
//
// Corresponds with GET /v1/workflows/executions/{execution_id}/stream (the `StreamV1WorkflowsExecutionsExecutionIdStreamGet` operationId).
StreamV1WorkflowsExecutionsExecutionIdStreamGet(ctx context.Context, executionId string, params *StreamV1WorkflowsExecutionsExecutionIdStreamGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost Terminate Workflow Execution
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/terminate (the `TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost` operationId).
TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflowExecutionTraceEvents Get Workflow Execution Trace Events
//
// Corresponds with GET /v1/workflows/executions/{execution_id}/trace/events (the `GetWorkflowExecutionTraceEvents` operationId).
GetWorkflowExecutionTraceEvents(ctx context.Context, executionId string, params *GetWorkflowExecutionTraceEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflowExecutionTraceOtel Get Workflow Execution Trace Otel
//
// Corresponds with GET /v1/workflows/executions/{execution_id}/trace/otel (the `GetWorkflowExecutionTraceOtel` operationId).
GetWorkflowExecutionTraceOtel(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflowExecutionTraceSummary Get Workflow Execution Trace Summary
//
// Corresponds with GET /v1/workflows/executions/{execution_id}/trace/summary (the `GetWorkflowExecutionTraceSummary` operationId).
GetWorkflowExecutionTraceSummary(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBody Update Workflow Execution
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/updates (the `UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost` operationId).
UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBody(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost Update Workflow Execution
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/updates (the `UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost` operationId).
UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost(ctx context.Context, executionId string, body UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflowRegistrationsV1WorkflowsRegistrationsGet Get Workflow Registrations
//
// Corresponds with GET /v1/workflows/registrations (the `GetWorkflowRegistrationsV1WorkflowsRegistrationsGet` operationId).
GetWorkflowRegistrationsV1WorkflowsRegistrationsGet(ctx context.Context, params *GetWorkflowRegistrationsV1WorkflowsRegistrationsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet Get Workflow Registration
//
// Corresponds with GET /v1/workflows/registrations/{workflow_registration_id} (the `GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet` operationId).
GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet(ctx context.Context, workflowRegistrationId openapi_types.UUID, params *GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBody Execute Workflow Registration
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/workflows/registrations/{workflow_registration_id}/execute (the `ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBody(ctx context.Context, workflowRegistrationId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost Execute Workflow Registration
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/workflows/registrations/{workflow_registration_id}/execute (the `ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost(ctx context.Context, workflowRegistrationId openapi_types.UUID, body ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRunsV1WorkflowsRunsGet List Runs
//
// Corresponds with GET /v1/workflows/runs (the `ListRunsV1WorkflowsRunsGet` operationId).
ListRunsV1WorkflowsRunsGet(ctx context.Context, params *ListRunsV1WorkflowsRunsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRunV1WorkflowsRunsRunIdGet Get Run
//
// Corresponds with GET /v1/workflows/runs/{run_id} (the `GetRunV1WorkflowsRunsRunIdGet` operationId).
GetRunV1WorkflowsRunsRunIdGet(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRunHistoryV1WorkflowsRunsRunIdHistoryGet Get Run History
//
// Corresponds with GET /v1/workflows/runs/{run_id}/history (the `GetRunHistoryV1WorkflowsRunsRunIdHistoryGet` operationId).
GetRunHistoryV1WorkflowsRunsRunIdHistoryGet(ctx context.Context, runId openapi_types.UUID, params *GetRunHistoryV1WorkflowsRunsRunIdHistoryGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSchedulesV1WorkflowsSchedulesGet Get Schedules
//
// Corresponds with GET /v1/workflows/schedules (the `GetSchedulesV1WorkflowsSchedulesGet` operationId).
GetSchedulesV1WorkflowsSchedulesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ScheduleWorkflowV1WorkflowsSchedulesPostWithBody Schedule Workflow
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/workflows/schedules (the `ScheduleWorkflowV1WorkflowsSchedulesPost` operationId).
ScheduleWorkflowV1WorkflowsSchedulesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ScheduleWorkflowV1WorkflowsSchedulesPost Schedule Workflow
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/workflows/schedules (the `ScheduleWorkflowV1WorkflowsSchedulesPost` operationId).
ScheduleWorkflowV1WorkflowsSchedulesPost(ctx context.Context, body ScheduleWorkflowV1WorkflowsSchedulesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete Unschedule Workflow
//
// Corresponds with DELETE /v1/workflows/schedules/{schedule_id} (the `UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete` operationId).
UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete(ctx context.Context, scheduleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkerInfoV1WorkflowsWorkersWhoamiGet Get Worker Info
//
// Corresponds with GET /v1/workflows/workers/whoami (the `GetWorkerInfoV1WorkflowsWorkersWhoamiGet` operationId).
GetWorkerInfoV1WorkflowsWorkersWhoamiGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflowV1WorkflowsWorkflowIdentifierGet Get Workflow
//
// Corresponds with GET /v1/workflows/{workflow_identifier} (the `GetWorkflowV1WorkflowsWorkflowIdentifierGet` operationId).
GetWorkflowV1WorkflowsWorkflowIdentifierGet(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBody Update Workflow
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/workflows/{workflow_identifier} (the `UpdateWorkflowV1WorkflowsWorkflowIdentifierPut` operationId).
UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBody(ctx context.Context, workflowIdentifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWorkflowV1WorkflowsWorkflowIdentifierPut Update Workflow
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/workflows/{workflow_identifier} (the `UpdateWorkflowV1WorkflowsWorkflowIdentifierPut` operationId).
UpdateWorkflowV1WorkflowsWorkflowIdentifierPut(ctx context.Context, workflowIdentifier string, body UpdateWorkflowV1WorkflowsWorkflowIdentifierPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut Archive Workflow
//
// Corresponds with PUT /v1/workflows/{workflow_identifier}/archive (the `ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut` operationId).
ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBody Execute Workflow
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/workflows/{workflow_identifier}/execute (the `ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost` operationId).
ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBody(ctx context.Context, workflowIdentifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost Execute Workflow
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/workflows/{workflow_identifier}/execute (the `ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost` operationId).
ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost(ctx context.Context, workflowIdentifier string, body ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut Unarchive Workflow
//
// Corresponds with PUT /v1/workflows/{workflow_identifier}/unarchive (the `UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut` operationId).
UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet Get Workflow Metrics
//
// Get comprehensive metrics for a specific workflow.
//
// Args:
// workflow_name: The name of the workflow type to get metrics for
// start_time: Optional start time filter (ISO 8601 format)
// end_time: Optional end time filter (ISO 8601 format)
//
// Returns:
// WorkflowMetrics: Dictionary containing metrics:
// - execution_count: Total number of executions
// - success_count: Number of successful executions
// - error_count: Number of failed/terminated executions
// - average_latency_ms: Average execution duration in milliseconds
// - retry_rate: Proportion of workflows with retries
// - latency_over_time: Time-series data of execution durations
//
// Example:
// GET /v1/workflows/MyWorkflow/metrics
// GET /v1/workflows/MyWorkflow/metrics?start_time=2025-01-01T00:00:00Z
// GET /v1/workflows/MyWorkflow/metrics?start_time=2025-01-01T00:00:00Z&end_time=2025-12-31T23:59:59Z
//
// Corresponds with GET /v1/workflows/{workflow_name}/metrics (the `GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet` operationId).
GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet(ctx context.Context, workflowName string, params *GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AgentsApiV1AgentsCreateOrUpdateAliasWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1AgentsCreateOrUpdateAliasWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsCreateOrUpdateAliasParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsCreateOrUpdateAliasResponse, error)
AgentsApiV1AgentsCreateOrUpdateAliasWithResponse Create or update an agent version alias.
Create a new alias or update an existing alias to point to a specific version. Aliases are unique per agent and can be reassigned to different versions.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsCreateOrUpdateAlias` operationId).
func (*ClientWithResponses) AgentsApiV1AgentsCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1AgentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsCreateResponse, error)
AgentsApiV1AgentsCreateWithBodyWithResponse Create a agent that can be used within a conversation.
Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/agents (the `AgentsApiV1AgentsCreate` operationId).
func (*ClientWithResponses) AgentsApiV1AgentsCreateWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1AgentsCreateWithResponse(ctx context.Context, body AgentsApiV1AgentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsCreateResponse, error)
AgentsApiV1AgentsCreateWithResponse Create a agent that can be used within a conversation.
Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/agents (the `AgentsApiV1AgentsCreate` operationId).
func (*ClientWithResponses) AgentsApiV1AgentsDeleteAliasWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1AgentsDeleteAliasWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsDeleteAliasParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsDeleteAliasResponse, error)
AgentsApiV1AgentsDeleteAliasWithResponse Delete an agent version alias.
Delete an existing alias for an agent.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsDeleteAlias` operationId).
func (*ClientWithResponses) AgentsApiV1AgentsDeleteWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1AgentsDeleteWithResponse(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsDeleteResponse, error)
AgentsApiV1AgentsDeleteWithResponse Delete an agent entity.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/agents/{agent_id} (the `AgentsApiV1AgentsDelete` operationId).
func (*ClientWithResponses) AgentsApiV1AgentsGetVersionWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1AgentsGetVersionWithResponse(ctx context.Context, agentId string, version string, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsGetVersionResponse, error)
AgentsApiV1AgentsGetVersionWithResponse Retrieve a specific version of an agent.
Get a specific agent version by version number.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/agents/{agent_id}/versions/{version} (the `AgentsApiV1AgentsGetVersion` operationId).
func (*ClientWithResponses) AgentsApiV1AgentsGetWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1AgentsGetWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsGetParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsGetResponse, error)
AgentsApiV1AgentsGetWithResponse Retrieve an agent entity.
Given an agent, retrieve an agent entity with its attributes. The agent_version parameter can be an integer version number or a string alias.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/agents/{agent_id} (the `AgentsApiV1AgentsGet` operationId).
func (*ClientWithResponses) AgentsApiV1AgentsListPagesWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1AgentsListPagesWithResponse(ctx context.Context, params *AgentsApiV1AgentsListPagesParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsListPagesResponse, error)
AgentsApiV1AgentsListPagesWithResponse List agent entities, cursor-paginated.
Retrieve a page of agent entities. Unlike the deprecated `GET /v1/agents`, this endpoint paginates by opaque cursor and honors per-agent sharing, returning only agents the caller is authorized to see.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/agents/pages (the `AgentsApiV1AgentsListPages` operationId).
func (*ClientWithResponses) AgentsApiV1AgentsListVersionAliasesWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1AgentsListVersionAliasesWithResponse(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsListVersionAliasesResponse, error)
AgentsApiV1AgentsListVersionAliasesWithResponse List all aliases for an agent.
Retrieve all version aliases for a specific agent.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsListVersionAliases` operationId).
func (*ClientWithResponses) AgentsApiV1AgentsListVersionsWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1AgentsListVersionsWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsListVersionsParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsListVersionsResponse, error)
AgentsApiV1AgentsListVersionsWithResponse List all versions of an agent.
Retrieve all versions for a specific agent with full agent context. Supports pagination.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/agents/{agent_id}/versions (the `AgentsApiV1AgentsListVersions` operationId).
func (*ClientWithResponses) AgentsApiV1AgentsListWithResponse
deprecated
func (c *ClientWithResponses) AgentsApiV1AgentsListWithResponse(ctx context.Context, params *AgentsApiV1AgentsListParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsListResponse, error)
AgentsApiV1AgentsListWithResponse List agent entities.
Retrieve a list of agent entities sorted by creation time. Deprecated: some features such as agent sharing are not supported by this endpoint. Use the cursor-paginated `GET /v1/agents/pages` instead.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/agents (the `AgentsApiV1AgentsList` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) AgentsApiV1AgentsUpdateVersionWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1AgentsUpdateVersionWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsUpdateVersionParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsUpdateVersionResponse, error)
AgentsApiV1AgentsUpdateVersionWithResponse Update an agent version.
Switch the version of an agent.
Returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/agents/{agent_id}/version (the `AgentsApiV1AgentsUpdateVersion` operationId).
func (*ClientWithResponses) AgentsApiV1AgentsUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1AgentsUpdateWithBodyWithResponse(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsUpdateResponse, error)
AgentsApiV1AgentsUpdateWithBodyWithResponse Update an agent entity.
Update an agent attributes and create a new version.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/agents/{agent_id} (the `AgentsApiV1AgentsUpdate` operationId).
func (*ClientWithResponses) AgentsApiV1AgentsUpdateWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1AgentsUpdateWithResponse(ctx context.Context, agentId string, body AgentsApiV1AgentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsUpdateResponse, error)
AgentsApiV1AgentsUpdateWithResponse Update an agent entity.
Update an agent attributes and create a new version.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/agents/{agent_id} (the `AgentsApiV1AgentsUpdate` operationId).
func (*ClientWithResponses) AgentsApiV1ConversationsAppendStreamWithBodyWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1ConversationsAppendStreamWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsAppendStreamResponse, error)
AgentsApiV1ConversationsAppendStreamWithBodyWithResponse Append new entries to an existing conversation.
Run completion on the history of the conversation and the user entries. Return the new created entries.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/conversations/{conversation_id}#stream (the `AgentsApiV1ConversationsAppendStream` operationId).
func (*ClientWithResponses) AgentsApiV1ConversationsAppendStreamWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1ConversationsAppendStreamWithResponse(ctx context.Context, conversationId string, body AgentsApiV1ConversationsAppendStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsAppendStreamResponse, error)
AgentsApiV1ConversationsAppendStreamWithResponse Append new entries to an existing conversation.
Run completion on the history of the conversation and the user entries. Return the new created entries.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/conversations/{conversation_id}#stream (the `AgentsApiV1ConversationsAppendStream` operationId).
func (*ClientWithResponses) AgentsApiV1ConversationsAppendWithBodyWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1ConversationsAppendWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsAppendResponse, error)
AgentsApiV1ConversationsAppendWithBodyWithResponse Append new entries to an existing conversation.
Run completion on the history of the conversation and the user entries. Return the new created entries.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsAppend` operationId).
func (*ClientWithResponses) AgentsApiV1ConversationsAppendWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1ConversationsAppendWithResponse(ctx context.Context, conversationId string, body AgentsApiV1ConversationsAppendJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsAppendResponse, error)
AgentsApiV1ConversationsAppendWithResponse Append new entries to an existing conversation.
Run completion on the history of the conversation and the user entries. Return the new created entries.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsAppend` operationId).
func (*ClientWithResponses) AgentsApiV1ConversationsDeleteWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1ConversationsDeleteWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsDeleteResponse, error)
AgentsApiV1ConversationsDeleteWithResponse Delete a conversation.
Delete a conversation given a conversation_id.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsDelete` operationId).
func (*ClientWithResponses) AgentsApiV1ConversationsGetWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1ConversationsGetWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsGetResponse, error)
AgentsApiV1ConversationsGetWithResponse Retrieve a conversation information.
Given a conversation_id retrieve a conversation entity with its attributes.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsGet` operationId).
func (*ClientWithResponses) AgentsApiV1ConversationsHistoryWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1ConversationsHistoryWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsHistoryResponse, error)
AgentsApiV1ConversationsHistoryWithResponse Retrieve all entries in a conversation.
Given a conversation_id retrieve all the entries belonging to that conversation. The entries are sorted in the order they were appended, those can be messages, connectors or function_call.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/conversations/{conversation_id}/history (the `AgentsApiV1ConversationsHistory` operationId).
func (*ClientWithResponses) AgentsApiV1ConversationsListWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1ConversationsListWithResponse(ctx context.Context, params *AgentsApiV1ConversationsListParams, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsListResponse, error)
AgentsApiV1ConversationsListWithResponse List all created conversations.
Retrieve a list of conversation entities sorted by creation time.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/conversations (the `AgentsApiV1ConversationsList` operationId).
func (*ClientWithResponses) AgentsApiV1ConversationsMessagesWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1ConversationsMessagesWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsMessagesResponse, error)
AgentsApiV1ConversationsMessagesWithResponse Retrieve all messages in a conversation.
Given a conversation_id retrieve all the messages belonging to that conversation. This is similar to retrieving all entries except we filter the messages only.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/conversations/{conversation_id}/messages (the `AgentsApiV1ConversationsMessages` operationId).
func (*ClientWithResponses) AgentsApiV1ConversationsRestartStreamWithBodyWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1ConversationsRestartStreamWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsRestartStreamResponse, error)
AgentsApiV1ConversationsRestartStreamWithBodyWithResponse Restart a conversation starting from a given entry.
Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/conversations/{conversation_id}/restart#stream (the `AgentsApiV1ConversationsRestartStream` operationId).
func (*ClientWithResponses) AgentsApiV1ConversationsRestartStreamWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1ConversationsRestartStreamWithResponse(ctx context.Context, conversationId string, body AgentsApiV1ConversationsRestartStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsRestartStreamResponse, error)
AgentsApiV1ConversationsRestartStreamWithResponse Restart a conversation starting from a given entry.
Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/conversations/{conversation_id}/restart#stream (the `AgentsApiV1ConversationsRestartStream` operationId).
func (*ClientWithResponses) AgentsApiV1ConversationsRestartWithBodyWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1ConversationsRestartWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsRestartResponse, error)
AgentsApiV1ConversationsRestartWithBodyWithResponse Restart a conversation starting from a given entry.
Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/conversations/{conversation_id}/restart (the `AgentsApiV1ConversationsRestart` operationId).
func (*ClientWithResponses) AgentsApiV1ConversationsRestartWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1ConversationsRestartWithResponse(ctx context.Context, conversationId string, body AgentsApiV1ConversationsRestartJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsRestartResponse, error)
AgentsApiV1ConversationsRestartWithResponse Restart a conversation starting from a given entry.
Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/conversations/{conversation_id}/restart (the `AgentsApiV1ConversationsRestart` operationId).
func (*ClientWithResponses) AgentsApiV1ConversationsStartStreamWithBodyWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1ConversationsStartStreamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsStartStreamResponse, error)
AgentsApiV1ConversationsStartStreamWithBodyWithResponse Create a conversation and append entries to it.
Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/conversations#stream (the `AgentsApiV1ConversationsStartStream` operationId).
func (*ClientWithResponses) AgentsApiV1ConversationsStartStreamWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1ConversationsStartStreamWithResponse(ctx context.Context, body AgentsApiV1ConversationsStartStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsStartStreamResponse, error)
AgentsApiV1ConversationsStartStreamWithResponse Create a conversation and append entries to it.
Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/conversations#stream (the `AgentsApiV1ConversationsStartStream` operationId).
func (*ClientWithResponses) AgentsApiV1ConversationsStartWithBodyWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1ConversationsStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsStartResponse, error)
AgentsApiV1ConversationsStartWithBodyWithResponse Create a conversation and append entries to it.
Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/conversations (the `AgentsApiV1ConversationsStart` operationId).
func (*ClientWithResponses) AgentsApiV1ConversationsStartWithResponse ¶
func (c *ClientWithResponses) AgentsApiV1ConversationsStartWithResponse(ctx context.Context, body AgentsApiV1ConversationsStartJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsStartResponse, error)
AgentsApiV1ConversationsStartWithResponse Create a conversation and append entries to it.
Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/conversations (the `AgentsApiV1ConversationsStart` operationId).
func (*ClientWithResponses) AgentsCompletionV1AgentsCompletionsPostWithBodyWithResponse
deprecated
func (c *ClientWithResponses) AgentsCompletionV1AgentsCompletionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsCompletionV1AgentsCompletionsPostResponse, error)
AgentsCompletionV1AgentsCompletionsPostWithBodyWithResponse Agents Completion
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/agents/completions (the `AgentsCompletionV1AgentsCompletionsPost` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) AgentsCompletionV1AgentsCompletionsPostWithResponse ¶
func (c *ClientWithResponses) AgentsCompletionV1AgentsCompletionsPostWithResponse(ctx context.Context, body AgentsCompletionV1AgentsCompletionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsCompletionV1AgentsCompletionsPostResponse, error)
AgentsCompletionV1AgentsCompletionsPostWithResponse Agents Completion
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/agents/completions (the `AgentsCompletionV1AgentsCompletionsPost` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutWithResponse ¶
func (c *ClientWithResponses) ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutWithResponse(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse, error)
ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutWithResponse Archive Workflow
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/workflows/{workflow_identifier}/archive (the `ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut` operationId).
func (*ClientWithResponses) AudioApiV1TranscriptionsPostStreamWithBodyWithResponse ¶
func (c *ClientWithResponses) AudioApiV1TranscriptionsPostStreamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AudioApiV1TranscriptionsPostStreamResponse, error)
AudioApiV1TranscriptionsPostStreamWithBodyWithResponse Create Streaming Transcription (SSE)
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/audio/transcriptions#stream (the `AudioApiV1TranscriptionsPostStream` operationId).
func (*ClientWithResponses) AudioApiV1TranscriptionsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) AudioApiV1TranscriptionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AudioApiV1TranscriptionsPostResponse, error)
AudioApiV1TranscriptionsPostWithBodyWithResponse Create Transcription
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/audio/transcriptions (the `AudioApiV1TranscriptionsPost` operationId).
func (*ClientWithResponses) BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBodyWithResponse ¶
func (c *ClientWithResponses) BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse, error)
BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBodyWithResponse Batch Cancel Workflow Executions
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/executions/cancel (the `BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost` operationId).
func (*ClientWithResponses) BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithResponse ¶
func (c *ClientWithResponses) BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithResponse(ctx context.Context, body BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse, error)
BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithResponse Batch Cancel Workflow Executions
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/executions/cancel (the `BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost` operationId).
func (*ClientWithResponses) BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBodyWithResponse ¶
func (c *ClientWithResponses) BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse, error)
BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBodyWithResponse Batch Terminate Workflow Executions
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/executions/terminate (the `BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost` operationId).
func (*ClientWithResponses) BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithResponse ¶
func (c *ClientWithResponses) BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithResponse(ctx context.Context, body BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse, error)
BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithResponse Batch Terminate Workflow Executions
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/executions/terminate (the `BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost` operationId).
func (*ClientWithResponses) CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostWithResponse ¶
func (c *ClientWithResponses) CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse, error)
CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostWithResponse Cancel Workflow Execution
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/executions/{execution_id}/cancel (the `CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost` operationId).
func (*ClientWithResponses) ChatClassificationsV1ChatClassificationsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ChatClassificationsV1ChatClassificationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChatClassificationsV1ChatClassificationsPostResponse, error)
ChatClassificationsV1ChatClassificationsPostWithBodyWithResponse Chat Classifications
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/chat/classifications (the `ChatClassificationsV1ChatClassificationsPost` operationId).
func (*ClientWithResponses) ChatClassificationsV1ChatClassificationsPostWithResponse ¶
func (c *ClientWithResponses) ChatClassificationsV1ChatClassificationsPostWithResponse(ctx context.Context, body ChatClassificationsV1ChatClassificationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ChatClassificationsV1ChatClassificationsPostResponse, error)
ChatClassificationsV1ChatClassificationsPostWithResponse Chat Classifications
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/chat/classifications (the `ChatClassificationsV1ChatClassificationsPost` operationId).
func (*ClientWithResponses) ChatCompletionV1ChatCompletionsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ChatCompletionV1ChatCompletionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChatCompletionV1ChatCompletionsPostResponse, error)
ChatCompletionV1ChatCompletionsPostWithBodyWithResponse Chat Completion
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/chat/completions (the `ChatCompletionV1ChatCompletionsPost` operationId).
func (*ClientWithResponses) ChatCompletionV1ChatCompletionsPostWithResponse ¶
func (c *ClientWithResponses) ChatCompletionV1ChatCompletionsPostWithResponse(ctx context.Context, body ChatCompletionV1ChatCompletionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ChatCompletionV1ChatCompletionsPostResponse, error)
ChatCompletionV1ChatCompletionsPostWithResponse Chat Completion
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/chat/completions (the `ChatCompletionV1ChatCompletionsPost` operationId).
func (*ClientWithResponses) ChatModerationsV1ChatModerationsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ChatModerationsV1ChatModerationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChatModerationsV1ChatModerationsPostResponse, error)
ChatModerationsV1ChatModerationsPostWithBodyWithResponse Chat Moderations
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/chat/moderations (the `ChatModerationsV1ChatModerationsPost` operationId).
func (*ClientWithResponses) ChatModerationsV1ChatModerationsPostWithResponse ¶
func (c *ClientWithResponses) ChatModerationsV1ChatModerationsPostWithResponse(ctx context.Context, body ChatModerationsV1ChatModerationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ChatModerationsV1ChatModerationsPostResponse, error)
ChatModerationsV1ChatModerationsPostWithResponse Chat Moderations
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/chat/moderations (the `ChatModerationsV1ChatModerationsPost` operationId).
func (*ClientWithResponses) ClassificationsV1ClassificationsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ClassificationsV1ClassificationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClassificationsV1ClassificationsPostResponse, error)
ClassificationsV1ClassificationsPostWithBodyWithResponse Classifications
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/classifications (the `ClassificationsV1ClassificationsPost` operationId).
func (*ClientWithResponses) ClassificationsV1ClassificationsPostWithResponse ¶
func (c *ClientWithResponses) ClassificationsV1ClassificationsPostWithResponse(ctx context.Context, body ClassificationsV1ClassificationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ClassificationsV1ClassificationsPostResponse, error)
ClassificationsV1ClassificationsPostWithResponse Classifications
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/classifications (the `ClassificationsV1ClassificationsPost` operationId).
func (*ClientWithResponses) ConnectorCallToolV1WithBodyWithResponse ¶
func (c *ClientWithResponses) ConnectorCallToolV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCallToolV1Response, error)
ConnectorCallToolV1WithBodyWithResponse Call Connector Tool
Call a tool on an MCP connector.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/connectors/{connector_id_or_name}/tools/{tool_name}/call (the `ConnectorCallToolV1` operationId).
func (*ClientWithResponses) ConnectorCallToolV1WithResponse ¶
func (c *ClientWithResponses) ConnectorCallToolV1WithResponse(ctx context.Context, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, body ConnectorCallToolV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCallToolV1Response, error)
ConnectorCallToolV1WithResponse Call Connector Tool
Call a tool on an MCP connector.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/connectors/{connector_id_or_name}/tools/{tool_name}/call (the `ConnectorCallToolV1` operationId).
func (*ClientWithResponses) ConnectorCreateOrUpdateOrganizationCredentialsV1WithBodyWithResponse ¶
func (c *ClientWithResponses) ConnectorCreateOrUpdateOrganizationCredentialsV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateOrganizationCredentialsV1Response, error)
ConnectorCreateOrUpdateOrganizationCredentialsV1WithBodyWithResponse Create or update organization credentials for a connector.
Create or update credentials at the organization level for a given connector.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorCreateOrUpdateOrganizationCredentialsV1` operationId).
func (*ClientWithResponses) ConnectorCreateOrUpdateOrganizationCredentialsV1WithResponse ¶
func (c *ClientWithResponses) ConnectorCreateOrUpdateOrganizationCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateOrganizationCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateOrganizationCredentialsV1Response, error)
ConnectorCreateOrUpdateOrganizationCredentialsV1WithResponse Create or update organization credentials for a connector.
Create or update credentials at the organization level for a given connector.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorCreateOrUpdateOrganizationCredentialsV1` operationId).
func (*ClientWithResponses) ConnectorCreateOrUpdateUserCredentialsV1WithBodyWithResponse ¶
func (c *ClientWithResponses) ConnectorCreateOrUpdateUserCredentialsV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateUserCredentialsV1Response, error)
ConnectorCreateOrUpdateUserCredentialsV1WithBodyWithResponse Create or update user credentials for a connector.
Create or update credentials at the user level for a given connector.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorCreateOrUpdateUserCredentialsV1` operationId).
func (*ClientWithResponses) ConnectorCreateOrUpdateUserCredentialsV1WithResponse ¶
func (c *ClientWithResponses) ConnectorCreateOrUpdateUserCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateUserCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateUserCredentialsV1Response, error)
ConnectorCreateOrUpdateUserCredentialsV1WithResponse Create or update user credentials for a connector.
Create or update credentials at the user level for a given connector.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorCreateOrUpdateUserCredentialsV1` operationId).
func (*ClientWithResponses) ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBodyWithResponse ¶
func (c *ClientWithResponses) ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateWorkspaceCredentialsV1Response, error)
ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBodyWithResponse Create or update workspace credentials for a connector.
Create or update credentials at the workspace level for a given connector.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorCreateOrUpdateWorkspaceCredentialsV1` operationId).
func (*ClientWithResponses) ConnectorCreateOrUpdateWorkspaceCredentialsV1WithResponse ¶
func (c *ClientWithResponses) ConnectorCreateOrUpdateWorkspaceCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateWorkspaceCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateWorkspaceCredentialsV1Response, error)
ConnectorCreateOrUpdateWorkspaceCredentialsV1WithResponse Create or update workspace credentials for a connector.
Create or update credentials at the workspace level for a given connector.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorCreateOrUpdateWorkspaceCredentialsV1` operationId).
func (*ClientWithResponses) ConnectorCreateV1WithBodyWithResponse ¶
func (c *ClientWithResponses) ConnectorCreateV1WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCreateV1Response, error)
ConnectorCreateV1WithBodyWithResponse Create a new connector.
Create a new MCP connector. You can customize its visibility, url and auth type.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/connectors (the `ConnectorCreateV1` operationId).
func (*ClientWithResponses) ConnectorCreateV1WithResponse ¶
func (c *ClientWithResponses) ConnectorCreateV1WithResponse(ctx context.Context, body ConnectorCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCreateV1Response, error)
ConnectorCreateV1WithResponse Create a new connector.
Create a new MCP connector. You can customize its visibility, url and auth type.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/connectors (the `ConnectorCreateV1` operationId).
func (*ClientWithResponses) ConnectorDeleteOrganizationCredentialsV1WithResponse ¶
func (c *ClientWithResponses) ConnectorDeleteOrganizationCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*ConnectorDeleteOrganizationCredentialsV1Response, error)
ConnectorDeleteOrganizationCredentialsV1WithResponse Delete organization credentials for a connector.
Delete credentials at the organization level for a given connector.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/connectors/{connector_id_or_name}/organization/credentials/{credentials_name} (the `ConnectorDeleteOrganizationCredentialsV1` operationId).
func (*ClientWithResponses) ConnectorDeleteUserCredentialsV1WithResponse ¶
func (c *ClientWithResponses) ConnectorDeleteUserCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*ConnectorDeleteUserCredentialsV1Response, error)
ConnectorDeleteUserCredentialsV1WithResponse Delete user credentials for a connector.
Delete credentials at the user level for a given connector.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/connectors/{connector_id_or_name}/user/credentials/{credentials_name} (the `ConnectorDeleteUserCredentialsV1` operationId).
func (*ClientWithResponses) ConnectorDeleteV1WithResponse ¶
func (c *ClientWithResponses) ConnectorDeleteV1WithResponse(ctx context.Context, connectorId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ConnectorDeleteV1Response, error)
ConnectorDeleteV1WithResponse Delete a connector.
Delete a connector by its ID.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/connectors/{connector_id}#id (the `ConnectorDeleteV1` operationId).
func (*ClientWithResponses) ConnectorDeleteWorkspaceCredentialsV1WithResponse ¶
func (c *ClientWithResponses) ConnectorDeleteWorkspaceCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*ConnectorDeleteWorkspaceCredentialsV1Response, error)
ConnectorDeleteWorkspaceCredentialsV1WithResponse Delete workspace credentials for a connector.
Delete credentials at the workspace level for a given connector.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/connectors/{connector_id_or_name}/workspace/credentials/{credentials_name} (the `ConnectorDeleteWorkspaceCredentialsV1` operationId).
func (*ClientWithResponses) ConnectorGetAuthUrlV1WithResponse ¶
func (c *ClientWithResponses) ConnectorGetAuthUrlV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorGetAuthUrlV1Params, reqEditors ...RequestEditorFn) (*ConnectorGetAuthUrlV1Response, error)
ConnectorGetAuthUrlV1WithResponse Get the auth URL for a connector.
Get the OAuth2 authorization URL for a connector to initiate user authentication.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/connectors/{connector_id_or_name}/auth_url (the `ConnectorGetAuthUrlV1` operationId).
func (*ClientWithResponses) ConnectorGetAuthenticationMethodsV1WithResponse ¶
func (c *ClientWithResponses) ConnectorGetAuthenticationMethodsV1WithResponse(ctx context.Context, connectorIdOrName string, reqEditors ...RequestEditorFn) (*ConnectorGetAuthenticationMethodsV1Response, error)
ConnectorGetAuthenticationMethodsV1WithResponse Get authentication methods for a connector.
Get the authentication schema for a connector. Returns the list of supported authentication methods and their required headers.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/connectors/{connector_id_or_name}/authentication_methods (the `ConnectorGetAuthenticationMethodsV1` operationId).
func (*ClientWithResponses) ConnectorGetV1WithResponse ¶
func (c *ClientWithResponses) ConnectorGetV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorGetV1Params, reqEditors ...RequestEditorFn) (*ConnectorGetV1Response, error)
ConnectorGetV1WithResponse Get a connector.
Get a connector by its ID or name.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/connectors/{connector_id_or_name}#idOrName (the `ConnectorGetV1` operationId).
func (*ClientWithResponses) ConnectorListOrganizationCredentialsV1WithResponse ¶
func (c *ClientWithResponses) ConnectorListOrganizationCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorListOrganizationCredentialsV1Params, reqEditors ...RequestEditorFn) (*ConnectorListOrganizationCredentialsV1Response, error)
ConnectorListOrganizationCredentialsV1WithResponse List organization credentials for a connector.
List all credentials configured at the organization level for a given connector.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorListOrganizationCredentialsV1` operationId).
func (*ClientWithResponses) ConnectorListToolsV1WithResponse ¶
func (c *ClientWithResponses) ConnectorListToolsV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorListToolsV1Params, reqEditors ...RequestEditorFn) (*ConnectorListToolsV1Response, error)
ConnectorListToolsV1WithResponse List tools for a connector.
List all tools available for an MCP connector.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/connectors/{connector_id_or_name}/tools (the `ConnectorListToolsV1` operationId).
func (*ClientWithResponses) ConnectorListUserCredentialsV1WithResponse ¶
func (c *ClientWithResponses) ConnectorListUserCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorListUserCredentialsV1Params, reqEditors ...RequestEditorFn) (*ConnectorListUserCredentialsV1Response, error)
ConnectorListUserCredentialsV1WithResponse List user credentials for a connector.
List all credentials configured at the user level for a given connector.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorListUserCredentialsV1` operationId).
func (*ClientWithResponses) ConnectorListV1WithResponse ¶
func (c *ClientWithResponses) ConnectorListV1WithResponse(ctx context.Context, params *ConnectorListV1Params, reqEditors ...RequestEditorFn) (*ConnectorListV1Response, error)
ConnectorListV1WithResponse List all connectors.
List all your custom connectors with keyset pagination and filters.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/connectors (the `ConnectorListV1` operationId).
func (*ClientWithResponses) ConnectorListWorkspaceCredentialsV1WithResponse ¶
func (c *ClientWithResponses) ConnectorListWorkspaceCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorListWorkspaceCredentialsV1Params, reqEditors ...RequestEditorFn) (*ConnectorListWorkspaceCredentialsV1Response, error)
ConnectorListWorkspaceCredentialsV1WithResponse List workspace credentials for a connector.
List all credentials configured at the workspace level for a given connector.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorListWorkspaceCredentialsV1` operationId).
func (*ClientWithResponses) ConnectorUpdateV1WithBodyWithResponse ¶
func (c *ClientWithResponses) ConnectorUpdateV1WithBodyWithResponse(ctx context.Context, connectorId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorUpdateV1Response, error)
ConnectorUpdateV1WithBodyWithResponse Update a connector.
Update a connector by its ID.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/connectors/{connector_id}#id (the `ConnectorUpdateV1` operationId).
func (*ClientWithResponses) ConnectorUpdateV1WithResponse ¶
func (c *ClientWithResponses) ConnectorUpdateV1WithResponse(ctx context.Context, connectorId openapi_types.UUID, body ConnectorUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorUpdateV1Response, error)
ConnectorUpdateV1WithResponse Update a connector.
Update a connector by its ID.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/connectors/{connector_id}#id (the `ConnectorUpdateV1` operationId).
func (*ClientWithResponses) CreateCampaignV1ObservabilityCampaignsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateCampaignV1ObservabilityCampaignsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCampaignV1ObservabilityCampaignsPostResponse, error)
CreateCampaignV1ObservabilityCampaignsPostWithBodyWithResponse Create and start a new campaign
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/campaigns (the `CreateCampaignV1ObservabilityCampaignsPost` operationId).
func (*ClientWithResponses) CreateCampaignV1ObservabilityCampaignsPostWithResponse ¶
func (c *ClientWithResponses) CreateCampaignV1ObservabilityCampaignsPostWithResponse(ctx context.Context, body CreateCampaignV1ObservabilityCampaignsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCampaignV1ObservabilityCampaignsPostResponse, error)
CreateCampaignV1ObservabilityCampaignsPostWithResponse Create and start a new campaign
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/campaigns (the `CreateCampaignV1ObservabilityCampaignsPost` operationId).
func (*ClientWithResponses) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse, error)
CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBodyWithResponse Add a conversation to the dataset
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/datasets/{dataset_id}/records (the `CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost` operationId).
func (*ClientWithResponses) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithResponse ¶
func (c *ClientWithResponses) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, body CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse, error)
CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithResponse Add a conversation to the dataset
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/datasets/{dataset_id}/records (the `CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost` operationId).
func (*ClientWithResponses) CreateDatasetV1ObservabilityDatasetsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDatasetV1ObservabilityDatasetsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatasetV1ObservabilityDatasetsPostResponse, error)
CreateDatasetV1ObservabilityDatasetsPostWithBodyWithResponse Create a new empty dataset
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/datasets (the `CreateDatasetV1ObservabilityDatasetsPost` operationId).
func (*ClientWithResponses) CreateDatasetV1ObservabilityDatasetsPostWithResponse ¶
func (c *ClientWithResponses) CreateDatasetV1ObservabilityDatasetsPostWithResponse(ctx context.Context, body CreateDatasetV1ObservabilityDatasetsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatasetV1ObservabilityDatasetsPostResponse, error)
CreateDatasetV1ObservabilityDatasetsPostWithResponse Create a new empty dataset
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/datasets (the `CreateDatasetV1ObservabilityDatasetsPost` operationId).
func (*ClientWithResponses) CreateJudgeV1ObservabilityJudgesPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateJudgeV1ObservabilityJudgesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateJudgeV1ObservabilityJudgesPostResponse, error)
CreateJudgeV1ObservabilityJudgesPostWithBodyWithResponse Create a new judge
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/judges (the `CreateJudgeV1ObservabilityJudgesPost` operationId).
func (*ClientWithResponses) CreateJudgeV1ObservabilityJudgesPostWithResponse ¶
func (c *ClientWithResponses) CreateJudgeV1ObservabilityJudgesPostWithResponse(ctx context.Context, body CreateJudgeV1ObservabilityJudgesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateJudgeV1ObservabilityJudgesPostResponse, error)
CreateJudgeV1ObservabilityJudgesPostWithResponse Create a new judge
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/judges (the `CreateJudgeV1ObservabilityJudgesPost` operationId).
func (*ClientWithResponses) CreateVoiceV1AudioVoicesPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateVoiceV1AudioVoicesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVoiceV1AudioVoicesPostResponse, error)
CreateVoiceV1AudioVoicesPostWithBodyWithResponse Create a new voice
Create a new voice with a base64-encoded audio sample.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/audio/voices (the `CreateVoiceV1AudioVoicesPost` operationId).
func (*ClientWithResponses) CreateVoiceV1AudioVoicesPostWithResponse ¶
func (c *ClientWithResponses) CreateVoiceV1AudioVoicesPostWithResponse(ctx context.Context, body CreateVoiceV1AudioVoicesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVoiceV1AudioVoicesPostResponse, error)
CreateVoiceV1AudioVoicesPostWithResponse Create a new voice
Create a new voice with a base64-encoded audio sample.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/audio/voices (the `CreateVoiceV1AudioVoicesPost` operationId).
func (*ClientWithResponses) DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteWithResponse(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse, error)
DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteWithResponse Delete a campaign
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/observability/campaigns/{campaign_id} (the `DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete` operationId).
func (*ClientWithResponses) DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse, error)
DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteWithResponse Delete a record from a dataset
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/observability/dataset-records/{dataset_record_id} (the `DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete` operationId).
func (*ClientWithResponses) DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse, error)
DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBodyWithResponse Delete multiple records from datasets
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/dataset-records/bulk-delete (the `DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost` operationId).
func (*ClientWithResponses) DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithResponse ¶
func (c *ClientWithResponses) DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithResponse(ctx context.Context, body DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse, error)
DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithResponse Delete multiple records from datasets
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/dataset-records/bulk-delete (the `DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost` operationId).
func (*ClientWithResponses) DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteWithResponse(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse, error)
DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteWithResponse Delete a dataset
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/observability/datasets/{dataset_id} (the `DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete` operationId).
func (*ClientWithResponses) DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteWithResponse(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse, error)
DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteWithResponse Delete a judge
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/observability/judges/{judge_id} (the `DeleteJudgeV1ObservabilityJudgesJudgeIdDelete` operationId).
func (*ClientWithResponses) DeleteModelV1ModelsModelIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteModelV1ModelsModelIdDeleteWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*DeleteModelV1ModelsModelIdDeleteResponse, error)
DeleteModelV1ModelsModelIdDeleteWithResponse Delete Model
Delete a fine-tuned model.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/models/{model_id} (the `DeleteModelV1ModelsModelIdDelete` operationId).
func (*ClientWithResponses) DeleteVoiceV1AudioVoicesVoiceIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteVoiceV1AudioVoicesVoiceIdDeleteWithResponse(ctx context.Context, voiceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse, error)
DeleteVoiceV1AudioVoicesVoiceIdDeleteWithResponse Delete a custom voice
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/audio/voices/{voice_id} (the `DeleteVoiceV1AudioVoicesVoiceIdDelete` operationId).
func (*ClientWithResponses) EmbeddingsV1EmbeddingsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) EmbeddingsV1EmbeddingsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EmbeddingsV1EmbeddingsPostResponse, error)
EmbeddingsV1EmbeddingsPostWithBodyWithResponse Embeddings
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/embeddings (the `EmbeddingsV1EmbeddingsPost` operationId).
func (*ClientWithResponses) EmbeddingsV1EmbeddingsPostWithResponse ¶
func (c *ClientWithResponses) EmbeddingsV1EmbeddingsPostWithResponse(ctx context.Context, body EmbeddingsV1EmbeddingsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*EmbeddingsV1EmbeddingsPostResponse, error)
EmbeddingsV1EmbeddingsPostWithResponse Embeddings
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/embeddings (the `EmbeddingsV1EmbeddingsPost` operationId).
func (*ClientWithResponses) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBodyWithResponse
deprecated
func (c *ClientWithResponses) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBodyWithResponse(ctx context.Context, workflowRegistrationId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse, error)
ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBodyWithResponse Execute Workflow Registration
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/registrations/{workflow_registration_id}/execute (the `ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost` operationId).
Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithResponse ¶
func (c *ClientWithResponses) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithResponse(ctx context.Context, workflowRegistrationId openapi_types.UUID, body ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse, error)
ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithResponse Execute Workflow Registration
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/registrations/{workflow_registration_id}/execute (the `ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
func (*ClientWithResponses) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBodyWithResponse ¶
func (c *ClientWithResponses) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBodyWithResponse(ctx context.Context, workflowIdentifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse, error)
ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBodyWithResponse Execute Workflow
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/{workflow_identifier}/execute (the `ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost` operationId).
func (*ClientWithResponses) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithResponse ¶
func (c *ClientWithResponses) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithResponse(ctx context.Context, workflowIdentifier string, body ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse, error)
ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithResponse Execute Workflow
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/{workflow_identifier}/execute (the `ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost` operationId).
func (*ClientWithResponses) ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetWithResponse ¶
func (c *ClientWithResponses) ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse, error)
ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetWithResponse Export to the Files API and retrieve presigned URL to download the resulting JSONL file
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/observability/datasets/{dataset_id}/exports/to-jsonl (the `ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet` operationId).
func (*ClientWithResponses) FilesApiRoutesDeleteFileWithResponse ¶
func (c *ClientWithResponses) FilesApiRoutesDeleteFileWithResponse(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*FilesApiRoutesDeleteFileResponse, error)
FilesApiRoutesDeleteFileWithResponse Delete File
Delete a file.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/files/{file_id} (the `FilesApiRoutesDeleteFile` operationId).
func (*ClientWithResponses) FilesApiRoutesDownloadFileWithResponse ¶
func (c *ClientWithResponses) FilesApiRoutesDownloadFileWithResponse(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*FilesApiRoutesDownloadFileResponse, error)
FilesApiRoutesDownloadFileWithResponse Download File
Download a file.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/files/{file_id}/content (the `FilesApiRoutesDownloadFile` operationId).
func (*ClientWithResponses) FilesApiRoutesGetSignedUrlWithResponse ¶
func (c *ClientWithResponses) FilesApiRoutesGetSignedUrlWithResponse(ctx context.Context, fileId openapi_types.UUID, params *FilesApiRoutesGetSignedUrlParams, reqEditors ...RequestEditorFn) (*FilesApiRoutesGetSignedUrlResponse, error)
FilesApiRoutesGetSignedUrlWithResponse Get Signed Url
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/files/{file_id}/url (the `FilesApiRoutesGetSignedUrl` operationId).
func (*ClientWithResponses) FilesApiRoutesListFilesWithResponse ¶
func (c *ClientWithResponses) FilesApiRoutesListFilesWithResponse(ctx context.Context, params *FilesApiRoutesListFilesParams, reqEditors ...RequestEditorFn) (*FilesApiRoutesListFilesResponse, error)
FilesApiRoutesListFilesWithResponse List Files
Returns a list of files that belong to the user's organization.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/files (the `FilesApiRoutesListFiles` operationId).
func (*ClientWithResponses) FilesApiRoutesRetrieveFileWithResponse ¶
func (c *ClientWithResponses) FilesApiRoutesRetrieveFileWithResponse(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*FilesApiRoutesRetrieveFileResponse, error)
FilesApiRoutesRetrieveFileWithResponse Retrieve File
Returns information about a specific file.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/files/{file_id} (the `FilesApiRoutesRetrieveFile` operationId).
func (*ClientWithResponses) FilesApiRoutesUploadFileWithBodyWithResponse ¶
func (c *ClientWithResponses) FilesApiRoutesUploadFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FilesApiRoutesUploadFileResponse, error)
FilesApiRoutesUploadFileWithBodyWithResponse Upload File
Upload a file that can be used across various endpoints.
The size of individual files can be a maximum of 512 MB. The Fine-tuning API only supports .jsonl files.
Please contact us if you need to increase these storage limits.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/files (the `FilesApiRoutesUploadFile` operationId).
func (*ClientWithResponses) FimCompletionV1FimCompletionsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) FimCompletionV1FimCompletionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FimCompletionV1FimCompletionsPostResponse, error)
FimCompletionV1FimCompletionsPostWithBodyWithResponse Fim Completion
FIM completion.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/fim/completions (the `FimCompletionV1FimCompletionsPost` operationId).
func (*ClientWithResponses) FimCompletionV1FimCompletionsPostWithResponse ¶
func (c *ClientWithResponses) FimCompletionV1FimCompletionsPostWithResponse(ctx context.Context, body FimCompletionV1FimCompletionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*FimCompletionV1FimCompletionsPostResponse, error)
FimCompletionV1FimCompletionsPostWithResponse Fim Completion
FIM completion.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/fim/completions (the `FimCompletionV1FimCompletionsPost` operationId).
func (*ClientWithResponses) GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetWithResponse ¶
func (c *ClientWithResponses) GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetWithResponse(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse, error)
GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetWithResponse Get campaign by id
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/observability/campaigns/{campaign_id} (the `GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet` operationId).
func (*ClientWithResponses) GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetWithResponse ¶
func (c *ClientWithResponses) GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetWithResponse(ctx context.Context, campaignId openapi_types.UUID, params *GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetParams, reqEditors ...RequestEditorFn) (*GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse, error)
GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetWithResponse Get event ids that were selected by the given campaign
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/observability/campaigns/{campaign_id}/selected-events (the `GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet` operationId).
func (*ClientWithResponses) GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetWithResponse ¶
func (c *ClientWithResponses) GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetWithResponse(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse, error)
GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetWithResponse Get campaign status by campaign id
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/observability/campaigns/{campaign_id}/status (the `GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet` operationId).
func (*ClientWithResponses) GetCampaignsV1ObservabilityCampaignsGetWithResponse ¶
func (c *ClientWithResponses) GetCampaignsV1ObservabilityCampaignsGetWithResponse(ctx context.Context, params *GetCampaignsV1ObservabilityCampaignsGetParams, reqEditors ...RequestEditorFn) (*GetCampaignsV1ObservabilityCampaignsGetResponse, error)
GetCampaignsV1ObservabilityCampaignsGetWithResponse Get all campaigns
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/observability/campaigns (the `GetCampaignsV1ObservabilityCampaignsGet` operationId).
func (*ClientWithResponses) GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse, error)
GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBodyWithResponse Alternative to /search that returns only the IDs and that can return many IDs at once
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/chat-completion-events/search-ids (the `GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost` operationId).
func (*ClientWithResponses) GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithResponse ¶
func (c *ClientWithResponses) GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithResponse(ctx context.Context, body GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse, error)
GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithResponse Alternative to /search that returns only the IDs and that can return many IDs at once
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/chat-completion-events/search-ids (the `GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost` operationId).
func (*ClientWithResponses) GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetWithResponse ¶
func (c *ClientWithResponses) GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetWithResponse(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse, error)
GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetWithResponse Get Chat Completion Event
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/observability/chat-completion-events/{event_id} (the `GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet` operationId).
func (*ClientWithResponses) GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBodyWithResponse ¶
func (c *ClientWithResponses) GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBodyWithResponse(ctx context.Context, params *GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse, error)
GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBodyWithResponse Get Chat Completion Events
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/chat-completion-events/search (the `GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost` operationId).
func (*ClientWithResponses) GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithResponse ¶
func (c *ClientWithResponses) GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithResponse(ctx context.Context, params *GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams, body GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse, error)
GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithResponse Get Chat Completion Events
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/chat-completion-events/search (the `GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost` operationId).
func (*ClientWithResponses) GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBodyWithResponse(ctx context.Context, fieldName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse, error)
GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBodyWithResponse Get Chat Completion Field Options Counts
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/chat-completion-fields/{field_name}/options-counts (the `GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost` operationId).
func (*ClientWithResponses) GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithResponse ¶
func (c *ClientWithResponses) GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithResponse(ctx context.Context, fieldName string, body GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse, error)
GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithResponse Get Chat Completion Field Options Counts
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/chat-completion-fields/{field_name}/options-counts (the `GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost` operationId).
func (*ClientWithResponses) GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetWithResponse ¶
func (c *ClientWithResponses) GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetWithResponse(ctx context.Context, fieldName string, params *GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParams, reqEditors ...RequestEditorFn) (*GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse, error)
GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetWithResponse Get Chat Completion Field Options
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/observability/chat-completion-fields/{field_name}/options (the `GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet` operationId).
func (*ClientWithResponses) GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetWithResponse ¶
func (c *ClientWithResponses) GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse, error)
GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetWithResponse Get Chat Completion Fields
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/observability/chat-completion-fields (the `GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet` operationId).
func (*ClientWithResponses) GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetWithResponse ¶
func (c *ClientWithResponses) GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse, error)
GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetWithResponse Get dataset by id
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/observability/datasets/{dataset_id} (the `GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet` operationId).
func (*ClientWithResponses) GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetWithResponse ¶
func (c *ClientWithResponses) GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, taskId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse, error)
GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetWithResponse Get status of a dataset import task
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/observability/datasets/{dataset_id}/tasks/{task_id} (the `GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet` operationId).
func (*ClientWithResponses) GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetWithResponse ¶
func (c *ClientWithResponses) GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, params *GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetParams, reqEditors ...RequestEditorFn) (*GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse, error)
GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetWithResponse List import tasks for the given dataset
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/observability/datasets/{dataset_id}/tasks (the `GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet` operationId).
func (*ClientWithResponses) GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetWithResponse ¶
func (c *ClientWithResponses) GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse, error)
GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetWithResponse Get the content of a given conversation from a dataset
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/observability/dataset-records/{dataset_record_id} (the `GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet` operationId).
func (*ClientWithResponses) GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetWithResponse ¶
func (c *ClientWithResponses) GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, params *GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetParams, reqEditors ...RequestEditorFn) (*GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse, error)
GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetWithResponse List existing records in the dataset
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/observability/datasets/{dataset_id}/records (the `GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet` operationId).
func (*ClientWithResponses) GetDatasetsV1ObservabilityDatasetsGetWithResponse ¶
func (c *ClientWithResponses) GetDatasetsV1ObservabilityDatasetsGetWithResponse(ctx context.Context, params *GetDatasetsV1ObservabilityDatasetsGetParams, reqEditors ...RequestEditorFn) (*GetDatasetsV1ObservabilityDatasetsGetResponse, error)
GetDatasetsV1ObservabilityDatasetsGetWithResponse List existing datasets
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/observability/datasets (the `GetDatasetsV1ObservabilityDatasetsGet` operationId).
func (*ClientWithResponses) GetDeploymentV1WorkflowsDeploymentsNameGetWithResponse ¶
func (c *ClientWithResponses) GetDeploymentV1WorkflowsDeploymentsNameGetWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDeploymentV1WorkflowsDeploymentsNameGetResponse, error)
GetDeploymentV1WorkflowsDeploymentsNameGetWithResponse Get Deployment
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/deployments/{name} (the `GetDeploymentV1WorkflowsDeploymentsNameGet` operationId).
func (*ClientWithResponses) GetJudgeByIdV1ObservabilityJudgesJudgeIdGetWithResponse ¶
func (c *ClientWithResponses) GetJudgeByIdV1ObservabilityJudgesJudgeIdGetWithResponse(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse, error)
GetJudgeByIdV1ObservabilityJudgesJudgeIdGetWithResponse Get judge by id
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/observability/judges/{judge_id} (the `GetJudgeByIdV1ObservabilityJudgesJudgeIdGet` operationId).
func (*ClientWithResponses) GetJudgesV1ObservabilityJudgesGetWithResponse ¶
func (c *ClientWithResponses) GetJudgesV1ObservabilityJudgesGetWithResponse(ctx context.Context, params *GetJudgesV1ObservabilityJudgesGetParams, reqEditors ...RequestEditorFn) (*GetJudgesV1ObservabilityJudgesGetResponse, error)
GetJudgesV1ObservabilityJudgesGetWithResponse Get judges with optional filtering and search
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/observability/judges (the `GetJudgesV1ObservabilityJudgesGet` operationId).
func (*ClientWithResponses) GetRunHistoryV1WorkflowsRunsRunIdHistoryGetWithResponse ¶
func (c *ClientWithResponses) GetRunHistoryV1WorkflowsRunsRunIdHistoryGetWithResponse(ctx context.Context, runId openapi_types.UUID, params *GetRunHistoryV1WorkflowsRunsRunIdHistoryGetParams, reqEditors ...RequestEditorFn) (*GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse, error)
GetRunHistoryV1WorkflowsRunsRunIdHistoryGetWithResponse Get Run History
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/runs/{run_id}/history (the `GetRunHistoryV1WorkflowsRunsRunIdHistoryGet` operationId).
func (*ClientWithResponses) GetRunV1WorkflowsRunsRunIdGetWithResponse ¶
func (c *ClientWithResponses) GetRunV1WorkflowsRunsRunIdGetWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRunV1WorkflowsRunsRunIdGetResponse, error)
GetRunV1WorkflowsRunsRunIdGetWithResponse Get Run
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/runs/{run_id} (the `GetRunV1WorkflowsRunsRunIdGet` operationId).
func (*ClientWithResponses) GetSchedulesV1WorkflowsSchedulesGetWithResponse ¶
func (c *ClientWithResponses) GetSchedulesV1WorkflowsSchedulesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSchedulesV1WorkflowsSchedulesGetResponse, error)
GetSchedulesV1WorkflowsSchedulesGetWithResponse Get Schedules
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/schedules (the `GetSchedulesV1WorkflowsSchedulesGet` operationId).
func (*ClientWithResponses) GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetWithResponse ¶
func (c *ClientWithResponses) GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetWithResponse(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse, error)
GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetWithResponse Get Similar Chat Completion Events
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/observability/chat-completion-events/{event_id}/similar-events (the `GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet` operationId).
func (*ClientWithResponses) GetStreamEventsV1WorkflowsEventsStreamGetWithResponse ¶
func (c *ClientWithResponses) GetStreamEventsV1WorkflowsEventsStreamGetWithResponse(ctx context.Context, params *GetStreamEventsV1WorkflowsEventsStreamGetParams, reqEditors ...RequestEditorFn) (*GetStreamEventsV1WorkflowsEventsStreamGetResponse, error)
GetStreamEventsV1WorkflowsEventsStreamGetWithResponse Get Stream Events
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/events/stream (the `GetStreamEventsV1WorkflowsEventsStreamGet` operationId).
func (*ClientWithResponses) GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetWithResponse ¶
func (c *ClientWithResponses) GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetWithResponse(ctx context.Context, voiceId string, reqEditors ...RequestEditorFn) (*GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse, error)
GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetWithResponse Get voice sample audio
Get the audio sample for a voice.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/audio/voices/{voice_id}/sample (the `GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet` operationId).
func (*ClientWithResponses) GetVoiceV1AudioVoicesVoiceIdGetWithResponse ¶
func (c *ClientWithResponses) GetVoiceV1AudioVoicesVoiceIdGetWithResponse(ctx context.Context, voiceId string, reqEditors ...RequestEditorFn) (*GetVoiceV1AudioVoicesVoiceIdGetResponse, error)
GetVoiceV1AudioVoicesVoiceIdGetWithResponse Get voice details
Get voice details (excluding sample).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/audio/voices/{voice_id} (the `GetVoiceV1AudioVoicesVoiceIdGet` operationId).
func (*ClientWithResponses) GetWorkerInfoV1WorkflowsWorkersWhoamiGetWithResponse ¶
func (c *ClientWithResponses) GetWorkerInfoV1WorkflowsWorkersWhoamiGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse, error)
GetWorkerInfoV1WorkflowsWorkersWhoamiGetWithResponse Get Worker Info
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/workers/whoami (the `GetWorkerInfoV1WorkflowsWorkersWhoamiGet` operationId).
func (*ClientWithResponses) GetWorkflowEventsV1WorkflowsEventsListGetWithResponse ¶
func (c *ClientWithResponses) GetWorkflowEventsV1WorkflowsEventsListGetWithResponse(ctx context.Context, params *GetWorkflowEventsV1WorkflowsEventsListGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowEventsV1WorkflowsEventsListGetResponse, error)
GetWorkflowEventsV1WorkflowsEventsListGetWithResponse Get Workflow Events
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/events/list (the `GetWorkflowEventsV1WorkflowsEventsListGet` operationId).
func (*ClientWithResponses) GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetWithResponse ¶
func (c *ClientWithResponses) GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetWithResponse(ctx context.Context, executionId string, params *GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse, error)
GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetWithResponse Get Workflow Execution History
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/executions/{execution_id}/history (the `GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet` operationId).
func (*ClientWithResponses) GetWorkflowExecutionTraceEventsWithResponse ¶
func (c *ClientWithResponses) GetWorkflowExecutionTraceEventsWithResponse(ctx context.Context, executionId string, params *GetWorkflowExecutionTraceEventsParams, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionTraceEventsResponse, error)
GetWorkflowExecutionTraceEventsWithResponse Get Workflow Execution Trace Events
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/executions/{execution_id}/trace/events (the `GetWorkflowExecutionTraceEvents` operationId).
func (*ClientWithResponses) GetWorkflowExecutionTraceOtelWithResponse ¶
func (c *ClientWithResponses) GetWorkflowExecutionTraceOtelWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionTraceOtelResponse, error)
GetWorkflowExecutionTraceOtelWithResponse Get Workflow Execution Trace Otel
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/executions/{execution_id}/trace/otel (the `GetWorkflowExecutionTraceOtel` operationId).
func (*ClientWithResponses) GetWorkflowExecutionTraceSummaryWithResponse ¶
func (c *ClientWithResponses) GetWorkflowExecutionTraceSummaryWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionTraceSummaryResponse, error)
GetWorkflowExecutionTraceSummaryWithResponse Get Workflow Execution Trace Summary
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/executions/{execution_id}/trace/summary (the `GetWorkflowExecutionTraceSummary` operationId).
func (*ClientWithResponses) GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetWithResponse ¶
func (c *ClientWithResponses) GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse, error)
GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetWithResponse Get Workflow Execution
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/executions/{execution_id} (the `GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet` operationId).
func (*ClientWithResponses) GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetWithResponse ¶
func (c *ClientWithResponses) GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetWithResponse(ctx context.Context, workflowName string, params *GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse, error)
GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetWithResponse Get Workflow Metrics
Get comprehensive metrics for a specific workflow.
Args:
workflow_name: The name of the workflow type to get metrics for start_time: Optional start time filter (ISO 8601 format) end_time: Optional end time filter (ISO 8601 format)
Returns:
WorkflowMetrics: Dictionary containing metrics:
- execution_count: Total number of executions
- success_count: Number of successful executions
- error_count: Number of failed/terminated executions
- average_latency_ms: Average execution duration in milliseconds
- retry_rate: Proportion of workflows with retries
- latency_over_time: Time-series data of execution durations
Example:
GET /v1/workflows/MyWorkflow/metrics GET /v1/workflows/MyWorkflow/metrics?start_time=2025-01-01T00:00:00Z GET /v1/workflows/MyWorkflow/metrics?start_time=2025-01-01T00:00:00Z&end_time=2025-12-31T23:59:59Z
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/{workflow_name}/metrics (the `GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet` operationId).
func (*ClientWithResponses) GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetWithResponse ¶
func (c *ClientWithResponses) GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetWithResponse(ctx context.Context, workflowRegistrationId openapi_types.UUID, params *GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse, error)
GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetWithResponse Get Workflow Registration
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/registrations/{workflow_registration_id} (the `GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet` operationId).
func (*ClientWithResponses) GetWorkflowRegistrationsV1WorkflowsRegistrationsGetWithResponse ¶
func (c *ClientWithResponses) GetWorkflowRegistrationsV1WorkflowsRegistrationsGetWithResponse(ctx context.Context, params *GetWorkflowRegistrationsV1WorkflowsRegistrationsGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse, error)
GetWorkflowRegistrationsV1WorkflowsRegistrationsGetWithResponse Get Workflow Registrations
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/registrations (the `GetWorkflowRegistrationsV1WorkflowsRegistrationsGet` operationId).
func (*ClientWithResponses) GetWorkflowV1WorkflowsWorkflowIdentifierGetWithResponse ¶
func (c *ClientWithResponses) GetWorkflowV1WorkflowsWorkflowIdentifierGetWithResponse(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse, error)
GetWorkflowV1WorkflowsWorkflowIdentifierGetWithResponse Get Workflow
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/{workflow_identifier} (the `GetWorkflowV1WorkflowsWorkflowIdentifierGet` operationId).
func (*ClientWithResponses) JobsApiRoutesBatchCancelBatchJobWithResponse ¶
func (c *ClientWithResponses) JobsApiRoutesBatchCancelBatchJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchCancelBatchJobResponse, error)
JobsApiRoutesBatchCancelBatchJobWithResponse Cancel Batch Job
Request the cancellation of a batch job.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/batch/jobs/{job_id}/cancel (the `JobsApiRoutesBatchCancelBatchJob` operationId).
func (*ClientWithResponses) JobsApiRoutesBatchCreateBatchJobWithBodyWithResponse ¶
func (c *ClientWithResponses) JobsApiRoutesBatchCreateBatchJobWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchCreateBatchJobResponse, error)
JobsApiRoutesBatchCreateBatchJobWithBodyWithResponse Create Batch Job
Create a new batch job, it will be queued for processing.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/batch/jobs (the `JobsApiRoutesBatchCreateBatchJob` operationId).
func (*ClientWithResponses) JobsApiRoutesBatchCreateBatchJobWithResponse ¶
func (c *ClientWithResponses) JobsApiRoutesBatchCreateBatchJobWithResponse(ctx context.Context, body JobsApiRoutesBatchCreateBatchJobJSONRequestBody, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchCreateBatchJobResponse, error)
JobsApiRoutesBatchCreateBatchJobWithResponse Create Batch Job
Create a new batch job, it will be queued for processing.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/batch/jobs (the `JobsApiRoutesBatchCreateBatchJob` operationId).
func (*ClientWithResponses) JobsApiRoutesBatchGetBatchJobWithResponse ¶
func (c *ClientWithResponses) JobsApiRoutesBatchGetBatchJobWithResponse(ctx context.Context, jobId openapi_types.UUID, params *JobsApiRoutesBatchGetBatchJobParams, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchGetBatchJobResponse, error)
JobsApiRoutesBatchGetBatchJobWithResponse Get Batch Job
Get a batch job details by its UUID.
Args:
inline: If True, return results inline in the response.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/batch/jobs/{job_id} (the `JobsApiRoutesBatchGetBatchJob` operationId).
func (*ClientWithResponses) JobsApiRoutesBatchGetBatchJobsWithResponse ¶
func (c *ClientWithResponses) JobsApiRoutesBatchGetBatchJobsWithResponse(ctx context.Context, params *JobsApiRoutesBatchGetBatchJobsParams, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchGetBatchJobsResponse, error)
JobsApiRoutesBatchGetBatchJobsWithResponse Get Batch Jobs
Get a list of batch jobs for your organization and user.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/batch/jobs (the `JobsApiRoutesBatchGetBatchJobs` operationId).
func (*ClientWithResponses) JobsApiRoutesFineTuningArchiveFineTunedModelWithResponse ¶
func (c *ClientWithResponses) JobsApiRoutesFineTuningArchiveFineTunedModelWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningArchiveFineTunedModelResponse, error)
JobsApiRoutesFineTuningArchiveFineTunedModelWithResponse Archive Fine Tuned Model
Archive a fine-tuned model.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/fine_tuning/models/{model_id}/archive (the `JobsApiRoutesFineTuningArchiveFineTunedModel` operationId).
func (*ClientWithResponses) JobsApiRoutesFineTuningCancelFineTuningJobWithResponse ¶
func (c *ClientWithResponses) JobsApiRoutesFineTuningCancelFineTuningJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningCancelFineTuningJobResponse, error)
JobsApiRoutesFineTuningCancelFineTuningJobWithResponse Cancel Fine Tuning Job
Request the cancellation of a fine tuning job.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/fine_tuning/jobs/{job_id}/cancel (the `JobsApiRoutesFineTuningCancelFineTuningJob` operationId).
func (*ClientWithResponses) JobsApiRoutesFineTuningCreateFineTuningJobWithBodyWithResponse ¶
func (c *ClientWithResponses) JobsApiRoutesFineTuningCreateFineTuningJobWithBodyWithResponse(ctx context.Context, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningCreateFineTuningJobResponse, error)
JobsApiRoutesFineTuningCreateFineTuningJobWithBodyWithResponse Create Fine Tuning Job
Create a new fine-tuning job, it will be queued for processing.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningCreateFineTuningJob` operationId).
func (*ClientWithResponses) JobsApiRoutesFineTuningCreateFineTuningJobWithResponse ¶
func (c *ClientWithResponses) JobsApiRoutesFineTuningCreateFineTuningJobWithResponse(ctx context.Context, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, body JobsApiRoutesFineTuningCreateFineTuningJobJSONRequestBody, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningCreateFineTuningJobResponse, error)
JobsApiRoutesFineTuningCreateFineTuningJobWithResponse Create Fine Tuning Job
Create a new fine-tuning job, it will be queued for processing.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningCreateFineTuningJob` operationId).
func (*ClientWithResponses) JobsApiRoutesFineTuningGetFineTuningJobWithResponse ¶
func (c *ClientWithResponses) JobsApiRoutesFineTuningGetFineTuningJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningGetFineTuningJobResponse, error)
JobsApiRoutesFineTuningGetFineTuningJobWithResponse Get Fine Tuning Job
Get a fine-tuned job details by its UUID.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/fine_tuning/jobs/{job_id} (the `JobsApiRoutesFineTuningGetFineTuningJob` operationId).
func (*ClientWithResponses) JobsApiRoutesFineTuningGetFineTuningJobsWithResponse ¶
func (c *ClientWithResponses) JobsApiRoutesFineTuningGetFineTuningJobsWithResponse(ctx context.Context, params *JobsApiRoutesFineTuningGetFineTuningJobsParams, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningGetFineTuningJobsResponse, error)
JobsApiRoutesFineTuningGetFineTuningJobsWithResponse Get Fine Tuning Jobs
Get a list of fine-tuning jobs for your organization and user.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningGetFineTuningJobs` operationId).
func (*ClientWithResponses) JobsApiRoutesFineTuningStartFineTuningJobWithResponse ¶
func (c *ClientWithResponses) JobsApiRoutesFineTuningStartFineTuningJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningStartFineTuningJobResponse, error)
JobsApiRoutesFineTuningStartFineTuningJobWithResponse Start Fine Tuning Job
Request the start of a validated fine tuning job.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/fine_tuning/jobs/{job_id}/start (the `JobsApiRoutesFineTuningStartFineTuningJob` operationId).
func (*ClientWithResponses) JobsApiRoutesFineTuningUnarchiveFineTunedModelWithResponse ¶
func (c *ClientWithResponses) JobsApiRoutesFineTuningUnarchiveFineTunedModelWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse, error)
JobsApiRoutesFineTuningUnarchiveFineTunedModelWithResponse Unarchive Fine Tuned Model
Un-archive a fine-tuned model.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/fine_tuning/models/{model_id}/archive (the `JobsApiRoutesFineTuningUnarchiveFineTunedModel` operationId).
func (*ClientWithResponses) JobsApiRoutesFineTuningUpdateFineTunedModelWithBodyWithResponse ¶
func (c *ClientWithResponses) JobsApiRoutesFineTuningUpdateFineTunedModelWithBodyWithResponse(ctx context.Context, modelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningUpdateFineTunedModelResponse, error)
JobsApiRoutesFineTuningUpdateFineTunedModelWithBodyWithResponse Update Fine Tuned Model
Update a model name or description.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/fine_tuning/models/{model_id} (the `JobsApiRoutesFineTuningUpdateFineTunedModel` operationId).
func (*ClientWithResponses) JobsApiRoutesFineTuningUpdateFineTunedModelWithResponse ¶
func (c *ClientWithResponses) JobsApiRoutesFineTuningUpdateFineTunedModelWithResponse(ctx context.Context, modelId string, body JobsApiRoutesFineTuningUpdateFineTunedModelJSONRequestBody, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningUpdateFineTunedModelResponse, error)
JobsApiRoutesFineTuningUpdateFineTunedModelWithResponse Update Fine Tuned Model
Update a model name or description.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/fine_tuning/models/{model_id} (the `JobsApiRoutesFineTuningUpdateFineTunedModel` operationId).
func (*ClientWithResponses) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBodyWithResponse ¶
func (c *ClientWithResponses) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBodyWithResponse(ctx context.Context, eventId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse, error)
JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBodyWithResponse Run Judge on an event based on the given options
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/chat-completion-events/{event_id}/live-judging (the `JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost` operationId).
func (*ClientWithResponses) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithResponse ¶
func (c *ClientWithResponses) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithResponse(ctx context.Context, eventId openapi_types.UUID, body JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse, error)
JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithResponse Run Judge on an event based on the given options
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/chat-completion-events/{event_id}/live-judging (the `JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost` operationId).
func (*ClientWithResponses) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBodyWithResponse ¶
func (c *ClientWithResponses) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBodyWithResponse(ctx context.Context, judgeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse, error)
JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBodyWithResponse Run a saved judge on a conversation
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/judges/{judge_id}/live-judging (the `JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost` operationId).
func (*ClientWithResponses) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithResponse ¶
func (c *ClientWithResponses) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithResponse(ctx context.Context, judgeId openapi_types.UUID, body JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse, error)
JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithResponse Run a saved judge on a conversation
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/judges/{judge_id}/live-judging (the `JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost` operationId).
func (*ClientWithResponses) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBodyWithResponse ¶
func (c *ClientWithResponses) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBodyWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse, error)
JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBodyWithResponse Run Judge on a dataset record based on the given options
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/dataset-records/{dataset_record_id}/live-judging (the `JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost` operationId).
func (*ClientWithResponses) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithResponse ¶
func (c *ClientWithResponses) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, body JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse, error)
JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithResponse Run Judge on a dataset record based on the given options
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/dataset-records/{dataset_record_id}/live-judging (the `JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost` operationId).
func (*ClientWithResponses) LibrariesCreateV1WithBodyWithResponse ¶
func (c *ClientWithResponses) LibrariesCreateV1WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesCreateV1Response, error)
LibrariesCreateV1WithBodyWithResponse Create a new Library.
Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/libraries (the `LibrariesCreateV1` operationId).
func (*ClientWithResponses) LibrariesCreateV1WithResponse ¶
func (c *ClientWithResponses) LibrariesCreateV1WithResponse(ctx context.Context, body LibrariesCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesCreateV1Response, error)
LibrariesCreateV1WithResponse Create a new Library.
Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/libraries (the `LibrariesCreateV1` operationId).
func (*ClientWithResponses) LibrariesDeleteV1WithResponse ¶
func (c *ClientWithResponses) LibrariesDeleteV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDeleteV1Response, error)
LibrariesDeleteV1WithResponse Delete a library and all of it's document.
Given a library id, deletes it together with all documents that have been uploaded to that library.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/libraries/{library_id} (the `LibrariesDeleteV1` operationId).
func (*ClientWithResponses) LibrariesDocumentsDeleteV1WithResponse ¶
func (c *ClientWithResponses) LibrariesDocumentsDeleteV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsDeleteV1Response, error)
LibrariesDocumentsDeleteV1WithResponse Delete a document.
Given a library and a document in that library, delete that document. The document will be deleted from the library and the search index.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsDeleteV1` operationId).
func (*ClientWithResponses) LibrariesDocumentsGetExtractedTextSignedUrlV1WithResponse ¶
func (c *ClientWithResponses) LibrariesDocumentsGetExtractedTextSignedUrlV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetExtractedTextSignedUrlV1Response, error)
LibrariesDocumentsGetExtractedTextSignedUrlV1WithResponse Retrieve the signed URL of text extracted from a given document.
Given a library and a document in that library, retrieve the signed URL of text extracted. For documents that are sent to the OCR this returns the result of the OCR queries.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/extracted-text-signed-url (the `LibrariesDocumentsGetExtractedTextSignedUrlV1` operationId).
func (*ClientWithResponses) LibrariesDocumentsGetSignedUrlV1WithResponse ¶
func (c *ClientWithResponses) LibrariesDocumentsGetSignedUrlV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetSignedUrlV1Response, error)
LibrariesDocumentsGetSignedUrlV1WithResponse Retrieve the signed URL of a specific document.
Given a library and a document in that library, retrieve the signed URL of a specific document.The url will expire after 30 minutes and can be accessed by anyone with the link.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/signed-url (the `LibrariesDocumentsGetSignedUrlV1` operationId).
func (*ClientWithResponses) LibrariesDocumentsGetStatusV1WithResponse ¶
func (c *ClientWithResponses) LibrariesDocumentsGetStatusV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetStatusV1Response, error)
LibrariesDocumentsGetStatusV1WithResponse Retrieve the processing status of a specific document.
Given a library and a document in that library, retrieve the processing status of that document.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/status (the `LibrariesDocumentsGetStatusV1` operationId).
func (*ClientWithResponses) LibrariesDocumentsGetTextContentV1WithResponse ¶
func (c *ClientWithResponses) LibrariesDocumentsGetTextContentV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetTextContentV1Response, error)
LibrariesDocumentsGetTextContentV1WithResponse Retrieve the text content of a specific document.
Given a library and a document in that library, you can retrieve the text content of that document if it exists. For documents like pdf, docx and pptx the text content results from our processing using Mistral OCR.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/text_content (the `LibrariesDocumentsGetTextContentV1` operationId).
func (*ClientWithResponses) LibrariesDocumentsGetV1WithResponse ¶
func (c *ClientWithResponses) LibrariesDocumentsGetV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetV1Response, error)
LibrariesDocumentsGetV1WithResponse Retrieve the metadata of a specific document.
Given a library and a document in this library, you can retrieve the metadata of that document.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsGetV1` operationId).
func (*ClientWithResponses) LibrariesDocumentsListV1WithResponse ¶
func (c *ClientWithResponses) LibrariesDocumentsListV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, params *LibrariesDocumentsListV1Params, reqEditors ...RequestEditorFn) (*LibrariesDocumentsListV1Response, error)
LibrariesDocumentsListV1WithResponse List documents in a given library.
Given a library, lists the document that have been uploaded to that library.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/libraries/{library_id}/documents (the `LibrariesDocumentsListV1` operationId).
func (*ClientWithResponses) LibrariesDocumentsReprocessV1WithResponse ¶
func (c *ClientWithResponses) LibrariesDocumentsReprocessV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsReprocessV1Response, error)
LibrariesDocumentsReprocessV1WithResponse Reprocess a document.
Given a library and a document in that library, reprocess that document, it will be billed again.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/libraries/{library_id}/documents/{document_id}/reprocess (the `LibrariesDocumentsReprocessV1` operationId).
func (*ClientWithResponses) LibrariesDocumentsUpdateV1WithBodyWithResponse ¶
func (c *ClientWithResponses) LibrariesDocumentsUpdateV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesDocumentsUpdateV1Response, error)
LibrariesDocumentsUpdateV1WithBodyWithResponse Update the metadata of a specific document.
Given a library and a document in that library, update the name of that document.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsUpdateV1` operationId).
func (*ClientWithResponses) LibrariesDocumentsUpdateV1WithResponse ¶
func (c *ClientWithResponses) LibrariesDocumentsUpdateV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, body LibrariesDocumentsUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesDocumentsUpdateV1Response, error)
LibrariesDocumentsUpdateV1WithResponse Update the metadata of a specific document.
Given a library and a document in that library, update the name of that document.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsUpdateV1` operationId).
func (*ClientWithResponses) LibrariesDocumentsUploadV1WithBodyWithResponse ¶
func (c *ClientWithResponses) LibrariesDocumentsUploadV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesDocumentsUploadV1Response, error)
LibrariesDocumentsUploadV1WithBodyWithResponse Upload a new document.
Given a library, upload a new document to that library. It is queued for processing, it status will change it has been processed. The processing has to be completed in order be discoverable for the library search
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/libraries/{library_id}/documents (the `LibrariesDocumentsUploadV1` operationId).
func (*ClientWithResponses) LibrariesGetV1WithResponse ¶
func (c *ClientWithResponses) LibrariesGetV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesGetV1Response, error)
LibrariesGetV1WithResponse Detailed information about a specific Library.
Given a library id, details information about that Library.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/libraries/{library_id} (the `LibrariesGetV1` operationId).
func (*ClientWithResponses) LibrariesListV1WithResponse ¶
func (c *ClientWithResponses) LibrariesListV1WithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LibrariesListV1Response, error)
LibrariesListV1WithResponse List all libraries you have access to.
List all libraries that you have created or have been shared with you.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/libraries (the `LibrariesListV1` operationId).
func (*ClientWithResponses) LibrariesShareCreateV1WithBodyWithResponse ¶
func (c *ClientWithResponses) LibrariesShareCreateV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesShareCreateV1Response, error)
LibrariesShareCreateV1WithBodyWithResponse Create or update an access level.
Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/libraries/{library_id}/share (the `LibrariesShareCreateV1` operationId).
func (*ClientWithResponses) LibrariesShareCreateV1WithResponse ¶
func (c *ClientWithResponses) LibrariesShareCreateV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, body LibrariesShareCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesShareCreateV1Response, error)
LibrariesShareCreateV1WithResponse Create or update an access level.
Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/libraries/{library_id}/share (the `LibrariesShareCreateV1` operationId).
func (*ClientWithResponses) LibrariesShareDeleteV1WithBodyWithResponse ¶
func (c *ClientWithResponses) LibrariesShareDeleteV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesShareDeleteV1Response, error)
LibrariesShareDeleteV1WithBodyWithResponse Delete an access level.
Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/libraries/{library_id}/share (the `LibrariesShareDeleteV1` operationId).
func (*ClientWithResponses) LibrariesShareDeleteV1WithResponse ¶
func (c *ClientWithResponses) LibrariesShareDeleteV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, body LibrariesShareDeleteV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesShareDeleteV1Response, error)
LibrariesShareDeleteV1WithResponse Delete an access level.
Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/libraries/{library_id}/share (the `LibrariesShareDeleteV1` operationId).
func (*ClientWithResponses) LibrariesShareListV1WithResponse ¶
func (c *ClientWithResponses) LibrariesShareListV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesShareListV1Response, error)
LibrariesShareListV1WithResponse List all of the access to this library.
Given a library, list all of the Entity that have access and to what level.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/libraries/{library_id}/share (the `LibrariesShareListV1` operationId).
func (*ClientWithResponses) LibrariesUpdateV1WithBodyWithResponse ¶
func (c *ClientWithResponses) LibrariesUpdateV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesUpdateV1Response, error)
LibrariesUpdateV1WithBodyWithResponse Update a library.
Given a library id, you can update the name and description.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/libraries/{library_id} (the `LibrariesUpdateV1` operationId).
func (*ClientWithResponses) LibrariesUpdateV1WithResponse ¶
func (c *ClientWithResponses) LibrariesUpdateV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, body LibrariesUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesUpdateV1Response, error)
LibrariesUpdateV1WithResponse Update a library.
Given a library id, you can update the name and description.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/libraries/{library_id} (the `LibrariesUpdateV1` operationId).
func (*ClientWithResponses) ListDeploymentsV1WorkflowsDeploymentsGetWithResponse ¶
func (c *ClientWithResponses) ListDeploymentsV1WorkflowsDeploymentsGetWithResponse(ctx context.Context, params *ListDeploymentsV1WorkflowsDeploymentsGetParams, reqEditors ...RequestEditorFn) (*ListDeploymentsV1WorkflowsDeploymentsGetResponse, error)
ListDeploymentsV1WorkflowsDeploymentsGetWithResponse List Deployments
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/deployments (the `ListDeploymentsV1WorkflowsDeploymentsGet` operationId).
func (*ClientWithResponses) ListModelsV1ModelsGetWithResponse ¶
func (c *ClientWithResponses) ListModelsV1ModelsGetWithResponse(ctx context.Context, params *ListModelsV1ModelsGetParams, reqEditors ...RequestEditorFn) (*ListModelsV1ModelsGetResponse, error)
ListModelsV1ModelsGetWithResponse List Models
List all models available to the user.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/models (the `ListModelsV1ModelsGet` operationId).
func (*ClientWithResponses) ListRunsV1WorkflowsRunsGetWithResponse ¶
func (c *ClientWithResponses) ListRunsV1WorkflowsRunsGetWithResponse(ctx context.Context, params *ListRunsV1WorkflowsRunsGetParams, reqEditors ...RequestEditorFn) (*ListRunsV1WorkflowsRunsGetResponse, error)
ListRunsV1WorkflowsRunsGetWithResponse List Runs
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/runs (the `ListRunsV1WorkflowsRunsGet` operationId).
func (*ClientWithResponses) ListVoicesV1AudioVoicesGetWithResponse ¶
func (c *ClientWithResponses) ListVoicesV1AudioVoicesGetWithResponse(ctx context.Context, params *ListVoicesV1AudioVoicesGetParams, reqEditors ...RequestEditorFn) (*ListVoicesV1AudioVoicesGetResponse, error)
ListVoicesV1AudioVoicesGetWithResponse List all voices
List all voices (excluding sample data).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/audio/voices (the `ListVoicesV1AudioVoicesGet` operationId).
func (*ClientWithResponses) ModerationsV1ModerationsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ModerationsV1ModerationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModerationsV1ModerationsPostResponse, error)
ModerationsV1ModerationsPostWithBodyWithResponse Moderations
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/moderations (the `ModerationsV1ModerationsPost` operationId).
func (*ClientWithResponses) ModerationsV1ModerationsPostWithResponse ¶
func (c *ClientWithResponses) ModerationsV1ModerationsPostWithResponse(ctx context.Context, body ModerationsV1ModerationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ModerationsV1ModerationsPostResponse, error)
ModerationsV1ModerationsPostWithResponse Moderations
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/moderations (the `ModerationsV1ModerationsPost` operationId).
func (*ClientWithResponses) OcrV1OcrPostWithBodyWithResponse ¶
func (c *ClientWithResponses) OcrV1OcrPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OcrV1OcrPostResponse, error)
OcrV1OcrPostWithBodyWithResponse OCR
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/ocr (the `OcrV1OcrPost` operationId).
func (*ClientWithResponses) OcrV1OcrPostWithResponse ¶
func (c *ClientWithResponses) OcrV1OcrPostWithResponse(ctx context.Context, body OcrV1OcrPostJSONRequestBody, reqEditors ...RequestEditorFn) (*OcrV1OcrPostResponse, error)
OcrV1OcrPostWithResponse OCR
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/ocr (the `OcrV1OcrPost` operationId).
func (*ClientWithResponses) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBodyWithResponse ¶
func (c *ClientWithResponses) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse, error)
PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBodyWithResponse Populate the dataset with a campaign
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-campaign (the `PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost` operationId).
func (*ClientWithResponses) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithResponse ¶
func (c *ClientWithResponses) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse, error)
PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithResponse Populate the dataset with a campaign
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-campaign (the `PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost` operationId).
func (*ClientWithResponses) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBodyWithResponse ¶
func (c *ClientWithResponses) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse, error)
PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBodyWithResponse Populate the dataset with samples from another dataset
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-dataset (the `PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost` operationId).
func (*ClientWithResponses) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithResponse ¶
func (c *ClientWithResponses) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse, error)
PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithResponse Populate the dataset with samples from another dataset
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-dataset (the `PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost` operationId).
func (*ClientWithResponses) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBodyWithResponse ¶
func (c *ClientWithResponses) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse, error)
PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBodyWithResponse Populate the dataset with samples from the explorer
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-explorer (the `PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost` operationId).
func (*ClientWithResponses) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithResponse ¶
func (c *ClientWithResponses) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse, error)
PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithResponse Populate the dataset with samples from the explorer
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-explorer (the `PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost` operationId).
func (*ClientWithResponses) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBodyWithResponse ¶
func (c *ClientWithResponses) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse, error)
PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBodyWithResponse Populate the dataset with samples from an uploaded file
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-file (the `PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost` operationId).
func (*ClientWithResponses) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithResponse ¶
func (c *ClientWithResponses) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithResponse(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse, error)
PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithResponse Populate the dataset with samples from an uploaded file
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-file (the `PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost` operationId).
func (*ClientWithResponses) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBodyWithResponse ¶
func (c *ClientWithResponses) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse, error)
PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBodyWithResponse Populate the dataset with samples from the playground
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-playground (the `PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost` operationId).
func (*ClientWithResponses) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithResponse ¶
func (c *ClientWithResponses) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse, error)
PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithResponse Populate the dataset with samples from the playground
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-playground (the `PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost` operationId).
func (*ClientWithResponses) QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBodyWithResponse ¶
func (c *ClientWithResponses) QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse, error)
QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBodyWithResponse Query Workflow Execution
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/executions/{execution_id}/queries (the `QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost` operationId).
func (*ClientWithResponses) QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithResponse ¶
func (c *ClientWithResponses) QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithResponse(ctx context.Context, executionId string, body QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse, error)
QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithResponse Query Workflow Execution
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/executions/{execution_id}/queries (the `QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost` operationId).
func (*ClientWithResponses) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse, error)
ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBodyWithResponse Reset Workflow
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/executions/{execution_id}/reset (the `ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost` operationId).
func (*ClientWithResponses) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithResponse ¶
func (c *ClientWithResponses) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithResponse(ctx context.Context, executionId string, body ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse, error)
ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithResponse Reset Workflow
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/executions/{execution_id}/reset (the `ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost` operationId).
func (*ClientWithResponses) RetrieveModelV1ModelsModelIdGetWithResponse ¶
func (c *ClientWithResponses) RetrieveModelV1ModelsModelIdGetWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*RetrieveModelV1ModelsModelIdGetResponse, error)
RetrieveModelV1ModelsModelIdGetWithResponse Retrieve Model
Retrieve information about a model.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/models/{model_id} (the `RetrieveModelV1ModelsModelIdGet` operationId).
func (*ClientWithResponses) ScheduleWorkflowV1WorkflowsSchedulesPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ScheduleWorkflowV1WorkflowsSchedulesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScheduleWorkflowV1WorkflowsSchedulesPostResponse, error)
ScheduleWorkflowV1WorkflowsSchedulesPostWithBodyWithResponse Schedule Workflow
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/schedules (the `ScheduleWorkflowV1WorkflowsSchedulesPost` operationId).
func (*ClientWithResponses) ScheduleWorkflowV1WorkflowsSchedulesPostWithResponse ¶
func (c *ClientWithResponses) ScheduleWorkflowV1WorkflowsSchedulesPostWithResponse(ctx context.Context, body ScheduleWorkflowV1WorkflowsSchedulesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleWorkflowV1WorkflowsSchedulesPostResponse, error)
ScheduleWorkflowV1WorkflowsSchedulesPostWithResponse Schedule Workflow
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/schedules (the `ScheduleWorkflowV1WorkflowsSchedulesPost` operationId).
func (*ClientWithResponses) SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse, error)
SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBodyWithResponse Signal Workflow Execution
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/executions/{execution_id}/signals (the `SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost` operationId).
func (*ClientWithResponses) SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithResponse ¶
func (c *ClientWithResponses) SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithResponse(ctx context.Context, executionId string, body SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse, error)
SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithResponse Signal Workflow Execution
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/executions/{execution_id}/signals (the `SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost` operationId).
func (*ClientWithResponses) SpeechV1AudioSpeechPostWithBodyWithResponse ¶
func (c *ClientWithResponses) SpeechV1AudioSpeechPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SpeechV1AudioSpeechPostResponse, error)
SpeechV1AudioSpeechPostWithBodyWithResponse Speech
Generate speech from text using a saved voice or a reference audio clip.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/audio/speech (the `SpeechV1AudioSpeechPost` operationId).
func (*ClientWithResponses) SpeechV1AudioSpeechPostWithResponse ¶
func (c *ClientWithResponses) SpeechV1AudioSpeechPostWithResponse(ctx context.Context, body SpeechV1AudioSpeechPostJSONRequestBody, reqEditors ...RequestEditorFn) (*SpeechV1AudioSpeechPostResponse, error)
SpeechV1AudioSpeechPostWithResponse Speech
Generate speech from text using a saved voice or a reference audio clip.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/audio/speech (the `SpeechV1AudioSpeechPost` operationId).
func (*ClientWithResponses) StreamV1WorkflowsExecutionsExecutionIdStreamGetWithResponse ¶
func (c *ClientWithResponses) StreamV1WorkflowsExecutionsExecutionIdStreamGetWithResponse(ctx context.Context, executionId string, params *StreamV1WorkflowsExecutionsExecutionIdStreamGetParams, reqEditors ...RequestEditorFn) (*StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse, error)
StreamV1WorkflowsExecutionsExecutionIdStreamGetWithResponse Stream
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workflows/executions/{execution_id}/stream (the `StreamV1WorkflowsExecutionsExecutionIdStreamGet` operationId).
func (*ClientWithResponses) TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostWithResponse ¶
func (c *ClientWithResponses) TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse, error)
TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostWithResponse Terminate Workflow Execution
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/executions/{execution_id}/terminate (the `TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost` operationId).
func (*ClientWithResponses) UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutWithResponse ¶
func (c *ClientWithResponses) UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutWithResponse(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse, error)
UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutWithResponse Unarchive Workflow
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/workflows/{workflow_identifier}/unarchive (the `UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut` operationId).
func (*ClientWithResponses) UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteWithResponse ¶
func (c *ClientWithResponses) UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteWithResponse(ctx context.Context, scheduleId string, reqEditors ...RequestEditorFn) (*UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse, error)
UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteWithResponse Unschedule Workflow
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/workflows/schedules/{schedule_id} (the `UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete` operationId).
func (*ClientWithResponses) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBodyWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse, error)
UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBodyWithResponse Update a dataset record conversation payload
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/payload (the `UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut` operationId).
func (*ClientWithResponses) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithResponse ¶
func (c *ClientWithResponses) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, body UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse, error)
UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithResponse Update a dataset record conversation payload
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/payload (the `UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut` operationId).
func (*ClientWithResponses) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBodyWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse, error)
UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBodyWithResponse Update conversation properties
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/properties (the `UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut` operationId).
func (*ClientWithResponses) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithResponse ¶
func (c *ClientWithResponses) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, body UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse, error)
UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithResponse Update conversation properties
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/properties (the `UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut` operationId).
func (*ClientWithResponses) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse, error)
UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBodyWithResponse Patch dataset
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/observability/datasets/{dataset_id} (the `UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch` operationId).
func (*ClientWithResponses) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithResponse ¶
func (c *ClientWithResponses) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithResponse(ctx context.Context, datasetId openapi_types.UUID, body UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse, error)
UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithResponse Patch dataset
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/observability/datasets/{dataset_id} (the `UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch` operationId).
func (*ClientWithResponses) UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBodyWithResponse(ctx context.Context, judgeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse, error)
UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBodyWithResponse Update a judge
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/observability/judges/{judge_id} (the `UpdateJudgeV1ObservabilityJudgesJudgeIdPut` operationId).
func (*ClientWithResponses) UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithResponse ¶
func (c *ClientWithResponses) UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithResponse(ctx context.Context, judgeId openapi_types.UUID, body UpdateJudgeV1ObservabilityJudgesJudgeIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse, error)
UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithResponse Update a judge
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/observability/judges/{judge_id} (the `UpdateJudgeV1ObservabilityJudgesJudgeIdPut` operationId).
func (*ClientWithResponses) UpdateVoiceV1AudioVoicesVoiceIdPatchWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateVoiceV1AudioVoicesVoiceIdPatchWithBodyWithResponse(ctx context.Context, voiceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVoiceV1AudioVoicesVoiceIdPatchResponse, error)
UpdateVoiceV1AudioVoicesVoiceIdPatchWithBodyWithResponse Update voice metadata
Update voice metadata (name, gender, languages, age, tags).
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/audio/voices/{voice_id} (the `UpdateVoiceV1AudioVoicesVoiceIdPatch` operationId).
func (*ClientWithResponses) UpdateVoiceV1AudioVoicesVoiceIdPatchWithResponse ¶
func (c *ClientWithResponses) UpdateVoiceV1AudioVoicesVoiceIdPatchWithResponse(ctx context.Context, voiceId openapi_types.UUID, body UpdateVoiceV1AudioVoicesVoiceIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVoiceV1AudioVoicesVoiceIdPatchResponse, error)
UpdateVoiceV1AudioVoicesVoiceIdPatchWithResponse Update voice metadata
Update voice metadata (name, gender, languages, age, tags).
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/audio/voices/{voice_id} (the `UpdateVoiceV1AudioVoicesVoiceIdPatch` operationId).
func (*ClientWithResponses) UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse, error)
UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBodyWithResponse Update Workflow Execution
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/executions/{execution_id}/updates (the `UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost` operationId).
func (*ClientWithResponses) UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithResponse ¶
func (c *ClientWithResponses) UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithResponse(ctx context.Context, executionId string, body UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse, error)
UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithResponse Update Workflow Execution
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workflows/executions/{execution_id}/updates (the `UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost` operationId).
func (*ClientWithResponses) UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBodyWithResponse(ctx context.Context, workflowIdentifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse, error)
UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBodyWithResponse Update Workflow
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/workflows/{workflow_identifier} (the `UpdateWorkflowV1WorkflowsWorkflowIdentifierPut` operationId).
func (*ClientWithResponses) UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithResponse ¶
func (c *ClientWithResponses) UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithResponse(ctx context.Context, workflowIdentifier string, body UpdateWorkflowV1WorkflowsWorkflowIdentifierPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse, error)
UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithResponse Update Workflow
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/workflows/{workflow_identifier} (the `UpdateWorkflowV1WorkflowsWorkflowIdentifierPut` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// AgentsApiV1AgentsListWithResponse List agent entities.
//
// Retrieve a list of agent entities sorted by creation time. Deprecated: some features such as agent sharing are not supported by this endpoint. Use the cursor-paginated `GET /v1/agents/pages` instead.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/agents (the `AgentsApiV1AgentsList` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AgentsApiV1AgentsListWithResponse(ctx context.Context, params *AgentsApiV1AgentsListParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsListResponse, error)
// AgentsApiV1AgentsCreateWithBodyWithResponse Create a agent that can be used within a conversation.
//
// Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/agents (the `AgentsApiV1AgentsCreate` operationId).
AgentsApiV1AgentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsCreateResponse, error)
// AgentsApiV1AgentsCreateWithResponse Create a agent that can be used within a conversation.
//
// Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/agents (the `AgentsApiV1AgentsCreate` operationId).
AgentsApiV1AgentsCreateWithResponse(ctx context.Context, body AgentsApiV1AgentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsCreateResponse, error)
// AgentsCompletionV1AgentsCompletionsPostWithBodyWithResponse Agents Completion
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/agents/completions (the `AgentsCompletionV1AgentsCompletionsPost` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AgentsCompletionV1AgentsCompletionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsCompletionV1AgentsCompletionsPostResponse, error)
// AgentsCompletionV1AgentsCompletionsPostWithResponse Agents Completion
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/agents/completions (the `AgentsCompletionV1AgentsCompletionsPost` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AgentsCompletionV1AgentsCompletionsPostWithResponse(ctx context.Context, body AgentsCompletionV1AgentsCompletionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsCompletionV1AgentsCompletionsPostResponse, error)
// AgentsApiV1AgentsListPagesWithResponse List agent entities, cursor-paginated.
//
// Retrieve a page of agent entities. Unlike the deprecated `GET /v1/agents`, this endpoint paginates by opaque cursor and honors per-agent sharing, returning only agents the caller is authorized to see.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/agents/pages (the `AgentsApiV1AgentsListPages` operationId).
AgentsApiV1AgentsListPagesWithResponse(ctx context.Context, params *AgentsApiV1AgentsListPagesParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsListPagesResponse, error)
// AgentsApiV1AgentsDeleteWithResponse Delete an agent entity.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/agents/{agent_id} (the `AgentsApiV1AgentsDelete` operationId).
AgentsApiV1AgentsDeleteWithResponse(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsDeleteResponse, error)
// AgentsApiV1AgentsGetWithResponse Retrieve an agent entity.
//
// Given an agent, retrieve an agent entity with its attributes. The agent_version parameter can be an integer version number or a string alias.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/agents/{agent_id} (the `AgentsApiV1AgentsGet` operationId).
AgentsApiV1AgentsGetWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsGetParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsGetResponse, error)
// AgentsApiV1AgentsUpdateWithBodyWithResponse Update an agent entity.
//
// Update an agent attributes and create a new version.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/agents/{agent_id} (the `AgentsApiV1AgentsUpdate` operationId).
AgentsApiV1AgentsUpdateWithBodyWithResponse(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsUpdateResponse, error)
// AgentsApiV1AgentsUpdateWithResponse Update an agent entity.
//
// Update an agent attributes and create a new version.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/agents/{agent_id} (the `AgentsApiV1AgentsUpdate` operationId).
AgentsApiV1AgentsUpdateWithResponse(ctx context.Context, agentId string, body AgentsApiV1AgentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsUpdateResponse, error)
// AgentsApiV1AgentsDeleteAliasWithResponse Delete an agent version alias.
//
// Delete an existing alias for an agent.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsDeleteAlias` operationId).
AgentsApiV1AgentsDeleteAliasWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsDeleteAliasParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsDeleteAliasResponse, error)
// AgentsApiV1AgentsListVersionAliasesWithResponse List all aliases for an agent.
//
// Retrieve all version aliases for a specific agent.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsListVersionAliases` operationId).
AgentsApiV1AgentsListVersionAliasesWithResponse(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsListVersionAliasesResponse, error)
// AgentsApiV1AgentsCreateOrUpdateAliasWithResponse Create or update an agent version alias.
//
// Create a new alias or update an existing alias to point to a specific version. Aliases are unique per agent and can be reassigned to different versions.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsCreateOrUpdateAlias` operationId).
AgentsApiV1AgentsCreateOrUpdateAliasWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsCreateOrUpdateAliasParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsCreateOrUpdateAliasResponse, error)
// AgentsApiV1AgentsUpdateVersionWithResponse Update an agent version.
//
// Switch the version of an agent.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/agents/{agent_id}/version (the `AgentsApiV1AgentsUpdateVersion` operationId).
AgentsApiV1AgentsUpdateVersionWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsUpdateVersionParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsUpdateVersionResponse, error)
// AgentsApiV1AgentsListVersionsWithResponse List all versions of an agent.
//
// Retrieve all versions for a specific agent with full agent context. Supports pagination.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/agents/{agent_id}/versions (the `AgentsApiV1AgentsListVersions` operationId).
AgentsApiV1AgentsListVersionsWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsListVersionsParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsListVersionsResponse, error)
// AgentsApiV1AgentsGetVersionWithResponse Retrieve a specific version of an agent.
//
// Get a specific agent version by version number.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/agents/{agent_id}/versions/{version} (the `AgentsApiV1AgentsGetVersion` operationId).
AgentsApiV1AgentsGetVersionWithResponse(ctx context.Context, agentId string, version string, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsGetVersionResponse, error)
// SpeechV1AudioSpeechPostWithBodyWithResponse Speech
//
// Generate speech from text using a saved voice or a reference audio clip.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/audio/speech (the `SpeechV1AudioSpeechPost` operationId).
SpeechV1AudioSpeechPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SpeechV1AudioSpeechPostResponse, error)
// SpeechV1AudioSpeechPostWithResponse Speech
//
// Generate speech from text using a saved voice or a reference audio clip.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/audio/speech (the `SpeechV1AudioSpeechPost` operationId).
SpeechV1AudioSpeechPostWithResponse(ctx context.Context, body SpeechV1AudioSpeechPostJSONRequestBody, reqEditors ...RequestEditorFn) (*SpeechV1AudioSpeechPostResponse, error)
// AudioApiV1TranscriptionsPostWithBodyWithResponse Create Transcription
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/audio/transcriptions (the `AudioApiV1TranscriptionsPost` operationId).
AudioApiV1TranscriptionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AudioApiV1TranscriptionsPostResponse, error)
// AudioApiV1TranscriptionsPostStreamWithBodyWithResponse Create Streaming Transcription (SSE)
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/audio/transcriptions#stream (the `AudioApiV1TranscriptionsPostStream` operationId).
AudioApiV1TranscriptionsPostStreamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AudioApiV1TranscriptionsPostStreamResponse, error)
// ListVoicesV1AudioVoicesGetWithResponse List all voices
//
// List all voices (excluding sample data).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/audio/voices (the `ListVoicesV1AudioVoicesGet` operationId).
ListVoicesV1AudioVoicesGetWithResponse(ctx context.Context, params *ListVoicesV1AudioVoicesGetParams, reqEditors ...RequestEditorFn) (*ListVoicesV1AudioVoicesGetResponse, error)
// CreateVoiceV1AudioVoicesPostWithBodyWithResponse Create a new voice
//
// Create a new voice with a base64-encoded audio sample.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/audio/voices (the `CreateVoiceV1AudioVoicesPost` operationId).
CreateVoiceV1AudioVoicesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVoiceV1AudioVoicesPostResponse, error)
// CreateVoiceV1AudioVoicesPostWithResponse Create a new voice
//
// Create a new voice with a base64-encoded audio sample.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/audio/voices (the `CreateVoiceV1AudioVoicesPost` operationId).
CreateVoiceV1AudioVoicesPostWithResponse(ctx context.Context, body CreateVoiceV1AudioVoicesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVoiceV1AudioVoicesPostResponse, error)
// DeleteVoiceV1AudioVoicesVoiceIdDeleteWithResponse Delete a custom voice
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/audio/voices/{voice_id} (the `DeleteVoiceV1AudioVoicesVoiceIdDelete` operationId).
DeleteVoiceV1AudioVoicesVoiceIdDeleteWithResponse(ctx context.Context, voiceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse, error)
// GetVoiceV1AudioVoicesVoiceIdGetWithResponse Get voice details
//
// Get voice details (excluding sample).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/audio/voices/{voice_id} (the `GetVoiceV1AudioVoicesVoiceIdGet` operationId).
GetVoiceV1AudioVoicesVoiceIdGetWithResponse(ctx context.Context, voiceId string, reqEditors ...RequestEditorFn) (*GetVoiceV1AudioVoicesVoiceIdGetResponse, error)
// UpdateVoiceV1AudioVoicesVoiceIdPatchWithBodyWithResponse Update voice metadata
//
// Update voice metadata (name, gender, languages, age, tags).
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/audio/voices/{voice_id} (the `UpdateVoiceV1AudioVoicesVoiceIdPatch` operationId).
UpdateVoiceV1AudioVoicesVoiceIdPatchWithBodyWithResponse(ctx context.Context, voiceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVoiceV1AudioVoicesVoiceIdPatchResponse, error)
// UpdateVoiceV1AudioVoicesVoiceIdPatchWithResponse Update voice metadata
//
// Update voice metadata (name, gender, languages, age, tags).
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/audio/voices/{voice_id} (the `UpdateVoiceV1AudioVoicesVoiceIdPatch` operationId).
UpdateVoiceV1AudioVoicesVoiceIdPatchWithResponse(ctx context.Context, voiceId openapi_types.UUID, body UpdateVoiceV1AudioVoicesVoiceIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVoiceV1AudioVoicesVoiceIdPatchResponse, error)
// GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetWithResponse Get voice sample audio
//
// Get the audio sample for a voice.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/audio/voices/{voice_id}/sample (the `GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet` operationId).
GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetWithResponse(ctx context.Context, voiceId string, reqEditors ...RequestEditorFn) (*GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse, error)
// JobsApiRoutesBatchGetBatchJobsWithResponse Get Batch Jobs
//
// Get a list of batch jobs for your organization and user.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/batch/jobs (the `JobsApiRoutesBatchGetBatchJobs` operationId).
JobsApiRoutesBatchGetBatchJobsWithResponse(ctx context.Context, params *JobsApiRoutesBatchGetBatchJobsParams, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchGetBatchJobsResponse, error)
// JobsApiRoutesBatchCreateBatchJobWithBodyWithResponse Create Batch Job
//
// Create a new batch job, it will be queued for processing.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/batch/jobs (the `JobsApiRoutesBatchCreateBatchJob` operationId).
JobsApiRoutesBatchCreateBatchJobWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchCreateBatchJobResponse, error)
// JobsApiRoutesBatchCreateBatchJobWithResponse Create Batch Job
//
// Create a new batch job, it will be queued for processing.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/batch/jobs (the `JobsApiRoutesBatchCreateBatchJob` operationId).
JobsApiRoutesBatchCreateBatchJobWithResponse(ctx context.Context, body JobsApiRoutesBatchCreateBatchJobJSONRequestBody, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchCreateBatchJobResponse, error)
// JobsApiRoutesBatchGetBatchJobWithResponse Get Batch Job
//
// Get a batch job details by its UUID.
//
// Args:
// inline: If True, return results inline in the response.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/batch/jobs/{job_id} (the `JobsApiRoutesBatchGetBatchJob` operationId).
JobsApiRoutesBatchGetBatchJobWithResponse(ctx context.Context, jobId openapi_types.UUID, params *JobsApiRoutesBatchGetBatchJobParams, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchGetBatchJobResponse, error)
// JobsApiRoutesBatchCancelBatchJobWithResponse Cancel Batch Job
//
// Request the cancellation of a batch job.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/batch/jobs/{job_id}/cancel (the `JobsApiRoutesBatchCancelBatchJob` operationId).
JobsApiRoutesBatchCancelBatchJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchCancelBatchJobResponse, error)
// ChatClassificationsV1ChatClassificationsPostWithBodyWithResponse Chat Classifications
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/chat/classifications (the `ChatClassificationsV1ChatClassificationsPost` operationId).
ChatClassificationsV1ChatClassificationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChatClassificationsV1ChatClassificationsPostResponse, error)
// ChatClassificationsV1ChatClassificationsPostWithResponse Chat Classifications
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/chat/classifications (the `ChatClassificationsV1ChatClassificationsPost` operationId).
ChatClassificationsV1ChatClassificationsPostWithResponse(ctx context.Context, body ChatClassificationsV1ChatClassificationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ChatClassificationsV1ChatClassificationsPostResponse, error)
// ChatCompletionV1ChatCompletionsPostWithBodyWithResponse Chat Completion
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/chat/completions (the `ChatCompletionV1ChatCompletionsPost` operationId).
ChatCompletionV1ChatCompletionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChatCompletionV1ChatCompletionsPostResponse, error)
// ChatCompletionV1ChatCompletionsPostWithResponse Chat Completion
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/chat/completions (the `ChatCompletionV1ChatCompletionsPost` operationId).
ChatCompletionV1ChatCompletionsPostWithResponse(ctx context.Context, body ChatCompletionV1ChatCompletionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ChatCompletionV1ChatCompletionsPostResponse, error)
// ChatModerationsV1ChatModerationsPostWithBodyWithResponse Chat Moderations
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/chat/moderations (the `ChatModerationsV1ChatModerationsPost` operationId).
ChatModerationsV1ChatModerationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChatModerationsV1ChatModerationsPostResponse, error)
// ChatModerationsV1ChatModerationsPostWithResponse Chat Moderations
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/chat/moderations (the `ChatModerationsV1ChatModerationsPost` operationId).
ChatModerationsV1ChatModerationsPostWithResponse(ctx context.Context, body ChatModerationsV1ChatModerationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ChatModerationsV1ChatModerationsPostResponse, error)
// ClassificationsV1ClassificationsPostWithBodyWithResponse Classifications
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/classifications (the `ClassificationsV1ClassificationsPost` operationId).
ClassificationsV1ClassificationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClassificationsV1ClassificationsPostResponse, error)
// ClassificationsV1ClassificationsPostWithResponse Classifications
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/classifications (the `ClassificationsV1ClassificationsPost` operationId).
ClassificationsV1ClassificationsPostWithResponse(ctx context.Context, body ClassificationsV1ClassificationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ClassificationsV1ClassificationsPostResponse, error)
// ConnectorListV1WithResponse List all connectors.
//
// List all your custom connectors with keyset pagination and filters.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/connectors (the `ConnectorListV1` operationId).
ConnectorListV1WithResponse(ctx context.Context, params *ConnectorListV1Params, reqEditors ...RequestEditorFn) (*ConnectorListV1Response, error)
// ConnectorCreateV1WithBodyWithResponse Create a new connector.
//
// Create a new MCP connector. You can customize its visibility, url and auth type.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/connectors (the `ConnectorCreateV1` operationId).
ConnectorCreateV1WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCreateV1Response, error)
// ConnectorCreateV1WithResponse Create a new connector.
//
// Create a new MCP connector. You can customize its visibility, url and auth type.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/connectors (the `ConnectorCreateV1` operationId).
ConnectorCreateV1WithResponse(ctx context.Context, body ConnectorCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCreateV1Response, error)
// ConnectorGetV1WithResponse Get a connector.
//
// Get a connector by its ID or name.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/connectors/{connector_id_or_name}#idOrName (the `ConnectorGetV1` operationId).
ConnectorGetV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorGetV1Params, reqEditors ...RequestEditorFn) (*ConnectorGetV1Response, error)
// ConnectorGetAuthUrlV1WithResponse Get the auth URL for a connector.
//
// Get the OAuth2 authorization URL for a connector to initiate user authentication.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/connectors/{connector_id_or_name}/auth_url (the `ConnectorGetAuthUrlV1` operationId).
ConnectorGetAuthUrlV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorGetAuthUrlV1Params, reqEditors ...RequestEditorFn) (*ConnectorGetAuthUrlV1Response, error)
// ConnectorGetAuthenticationMethodsV1WithResponse Get authentication methods for a connector.
//
// Get the authentication schema for a connector. Returns the list of supported authentication methods and their required headers.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/connectors/{connector_id_or_name}/authentication_methods (the `ConnectorGetAuthenticationMethodsV1` operationId).
ConnectorGetAuthenticationMethodsV1WithResponse(ctx context.Context, connectorIdOrName string, reqEditors ...RequestEditorFn) (*ConnectorGetAuthenticationMethodsV1Response, error)
// ConnectorListOrganizationCredentialsV1WithResponse List organization credentials for a connector.
//
// List all credentials configured at the organization level for a given connector.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorListOrganizationCredentialsV1` operationId).
ConnectorListOrganizationCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorListOrganizationCredentialsV1Params, reqEditors ...RequestEditorFn) (*ConnectorListOrganizationCredentialsV1Response, error)
// ConnectorCreateOrUpdateOrganizationCredentialsV1WithBodyWithResponse Create or update organization credentials for a connector.
//
// Create or update credentials at the organization level for a given connector.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorCreateOrUpdateOrganizationCredentialsV1` operationId).
ConnectorCreateOrUpdateOrganizationCredentialsV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateOrganizationCredentialsV1Response, error)
// ConnectorCreateOrUpdateOrganizationCredentialsV1WithResponse Create or update organization credentials for a connector.
//
// Create or update credentials at the organization level for a given connector.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorCreateOrUpdateOrganizationCredentialsV1` operationId).
ConnectorCreateOrUpdateOrganizationCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateOrganizationCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateOrganizationCredentialsV1Response, error)
// ConnectorDeleteOrganizationCredentialsV1WithResponse Delete organization credentials for a connector.
//
// Delete credentials at the organization level for a given connector.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/connectors/{connector_id_or_name}/organization/credentials/{credentials_name} (the `ConnectorDeleteOrganizationCredentialsV1` operationId).
ConnectorDeleteOrganizationCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*ConnectorDeleteOrganizationCredentialsV1Response, error)
// ConnectorListToolsV1WithResponse List tools for a connector.
//
// List all tools available for an MCP connector.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/connectors/{connector_id_or_name}/tools (the `ConnectorListToolsV1` operationId).
ConnectorListToolsV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorListToolsV1Params, reqEditors ...RequestEditorFn) (*ConnectorListToolsV1Response, error)
// ConnectorCallToolV1WithBodyWithResponse Call Connector Tool
//
// Call a tool on an MCP connector.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/connectors/{connector_id_or_name}/tools/{tool_name}/call (the `ConnectorCallToolV1` operationId).
ConnectorCallToolV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCallToolV1Response, error)
// ConnectorCallToolV1WithResponse Call Connector Tool
//
// Call a tool on an MCP connector.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/connectors/{connector_id_or_name}/tools/{tool_name}/call (the `ConnectorCallToolV1` operationId).
ConnectorCallToolV1WithResponse(ctx context.Context, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, body ConnectorCallToolV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCallToolV1Response, error)
// ConnectorListUserCredentialsV1WithResponse List user credentials for a connector.
//
// List all credentials configured at the user level for a given connector.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorListUserCredentialsV1` operationId).
ConnectorListUserCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorListUserCredentialsV1Params, reqEditors ...RequestEditorFn) (*ConnectorListUserCredentialsV1Response, error)
// ConnectorCreateOrUpdateUserCredentialsV1WithBodyWithResponse Create or update user credentials for a connector.
//
// Create or update credentials at the user level for a given connector.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorCreateOrUpdateUserCredentialsV1` operationId).
ConnectorCreateOrUpdateUserCredentialsV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateUserCredentialsV1Response, error)
// ConnectorCreateOrUpdateUserCredentialsV1WithResponse Create or update user credentials for a connector.
//
// Create or update credentials at the user level for a given connector.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorCreateOrUpdateUserCredentialsV1` operationId).
ConnectorCreateOrUpdateUserCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateUserCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateUserCredentialsV1Response, error)
// ConnectorDeleteUserCredentialsV1WithResponse Delete user credentials for a connector.
//
// Delete credentials at the user level for a given connector.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/connectors/{connector_id_or_name}/user/credentials/{credentials_name} (the `ConnectorDeleteUserCredentialsV1` operationId).
ConnectorDeleteUserCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*ConnectorDeleteUserCredentialsV1Response, error)
// ConnectorListWorkspaceCredentialsV1WithResponse List workspace credentials for a connector.
//
// List all credentials configured at the workspace level for a given connector.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorListWorkspaceCredentialsV1` operationId).
ConnectorListWorkspaceCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorListWorkspaceCredentialsV1Params, reqEditors ...RequestEditorFn) (*ConnectorListWorkspaceCredentialsV1Response, error)
// ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBodyWithResponse Create or update workspace credentials for a connector.
//
// Create or update credentials at the workspace level for a given connector.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorCreateOrUpdateWorkspaceCredentialsV1` operationId).
ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateWorkspaceCredentialsV1Response, error)
// ConnectorCreateOrUpdateWorkspaceCredentialsV1WithResponse Create or update workspace credentials for a connector.
//
// Create or update credentials at the workspace level for a given connector.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorCreateOrUpdateWorkspaceCredentialsV1` operationId).
ConnectorCreateOrUpdateWorkspaceCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateWorkspaceCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateWorkspaceCredentialsV1Response, error)
// ConnectorDeleteWorkspaceCredentialsV1WithResponse Delete workspace credentials for a connector.
//
// Delete credentials at the workspace level for a given connector.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/connectors/{connector_id_or_name}/workspace/credentials/{credentials_name} (the `ConnectorDeleteWorkspaceCredentialsV1` operationId).
ConnectorDeleteWorkspaceCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*ConnectorDeleteWorkspaceCredentialsV1Response, error)
// ConnectorDeleteV1WithResponse Delete a connector.
//
// Delete a connector by its ID.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/connectors/{connector_id}#id (the `ConnectorDeleteV1` operationId).
ConnectorDeleteV1WithResponse(ctx context.Context, connectorId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ConnectorDeleteV1Response, error)
// ConnectorUpdateV1WithBodyWithResponse Update a connector.
//
// Update a connector by its ID.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/connectors/{connector_id}#id (the `ConnectorUpdateV1` operationId).
ConnectorUpdateV1WithBodyWithResponse(ctx context.Context, connectorId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorUpdateV1Response, error)
// ConnectorUpdateV1WithResponse Update a connector.
//
// Update a connector by its ID.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/connectors/{connector_id}#id (the `ConnectorUpdateV1` operationId).
ConnectorUpdateV1WithResponse(ctx context.Context, connectorId openapi_types.UUID, body ConnectorUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorUpdateV1Response, error)
// AgentsApiV1ConversationsListWithResponse List all created conversations.
//
// Retrieve a list of conversation entities sorted by creation time.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/conversations (the `AgentsApiV1ConversationsList` operationId).
AgentsApiV1ConversationsListWithResponse(ctx context.Context, params *AgentsApiV1ConversationsListParams, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsListResponse, error)
// AgentsApiV1ConversationsStartWithBodyWithResponse Create a conversation and append entries to it.
//
// Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/conversations (the `AgentsApiV1ConversationsStart` operationId).
AgentsApiV1ConversationsStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsStartResponse, error)
// AgentsApiV1ConversationsStartWithResponse Create a conversation and append entries to it.
//
// Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/conversations (the `AgentsApiV1ConversationsStart` operationId).
AgentsApiV1ConversationsStartWithResponse(ctx context.Context, body AgentsApiV1ConversationsStartJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsStartResponse, error)
// AgentsApiV1ConversationsStartStreamWithBodyWithResponse Create a conversation and append entries to it.
//
// Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/conversations#stream (the `AgentsApiV1ConversationsStartStream` operationId).
AgentsApiV1ConversationsStartStreamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsStartStreamResponse, error)
// AgentsApiV1ConversationsStartStreamWithResponse Create a conversation and append entries to it.
//
// Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/conversations#stream (the `AgentsApiV1ConversationsStartStream` operationId).
AgentsApiV1ConversationsStartStreamWithResponse(ctx context.Context, body AgentsApiV1ConversationsStartStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsStartStreamResponse, error)
// AgentsApiV1ConversationsDeleteWithResponse Delete a conversation.
//
// Delete a conversation given a conversation_id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsDelete` operationId).
AgentsApiV1ConversationsDeleteWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsDeleteResponse, error)
// AgentsApiV1ConversationsGetWithResponse Retrieve a conversation information.
//
// Given a conversation_id retrieve a conversation entity with its attributes.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsGet` operationId).
AgentsApiV1ConversationsGetWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsGetResponse, error)
// AgentsApiV1ConversationsAppendWithBodyWithResponse Append new entries to an existing conversation.
//
// Run completion on the history of the conversation and the user entries. Return the new created entries.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsAppend` operationId).
AgentsApiV1ConversationsAppendWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsAppendResponse, error)
// AgentsApiV1ConversationsAppendWithResponse Append new entries to an existing conversation.
//
// Run completion on the history of the conversation and the user entries. Return the new created entries.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsAppend` operationId).
AgentsApiV1ConversationsAppendWithResponse(ctx context.Context, conversationId string, body AgentsApiV1ConversationsAppendJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsAppendResponse, error)
// AgentsApiV1ConversationsAppendStreamWithBodyWithResponse Append new entries to an existing conversation.
//
// Run completion on the history of the conversation and the user entries. Return the new created entries.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/conversations/{conversation_id}#stream (the `AgentsApiV1ConversationsAppendStream` operationId).
AgentsApiV1ConversationsAppendStreamWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsAppendStreamResponse, error)
// AgentsApiV1ConversationsAppendStreamWithResponse Append new entries to an existing conversation.
//
// Run completion on the history of the conversation and the user entries. Return the new created entries.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/conversations/{conversation_id}#stream (the `AgentsApiV1ConversationsAppendStream` operationId).
AgentsApiV1ConversationsAppendStreamWithResponse(ctx context.Context, conversationId string, body AgentsApiV1ConversationsAppendStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsAppendStreamResponse, error)
// AgentsApiV1ConversationsHistoryWithResponse Retrieve all entries in a conversation.
//
// Given a conversation_id retrieve all the entries belonging to that conversation. The entries are sorted in the order they were appended, those can be messages, connectors or function_call.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/conversations/{conversation_id}/history (the `AgentsApiV1ConversationsHistory` operationId).
AgentsApiV1ConversationsHistoryWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsHistoryResponse, error)
// AgentsApiV1ConversationsMessagesWithResponse Retrieve all messages in a conversation.
//
// Given a conversation_id retrieve all the messages belonging to that conversation. This is similar to retrieving all entries except we filter the messages only.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/conversations/{conversation_id}/messages (the `AgentsApiV1ConversationsMessages` operationId).
AgentsApiV1ConversationsMessagesWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsMessagesResponse, error)
// AgentsApiV1ConversationsRestartWithBodyWithResponse Restart a conversation starting from a given entry.
//
// Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/conversations/{conversation_id}/restart (the `AgentsApiV1ConversationsRestart` operationId).
AgentsApiV1ConversationsRestartWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsRestartResponse, error)
// AgentsApiV1ConversationsRestartWithResponse Restart a conversation starting from a given entry.
//
// Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/conversations/{conversation_id}/restart (the `AgentsApiV1ConversationsRestart` operationId).
AgentsApiV1ConversationsRestartWithResponse(ctx context.Context, conversationId string, body AgentsApiV1ConversationsRestartJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsRestartResponse, error)
// AgentsApiV1ConversationsRestartStreamWithBodyWithResponse Restart a conversation starting from a given entry.
//
// Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/conversations/{conversation_id}/restart#stream (the `AgentsApiV1ConversationsRestartStream` operationId).
AgentsApiV1ConversationsRestartStreamWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsRestartStreamResponse, error)
// AgentsApiV1ConversationsRestartStreamWithResponse Restart a conversation starting from a given entry.
//
// Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/conversations/{conversation_id}/restart#stream (the `AgentsApiV1ConversationsRestartStream` operationId).
AgentsApiV1ConversationsRestartStreamWithResponse(ctx context.Context, conversationId string, body AgentsApiV1ConversationsRestartStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsRestartStreamResponse, error)
// EmbeddingsV1EmbeddingsPostWithBodyWithResponse Embeddings
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/embeddings (the `EmbeddingsV1EmbeddingsPost` operationId).
EmbeddingsV1EmbeddingsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EmbeddingsV1EmbeddingsPostResponse, error)
// EmbeddingsV1EmbeddingsPostWithResponse Embeddings
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/embeddings (the `EmbeddingsV1EmbeddingsPost` operationId).
EmbeddingsV1EmbeddingsPostWithResponse(ctx context.Context, body EmbeddingsV1EmbeddingsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*EmbeddingsV1EmbeddingsPostResponse, error)
// FilesApiRoutesListFilesWithResponse List Files
//
// Returns a list of files that belong to the user's organization.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/files (the `FilesApiRoutesListFiles` operationId).
FilesApiRoutesListFilesWithResponse(ctx context.Context, params *FilesApiRoutesListFilesParams, reqEditors ...RequestEditorFn) (*FilesApiRoutesListFilesResponse, error)
// FilesApiRoutesUploadFileWithBodyWithResponse Upload File
//
// Upload a file that can be used across various endpoints.
//
// The size of individual files can be a maximum of 512 MB. The Fine-tuning API only supports .jsonl files.
//
// Please contact us if you need to increase these storage limits.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/files (the `FilesApiRoutesUploadFile` operationId).
FilesApiRoutesUploadFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FilesApiRoutesUploadFileResponse, error)
// FilesApiRoutesDeleteFileWithResponse Delete File
//
// Delete a file.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/files/{file_id} (the `FilesApiRoutesDeleteFile` operationId).
FilesApiRoutesDeleteFileWithResponse(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*FilesApiRoutesDeleteFileResponse, error)
// FilesApiRoutesRetrieveFileWithResponse Retrieve File
//
// Returns information about a specific file.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/files/{file_id} (the `FilesApiRoutesRetrieveFile` operationId).
FilesApiRoutesRetrieveFileWithResponse(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*FilesApiRoutesRetrieveFileResponse, error)
// FilesApiRoutesDownloadFileWithResponse Download File
//
// Download a file.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/files/{file_id}/content (the `FilesApiRoutesDownloadFile` operationId).
FilesApiRoutesDownloadFileWithResponse(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*FilesApiRoutesDownloadFileResponse, error)
// FilesApiRoutesGetSignedUrlWithResponse Get Signed Url
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/files/{file_id}/url (the `FilesApiRoutesGetSignedUrl` operationId).
FilesApiRoutesGetSignedUrlWithResponse(ctx context.Context, fileId openapi_types.UUID, params *FilesApiRoutesGetSignedUrlParams, reqEditors ...RequestEditorFn) (*FilesApiRoutesGetSignedUrlResponse, error)
// FimCompletionV1FimCompletionsPostWithBodyWithResponse Fim Completion
//
// FIM completion.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/fim/completions (the `FimCompletionV1FimCompletionsPost` operationId).
FimCompletionV1FimCompletionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FimCompletionV1FimCompletionsPostResponse, error)
// FimCompletionV1FimCompletionsPostWithResponse Fim Completion
//
// FIM completion.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/fim/completions (the `FimCompletionV1FimCompletionsPost` operationId).
FimCompletionV1FimCompletionsPostWithResponse(ctx context.Context, body FimCompletionV1FimCompletionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*FimCompletionV1FimCompletionsPostResponse, error)
// JobsApiRoutesFineTuningGetFineTuningJobsWithResponse Get Fine Tuning Jobs
//
// Get a list of fine-tuning jobs for your organization and user.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningGetFineTuningJobs` operationId).
JobsApiRoutesFineTuningGetFineTuningJobsWithResponse(ctx context.Context, params *JobsApiRoutesFineTuningGetFineTuningJobsParams, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningGetFineTuningJobsResponse, error)
// JobsApiRoutesFineTuningCreateFineTuningJobWithBodyWithResponse Create Fine Tuning Job
//
// Create a new fine-tuning job, it will be queued for processing.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningCreateFineTuningJob` operationId).
JobsApiRoutesFineTuningCreateFineTuningJobWithBodyWithResponse(ctx context.Context, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningCreateFineTuningJobResponse, error)
// JobsApiRoutesFineTuningCreateFineTuningJobWithResponse Create Fine Tuning Job
//
// Create a new fine-tuning job, it will be queued for processing.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningCreateFineTuningJob` operationId).
JobsApiRoutesFineTuningCreateFineTuningJobWithResponse(ctx context.Context, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, body JobsApiRoutesFineTuningCreateFineTuningJobJSONRequestBody, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningCreateFineTuningJobResponse, error)
// JobsApiRoutesFineTuningGetFineTuningJobWithResponse Get Fine Tuning Job
//
// Get a fine-tuned job details by its UUID.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/fine_tuning/jobs/{job_id} (the `JobsApiRoutesFineTuningGetFineTuningJob` operationId).
JobsApiRoutesFineTuningGetFineTuningJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningGetFineTuningJobResponse, error)
// JobsApiRoutesFineTuningCancelFineTuningJobWithResponse Cancel Fine Tuning Job
//
// Request the cancellation of a fine tuning job.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/fine_tuning/jobs/{job_id}/cancel (the `JobsApiRoutesFineTuningCancelFineTuningJob` operationId).
JobsApiRoutesFineTuningCancelFineTuningJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningCancelFineTuningJobResponse, error)
// JobsApiRoutesFineTuningStartFineTuningJobWithResponse Start Fine Tuning Job
//
// Request the start of a validated fine tuning job.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/fine_tuning/jobs/{job_id}/start (the `JobsApiRoutesFineTuningStartFineTuningJob` operationId).
JobsApiRoutesFineTuningStartFineTuningJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningStartFineTuningJobResponse, error)
// JobsApiRoutesFineTuningUpdateFineTunedModelWithBodyWithResponse Update Fine Tuned Model
//
// Update a model name or description.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/fine_tuning/models/{model_id} (the `JobsApiRoutesFineTuningUpdateFineTunedModel` operationId).
JobsApiRoutesFineTuningUpdateFineTunedModelWithBodyWithResponse(ctx context.Context, modelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningUpdateFineTunedModelResponse, error)
// JobsApiRoutesFineTuningUpdateFineTunedModelWithResponse Update Fine Tuned Model
//
// Update a model name or description.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/fine_tuning/models/{model_id} (the `JobsApiRoutesFineTuningUpdateFineTunedModel` operationId).
JobsApiRoutesFineTuningUpdateFineTunedModelWithResponse(ctx context.Context, modelId string, body JobsApiRoutesFineTuningUpdateFineTunedModelJSONRequestBody, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningUpdateFineTunedModelResponse, error)
// JobsApiRoutesFineTuningUnarchiveFineTunedModelWithResponse Unarchive Fine Tuned Model
//
// Un-archive a fine-tuned model.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/fine_tuning/models/{model_id}/archive (the `JobsApiRoutesFineTuningUnarchiveFineTunedModel` operationId).
JobsApiRoutesFineTuningUnarchiveFineTunedModelWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse, error)
// JobsApiRoutesFineTuningArchiveFineTunedModelWithResponse Archive Fine Tuned Model
//
// Archive a fine-tuned model.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/fine_tuning/models/{model_id}/archive (the `JobsApiRoutesFineTuningArchiveFineTunedModel` operationId).
JobsApiRoutesFineTuningArchiveFineTunedModelWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningArchiveFineTunedModelResponse, error)
// LibrariesListV1WithResponse List all libraries you have access to.
//
// List all libraries that you have created or have been shared with you.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/libraries (the `LibrariesListV1` operationId).
LibrariesListV1WithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LibrariesListV1Response, error)
// LibrariesCreateV1WithBodyWithResponse Create a new Library.
//
// Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/libraries (the `LibrariesCreateV1` operationId).
LibrariesCreateV1WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesCreateV1Response, error)
// LibrariesCreateV1WithResponse Create a new Library.
//
// Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/libraries (the `LibrariesCreateV1` operationId).
LibrariesCreateV1WithResponse(ctx context.Context, body LibrariesCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesCreateV1Response, error)
// LibrariesDeleteV1WithResponse Delete a library and all of it's document.
//
// Given a library id, deletes it together with all documents that have been uploaded to that library.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/libraries/{library_id} (the `LibrariesDeleteV1` operationId).
LibrariesDeleteV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDeleteV1Response, error)
// LibrariesGetV1WithResponse Detailed information about a specific Library.
//
// Given a library id, details information about that Library.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/libraries/{library_id} (the `LibrariesGetV1` operationId).
LibrariesGetV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesGetV1Response, error)
// LibrariesUpdateV1WithBodyWithResponse Update a library.
//
// Given a library id, you can update the name and description.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/libraries/{library_id} (the `LibrariesUpdateV1` operationId).
LibrariesUpdateV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesUpdateV1Response, error)
// LibrariesUpdateV1WithResponse Update a library.
//
// Given a library id, you can update the name and description.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/libraries/{library_id} (the `LibrariesUpdateV1` operationId).
LibrariesUpdateV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, body LibrariesUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesUpdateV1Response, error)
// LibrariesDocumentsListV1WithResponse List documents in a given library.
//
// Given a library, lists the document that have been uploaded to that library.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/libraries/{library_id}/documents (the `LibrariesDocumentsListV1` operationId).
LibrariesDocumentsListV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, params *LibrariesDocumentsListV1Params, reqEditors ...RequestEditorFn) (*LibrariesDocumentsListV1Response, error)
// LibrariesDocumentsUploadV1WithBodyWithResponse Upload a new document.
//
// Given a library, upload a new document to that library. It is queued for processing, it status will change it has been processed. The processing has to be completed in order be discoverable for the library search
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/libraries/{library_id}/documents (the `LibrariesDocumentsUploadV1` operationId).
LibrariesDocumentsUploadV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesDocumentsUploadV1Response, error)
// LibrariesDocumentsDeleteV1WithResponse Delete a document.
//
// Given a library and a document in that library, delete that document. The document will be deleted from the library and the search index.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsDeleteV1` operationId).
LibrariesDocumentsDeleteV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsDeleteV1Response, error)
// LibrariesDocumentsGetV1WithResponse Retrieve the metadata of a specific document.
//
// Given a library and a document in this library, you can retrieve the metadata of that document.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsGetV1` operationId).
LibrariesDocumentsGetV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetV1Response, error)
// LibrariesDocumentsUpdateV1WithBodyWithResponse Update the metadata of a specific document.
//
// Given a library and a document in that library, update the name of that document.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsUpdateV1` operationId).
LibrariesDocumentsUpdateV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesDocumentsUpdateV1Response, error)
// LibrariesDocumentsUpdateV1WithResponse Update the metadata of a specific document.
//
// Given a library and a document in that library, update the name of that document.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsUpdateV1` operationId).
LibrariesDocumentsUpdateV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, body LibrariesDocumentsUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesDocumentsUpdateV1Response, error)
// LibrariesDocumentsGetExtractedTextSignedUrlV1WithResponse Retrieve the signed URL of text extracted from a given document.
//
// Given a library and a document in that library, retrieve the signed URL of text extracted. For documents that are sent to the OCR this returns the result of the OCR queries.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/extracted-text-signed-url (the `LibrariesDocumentsGetExtractedTextSignedUrlV1` operationId).
LibrariesDocumentsGetExtractedTextSignedUrlV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetExtractedTextSignedUrlV1Response, error)
// LibrariesDocumentsReprocessV1WithResponse Reprocess a document.
//
// Given a library and a document in that library, reprocess that document, it will be billed again.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/libraries/{library_id}/documents/{document_id}/reprocess (the `LibrariesDocumentsReprocessV1` operationId).
LibrariesDocumentsReprocessV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsReprocessV1Response, error)
// LibrariesDocumentsGetSignedUrlV1WithResponse Retrieve the signed URL of a specific document.
//
// Given a library and a document in that library, retrieve the signed URL of a specific document.The url will expire after 30 minutes and can be accessed by anyone with the link.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/signed-url (the `LibrariesDocumentsGetSignedUrlV1` operationId).
LibrariesDocumentsGetSignedUrlV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetSignedUrlV1Response, error)
// LibrariesDocumentsGetStatusV1WithResponse Retrieve the processing status of a specific document.
//
// Given a library and a document in that library, retrieve the processing status of that document.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/status (the `LibrariesDocumentsGetStatusV1` operationId).
LibrariesDocumentsGetStatusV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetStatusV1Response, error)
// LibrariesDocumentsGetTextContentV1WithResponse Retrieve the text content of a specific document.
//
// Given a library and a document in that library, you can retrieve the text content of that document if it exists. For documents like pdf, docx and pptx the text content results from our processing using Mistral OCR.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/text_content (the `LibrariesDocumentsGetTextContentV1` operationId).
LibrariesDocumentsGetTextContentV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetTextContentV1Response, error)
//
// Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/libraries/{library_id}/share (the `LibrariesShareDeleteV1` operationId).
LibrariesShareDeleteV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesShareDeleteV1Response, error)
//
// Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/libraries/{library_id}/share (the `LibrariesShareDeleteV1` operationId).
LibrariesShareDeleteV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, body LibrariesShareDeleteV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesShareDeleteV1Response, error)
//
// Given a library, list all of the Entity that have access and to what level.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/libraries/{library_id}/share (the `LibrariesShareListV1` operationId).
LibrariesShareListV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesShareListV1Response, error)
//
// Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/libraries/{library_id}/share (the `LibrariesShareCreateV1` operationId).
LibrariesShareCreateV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesShareCreateV1Response, error)
//
// Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/libraries/{library_id}/share (the `LibrariesShareCreateV1` operationId).
LibrariesShareCreateV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, body LibrariesShareCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesShareCreateV1Response, error)
// ListModelsV1ModelsGetWithResponse List Models
//
// List all models available to the user.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/models (the `ListModelsV1ModelsGet` operationId).
ListModelsV1ModelsGetWithResponse(ctx context.Context, params *ListModelsV1ModelsGetParams, reqEditors ...RequestEditorFn) (*ListModelsV1ModelsGetResponse, error)
// DeleteModelV1ModelsModelIdDeleteWithResponse Delete Model
//
// Delete a fine-tuned model.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/models/{model_id} (the `DeleteModelV1ModelsModelIdDelete` operationId).
DeleteModelV1ModelsModelIdDeleteWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*DeleteModelV1ModelsModelIdDeleteResponse, error)
// RetrieveModelV1ModelsModelIdGetWithResponse Retrieve Model
//
// Retrieve information about a model.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/models/{model_id} (the `RetrieveModelV1ModelsModelIdGet` operationId).
RetrieveModelV1ModelsModelIdGetWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*RetrieveModelV1ModelsModelIdGetResponse, error)
// ModerationsV1ModerationsPostWithBodyWithResponse Moderations
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/moderations (the `ModerationsV1ModerationsPost` operationId).
ModerationsV1ModerationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModerationsV1ModerationsPostResponse, error)
// ModerationsV1ModerationsPostWithResponse Moderations
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/moderations (the `ModerationsV1ModerationsPost` operationId).
ModerationsV1ModerationsPostWithResponse(ctx context.Context, body ModerationsV1ModerationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ModerationsV1ModerationsPostResponse, error)
// GetCampaignsV1ObservabilityCampaignsGetWithResponse Get all campaigns
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/observability/campaigns (the `GetCampaignsV1ObservabilityCampaignsGet` operationId).
GetCampaignsV1ObservabilityCampaignsGetWithResponse(ctx context.Context, params *GetCampaignsV1ObservabilityCampaignsGetParams, reqEditors ...RequestEditorFn) (*GetCampaignsV1ObservabilityCampaignsGetResponse, error)
// CreateCampaignV1ObservabilityCampaignsPostWithBodyWithResponse Create and start a new campaign
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/campaigns (the `CreateCampaignV1ObservabilityCampaignsPost` operationId).
CreateCampaignV1ObservabilityCampaignsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCampaignV1ObservabilityCampaignsPostResponse, error)
// CreateCampaignV1ObservabilityCampaignsPostWithResponse Create and start a new campaign
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/campaigns (the `CreateCampaignV1ObservabilityCampaignsPost` operationId).
CreateCampaignV1ObservabilityCampaignsPostWithResponse(ctx context.Context, body CreateCampaignV1ObservabilityCampaignsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCampaignV1ObservabilityCampaignsPostResponse, error)
// DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteWithResponse Delete a campaign
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/observability/campaigns/{campaign_id} (the `DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete` operationId).
DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteWithResponse(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse, error)
// GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetWithResponse Get campaign by id
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/observability/campaigns/{campaign_id} (the `GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet` operationId).
GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetWithResponse(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse, error)
// GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetWithResponse Get event ids that were selected by the given campaign
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/observability/campaigns/{campaign_id}/selected-events (the `GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet` operationId).
GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetWithResponse(ctx context.Context, campaignId openapi_types.UUID, params *GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetParams, reqEditors ...RequestEditorFn) (*GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse, error)
// GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetWithResponse Get campaign status by campaign id
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/observability/campaigns/{campaign_id}/status (the `GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet` operationId).
GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetWithResponse(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse, error)
// GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBodyWithResponse Get Chat Completion Events
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/chat-completion-events/search (the `GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost` operationId).
GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBodyWithResponse(ctx context.Context, params *GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse, error)
// GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithResponse Get Chat Completion Events
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/chat-completion-events/search (the `GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost` operationId).
GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithResponse(ctx context.Context, params *GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams, body GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse, error)
// GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBodyWithResponse Alternative to /search that returns only the IDs and that can return many IDs at once
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/chat-completion-events/search-ids (the `GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost` operationId).
GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse, error)
// GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithResponse Alternative to /search that returns only the IDs and that can return many IDs at once
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/chat-completion-events/search-ids (the `GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost` operationId).
GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithResponse(ctx context.Context, body GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse, error)
// GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetWithResponse Get Chat Completion Event
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/observability/chat-completion-events/{event_id} (the `GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet` operationId).
GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetWithResponse(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse, error)
// JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBodyWithResponse Run Judge on an event based on the given options
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/chat-completion-events/{event_id}/live-judging (the `JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost` operationId).
JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBodyWithResponse(ctx context.Context, eventId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse, error)
// JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithResponse Run Judge on an event based on the given options
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/chat-completion-events/{event_id}/live-judging (the `JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost` operationId).
JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithResponse(ctx context.Context, eventId openapi_types.UUID, body JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse, error)
// GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetWithResponse Get Similar Chat Completion Events
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/observability/chat-completion-events/{event_id}/similar-events (the `GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet` operationId).
GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetWithResponse(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse, error)
// GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetWithResponse Get Chat Completion Fields
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/observability/chat-completion-fields (the `GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet` operationId).
GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse, error)
// GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetWithResponse Get Chat Completion Field Options
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/observability/chat-completion-fields/{field_name}/options (the `GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet` operationId).
GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetWithResponse(ctx context.Context, fieldName string, params *GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParams, reqEditors ...RequestEditorFn) (*GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse, error)
// GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBodyWithResponse Get Chat Completion Field Options Counts
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/chat-completion-fields/{field_name}/options-counts (the `GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost` operationId).
GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBodyWithResponse(ctx context.Context, fieldName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse, error)
// GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithResponse Get Chat Completion Field Options Counts
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/chat-completion-fields/{field_name}/options-counts (the `GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost` operationId).
GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithResponse(ctx context.Context, fieldName string, body GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse, error)
// DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBodyWithResponse Delete multiple records from datasets
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/dataset-records/bulk-delete (the `DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost` operationId).
DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse, error)
// DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithResponse Delete multiple records from datasets
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/dataset-records/bulk-delete (the `DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost` operationId).
DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithResponse(ctx context.Context, body DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse, error)
// DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteWithResponse Delete a record from a dataset
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/observability/dataset-records/{dataset_record_id} (the `DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete` operationId).
DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse, error)
// GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetWithResponse Get the content of a given conversation from a dataset
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/observability/dataset-records/{dataset_record_id} (the `GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet` operationId).
GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse, error)
// JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBodyWithResponse Run Judge on a dataset record based on the given options
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/dataset-records/{dataset_record_id}/live-judging (the `JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost` operationId).
JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBodyWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse, error)
// JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithResponse Run Judge on a dataset record based on the given options
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/dataset-records/{dataset_record_id}/live-judging (the `JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost` operationId).
JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, body JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse, error)
// UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBodyWithResponse Update a dataset record conversation payload
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/payload (the `UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut` operationId).
UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBodyWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse, error)
// UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithResponse Update a dataset record conversation payload
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/payload (the `UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut` operationId).
UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, body UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse, error)
// UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBodyWithResponse Update conversation properties
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/properties (the `UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut` operationId).
UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBodyWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse, error)
// UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithResponse Update conversation properties
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/properties (the `UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut` operationId).
UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, body UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse, error)
// GetDatasetsV1ObservabilityDatasetsGetWithResponse List existing datasets
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/observability/datasets (the `GetDatasetsV1ObservabilityDatasetsGet` operationId).
GetDatasetsV1ObservabilityDatasetsGetWithResponse(ctx context.Context, params *GetDatasetsV1ObservabilityDatasetsGetParams, reqEditors ...RequestEditorFn) (*GetDatasetsV1ObservabilityDatasetsGetResponse, error)
// CreateDatasetV1ObservabilityDatasetsPostWithBodyWithResponse Create a new empty dataset
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/datasets (the `CreateDatasetV1ObservabilityDatasetsPost` operationId).
CreateDatasetV1ObservabilityDatasetsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatasetV1ObservabilityDatasetsPostResponse, error)
// CreateDatasetV1ObservabilityDatasetsPostWithResponse Create a new empty dataset
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/datasets (the `CreateDatasetV1ObservabilityDatasetsPost` operationId).
CreateDatasetV1ObservabilityDatasetsPostWithResponse(ctx context.Context, body CreateDatasetV1ObservabilityDatasetsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatasetV1ObservabilityDatasetsPostResponse, error)
// DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteWithResponse Delete a dataset
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/observability/datasets/{dataset_id} (the `DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete` operationId).
DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteWithResponse(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse, error)
// GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetWithResponse Get dataset by id
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/observability/datasets/{dataset_id} (the `GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet` operationId).
GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse, error)
// UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBodyWithResponse Patch dataset
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/observability/datasets/{dataset_id} (the `UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch` operationId).
UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse, error)
// UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithResponse Patch dataset
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/observability/datasets/{dataset_id} (the `UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch` operationId).
UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithResponse(ctx context.Context, datasetId openapi_types.UUID, body UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse, error)
// ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetWithResponse Export to the Files API and retrieve presigned URL to download the resulting JSONL file
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/observability/datasets/{dataset_id}/exports/to-jsonl (the `ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet` operationId).
ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse, error)
// PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBodyWithResponse Populate the dataset with a campaign
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-campaign (the `PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost` operationId).
PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse, error)
// PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithResponse Populate the dataset with a campaign
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-campaign (the `PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost` operationId).
PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse, error)
// PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBodyWithResponse Populate the dataset with samples from another dataset
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-dataset (the `PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost` operationId).
PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse, error)
// PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithResponse Populate the dataset with samples from another dataset
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-dataset (the `PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost` operationId).
PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse, error)
// PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBodyWithResponse Populate the dataset with samples from the explorer
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-explorer (the `PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost` operationId).
PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse, error)
// PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithResponse Populate the dataset with samples from the explorer
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-explorer (the `PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost` operationId).
PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse, error)
// PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBodyWithResponse Populate the dataset with samples from an uploaded file
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-file (the `PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost` operationId).
PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse, error)
// PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithResponse Populate the dataset with samples from an uploaded file
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-file (the `PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost` operationId).
PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithResponse(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse, error)
// PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBodyWithResponse Populate the dataset with samples from the playground
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-playground (the `PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost` operationId).
PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse, error)
// PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithResponse Populate the dataset with samples from the playground
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-playground (the `PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost` operationId).
PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse, error)
// GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetWithResponse List existing records in the dataset
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/observability/datasets/{dataset_id}/records (the `GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet` operationId).
GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, params *GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetParams, reqEditors ...RequestEditorFn) (*GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse, error)
// CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBodyWithResponse Add a conversation to the dataset
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/records (the `CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost` operationId).
CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse, error)
// CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithResponse Add a conversation to the dataset
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/datasets/{dataset_id}/records (the `CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost` operationId).
CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, body CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse, error)
// GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetWithResponse List import tasks for the given dataset
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/observability/datasets/{dataset_id}/tasks (the `GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet` operationId).
GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, params *GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetParams, reqEditors ...RequestEditorFn) (*GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse, error)
// GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetWithResponse Get status of a dataset import task
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/observability/datasets/{dataset_id}/tasks/{task_id} (the `GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet` operationId).
GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, taskId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse, error)
// GetJudgesV1ObservabilityJudgesGetWithResponse Get judges with optional filtering and search
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/observability/judges (the `GetJudgesV1ObservabilityJudgesGet` operationId).
GetJudgesV1ObservabilityJudgesGetWithResponse(ctx context.Context, params *GetJudgesV1ObservabilityJudgesGetParams, reqEditors ...RequestEditorFn) (*GetJudgesV1ObservabilityJudgesGetResponse, error)
// CreateJudgeV1ObservabilityJudgesPostWithBodyWithResponse Create a new judge
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/judges (the `CreateJudgeV1ObservabilityJudgesPost` operationId).
CreateJudgeV1ObservabilityJudgesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateJudgeV1ObservabilityJudgesPostResponse, error)
// CreateJudgeV1ObservabilityJudgesPostWithResponse Create a new judge
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/judges (the `CreateJudgeV1ObservabilityJudgesPost` operationId).
CreateJudgeV1ObservabilityJudgesPostWithResponse(ctx context.Context, body CreateJudgeV1ObservabilityJudgesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateJudgeV1ObservabilityJudgesPostResponse, error)
// DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteWithResponse Delete a judge
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/observability/judges/{judge_id} (the `DeleteJudgeV1ObservabilityJudgesJudgeIdDelete` operationId).
DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteWithResponse(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse, error)
// GetJudgeByIdV1ObservabilityJudgesJudgeIdGetWithResponse Get judge by id
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/observability/judges/{judge_id} (the `GetJudgeByIdV1ObservabilityJudgesJudgeIdGet` operationId).
GetJudgeByIdV1ObservabilityJudgesJudgeIdGetWithResponse(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse, error)
// UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBodyWithResponse Update a judge
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/observability/judges/{judge_id} (the `UpdateJudgeV1ObservabilityJudgesJudgeIdPut` operationId).
UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBodyWithResponse(ctx context.Context, judgeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse, error)
// UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithResponse Update a judge
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/observability/judges/{judge_id} (the `UpdateJudgeV1ObservabilityJudgesJudgeIdPut` operationId).
UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithResponse(ctx context.Context, judgeId openapi_types.UUID, body UpdateJudgeV1ObservabilityJudgesJudgeIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse, error)
// JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBodyWithResponse Run a saved judge on a conversation
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/judges/{judge_id}/live-judging (the `JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost` operationId).
JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBodyWithResponse(ctx context.Context, judgeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse, error)
// JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithResponse Run a saved judge on a conversation
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/observability/judges/{judge_id}/live-judging (the `JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost` operationId).
JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithResponse(ctx context.Context, judgeId openapi_types.UUID, body JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse, error)
// OcrV1OcrPostWithBodyWithResponse OCR
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/ocr (the `OcrV1OcrPost` operationId).
OcrV1OcrPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OcrV1OcrPostResponse, error)
// OcrV1OcrPostWithResponse OCR
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/ocr (the `OcrV1OcrPost` operationId).
OcrV1OcrPostWithResponse(ctx context.Context, body OcrV1OcrPostJSONRequestBody, reqEditors ...RequestEditorFn) (*OcrV1OcrPostResponse, error)
// ListDeploymentsV1WorkflowsDeploymentsGetWithResponse List Deployments
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/deployments (the `ListDeploymentsV1WorkflowsDeploymentsGet` operationId).
ListDeploymentsV1WorkflowsDeploymentsGetWithResponse(ctx context.Context, params *ListDeploymentsV1WorkflowsDeploymentsGetParams, reqEditors ...RequestEditorFn) (*ListDeploymentsV1WorkflowsDeploymentsGetResponse, error)
// GetDeploymentV1WorkflowsDeploymentsNameGetWithResponse Get Deployment
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/deployments/{name} (the `GetDeploymentV1WorkflowsDeploymentsNameGet` operationId).
GetDeploymentV1WorkflowsDeploymentsNameGetWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDeploymentV1WorkflowsDeploymentsNameGetResponse, error)
// GetWorkflowEventsV1WorkflowsEventsListGetWithResponse Get Workflow Events
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/events/list (the `GetWorkflowEventsV1WorkflowsEventsListGet` operationId).
GetWorkflowEventsV1WorkflowsEventsListGetWithResponse(ctx context.Context, params *GetWorkflowEventsV1WorkflowsEventsListGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowEventsV1WorkflowsEventsListGetResponse, error)
// GetStreamEventsV1WorkflowsEventsStreamGetWithResponse Get Stream Events
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/events/stream (the `GetStreamEventsV1WorkflowsEventsStreamGet` operationId).
GetStreamEventsV1WorkflowsEventsStreamGetWithResponse(ctx context.Context, params *GetStreamEventsV1WorkflowsEventsStreamGetParams, reqEditors ...RequestEditorFn) (*GetStreamEventsV1WorkflowsEventsStreamGetResponse, error)
// BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBodyWithResponse Batch Cancel Workflow Executions
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/executions/cancel (the `BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost` operationId).
BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse, error)
// BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithResponse Batch Cancel Workflow Executions
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/executions/cancel (the `BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost` operationId).
BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithResponse(ctx context.Context, body BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse, error)
// BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBodyWithResponse Batch Terminate Workflow Executions
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/executions/terminate (the `BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost` operationId).
BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse, error)
// BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithResponse Batch Terminate Workflow Executions
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/executions/terminate (the `BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost` operationId).
BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithResponse(ctx context.Context, body BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse, error)
// GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetWithResponse Get Workflow Execution
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/executions/{execution_id} (the `GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet` operationId).
GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse, error)
// CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostWithResponse Cancel Workflow Execution
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/cancel (the `CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost` operationId).
CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse, error)
// GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetWithResponse Get Workflow Execution History
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/executions/{execution_id}/history (the `GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet` operationId).
GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetWithResponse(ctx context.Context, executionId string, params *GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse, error)
// QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBodyWithResponse Query Workflow Execution
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/queries (the `QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost` operationId).
QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse, error)
// QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithResponse Query Workflow Execution
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/queries (the `QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost` operationId).
QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithResponse(ctx context.Context, executionId string, body QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse, error)
// ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBodyWithResponse Reset Workflow
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/reset (the `ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost` operationId).
ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse, error)
// ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithResponse Reset Workflow
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/reset (the `ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost` operationId).
ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithResponse(ctx context.Context, executionId string, body ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse, error)
// SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBodyWithResponse Signal Workflow Execution
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/signals (the `SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost` operationId).
SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse, error)
// SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithResponse Signal Workflow Execution
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/signals (the `SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost` operationId).
SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithResponse(ctx context.Context, executionId string, body SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse, error)
// StreamV1WorkflowsExecutionsExecutionIdStreamGetWithResponse Stream
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/executions/{execution_id}/stream (the `StreamV1WorkflowsExecutionsExecutionIdStreamGet` operationId).
StreamV1WorkflowsExecutionsExecutionIdStreamGetWithResponse(ctx context.Context, executionId string, params *StreamV1WorkflowsExecutionsExecutionIdStreamGetParams, reqEditors ...RequestEditorFn) (*StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse, error)
// TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostWithResponse Terminate Workflow Execution
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/terminate (the `TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost` operationId).
TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse, error)
// GetWorkflowExecutionTraceEventsWithResponse Get Workflow Execution Trace Events
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/executions/{execution_id}/trace/events (the `GetWorkflowExecutionTraceEvents` operationId).
GetWorkflowExecutionTraceEventsWithResponse(ctx context.Context, executionId string, params *GetWorkflowExecutionTraceEventsParams, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionTraceEventsResponse, error)
// GetWorkflowExecutionTraceOtelWithResponse Get Workflow Execution Trace Otel
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/executions/{execution_id}/trace/otel (the `GetWorkflowExecutionTraceOtel` operationId).
GetWorkflowExecutionTraceOtelWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionTraceOtelResponse, error)
// GetWorkflowExecutionTraceSummaryWithResponse Get Workflow Execution Trace Summary
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/executions/{execution_id}/trace/summary (the `GetWorkflowExecutionTraceSummary` operationId).
GetWorkflowExecutionTraceSummaryWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionTraceSummaryResponse, error)
// UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBodyWithResponse Update Workflow Execution
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/updates (the `UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost` operationId).
UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse, error)
// UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithResponse Update Workflow Execution
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/executions/{execution_id}/updates (the `UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost` operationId).
UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithResponse(ctx context.Context, executionId string, body UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse, error)
// GetWorkflowRegistrationsV1WorkflowsRegistrationsGetWithResponse Get Workflow Registrations
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/registrations (the `GetWorkflowRegistrationsV1WorkflowsRegistrationsGet` operationId).
GetWorkflowRegistrationsV1WorkflowsRegistrationsGetWithResponse(ctx context.Context, params *GetWorkflowRegistrationsV1WorkflowsRegistrationsGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse, error)
// GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetWithResponse Get Workflow Registration
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/registrations/{workflow_registration_id} (the `GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet` operationId).
GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetWithResponse(ctx context.Context, workflowRegistrationId openapi_types.UUID, params *GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse, error)
// ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBodyWithResponse Execute Workflow Registration
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/registrations/{workflow_registration_id}/execute (the `ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBodyWithResponse(ctx context.Context, workflowRegistrationId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse, error)
// ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithResponse Execute Workflow Registration
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/registrations/{workflow_registration_id}/execute (the `ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost` operationId).
//
// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithResponse(ctx context.Context, workflowRegistrationId openapi_types.UUID, body ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse, error)
// ListRunsV1WorkflowsRunsGetWithResponse List Runs
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/runs (the `ListRunsV1WorkflowsRunsGet` operationId).
ListRunsV1WorkflowsRunsGetWithResponse(ctx context.Context, params *ListRunsV1WorkflowsRunsGetParams, reqEditors ...RequestEditorFn) (*ListRunsV1WorkflowsRunsGetResponse, error)
// GetRunV1WorkflowsRunsRunIdGetWithResponse Get Run
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/runs/{run_id} (the `GetRunV1WorkflowsRunsRunIdGet` operationId).
GetRunV1WorkflowsRunsRunIdGetWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRunV1WorkflowsRunsRunIdGetResponse, error)
// GetRunHistoryV1WorkflowsRunsRunIdHistoryGetWithResponse Get Run History
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/runs/{run_id}/history (the `GetRunHistoryV1WorkflowsRunsRunIdHistoryGet` operationId).
GetRunHistoryV1WorkflowsRunsRunIdHistoryGetWithResponse(ctx context.Context, runId openapi_types.UUID, params *GetRunHistoryV1WorkflowsRunsRunIdHistoryGetParams, reqEditors ...RequestEditorFn) (*GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse, error)
// GetSchedulesV1WorkflowsSchedulesGetWithResponse Get Schedules
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/schedules (the `GetSchedulesV1WorkflowsSchedulesGet` operationId).
GetSchedulesV1WorkflowsSchedulesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSchedulesV1WorkflowsSchedulesGetResponse, error)
// ScheduleWorkflowV1WorkflowsSchedulesPostWithBodyWithResponse Schedule Workflow
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/schedules (the `ScheduleWorkflowV1WorkflowsSchedulesPost` operationId).
ScheduleWorkflowV1WorkflowsSchedulesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScheduleWorkflowV1WorkflowsSchedulesPostResponse, error)
// ScheduleWorkflowV1WorkflowsSchedulesPostWithResponse Schedule Workflow
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/schedules (the `ScheduleWorkflowV1WorkflowsSchedulesPost` operationId).
ScheduleWorkflowV1WorkflowsSchedulesPostWithResponse(ctx context.Context, body ScheduleWorkflowV1WorkflowsSchedulesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleWorkflowV1WorkflowsSchedulesPostResponse, error)
// UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteWithResponse Unschedule Workflow
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/workflows/schedules/{schedule_id} (the `UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete` operationId).
UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteWithResponse(ctx context.Context, scheduleId string, reqEditors ...RequestEditorFn) (*UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse, error)
// GetWorkerInfoV1WorkflowsWorkersWhoamiGetWithResponse Get Worker Info
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/workers/whoami (the `GetWorkerInfoV1WorkflowsWorkersWhoamiGet` operationId).
GetWorkerInfoV1WorkflowsWorkersWhoamiGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse, error)
// GetWorkflowV1WorkflowsWorkflowIdentifierGetWithResponse Get Workflow
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/{workflow_identifier} (the `GetWorkflowV1WorkflowsWorkflowIdentifierGet` operationId).
GetWorkflowV1WorkflowsWorkflowIdentifierGetWithResponse(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse, error)
// UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBodyWithResponse Update Workflow
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/workflows/{workflow_identifier} (the `UpdateWorkflowV1WorkflowsWorkflowIdentifierPut` operationId).
UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBodyWithResponse(ctx context.Context, workflowIdentifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse, error)
// UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithResponse Update Workflow
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/workflows/{workflow_identifier} (the `UpdateWorkflowV1WorkflowsWorkflowIdentifierPut` operationId).
UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithResponse(ctx context.Context, workflowIdentifier string, body UpdateWorkflowV1WorkflowsWorkflowIdentifierPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse, error)
// ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutWithResponse Archive Workflow
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/workflows/{workflow_identifier}/archive (the `ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut` operationId).
ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutWithResponse(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse, error)
// ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBodyWithResponse Execute Workflow
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/{workflow_identifier}/execute (the `ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost` operationId).
ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBodyWithResponse(ctx context.Context, workflowIdentifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse, error)
// ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithResponse Execute Workflow
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workflows/{workflow_identifier}/execute (the `ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost` operationId).
ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithResponse(ctx context.Context, workflowIdentifier string, body ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse, error)
// UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutWithResponse Unarchive Workflow
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/workflows/{workflow_identifier}/unarchive (the `UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut` operationId).
UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutWithResponse(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse, error)
// GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetWithResponse Get Workflow Metrics
//
// Get comprehensive metrics for a specific workflow.
//
// Args:
// workflow_name: The name of the workflow type to get metrics for
// start_time: Optional start time filter (ISO 8601 format)
// end_time: Optional end time filter (ISO 8601 format)
//
// Returns:
// WorkflowMetrics: Dictionary containing metrics:
// - execution_count: Total number of executions
// - success_count: Number of successful executions
// - error_count: Number of failed/terminated executions
// - average_latency_ms: Average execution duration in milliseconds
// - retry_rate: Proportion of workflows with retries
// - latency_over_time: Time-series data of execution durations
//
// Example:
// GET /v1/workflows/MyWorkflow/metrics
// GET /v1/workflows/MyWorkflow/metrics?start_time=2025-01-01T00:00:00Z
// GET /v1/workflows/MyWorkflow/metrics?start_time=2025-01-01T00:00:00Z&end_time=2025-12-31T23:59:59Z
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workflows/{workflow_name}/metrics (the `GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet` operationId).
GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetWithResponse(ctx context.Context, workflowName string, params *GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CodeInterpreterTool ¶
type CodeInterpreterTool struct {
ToolConfiguration *ToolConfiguration `json:"tool_configuration,omitempty"`
Type *CodeInterpreterToolType `json:"type,omitempty"`
}
CodeInterpreterTool defines model for CodeInterpreterTool.
type CodeInterpreterToolType ¶
type CodeInterpreterToolType string
CodeInterpreterToolType defines model for CodeInterpreterTool.Type.
const (
CodeInterpreterToolTypeCodeInterpreter CodeInterpreterToolType = "code_interpreter"
)
Defines values for CodeInterpreterToolType.
func (CodeInterpreterToolType) Valid ¶
func (e CodeInterpreterToolType) Valid() bool
Valid indicates whether the value is a known member of the CodeInterpreterToolType enum.
type CompletionArgs ¶
type CompletionArgs struct {
FrequencyPenalty *float32 `json:"frequency_penalty,omitempty"`
MaxTokens *int `json:"max_tokens,omitempty"`
Prediction *Prediction `json:"prediction,omitempty"`
PresencePenalty *float32 `json:"presence_penalty,omitempty"`
RandomSeed *int `json:"random_seed,omitempty"`
// ReasoningEffort Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort.
ReasoningEffort *CompletionArgsReasoningEffort `json:"reasoning_effort,omitempty"`
ResponseFormat *ResponseFormat `json:"response_format,omitempty"`
Stop *CompletionArgsStop `json:"stop,omitempty"`
Temperature *float32 `json:"temperature,omitempty"`
ToolChoice *ToolChoiceEnum `json:"tool_choice,omitempty"`
TopP *float32 `json:"top_p,omitempty"`
}
CompletionArgs White-listed arguments from the completion API
type CompletionArgsReasoningEffort ¶
type CompletionArgsReasoningEffort string
CompletionArgsReasoningEffort defines model for CompletionArgs.ReasoningEffort.
const ( CompletionArgsReasoningEffortHigh CompletionArgsReasoningEffort = "high" CompletionArgsReasoningEffortNone CompletionArgsReasoningEffort = "none" )
Defines values for CompletionArgsReasoningEffort.
func (CompletionArgsReasoningEffort) Valid ¶
func (e CompletionArgsReasoningEffort) Valid() bool
Valid indicates whether the value is a known member of the CompletionArgsReasoningEffort enum.
type CompletionArgsStop ¶
type CompletionArgsStop struct {
// contains filtered or unexported fields
}
CompletionArgsStop defines model for CompletionArgsStop.
func (CompletionArgsStop) AsCompletionArgsStop0 ¶
func (t CompletionArgsStop) AsCompletionArgsStop0() (CompletionArgsStop0, error)
AsCompletionArgsStop0 returns the union data inside the CompletionArgsStop as a CompletionArgsStop0
func (CompletionArgsStop) AsCompletionArgsStop1 ¶
func (t CompletionArgsStop) AsCompletionArgsStop1() (CompletionArgsStop1, error)
AsCompletionArgsStop1 returns the union data inside the CompletionArgsStop as a CompletionArgsStop1
func (*CompletionArgsStop) FromCompletionArgsStop0 ¶
func (t *CompletionArgsStop) FromCompletionArgsStop0(v CompletionArgsStop0) error
FromCompletionArgsStop0 overwrites any union data inside the CompletionArgsStop as the provided CompletionArgsStop0
func (*CompletionArgsStop) FromCompletionArgsStop1 ¶
func (t *CompletionArgsStop) FromCompletionArgsStop1(v CompletionArgsStop1) error
FromCompletionArgsStop1 overwrites any union data inside the CompletionArgsStop as the provided CompletionArgsStop1
func (CompletionArgsStop) MarshalJSON ¶
func (t CompletionArgsStop) MarshalJSON() ([]byte, error)
func (*CompletionArgsStop) MergeCompletionArgsStop0 ¶
func (t *CompletionArgsStop) MergeCompletionArgsStop0(v CompletionArgsStop0) error
MergeCompletionArgsStop0 performs a merge with any union data inside the CompletionArgsStop, using the provided CompletionArgsStop0
func (*CompletionArgsStop) MergeCompletionArgsStop1 ¶
func (t *CompletionArgsStop) MergeCompletionArgsStop1(v CompletionArgsStop1) error
MergeCompletionArgsStop1 performs a merge with any union data inside the CompletionArgsStop, using the provided CompletionArgsStop1
func (*CompletionArgsStop) UnmarshalJSON ¶
func (t *CompletionArgsStop) UnmarshalJSON(b []byte) error
type CompletionArgsStop0 ¶
type CompletionArgsStop0 = string
CompletionArgsStop0 defines model for CompletionArgsStop.0.
type CompletionArgsStop1 ¶
type CompletionArgsStop1 = []string
CompletionArgsStop1 defines model for CompletionArgsStop.1.
type CompletionChunk ¶
type CompletionChunk struct {
Choices []CompletionResponseStreamChoice `json:"choices"`
Created *int `json:"created,omitempty"`
Id string `json:"id"`
Model string `json:"model"`
Object *string `json:"object,omitempty"`
Usage *UsageInfo `json:"usage,omitempty"`
}
CompletionChunk defines model for CompletionChunk.
type CompletionDetailedJobOut ¶
type CompletionDetailedJobOut struct {
AutoStart bool `json:"auto_start"`
Checkpoints *[]CheckpointOut `json:"checkpoints,omitempty"`
CreatedAt int `json:"created_at"`
// Events Event items are created every time the status of a fine-tuning job changes. The timestamped list of all events is accessible here.
Events *[]EventOut `json:"events,omitempty"`
FineTunedModel *string `json:"fine_tuned_model,omitempty"`
Hyperparameters CompletionTrainingParameters `json:"hyperparameters"`
Id openapi_types.UUID `json:"id"`
Integrations *[]CompletionDetailedJobOut_Integrations_Item `json:"integrations,omitempty"`
JobType *CompletionDetailedJobOutJobType `json:"job_type,omitempty"`
Metadata *JobMetadataOut `json:"metadata,omitempty"`
Model string `json:"model"`
ModifiedAt int `json:"modified_at"`
Object *CompletionDetailedJobOutObject `json:"object,omitempty"`
Repositories *[]CompletionDetailedJobOut_Repositories_Item `json:"repositories,omitempty"`
Status CompletionDetailedJobOutStatus `json:"status"`
Suffix *string `json:"suffix,omitempty"`
TrainedTokens *int `json:"trained_tokens,omitempty"`
TrainingFiles []openapi_types.UUID `json:"training_files"`
ValidationFiles *[]openapi_types.UUID `json:"validation_files,omitempty"`
}
CompletionDetailedJobOut defines model for CompletionDetailedJobOut.
type CompletionDetailedJobOutJobType ¶
type CompletionDetailedJobOutJobType string
CompletionDetailedJobOutJobType defines model for CompletionDetailedJobOut.JobType.
const (
CompletionDetailedJobOutJobTypeCompletion CompletionDetailedJobOutJobType = "completion"
)
Defines values for CompletionDetailedJobOutJobType.
func (CompletionDetailedJobOutJobType) Valid ¶
func (e CompletionDetailedJobOutJobType) Valid() bool
Valid indicates whether the value is a known member of the CompletionDetailedJobOutJobType enum.
type CompletionDetailedJobOutObject ¶
type CompletionDetailedJobOutObject string
CompletionDetailedJobOutObject defines model for CompletionDetailedJobOut.Object.
const (
CompletionDetailedJobOutObjectJob CompletionDetailedJobOutObject = "job"
)
Defines values for CompletionDetailedJobOutObject.
func (CompletionDetailedJobOutObject) Valid ¶
func (e CompletionDetailedJobOutObject) Valid() bool
Valid indicates whether the value is a known member of the CompletionDetailedJobOutObject enum.
type CompletionDetailedJobOutStatus ¶
type CompletionDetailedJobOutStatus string
CompletionDetailedJobOutStatus defines model for CompletionDetailedJobOut.Status.
const ( CompletionDetailedJobOutStatusCANCELLATIONREQUESTED CompletionDetailedJobOutStatus = "CANCELLATION_REQUESTED" CompletionDetailedJobOutStatusCANCELLED CompletionDetailedJobOutStatus = "CANCELLED" CompletionDetailedJobOutStatusFAILED CompletionDetailedJobOutStatus = "FAILED" CompletionDetailedJobOutStatusFAILEDVALIDATION CompletionDetailedJobOutStatus = "FAILED_VALIDATION" CompletionDetailedJobOutStatusQUEUED CompletionDetailedJobOutStatus = "QUEUED" CompletionDetailedJobOutStatusRUNNING CompletionDetailedJobOutStatus = "RUNNING" CompletionDetailedJobOutStatusSTARTED CompletionDetailedJobOutStatus = "STARTED" CompletionDetailedJobOutStatusSUCCESS CompletionDetailedJobOutStatus = "SUCCESS" CompletionDetailedJobOutStatusVALIDATED CompletionDetailedJobOutStatus = "VALIDATED" CompletionDetailedJobOutStatusVALIDATING CompletionDetailedJobOutStatus = "VALIDATING" )
Defines values for CompletionDetailedJobOutStatus.
func (CompletionDetailedJobOutStatus) Valid ¶
func (e CompletionDetailedJobOutStatus) Valid() bool
Valid indicates whether the value is a known member of the CompletionDetailedJobOutStatus enum.
type CompletionDetailedJobOut_Integrations_Item ¶
type CompletionDetailedJobOut_Integrations_Item struct {
// contains filtered or unexported fields
}
CompletionDetailedJobOut_Integrations_Item defines model for CompletionDetailedJobOut.integrations.Item.
func (CompletionDetailedJobOut_Integrations_Item) AsWandbIntegrationOut ¶
func (t CompletionDetailedJobOut_Integrations_Item) AsWandbIntegrationOut() (WandbIntegrationOut, error)
AsWandbIntegrationOut returns the union data inside the CompletionDetailedJobOut_Integrations_Item as a WandbIntegrationOut
func (CompletionDetailedJobOut_Integrations_Item) Discriminator ¶
func (t CompletionDetailedJobOut_Integrations_Item) Discriminator() (string, error)
func (*CompletionDetailedJobOut_Integrations_Item) FromWandbIntegrationOut ¶
func (t *CompletionDetailedJobOut_Integrations_Item) FromWandbIntegrationOut(v WandbIntegrationOut) error
FromWandbIntegrationOut overwrites any union data inside the CompletionDetailedJobOut_Integrations_Item as the provided WandbIntegrationOut
func (CompletionDetailedJobOut_Integrations_Item) MarshalJSON ¶
func (t CompletionDetailedJobOut_Integrations_Item) MarshalJSON() ([]byte, error)
func (*CompletionDetailedJobOut_Integrations_Item) MergeWandbIntegrationOut ¶
func (t *CompletionDetailedJobOut_Integrations_Item) MergeWandbIntegrationOut(v WandbIntegrationOut) error
MergeWandbIntegrationOut performs a merge with any union data inside the CompletionDetailedJobOut_Integrations_Item, using the provided WandbIntegrationOut
func (*CompletionDetailedJobOut_Integrations_Item) UnmarshalJSON ¶
func (t *CompletionDetailedJobOut_Integrations_Item) UnmarshalJSON(b []byte) error
func (CompletionDetailedJobOut_Integrations_Item) ValueByDiscriminator ¶
func (t CompletionDetailedJobOut_Integrations_Item) ValueByDiscriminator() (interface{}, error)
type CompletionDetailedJobOut_Repositories_Item ¶
type CompletionDetailedJobOut_Repositories_Item struct {
// contains filtered or unexported fields
}
CompletionDetailedJobOut_Repositories_Item defines model for CompletionDetailedJobOut.repositories.Item.
func (CompletionDetailedJobOut_Repositories_Item) AsGithubRepositoryOut ¶
func (t CompletionDetailedJobOut_Repositories_Item) AsGithubRepositoryOut() (GithubRepositoryOut, error)
AsGithubRepositoryOut returns the union data inside the CompletionDetailedJobOut_Repositories_Item as a GithubRepositoryOut
func (CompletionDetailedJobOut_Repositories_Item) Discriminator ¶
func (t CompletionDetailedJobOut_Repositories_Item) Discriminator() (string, error)
func (*CompletionDetailedJobOut_Repositories_Item) FromGithubRepositoryOut ¶
func (t *CompletionDetailedJobOut_Repositories_Item) FromGithubRepositoryOut(v GithubRepositoryOut) error
FromGithubRepositoryOut overwrites any union data inside the CompletionDetailedJobOut_Repositories_Item as the provided GithubRepositoryOut
func (CompletionDetailedJobOut_Repositories_Item) MarshalJSON ¶
func (t CompletionDetailedJobOut_Repositories_Item) MarshalJSON() ([]byte, error)
func (*CompletionDetailedJobOut_Repositories_Item) MergeGithubRepositoryOut ¶
func (t *CompletionDetailedJobOut_Repositories_Item) MergeGithubRepositoryOut(v GithubRepositoryOut) error
MergeGithubRepositoryOut performs a merge with any union data inside the CompletionDetailedJobOut_Repositories_Item, using the provided GithubRepositoryOut
func (*CompletionDetailedJobOut_Repositories_Item) UnmarshalJSON ¶
func (t *CompletionDetailedJobOut_Repositories_Item) UnmarshalJSON(b []byte) error
func (CompletionDetailedJobOut_Repositories_Item) ValueByDiscriminator ¶
func (t CompletionDetailedJobOut_Repositories_Item) ValueByDiscriminator() (interface{}, error)
type CompletionEvent ¶
type CompletionEvent struct {
Data CompletionChunk `json:"data"`
}
CompletionEvent defines model for CompletionEvent.
type CompletionFTModelOut ¶
type CompletionFTModelOut struct {
Aliases *[]string `json:"aliases,omitempty"`
Archived bool `json:"archived"`
Capabilities FTModelCapabilitiesOut `json:"capabilities"`
Created int `json:"created"`
Description *string `json:"description,omitempty"`
Id string `json:"id"`
Job openapi_types.UUID `json:"job"`
MaxContextLength *int `json:"max_context_length,omitempty"`
ModelType *CompletionFTModelOutModelType `json:"model_type,omitempty"`
Name *string `json:"name,omitempty"`
Object *CompletionFTModelOutObject `json:"object,omitempty"`
OwnedBy string `json:"owned_by"`
Root string `json:"root"`
RootVersion string `json:"root_version"`
WorkspaceId string `json:"workspace_id"`
}
CompletionFTModelOut defines model for CompletionFTModelOut.
type CompletionFTModelOutModelType ¶
type CompletionFTModelOutModelType string
CompletionFTModelOutModelType defines model for CompletionFTModelOut.ModelType.
const (
CompletionFTModelOutModelTypeCompletion CompletionFTModelOutModelType = "completion"
)
Defines values for CompletionFTModelOutModelType.
func (CompletionFTModelOutModelType) Valid ¶
func (e CompletionFTModelOutModelType) Valid() bool
Valid indicates whether the value is a known member of the CompletionFTModelOutModelType enum.
type CompletionFTModelOutObject ¶
type CompletionFTModelOutObject string
CompletionFTModelOutObject defines model for CompletionFTModelOut.Object.
const (
CompletionFTModelOutObjectModel CompletionFTModelOutObject = "model"
)
Defines values for CompletionFTModelOutObject.
func (CompletionFTModelOutObject) Valid ¶
func (e CompletionFTModelOutObject) Valid() bool
Valid indicates whether the value is a known member of the CompletionFTModelOutObject enum.
type CompletionJobOut ¶
type CompletionJobOut struct {
AutoStart bool `json:"auto_start"`
// CreatedAt The UNIX timestamp (in seconds) for when the fine-tuning job was created.
CreatedAt int `json:"created_at"`
// FineTunedModel The name of the fine-tuned model that is being created. The value will be `null` if the fine-tuning job is still running.
FineTunedModel *string `json:"fine_tuned_model,omitempty"`
Hyperparameters CompletionTrainingParameters `json:"hyperparameters"`
// Id The ID of the job.
Id openapi_types.UUID `json:"id"`
// Integrations A list of integrations enabled for your fine-tuning job.
Integrations *[]CompletionJobOut_Integrations_Item `json:"integrations,omitempty"`
// JobType The type of job (`FT` for fine-tuning).
JobType *CompletionJobOutJobType `json:"job_type,omitempty"`
Metadata *JobMetadataOut `json:"metadata,omitempty"`
Model string `json:"model"`
// ModifiedAt The UNIX timestamp (in seconds) for when the fine-tuning job was last modified.
ModifiedAt int `json:"modified_at"`
// Object The object type of the fine-tuning job.
Object *CompletionJobOutObject `json:"object,omitempty"`
Repositories *[]CompletionJobOut_Repositories_Item `json:"repositories,omitempty"`
// Status The current status of the fine-tuning job.
Status CompletionJobOutStatus `json:"status"`
// Suffix Optional text/code that adds more context for the model. When given a `prompt` and a `suffix` the model will fill what is between them. When `suffix` is not provided, the model will simply execute completion starting with `prompt`.
Suffix *string `json:"suffix,omitempty"`
// TrainedTokens Total number of tokens trained.
TrainedTokens *int `json:"trained_tokens,omitempty"`
// TrainingFiles A list containing the IDs of uploaded files that contain training data.
TrainingFiles []openapi_types.UUID `json:"training_files"`
// ValidationFiles A list containing the IDs of uploaded files that contain validation data.
ValidationFiles *[]openapi_types.UUID `json:"validation_files,omitempty"`
}
CompletionJobOut defines model for CompletionJobOut.
type CompletionJobOutJobType ¶
type CompletionJobOutJobType string
CompletionJobOutJobType The type of job (`FT` for fine-tuning).
const (
CompletionJobOutJobTypeCompletion CompletionJobOutJobType = "completion"
)
Defines values for CompletionJobOutJobType.
func (CompletionJobOutJobType) Valid ¶
func (e CompletionJobOutJobType) Valid() bool
Valid indicates whether the value is a known member of the CompletionJobOutJobType enum.
type CompletionJobOutObject ¶
type CompletionJobOutObject string
CompletionJobOutObject The object type of the fine-tuning job.
const (
CompletionJobOutObjectJob CompletionJobOutObject = "job"
)
Defines values for CompletionJobOutObject.
func (CompletionJobOutObject) Valid ¶
func (e CompletionJobOutObject) Valid() bool
Valid indicates whether the value is a known member of the CompletionJobOutObject enum.
type CompletionJobOutStatus ¶
type CompletionJobOutStatus string
CompletionJobOutStatus The current status of the fine-tuning job.
const ( CompletionJobOutStatusCANCELLATIONREQUESTED CompletionJobOutStatus = "CANCELLATION_REQUESTED" CompletionJobOutStatusCANCELLED CompletionJobOutStatus = "CANCELLED" CompletionJobOutStatusFAILED CompletionJobOutStatus = "FAILED" CompletionJobOutStatusFAILEDVALIDATION CompletionJobOutStatus = "FAILED_VALIDATION" CompletionJobOutStatusQUEUED CompletionJobOutStatus = "QUEUED" CompletionJobOutStatusRUNNING CompletionJobOutStatus = "RUNNING" CompletionJobOutStatusSTARTED CompletionJobOutStatus = "STARTED" CompletionJobOutStatusSUCCESS CompletionJobOutStatus = "SUCCESS" CompletionJobOutStatusVALIDATED CompletionJobOutStatus = "VALIDATED" CompletionJobOutStatusVALIDATING CompletionJobOutStatus = "VALIDATING" )
Defines values for CompletionJobOutStatus.
func (CompletionJobOutStatus) Valid ¶
func (e CompletionJobOutStatus) Valid() bool
Valid indicates whether the value is a known member of the CompletionJobOutStatus enum.
type CompletionJobOut_Integrations_Item ¶
type CompletionJobOut_Integrations_Item struct {
// contains filtered or unexported fields
}
CompletionJobOut_Integrations_Item defines model for CompletionJobOut.integrations.Item.
func (CompletionJobOut_Integrations_Item) AsWandbIntegrationOut ¶
func (t CompletionJobOut_Integrations_Item) AsWandbIntegrationOut() (WandbIntegrationOut, error)
AsWandbIntegrationOut returns the union data inside the CompletionJobOut_Integrations_Item as a WandbIntegrationOut
func (CompletionJobOut_Integrations_Item) Discriminator ¶
func (t CompletionJobOut_Integrations_Item) Discriminator() (string, error)
func (*CompletionJobOut_Integrations_Item) FromWandbIntegrationOut ¶
func (t *CompletionJobOut_Integrations_Item) FromWandbIntegrationOut(v WandbIntegrationOut) error
FromWandbIntegrationOut overwrites any union data inside the CompletionJobOut_Integrations_Item as the provided WandbIntegrationOut
func (CompletionJobOut_Integrations_Item) MarshalJSON ¶
func (t CompletionJobOut_Integrations_Item) MarshalJSON() ([]byte, error)
func (*CompletionJobOut_Integrations_Item) MergeWandbIntegrationOut ¶
func (t *CompletionJobOut_Integrations_Item) MergeWandbIntegrationOut(v WandbIntegrationOut) error
MergeWandbIntegrationOut performs a merge with any union data inside the CompletionJobOut_Integrations_Item, using the provided WandbIntegrationOut
func (*CompletionJobOut_Integrations_Item) UnmarshalJSON ¶
func (t *CompletionJobOut_Integrations_Item) UnmarshalJSON(b []byte) error
func (CompletionJobOut_Integrations_Item) ValueByDiscriminator ¶
func (t CompletionJobOut_Integrations_Item) ValueByDiscriminator() (interface{}, error)
type CompletionJobOut_Repositories_Item ¶
type CompletionJobOut_Repositories_Item struct {
// contains filtered or unexported fields
}
CompletionJobOut_Repositories_Item defines model for CompletionJobOut.repositories.Item.
func (CompletionJobOut_Repositories_Item) AsGithubRepositoryOut ¶
func (t CompletionJobOut_Repositories_Item) AsGithubRepositoryOut() (GithubRepositoryOut, error)
AsGithubRepositoryOut returns the union data inside the CompletionJobOut_Repositories_Item as a GithubRepositoryOut
func (CompletionJobOut_Repositories_Item) Discriminator ¶
func (t CompletionJobOut_Repositories_Item) Discriminator() (string, error)
func (*CompletionJobOut_Repositories_Item) FromGithubRepositoryOut ¶
func (t *CompletionJobOut_Repositories_Item) FromGithubRepositoryOut(v GithubRepositoryOut) error
FromGithubRepositoryOut overwrites any union data inside the CompletionJobOut_Repositories_Item as the provided GithubRepositoryOut
func (CompletionJobOut_Repositories_Item) MarshalJSON ¶
func (t CompletionJobOut_Repositories_Item) MarshalJSON() ([]byte, error)
func (*CompletionJobOut_Repositories_Item) MergeGithubRepositoryOut ¶
func (t *CompletionJobOut_Repositories_Item) MergeGithubRepositoryOut(v GithubRepositoryOut) error
MergeGithubRepositoryOut performs a merge with any union data inside the CompletionJobOut_Repositories_Item, using the provided GithubRepositoryOut
func (*CompletionJobOut_Repositories_Item) UnmarshalJSON ¶
func (t *CompletionJobOut_Repositories_Item) UnmarshalJSON(b []byte) error
func (CompletionJobOut_Repositories_Item) ValueByDiscriminator ¶
func (t CompletionJobOut_Repositories_Item) ValueByDiscriminator() (interface{}, error)
type CompletionResponseStreamChoice ¶
type CompletionResponseStreamChoice struct {
Delta DeltaMessage `json:"delta"`
FinishReason *CompletionResponseStreamChoiceFinishReason `json:"finish_reason"`
Index int `json:"index"`
}
CompletionResponseStreamChoice defines model for CompletionResponseStreamChoice.
type CompletionResponseStreamChoiceFinishReason ¶
type CompletionResponseStreamChoiceFinishReason string
CompletionResponseStreamChoiceFinishReason defines model for CompletionResponseStreamChoice.FinishReason.
const ( CompletionResponseStreamChoiceFinishReasonError CompletionResponseStreamChoiceFinishReason = "error" CompletionResponseStreamChoiceFinishReasonLength CompletionResponseStreamChoiceFinishReason = "length" CompletionResponseStreamChoiceFinishReasonLessThannil CompletionResponseStreamChoiceFinishReason = "<nil>" CompletionResponseStreamChoiceFinishReasonStop CompletionResponseStreamChoiceFinishReason = "stop" CompletionResponseStreamChoiceFinishReasonToolCalls CompletionResponseStreamChoiceFinishReason = "tool_calls" )
Defines values for CompletionResponseStreamChoiceFinishReason.
func (CompletionResponseStreamChoiceFinishReason) Valid ¶
func (e CompletionResponseStreamChoiceFinishReason) Valid() bool
Valid indicates whether the value is a known member of the CompletionResponseStreamChoiceFinishReason enum.
type CompletionTrainingParameters ¶
type CompletionTrainingParameters struct {
Epochs *float32 `json:"epochs,omitempty"`
FimRatio *float32 `json:"fim_ratio,omitempty"`
LearningRate *float32 `json:"learning_rate,omitempty"`
SeqLen *int `json:"seq_len,omitempty"`
TrainingSteps *int `json:"training_steps,omitempty"`
WarmupFraction *float32 `json:"warmup_fraction,omitempty"`
WeightDecay *float32 `json:"weight_decay,omitempty"`
}
CompletionTrainingParameters defines model for CompletionTrainingParameters.
type CompletionTrainingParametersIn ¶
type CompletionTrainingParametersIn struct {
Epochs *float32 `json:"epochs,omitempty"`
FimRatio *float32 `json:"fim_ratio,omitempty"`
// LearningRate A parameter describing how much to adjust the pre-trained model's weights in response to the estimated error each time the weights are updated during the fine-tuning process.
LearningRate *float32 `json:"learning_rate,omitempty"`
SeqLen *int `json:"seq_len,omitempty"`
// TrainingSteps The number of training steps to perform. A training step refers to a single update of the model weights during the fine-tuning process. This update is typically calculated using a batch of samples from the training dataset.
TrainingSteps *int `json:"training_steps,omitempty"`
// WarmupFraction (Advanced Usage) A parameter that specifies the percentage of the total training steps at which the learning rate warm-up phase ends. During this phase, the learning rate gradually increases from a small value to the initial learning rate, helping to stabilize the training process and improve convergence. Similar to `pct_start` in [mistral-finetune](https://github.com/mistralai/mistral-finetune)
WarmupFraction *float32 `json:"warmup_fraction,omitempty"`
// WeightDecay (Advanced Usage) Weight decay adds a term to the loss function that is proportional to the sum of the squared weights. This term reduces the magnitude of the weights and prevents them from growing too large.
WeightDecay *float32 `json:"weight_decay,omitempty"`
}
CompletionTrainingParametersIn The fine-tuning hyperparameter settings used in a fine-tune job.
type ConnectionCredentials ¶
type ConnectionCredentials struct {
BearerToken *string `json:"bearer_token,omitempty"`
Headers *map[string]string `json:"headers,omitempty"`
Oauth *OAuth2Token `json:"oauth,omitempty"`
}
ConnectionCredentials defines model for ConnectionCredentials.
type Connector ¶
type Connector struct {
AuthType *string `json:"auth_type,omitempty"`
CreatedAt time.Time `json:"created_at"`
Description string `json:"description"`
Id openapi_types.UUID `json:"id"`
ModifiedAt time.Time `json:"modified_at"`
Name string `json:"name"`
Server *string `json:"server,omitempty"`
Tools *[]IntegrationsSchemasApiToolTool `json:"tools,omitempty"`
}
Connector defines model for Connector.
type ConnectorAuthenticationHeader ¶
type ConnectorAuthenticationHeader struct {
IsRequired *bool `json:"is_required,omitempty"`
IsSecret *bool `json:"is_secret,omitempty"`
Name string `json:"name"`
}
ConnectorAuthenticationHeader defines model for ConnectorAuthenticationHeader.
type ConnectorCallToolV1JSONRequestBody ¶
type ConnectorCallToolV1JSONRequestBody = MCPToolCallRequest
ConnectorCallToolV1JSONRequestBody defines body for ConnectorCallToolV1 for application/json ContentType.
type ConnectorCallToolV1Params ¶
type ConnectorCallToolV1Params struct {
CredentialsName *string `form:"credentials_name,omitempty" json:"credentials_name,omitempty"`
}
ConnectorCallToolV1Params defines parameters for ConnectorCallToolV1.
type ConnectorCallToolV1Response ¶
type ConnectorCallToolV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MCPToolCallResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseConnectorCallToolV1Response ¶
func ParseConnectorCallToolV1Response(rsp *http.Response) (*ConnectorCallToolV1Response, error)
ParseConnectorCallToolV1Response parses an HTTP response from a ConnectorCallToolV1WithResponse call
func (ConnectorCallToolV1Response) ContentType ¶
func (r ConnectorCallToolV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectorCallToolV1Response) GetBody ¶
func (r ConnectorCallToolV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectorCallToolV1Response) GetJSON200 ¶
func (r ConnectorCallToolV1Response) GetJSON200() *MCPToolCallResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectorCallToolV1Response) GetJSON422 ¶
func (r ConnectorCallToolV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ConnectorCallToolV1Response) Status ¶
func (r ConnectorCallToolV1Response) Status() string
Status returns HTTPResponse.Status
func (ConnectorCallToolV1Response) StatusCode ¶
func (r ConnectorCallToolV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectorCreateOrUpdateOrganizationCredentialsV1JSONRequestBody ¶
type ConnectorCreateOrUpdateOrganizationCredentialsV1JSONRequestBody = CredentialsCreateOrUpdate
ConnectorCreateOrUpdateOrganizationCredentialsV1JSONRequestBody defines body for ConnectorCreateOrUpdateOrganizationCredentialsV1 for application/json ContentType.
type ConnectorCreateOrUpdateOrganizationCredentialsV1Response ¶
type ConnectorCreateOrUpdateOrganizationCredentialsV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseConnectorCreateOrUpdateOrganizationCredentialsV1Response ¶
func ParseConnectorCreateOrUpdateOrganizationCredentialsV1Response(rsp *http.Response) (*ConnectorCreateOrUpdateOrganizationCredentialsV1Response, error)
ParseConnectorCreateOrUpdateOrganizationCredentialsV1Response parses an HTTP response from a ConnectorCreateOrUpdateOrganizationCredentialsV1WithResponse call
func (ConnectorCreateOrUpdateOrganizationCredentialsV1Response) ContentType ¶
func (r ConnectorCreateOrUpdateOrganizationCredentialsV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectorCreateOrUpdateOrganizationCredentialsV1Response) GetBody ¶
func (r ConnectorCreateOrUpdateOrganizationCredentialsV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectorCreateOrUpdateOrganizationCredentialsV1Response) GetJSON200 ¶
func (r ConnectorCreateOrUpdateOrganizationCredentialsV1Response) GetJSON200() *MessageResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectorCreateOrUpdateOrganizationCredentialsV1Response) GetJSON422 ¶
func (r ConnectorCreateOrUpdateOrganizationCredentialsV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ConnectorCreateOrUpdateOrganizationCredentialsV1Response) Status ¶
func (r ConnectorCreateOrUpdateOrganizationCredentialsV1Response) Status() string
Status returns HTTPResponse.Status
func (ConnectorCreateOrUpdateOrganizationCredentialsV1Response) StatusCode ¶
func (r ConnectorCreateOrUpdateOrganizationCredentialsV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectorCreateOrUpdateUserCredentialsV1JSONRequestBody ¶
type ConnectorCreateOrUpdateUserCredentialsV1JSONRequestBody = CredentialsCreateOrUpdate
ConnectorCreateOrUpdateUserCredentialsV1JSONRequestBody defines body for ConnectorCreateOrUpdateUserCredentialsV1 for application/json ContentType.
type ConnectorCreateOrUpdateUserCredentialsV1Response ¶
type ConnectorCreateOrUpdateUserCredentialsV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseConnectorCreateOrUpdateUserCredentialsV1Response ¶
func ParseConnectorCreateOrUpdateUserCredentialsV1Response(rsp *http.Response) (*ConnectorCreateOrUpdateUserCredentialsV1Response, error)
ParseConnectorCreateOrUpdateUserCredentialsV1Response parses an HTTP response from a ConnectorCreateOrUpdateUserCredentialsV1WithResponse call
func (ConnectorCreateOrUpdateUserCredentialsV1Response) ContentType ¶
func (r ConnectorCreateOrUpdateUserCredentialsV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectorCreateOrUpdateUserCredentialsV1Response) GetBody ¶
func (r ConnectorCreateOrUpdateUserCredentialsV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectorCreateOrUpdateUserCredentialsV1Response) GetJSON200 ¶
func (r ConnectorCreateOrUpdateUserCredentialsV1Response) GetJSON200() *MessageResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectorCreateOrUpdateUserCredentialsV1Response) GetJSON422 ¶
func (r ConnectorCreateOrUpdateUserCredentialsV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ConnectorCreateOrUpdateUserCredentialsV1Response) Status ¶
func (r ConnectorCreateOrUpdateUserCredentialsV1Response) Status() string
Status returns HTTPResponse.Status
func (ConnectorCreateOrUpdateUserCredentialsV1Response) StatusCode ¶
func (r ConnectorCreateOrUpdateUserCredentialsV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectorCreateOrUpdateWorkspaceCredentialsV1JSONRequestBody ¶
type ConnectorCreateOrUpdateWorkspaceCredentialsV1JSONRequestBody = CredentialsCreateOrUpdate
ConnectorCreateOrUpdateWorkspaceCredentialsV1JSONRequestBody defines body for ConnectorCreateOrUpdateWorkspaceCredentialsV1 for application/json ContentType.
type ConnectorCreateOrUpdateWorkspaceCredentialsV1Response ¶
type ConnectorCreateOrUpdateWorkspaceCredentialsV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseConnectorCreateOrUpdateWorkspaceCredentialsV1Response ¶
func ParseConnectorCreateOrUpdateWorkspaceCredentialsV1Response(rsp *http.Response) (*ConnectorCreateOrUpdateWorkspaceCredentialsV1Response, error)
ParseConnectorCreateOrUpdateWorkspaceCredentialsV1Response parses an HTTP response from a ConnectorCreateOrUpdateWorkspaceCredentialsV1WithResponse call
func (ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) ContentType ¶
func (r ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) GetBody ¶
func (r ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) GetJSON200 ¶
func (r ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) GetJSON200() *MessageResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) GetJSON422 ¶
func (r ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) Status ¶
func (r ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) Status() string
Status returns HTTPResponse.Status
func (ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) StatusCode ¶
func (r ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectorCreateV1JSONRequestBody ¶
type ConnectorCreateV1JSONRequestBody = ConnectorMCPCreate
ConnectorCreateV1JSONRequestBody defines body for ConnectorCreateV1 for application/json ContentType.
type ConnectorCreateV1Response ¶
type ConnectorCreateV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Connector
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseConnectorCreateV1Response ¶
func ParseConnectorCreateV1Response(rsp *http.Response) (*ConnectorCreateV1Response, error)
ParseConnectorCreateV1Response parses an HTTP response from a ConnectorCreateV1WithResponse call
func (ConnectorCreateV1Response) ContentType ¶
func (r ConnectorCreateV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectorCreateV1Response) GetBody ¶
func (r ConnectorCreateV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectorCreateV1Response) GetJSON201 ¶
func (r ConnectorCreateV1Response) GetJSON201() *Connector
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (ConnectorCreateV1Response) GetJSON422 ¶
func (r ConnectorCreateV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ConnectorCreateV1Response) Status ¶
func (r ConnectorCreateV1Response) Status() string
Status returns HTTPResponse.Status
func (ConnectorCreateV1Response) StatusCode ¶
func (r ConnectorCreateV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectorDeleteOrganizationCredentialsV1Response ¶
type ConnectorDeleteOrganizationCredentialsV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseConnectorDeleteOrganizationCredentialsV1Response ¶
func ParseConnectorDeleteOrganizationCredentialsV1Response(rsp *http.Response) (*ConnectorDeleteOrganizationCredentialsV1Response, error)
ParseConnectorDeleteOrganizationCredentialsV1Response parses an HTTP response from a ConnectorDeleteOrganizationCredentialsV1WithResponse call
func (ConnectorDeleteOrganizationCredentialsV1Response) ContentType ¶
func (r ConnectorDeleteOrganizationCredentialsV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectorDeleteOrganizationCredentialsV1Response) GetBody ¶
func (r ConnectorDeleteOrganizationCredentialsV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectorDeleteOrganizationCredentialsV1Response) GetJSON200 ¶
func (r ConnectorDeleteOrganizationCredentialsV1Response) GetJSON200() *MessageResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectorDeleteOrganizationCredentialsV1Response) GetJSON422 ¶
func (r ConnectorDeleteOrganizationCredentialsV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ConnectorDeleteOrganizationCredentialsV1Response) Status ¶
func (r ConnectorDeleteOrganizationCredentialsV1Response) Status() string
Status returns HTTPResponse.Status
func (ConnectorDeleteOrganizationCredentialsV1Response) StatusCode ¶
func (r ConnectorDeleteOrganizationCredentialsV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectorDeleteUserCredentialsV1Response ¶
type ConnectorDeleteUserCredentialsV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseConnectorDeleteUserCredentialsV1Response ¶
func ParseConnectorDeleteUserCredentialsV1Response(rsp *http.Response) (*ConnectorDeleteUserCredentialsV1Response, error)
ParseConnectorDeleteUserCredentialsV1Response parses an HTTP response from a ConnectorDeleteUserCredentialsV1WithResponse call
func (ConnectorDeleteUserCredentialsV1Response) ContentType ¶
func (r ConnectorDeleteUserCredentialsV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectorDeleteUserCredentialsV1Response) GetBody ¶
func (r ConnectorDeleteUserCredentialsV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectorDeleteUserCredentialsV1Response) GetJSON200 ¶
func (r ConnectorDeleteUserCredentialsV1Response) GetJSON200() *MessageResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectorDeleteUserCredentialsV1Response) GetJSON422 ¶
func (r ConnectorDeleteUserCredentialsV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ConnectorDeleteUserCredentialsV1Response) Status ¶
func (r ConnectorDeleteUserCredentialsV1Response) Status() string
Status returns HTTPResponse.Status
func (ConnectorDeleteUserCredentialsV1Response) StatusCode ¶
func (r ConnectorDeleteUserCredentialsV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectorDeleteV1Response ¶
type ConnectorDeleteV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseConnectorDeleteV1Response ¶
func ParseConnectorDeleteV1Response(rsp *http.Response) (*ConnectorDeleteV1Response, error)
ParseConnectorDeleteV1Response parses an HTTP response from a ConnectorDeleteV1WithResponse call
func (ConnectorDeleteV1Response) ContentType ¶
func (r ConnectorDeleteV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectorDeleteV1Response) GetBody ¶
func (r ConnectorDeleteV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectorDeleteV1Response) GetJSON200 ¶
func (r ConnectorDeleteV1Response) GetJSON200() *MessageResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectorDeleteV1Response) GetJSON422 ¶
func (r ConnectorDeleteV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ConnectorDeleteV1Response) Status ¶
func (r ConnectorDeleteV1Response) Status() string
Status returns HTTPResponse.Status
func (ConnectorDeleteV1Response) StatusCode ¶
func (r ConnectorDeleteV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectorDeleteWorkspaceCredentialsV1Response ¶
type ConnectorDeleteWorkspaceCredentialsV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseConnectorDeleteWorkspaceCredentialsV1Response ¶
func ParseConnectorDeleteWorkspaceCredentialsV1Response(rsp *http.Response) (*ConnectorDeleteWorkspaceCredentialsV1Response, error)
ParseConnectorDeleteWorkspaceCredentialsV1Response parses an HTTP response from a ConnectorDeleteWorkspaceCredentialsV1WithResponse call
func (ConnectorDeleteWorkspaceCredentialsV1Response) ContentType ¶
func (r ConnectorDeleteWorkspaceCredentialsV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectorDeleteWorkspaceCredentialsV1Response) GetBody ¶
func (r ConnectorDeleteWorkspaceCredentialsV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectorDeleteWorkspaceCredentialsV1Response) GetJSON200 ¶
func (r ConnectorDeleteWorkspaceCredentialsV1Response) GetJSON200() *MessageResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectorDeleteWorkspaceCredentialsV1Response) GetJSON422 ¶
func (r ConnectorDeleteWorkspaceCredentialsV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ConnectorDeleteWorkspaceCredentialsV1Response) Status ¶
func (r ConnectorDeleteWorkspaceCredentialsV1Response) Status() string
Status returns HTTPResponse.Status
func (ConnectorDeleteWorkspaceCredentialsV1Response) StatusCode ¶
func (r ConnectorDeleteWorkspaceCredentialsV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectorGetAuthUrlV1Params ¶
type ConnectorGetAuthUrlV1Params struct {
AppReturnUrl *string `form:"app_return_url,omitempty" json:"app_return_url,omitempty"`
CredentialsName *string `form:"credentials_name,omitempty" json:"credentials_name,omitempty"`
}
ConnectorGetAuthUrlV1Params defines parameters for ConnectorGetAuthUrlV1.
type ConnectorGetAuthUrlV1Response ¶
type ConnectorGetAuthUrlV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AuthUrlResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseConnectorGetAuthUrlV1Response ¶
func ParseConnectorGetAuthUrlV1Response(rsp *http.Response) (*ConnectorGetAuthUrlV1Response, error)
ParseConnectorGetAuthUrlV1Response parses an HTTP response from a ConnectorGetAuthUrlV1WithResponse call
func (ConnectorGetAuthUrlV1Response) ContentType ¶
func (r ConnectorGetAuthUrlV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectorGetAuthUrlV1Response) GetBody ¶
func (r ConnectorGetAuthUrlV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectorGetAuthUrlV1Response) GetJSON200 ¶
func (r ConnectorGetAuthUrlV1Response) GetJSON200() *AuthUrlResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectorGetAuthUrlV1Response) GetJSON422 ¶
func (r ConnectorGetAuthUrlV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ConnectorGetAuthUrlV1Response) Status ¶
func (r ConnectorGetAuthUrlV1Response) Status() string
Status returns HTTPResponse.Status
func (ConnectorGetAuthUrlV1Response) StatusCode ¶
func (r ConnectorGetAuthUrlV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectorGetAuthenticationMethodsV1Response ¶
type ConnectorGetAuthenticationMethodsV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]PublicAuthenticationMethod
}
func ParseConnectorGetAuthenticationMethodsV1Response ¶
func ParseConnectorGetAuthenticationMethodsV1Response(rsp *http.Response) (*ConnectorGetAuthenticationMethodsV1Response, error)
ParseConnectorGetAuthenticationMethodsV1Response parses an HTTP response from a ConnectorGetAuthenticationMethodsV1WithResponse call
func (ConnectorGetAuthenticationMethodsV1Response) ContentType ¶
func (r ConnectorGetAuthenticationMethodsV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectorGetAuthenticationMethodsV1Response) GetBody ¶
func (r ConnectorGetAuthenticationMethodsV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectorGetAuthenticationMethodsV1Response) GetJSON200 ¶
func (r ConnectorGetAuthenticationMethodsV1Response) GetJSON200() *[]PublicAuthenticationMethod
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectorGetAuthenticationMethodsV1Response) Status ¶
func (r ConnectorGetAuthenticationMethodsV1Response) Status() string
Status returns HTTPResponse.Status
func (ConnectorGetAuthenticationMethodsV1Response) StatusCode ¶
func (r ConnectorGetAuthenticationMethodsV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectorGetV1Params ¶
type ConnectorGetV1Params struct {
// FetchCustomerData Fetch the customer data associated with the connector (e.g. customer secrets / config).
FetchCustomerData *bool `form:"fetch_customer_data,omitempty" json:"fetch_customer_data,omitempty"`
// FetchConnectionSecrets Fetch the general connection secrets associated with the connector.
FetchConnectionSecrets *bool `form:"fetch_connection_secrets,omitempty" json:"fetch_connection_secrets,omitempty"`
}
ConnectorGetV1Params defines parameters for ConnectorGetV1.
type ConnectorGetV1Response ¶
type ConnectorGetV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Connector
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseConnectorGetV1Response ¶
func ParseConnectorGetV1Response(rsp *http.Response) (*ConnectorGetV1Response, error)
ParseConnectorGetV1Response parses an HTTP response from a ConnectorGetV1WithResponse call
func (ConnectorGetV1Response) ContentType ¶
func (r ConnectorGetV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectorGetV1Response) GetBody ¶
func (r ConnectorGetV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectorGetV1Response) GetJSON200 ¶
func (r ConnectorGetV1Response) GetJSON200() *Connector
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectorGetV1Response) GetJSON422 ¶
func (r ConnectorGetV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ConnectorGetV1Response) Status ¶
func (r ConnectorGetV1Response) Status() string
Status returns HTTPResponse.Status
func (ConnectorGetV1Response) StatusCode ¶
func (r ConnectorGetV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectorListOrganizationCredentialsV1Params ¶
type ConnectorListOrganizationCredentialsV1Params struct {
AuthType *OutboundAuthenticationType `form:"auth_type,omitempty" json:"auth_type,omitempty"`
FetchDefault *bool `form:"fetch_default,omitempty" json:"fetch_default,omitempty"`
}
ConnectorListOrganizationCredentialsV1Params defines parameters for ConnectorListOrganizationCredentialsV1.
type ConnectorListOrganizationCredentialsV1Response ¶
type ConnectorListOrganizationCredentialsV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CredentialsResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseConnectorListOrganizationCredentialsV1Response ¶
func ParseConnectorListOrganizationCredentialsV1Response(rsp *http.Response) (*ConnectorListOrganizationCredentialsV1Response, error)
ParseConnectorListOrganizationCredentialsV1Response parses an HTTP response from a ConnectorListOrganizationCredentialsV1WithResponse call
func (ConnectorListOrganizationCredentialsV1Response) ContentType ¶
func (r ConnectorListOrganizationCredentialsV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectorListOrganizationCredentialsV1Response) GetBody ¶
func (r ConnectorListOrganizationCredentialsV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectorListOrganizationCredentialsV1Response) GetJSON200 ¶
func (r ConnectorListOrganizationCredentialsV1Response) GetJSON200() *CredentialsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectorListOrganizationCredentialsV1Response) GetJSON422 ¶
func (r ConnectorListOrganizationCredentialsV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ConnectorListOrganizationCredentialsV1Response) Status ¶
func (r ConnectorListOrganizationCredentialsV1Response) Status() string
Status returns HTTPResponse.Status
func (ConnectorListOrganizationCredentialsV1Response) StatusCode ¶
func (r ConnectorListOrganizationCredentialsV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectorListToolsV1Params ¶
type ConnectorListToolsV1Params struct {
Page *int `form:"page,omitempty" json:"page,omitempty"`
PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
Refresh *bool `form:"refresh,omitempty" json:"refresh,omitempty"`
// Pretty Return a simplified payload with only name, description, annotations, and a compact inputSchema.
Pretty *bool `form:"pretty,omitempty" json:"pretty,omitempty"`
CredentialsName *string `form:"credentials_name,omitempty" json:"credentials_name,omitempty"`
}
ConnectorListToolsV1Params defines parameters for ConnectorListToolsV1.
type ConnectorListToolsV1Response ¶
type ConnectorListToolsV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConnectorListToolsV1200JSONResponseBody
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseConnectorListToolsV1Response ¶
func ParseConnectorListToolsV1Response(rsp *http.Response) (*ConnectorListToolsV1Response, error)
ParseConnectorListToolsV1Response parses an HTTP response from a ConnectorListToolsV1WithResponse call
func (ConnectorListToolsV1Response) ContentType ¶
func (r ConnectorListToolsV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectorListToolsV1Response) GetBody ¶
func (r ConnectorListToolsV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectorListToolsV1Response) GetJSON200 ¶
func (r ConnectorListToolsV1Response) GetJSON200() *ConnectorListToolsV1200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectorListToolsV1Response) GetJSON422 ¶
func (r ConnectorListToolsV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ConnectorListToolsV1Response) Status ¶
func (r ConnectorListToolsV1Response) Status() string
Status returns HTTPResponse.Status
func (ConnectorListToolsV1Response) StatusCode ¶
func (r ConnectorListToolsV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectorListToolsV1200JSONResponseBody ¶
type ConnectorListToolsV1200JSONResponseBody struct {
// contains filtered or unexported fields
}
ConnectorListToolsV1200JSONResponseBody defines parameters for ConnectorListToolsV1.
func (ConnectorListToolsV1200JSONResponseBody) AsConnectorListToolsV1200JSONResponseBody0 ¶
func (t ConnectorListToolsV1200JSONResponseBody) AsConnectorListToolsV1200JSONResponseBody0() (ConnectorListToolsV1200JSONResponseBody0, error)
AsConnectorListToolsV1200JSONResponseBody0 returns the union data inside the ConnectorListToolsV1200JSONResponseBody as a ConnectorListToolsV1200JSONResponseBody0
func (ConnectorListToolsV1200JSONResponseBody) AsConnectorListToolsV1200JSONResponseBody1 ¶
func (t ConnectorListToolsV1200JSONResponseBody) AsConnectorListToolsV1200JSONResponseBody1() (ConnectorListToolsV1200JSONResponseBody1, error)
AsConnectorListToolsV1200JSONResponseBody1 returns the union data inside the ConnectorListToolsV1200JSONResponseBody as a ConnectorListToolsV1200JSONResponseBody1
func (ConnectorListToolsV1200JSONResponseBody) AsConnectorListToolsV1200JSONResponseBody2 ¶
func (t ConnectorListToolsV1200JSONResponseBody) AsConnectorListToolsV1200JSONResponseBody2() (ConnectorListToolsV1200JSONResponseBody2, error)
AsConnectorListToolsV1200JSONResponseBody2 returns the union data inside the ConnectorListToolsV1200JSONResponseBody as a ConnectorListToolsV1200JSONResponseBody2
func (*ConnectorListToolsV1200JSONResponseBody) FromConnectorListToolsV1200JSONResponseBody0 ¶
func (t *ConnectorListToolsV1200JSONResponseBody) FromConnectorListToolsV1200JSONResponseBody0(v ConnectorListToolsV1200JSONResponseBody0) error
FromConnectorListToolsV1200JSONResponseBody0 overwrites any union data inside the ConnectorListToolsV1200JSONResponseBody as the provided ConnectorListToolsV1200JSONResponseBody0
func (*ConnectorListToolsV1200JSONResponseBody) FromConnectorListToolsV1200JSONResponseBody1 ¶
func (t *ConnectorListToolsV1200JSONResponseBody) FromConnectorListToolsV1200JSONResponseBody1(v ConnectorListToolsV1200JSONResponseBody1) error
FromConnectorListToolsV1200JSONResponseBody1 overwrites any union data inside the ConnectorListToolsV1200JSONResponseBody as the provided ConnectorListToolsV1200JSONResponseBody1
func (*ConnectorListToolsV1200JSONResponseBody) FromConnectorListToolsV1200JSONResponseBody2 ¶
func (t *ConnectorListToolsV1200JSONResponseBody) FromConnectorListToolsV1200JSONResponseBody2(v ConnectorListToolsV1200JSONResponseBody2) error
FromConnectorListToolsV1200JSONResponseBody2 overwrites any union data inside the ConnectorListToolsV1200JSONResponseBody as the provided ConnectorListToolsV1200JSONResponseBody2
func (ConnectorListToolsV1200JSONResponseBody) MarshalJSON ¶
func (t ConnectorListToolsV1200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*ConnectorListToolsV1200JSONResponseBody) MergeConnectorListToolsV1200JSONResponseBody0 ¶
func (t *ConnectorListToolsV1200JSONResponseBody) MergeConnectorListToolsV1200JSONResponseBody0(v ConnectorListToolsV1200JSONResponseBody0) error
MergeConnectorListToolsV1200JSONResponseBody0 performs a merge with any union data inside the ConnectorListToolsV1200JSONResponseBody, using the provided ConnectorListToolsV1200JSONResponseBody0
func (*ConnectorListToolsV1200JSONResponseBody) MergeConnectorListToolsV1200JSONResponseBody1 ¶
func (t *ConnectorListToolsV1200JSONResponseBody) MergeConnectorListToolsV1200JSONResponseBody1(v ConnectorListToolsV1200JSONResponseBody1) error
MergeConnectorListToolsV1200JSONResponseBody1 performs a merge with any union data inside the ConnectorListToolsV1200JSONResponseBody, using the provided ConnectorListToolsV1200JSONResponseBody1
func (*ConnectorListToolsV1200JSONResponseBody) MergeConnectorListToolsV1200JSONResponseBody2 ¶
func (t *ConnectorListToolsV1200JSONResponseBody) MergeConnectorListToolsV1200JSONResponseBody2(v ConnectorListToolsV1200JSONResponseBody2) error
MergeConnectorListToolsV1200JSONResponseBody2 performs a merge with any union data inside the ConnectorListToolsV1200JSONResponseBody, using the provided ConnectorListToolsV1200JSONResponseBody2
func (*ConnectorListToolsV1200JSONResponseBody) UnmarshalJSON ¶
func (t *ConnectorListToolsV1200JSONResponseBody) UnmarshalJSON(b []byte) error
type ConnectorListToolsV1200JSONResponseBody0 ¶
type ConnectorListToolsV1200JSONResponseBody0 = []IntegrationsSchemasApiToolTool
ConnectorListToolsV1200JSONResponseBody0 defines parameters for ConnectorListToolsV1.
type ConnectorListToolsV1200JSONResponseBody1 ¶
type ConnectorListToolsV1200JSONResponseBody1 = []MCPTool
ConnectorListToolsV1200JSONResponseBody1 defines parameters for ConnectorListToolsV1.
type ConnectorListToolsV1200JSONResponseBody2 ¶
type ConnectorListToolsV1200JSONResponseBody2 = []map[string]interface{}
ConnectorListToolsV1200JSONResponseBody2 defines parameters for ConnectorListToolsV1.
type ConnectorListUserCredentialsV1Params ¶
type ConnectorListUserCredentialsV1Params struct {
AuthType *OutboundAuthenticationType `form:"auth_type,omitempty" json:"auth_type,omitempty"`
FetchDefault *bool `form:"fetch_default,omitempty" json:"fetch_default,omitempty"`
}
ConnectorListUserCredentialsV1Params defines parameters for ConnectorListUserCredentialsV1.
type ConnectorListUserCredentialsV1Response ¶
type ConnectorListUserCredentialsV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CredentialsResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseConnectorListUserCredentialsV1Response ¶
func ParseConnectorListUserCredentialsV1Response(rsp *http.Response) (*ConnectorListUserCredentialsV1Response, error)
ParseConnectorListUserCredentialsV1Response parses an HTTP response from a ConnectorListUserCredentialsV1WithResponse call
func (ConnectorListUserCredentialsV1Response) ContentType ¶
func (r ConnectorListUserCredentialsV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectorListUserCredentialsV1Response) GetBody ¶
func (r ConnectorListUserCredentialsV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectorListUserCredentialsV1Response) GetJSON200 ¶
func (r ConnectorListUserCredentialsV1Response) GetJSON200() *CredentialsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectorListUserCredentialsV1Response) GetJSON422 ¶
func (r ConnectorListUserCredentialsV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ConnectorListUserCredentialsV1Response) Status ¶
func (r ConnectorListUserCredentialsV1Response) Status() string
Status returns HTTPResponse.Status
func (ConnectorListUserCredentialsV1Response) StatusCode ¶
func (r ConnectorListUserCredentialsV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectorListV1Params ¶
type ConnectorListV1Params struct {
QueryFilters *ConnectorsQueryFilters `form:"query_filters,omitempty" json:"query_filters,omitempty"`
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
}
ConnectorListV1Params defines parameters for ConnectorListV1.
type ConnectorListV1Response ¶
type ConnectorListV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PaginatedConnectors
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseConnectorListV1Response ¶
func ParseConnectorListV1Response(rsp *http.Response) (*ConnectorListV1Response, error)
ParseConnectorListV1Response parses an HTTP response from a ConnectorListV1WithResponse call
func (ConnectorListV1Response) ContentType ¶
func (r ConnectorListV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectorListV1Response) GetBody ¶
func (r ConnectorListV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectorListV1Response) GetJSON200 ¶
func (r ConnectorListV1Response) GetJSON200() *PaginatedConnectors
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectorListV1Response) GetJSON422 ¶
func (r ConnectorListV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ConnectorListV1Response) Status ¶
func (r ConnectorListV1Response) Status() string
Status returns HTTPResponse.Status
func (ConnectorListV1Response) StatusCode ¶
func (r ConnectorListV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectorListWorkspaceCredentialsV1Params ¶
type ConnectorListWorkspaceCredentialsV1Params struct {
AuthType *OutboundAuthenticationType `form:"auth_type,omitempty" json:"auth_type,omitempty"`
FetchDefault *bool `form:"fetch_default,omitempty" json:"fetch_default,omitempty"`
}
ConnectorListWorkspaceCredentialsV1Params defines parameters for ConnectorListWorkspaceCredentialsV1.
type ConnectorListWorkspaceCredentialsV1Response ¶
type ConnectorListWorkspaceCredentialsV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CredentialsResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseConnectorListWorkspaceCredentialsV1Response ¶
func ParseConnectorListWorkspaceCredentialsV1Response(rsp *http.Response) (*ConnectorListWorkspaceCredentialsV1Response, error)
ParseConnectorListWorkspaceCredentialsV1Response parses an HTTP response from a ConnectorListWorkspaceCredentialsV1WithResponse call
func (ConnectorListWorkspaceCredentialsV1Response) ContentType ¶
func (r ConnectorListWorkspaceCredentialsV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectorListWorkspaceCredentialsV1Response) GetBody ¶
func (r ConnectorListWorkspaceCredentialsV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectorListWorkspaceCredentialsV1Response) GetJSON200 ¶
func (r ConnectorListWorkspaceCredentialsV1Response) GetJSON200() *CredentialsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectorListWorkspaceCredentialsV1Response) GetJSON422 ¶
func (r ConnectorListWorkspaceCredentialsV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ConnectorListWorkspaceCredentialsV1Response) Status ¶
func (r ConnectorListWorkspaceCredentialsV1Response) Status() string
Status returns HTTPResponse.Status
func (ConnectorListWorkspaceCredentialsV1Response) StatusCode ¶
func (r ConnectorListWorkspaceCredentialsV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectorMCPCreate ¶
type ConnectorMCPCreate struct {
// AuthData Optional additional authentication data for the connector.
AuthData *AuthData `json:"auth_data,omitempty"`
// Description The description of the connector.
Description string `json:"description"`
// Headers Optional organization-level headers to be sent with the request to the mcp server.
Headers *map[string]interface{} `json:"headers,omitempty"`
// IconUrl The optional url of the icon you want to associate to the connector.
IconUrl *string `json:"icon_url,omitempty"`
// Name The name of the connector. Should be 64 char length maximum, alphanumeric, only underscores/dashes.
Name string `json:"name"`
// Server The url of the MCP server.
Server string `json:"server"`
// SystemPrompt Optional system prompt for the connector.
SystemPrompt *string `json:"system_prompt,omitempty"`
// Visibility Visibility of the connector. Use 'shared_workspace' for workspace scoped connectors, or 'private' for private connectors.
Visibility *ResourceVisibility `json:"visibility,omitempty"`
}
ConnectorMCPCreate defines model for ConnectorMCPCreate.
type ConnectorMCPUpdate ¶
type ConnectorMCPUpdate struct {
// AuthData New authentication data for your mcp connector.
AuthData *AuthData `json:"auth_data,omitempty"`
// ConnectionConfig Optional new connection config.
ConnectionConfig *map[string]interface{} `json:"connection_config,omitempty"`
// ConnectionSecrets Optional new connection secrets
ConnectionSecrets *map[string]interface{} `json:"connection_secrets,omitempty"`
// Description The description of the connector.
Description *string `json:"description,omitempty"`
// Headers New headers for your mcp connector.
Headers *map[string]interface{} `json:"headers,omitempty"`
// IconUrl The optional url of the icon you want to associate to the connector.
IconUrl *string `json:"icon_url,omitempty"`
// Name The name of the connector.
Name *string `json:"name,omitempty"`
// Server New server url for your mcp connector.
Server *string `json:"server,omitempty"`
// SystemPrompt Optional system prompt for the connector.
SystemPrompt *string `json:"system_prompt,omitempty"`
}
ConnectorMCPUpdate defines model for ConnectorMCPUpdate.
type ConnectorUpdateV1JSONRequestBody ¶
type ConnectorUpdateV1JSONRequestBody = ConnectorMCPUpdate
ConnectorUpdateV1JSONRequestBody defines body for ConnectorUpdateV1 for application/json ContentType.
type ConnectorUpdateV1Response ¶
type ConnectorUpdateV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Connector
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseConnectorUpdateV1Response ¶
func ParseConnectorUpdateV1Response(rsp *http.Response) (*ConnectorUpdateV1Response, error)
ParseConnectorUpdateV1Response parses an HTTP response from a ConnectorUpdateV1WithResponse call
func (ConnectorUpdateV1Response) ContentType ¶
func (r ConnectorUpdateV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectorUpdateV1Response) GetBody ¶
func (r ConnectorUpdateV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectorUpdateV1Response) GetJSON200 ¶
func (r ConnectorUpdateV1Response) GetJSON200() *Connector
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectorUpdateV1Response) GetJSON422 ¶
func (r ConnectorUpdateV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ConnectorUpdateV1Response) Status ¶
func (r ConnectorUpdateV1Response) Status() string
Status returns HTTPResponse.Status
func (ConnectorUpdateV1Response) StatusCode ¶
func (r ConnectorUpdateV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectorsQueryFilters ¶
type ConnectorsQueryFilters struct {
// Active Filter for active connectors for a given user, workspace and organization.
Active *bool `json:"active,omitempty"`
// FetchConnectionSecrets Fetch connection secrets.
FetchConnectionSecrets *bool `json:"fetch_connection_secrets,omitempty"`
}
ConnectorsQueryFilters defines model for ConnectorsQueryFilters.
type ContentChunk ¶
type ContentChunk struct {
// contains filtered or unexported fields
}
ContentChunk defines model for ContentChunk.
func (ContentChunk) AsAudioChunk ¶
func (t ContentChunk) AsAudioChunk() (AudioChunk, error)
AsAudioChunk returns the union data inside the ContentChunk as a AudioChunk
func (ContentChunk) AsDocumentURLChunk ¶
func (t ContentChunk) AsDocumentURLChunk() (DocumentURLChunk, error)
AsDocumentURLChunk returns the union data inside the ContentChunk as a DocumentURLChunk
func (ContentChunk) AsFileChunk ¶
func (t ContentChunk) AsFileChunk() (FileChunk, error)
AsFileChunk returns the union data inside the ContentChunk as a FileChunk
func (ContentChunk) AsImageURLChunk ¶
func (t ContentChunk) AsImageURLChunk() (ImageURLChunk, error)
AsImageURLChunk returns the union data inside the ContentChunk as a ImageURLChunk
func (ContentChunk) AsReferenceChunk ¶
func (t ContentChunk) AsReferenceChunk() (ReferenceChunk, error)
AsReferenceChunk returns the union data inside the ContentChunk as a ReferenceChunk
func (ContentChunk) AsTextChunk ¶
func (t ContentChunk) AsTextChunk() (TextChunk, error)
AsTextChunk returns the union data inside the ContentChunk as a TextChunk
func (ContentChunk) AsThinkChunk ¶
func (t ContentChunk) AsThinkChunk() (ThinkChunk, error)
AsThinkChunk returns the union data inside the ContentChunk as a ThinkChunk
func (ContentChunk) Discriminator ¶
func (t ContentChunk) Discriminator() (string, error)
func (*ContentChunk) FromAudioChunk ¶
func (t *ContentChunk) FromAudioChunk(v AudioChunk) error
FromAudioChunk overwrites any union data inside the ContentChunk as the provided AudioChunk
func (*ContentChunk) FromDocumentURLChunk ¶
func (t *ContentChunk) FromDocumentURLChunk(v DocumentURLChunk) error
FromDocumentURLChunk overwrites any union data inside the ContentChunk as the provided DocumentURLChunk
func (*ContentChunk) FromFileChunk ¶
func (t *ContentChunk) FromFileChunk(v FileChunk) error
FromFileChunk overwrites any union data inside the ContentChunk as the provided FileChunk
func (*ContentChunk) FromImageURLChunk ¶
func (t *ContentChunk) FromImageURLChunk(v ImageURLChunk) error
FromImageURLChunk overwrites any union data inside the ContentChunk as the provided ImageURLChunk
func (*ContentChunk) FromReferenceChunk ¶
func (t *ContentChunk) FromReferenceChunk(v ReferenceChunk) error
FromReferenceChunk overwrites any union data inside the ContentChunk as the provided ReferenceChunk
func (*ContentChunk) FromTextChunk ¶
func (t *ContentChunk) FromTextChunk(v TextChunk) error
FromTextChunk overwrites any union data inside the ContentChunk as the provided TextChunk
func (*ContentChunk) FromThinkChunk ¶
func (t *ContentChunk) FromThinkChunk(v ThinkChunk) error
FromThinkChunk overwrites any union data inside the ContentChunk as the provided ThinkChunk
func (ContentChunk) MarshalJSON ¶
func (t ContentChunk) MarshalJSON() ([]byte, error)
func (*ContentChunk) MergeAudioChunk ¶
func (t *ContentChunk) MergeAudioChunk(v AudioChunk) error
MergeAudioChunk performs a merge with any union data inside the ContentChunk, using the provided AudioChunk
func (*ContentChunk) MergeDocumentURLChunk ¶
func (t *ContentChunk) MergeDocumentURLChunk(v DocumentURLChunk) error
MergeDocumentURLChunk performs a merge with any union data inside the ContentChunk, using the provided DocumentURLChunk
func (*ContentChunk) MergeFileChunk ¶
func (t *ContentChunk) MergeFileChunk(v FileChunk) error
MergeFileChunk performs a merge with any union data inside the ContentChunk, using the provided FileChunk
func (*ContentChunk) MergeImageURLChunk ¶
func (t *ContentChunk) MergeImageURLChunk(v ImageURLChunk) error
MergeImageURLChunk performs a merge with any union data inside the ContentChunk, using the provided ImageURLChunk
func (*ContentChunk) MergeReferenceChunk ¶
func (t *ContentChunk) MergeReferenceChunk(v ReferenceChunk) error
MergeReferenceChunk performs a merge with any union data inside the ContentChunk, using the provided ReferenceChunk
func (*ContentChunk) MergeTextChunk ¶
func (t *ContentChunk) MergeTextChunk(v TextChunk) error
MergeTextChunk performs a merge with any union data inside the ContentChunk, using the provided TextChunk
func (*ContentChunk) MergeThinkChunk ¶
func (t *ContentChunk) MergeThinkChunk(v ThinkChunk) error
MergeThinkChunk performs a merge with any union data inside the ContentChunk, using the provided ThinkChunk
func (*ContentChunk) UnmarshalJSON ¶
func (t *ContentChunk) UnmarshalJSON(b []byte) error
func (ContentChunk) ValueByDiscriminator ¶
func (t ContentChunk) ValueByDiscriminator() (interface{}, error)
type ConversationAppendRequest ¶
type ConversationAppendRequest struct {
// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
HandoffExecution *ConversationAppendRequestHandoffExecution `json:"handoff_execution,omitempty"`
Inputs *ConversationInputs `json:"inputs,omitempty"`
// Store Whether to store the results into our servers or not.
Store *bool `json:"store,omitempty"`
Stream *ConversationAppendRequestStream `json:"stream,omitempty"`
ToolConfirmations *[]ToolCallConfirmation `json:"tool_confirmations,omitempty"`
}
ConversationAppendRequest defines model for ConversationAppendRequest.
type ConversationAppendRequestBase ¶
type ConversationAppendRequestBase struct {
// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
HandoffExecution *ConversationAppendRequestBaseHandoffExecution `json:"handoff_execution,omitempty"`
Inputs *ConversationInputs `json:"inputs,omitempty"`
// Store Whether to store the results into our servers or not.
Store *bool `json:"store,omitempty"`
// Stream Whether to stream back partial progress. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
Stream *bool `json:"stream,omitempty"`
ToolConfirmations *[]ToolCallConfirmation `json:"tool_confirmations,omitempty"`
}
ConversationAppendRequestBase defines model for ConversationAppendRequestBase.
type ConversationAppendRequestBaseHandoffExecution ¶
type ConversationAppendRequestBaseHandoffExecution string
ConversationAppendRequestBaseHandoffExecution defines model for ConversationAppendRequestBase.HandoffExecution.
const ( ConversationAppendRequestBaseHandoffExecutionClient ConversationAppendRequestBaseHandoffExecution = "client" ConversationAppendRequestBaseHandoffExecutionServer ConversationAppendRequestBaseHandoffExecution = "server" )
Defines values for ConversationAppendRequestBaseHandoffExecution.
func (ConversationAppendRequestBaseHandoffExecution) Valid ¶
func (e ConversationAppendRequestBaseHandoffExecution) Valid() bool
Valid indicates whether the value is a known member of the ConversationAppendRequestBaseHandoffExecution enum.
type ConversationAppendRequestHandoffExecution ¶
type ConversationAppendRequestHandoffExecution string
ConversationAppendRequestHandoffExecution defines model for ConversationAppendRequest.HandoffExecution.
const ( ConversationAppendRequestHandoffExecutionClient ConversationAppendRequestHandoffExecution = "client" ConversationAppendRequestHandoffExecutionServer ConversationAppendRequestHandoffExecution = "server" )
Defines values for ConversationAppendRequestHandoffExecution.
func (ConversationAppendRequestHandoffExecution) Valid ¶
func (e ConversationAppendRequestHandoffExecution) Valid() bool
Valid indicates whether the value is a known member of the ConversationAppendRequestHandoffExecution enum.
type ConversationAppendRequestStream ¶
type ConversationAppendRequestStream bool
ConversationAppendRequestStream defines model for ConversationAppendRequest.Stream.
const (
ConversationAppendRequestStreamFalse ConversationAppendRequestStream = false
)
Defines values for ConversationAppendRequestStream.
func (ConversationAppendRequestStream) Valid ¶
func (e ConversationAppendRequestStream) Valid() bool
Valid indicates whether the value is a known member of the ConversationAppendRequestStream enum.
type ConversationAppendStreamRequest ¶
type ConversationAppendStreamRequest struct {
// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
HandoffExecution *ConversationAppendStreamRequestHandoffExecution `json:"handoff_execution,omitempty"`
Inputs *ConversationInputs `json:"inputs,omitempty"`
// Store Whether to store the results into our servers or not.
Store *bool `json:"store,omitempty"`
Stream *ConversationAppendStreamRequestStream `json:"stream,omitempty"`
ToolConfirmations *[]ToolCallConfirmation `json:"tool_confirmations,omitempty"`
}
ConversationAppendStreamRequest defines model for ConversationAppendStreamRequest.
type ConversationAppendStreamRequestHandoffExecution ¶
type ConversationAppendStreamRequestHandoffExecution string
ConversationAppendStreamRequestHandoffExecution defines model for ConversationAppendStreamRequest.HandoffExecution.
const ( ConversationAppendStreamRequestHandoffExecutionClient ConversationAppendStreamRequestHandoffExecution = "client" ConversationAppendStreamRequestHandoffExecutionServer ConversationAppendStreamRequestHandoffExecution = "server" )
Defines values for ConversationAppendStreamRequestHandoffExecution.
func (ConversationAppendStreamRequestHandoffExecution) Valid ¶
func (e ConversationAppendStreamRequestHandoffExecution) Valid() bool
Valid indicates whether the value is a known member of the ConversationAppendStreamRequestHandoffExecution enum.
type ConversationAppendStreamRequestStream ¶
type ConversationAppendStreamRequestStream bool
ConversationAppendStreamRequestStream defines model for ConversationAppendStreamRequest.Stream.
const (
ConversationAppendStreamRequestStreamTrue ConversationAppendStreamRequestStream = true
)
Defines values for ConversationAppendStreamRequestStream.
func (ConversationAppendStreamRequestStream) Valid ¶
func (e ConversationAppendStreamRequestStream) Valid() bool
Valid indicates whether the value is a known member of the ConversationAppendStreamRequestStream enum.
type ConversationEvents ¶
type ConversationEvents struct {
Data ConversationEvents_Data `json:"data"`
// Event Server side events sent when streaming a conversation response.
Event SSETypes `json:"event"`
}
ConversationEvents defines model for ConversationEvents.
type ConversationEvents_Data ¶
type ConversationEvents_Data struct {
// contains filtered or unexported fields
}
ConversationEvents_Data defines model for ConversationEvents.Data.
func (ConversationEvents_Data) AsAgentHandoffDoneEvent ¶
func (t ConversationEvents_Data) AsAgentHandoffDoneEvent() (AgentHandoffDoneEvent, error)
AsAgentHandoffDoneEvent returns the union data inside the ConversationEvents_Data as a AgentHandoffDoneEvent
func (ConversationEvents_Data) AsAgentHandoffStartedEvent ¶
func (t ConversationEvents_Data) AsAgentHandoffStartedEvent() (AgentHandoffStartedEvent, error)
AsAgentHandoffStartedEvent returns the union data inside the ConversationEvents_Data as a AgentHandoffStartedEvent
func (ConversationEvents_Data) AsFunctionCallEvent ¶
func (t ConversationEvents_Data) AsFunctionCallEvent() (FunctionCallEvent, error)
AsFunctionCallEvent returns the union data inside the ConversationEvents_Data as a FunctionCallEvent
func (ConversationEvents_Data) AsMessageOutputEvent ¶
func (t ConversationEvents_Data) AsMessageOutputEvent() (MessageOutputEvent, error)
AsMessageOutputEvent returns the union data inside the ConversationEvents_Data as a MessageOutputEvent
func (ConversationEvents_Data) AsResponseDoneEvent ¶
func (t ConversationEvents_Data) AsResponseDoneEvent() (ResponseDoneEvent, error)
AsResponseDoneEvent returns the union data inside the ConversationEvents_Data as a ResponseDoneEvent
func (ConversationEvents_Data) AsResponseErrorEvent ¶
func (t ConversationEvents_Data) AsResponseErrorEvent() (ResponseErrorEvent, error)
AsResponseErrorEvent returns the union data inside the ConversationEvents_Data as a ResponseErrorEvent
func (ConversationEvents_Data) AsResponseStartedEvent ¶
func (t ConversationEvents_Data) AsResponseStartedEvent() (ResponseStartedEvent, error)
AsResponseStartedEvent returns the union data inside the ConversationEvents_Data as a ResponseStartedEvent
func (ConversationEvents_Data) AsToolExecutionDeltaEvent ¶
func (t ConversationEvents_Data) AsToolExecutionDeltaEvent() (ToolExecutionDeltaEvent, error)
AsToolExecutionDeltaEvent returns the union data inside the ConversationEvents_Data as a ToolExecutionDeltaEvent
func (ConversationEvents_Data) AsToolExecutionDoneEvent ¶
func (t ConversationEvents_Data) AsToolExecutionDoneEvent() (ToolExecutionDoneEvent, error)
AsToolExecutionDoneEvent returns the union data inside the ConversationEvents_Data as a ToolExecutionDoneEvent
func (ConversationEvents_Data) AsToolExecutionStartedEvent ¶
func (t ConversationEvents_Data) AsToolExecutionStartedEvent() (ToolExecutionStartedEvent, error)
AsToolExecutionStartedEvent returns the union data inside the ConversationEvents_Data as a ToolExecutionStartedEvent
func (ConversationEvents_Data) Discriminator ¶
func (t ConversationEvents_Data) Discriminator() (string, error)
func (*ConversationEvents_Data) FromAgentHandoffDoneEvent ¶
func (t *ConversationEvents_Data) FromAgentHandoffDoneEvent(v AgentHandoffDoneEvent) error
FromAgentHandoffDoneEvent overwrites any union data inside the ConversationEvents_Data as the provided AgentHandoffDoneEvent
func (*ConversationEvents_Data) FromAgentHandoffStartedEvent ¶
func (t *ConversationEvents_Data) FromAgentHandoffStartedEvent(v AgentHandoffStartedEvent) error
FromAgentHandoffStartedEvent overwrites any union data inside the ConversationEvents_Data as the provided AgentHandoffStartedEvent
func (*ConversationEvents_Data) FromFunctionCallEvent ¶
func (t *ConversationEvents_Data) FromFunctionCallEvent(v FunctionCallEvent) error
FromFunctionCallEvent overwrites any union data inside the ConversationEvents_Data as the provided FunctionCallEvent
func (*ConversationEvents_Data) FromMessageOutputEvent ¶
func (t *ConversationEvents_Data) FromMessageOutputEvent(v MessageOutputEvent) error
FromMessageOutputEvent overwrites any union data inside the ConversationEvents_Data as the provided MessageOutputEvent
func (*ConversationEvents_Data) FromResponseDoneEvent ¶
func (t *ConversationEvents_Data) FromResponseDoneEvent(v ResponseDoneEvent) error
FromResponseDoneEvent overwrites any union data inside the ConversationEvents_Data as the provided ResponseDoneEvent
func (*ConversationEvents_Data) FromResponseErrorEvent ¶
func (t *ConversationEvents_Data) FromResponseErrorEvent(v ResponseErrorEvent) error
FromResponseErrorEvent overwrites any union data inside the ConversationEvents_Data as the provided ResponseErrorEvent
func (*ConversationEvents_Data) FromResponseStartedEvent ¶
func (t *ConversationEvents_Data) FromResponseStartedEvent(v ResponseStartedEvent) error
FromResponseStartedEvent overwrites any union data inside the ConversationEvents_Data as the provided ResponseStartedEvent
func (*ConversationEvents_Data) FromToolExecutionDeltaEvent ¶
func (t *ConversationEvents_Data) FromToolExecutionDeltaEvent(v ToolExecutionDeltaEvent) error
FromToolExecutionDeltaEvent overwrites any union data inside the ConversationEvents_Data as the provided ToolExecutionDeltaEvent
func (*ConversationEvents_Data) FromToolExecutionDoneEvent ¶
func (t *ConversationEvents_Data) FromToolExecutionDoneEvent(v ToolExecutionDoneEvent) error
FromToolExecutionDoneEvent overwrites any union data inside the ConversationEvents_Data as the provided ToolExecutionDoneEvent
func (*ConversationEvents_Data) FromToolExecutionStartedEvent ¶
func (t *ConversationEvents_Data) FromToolExecutionStartedEvent(v ToolExecutionStartedEvent) error
FromToolExecutionStartedEvent overwrites any union data inside the ConversationEvents_Data as the provided ToolExecutionStartedEvent
func (ConversationEvents_Data) MarshalJSON ¶
func (t ConversationEvents_Data) MarshalJSON() ([]byte, error)
func (*ConversationEvents_Data) MergeAgentHandoffDoneEvent ¶
func (t *ConversationEvents_Data) MergeAgentHandoffDoneEvent(v AgentHandoffDoneEvent) error
MergeAgentHandoffDoneEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided AgentHandoffDoneEvent
func (*ConversationEvents_Data) MergeAgentHandoffStartedEvent ¶
func (t *ConversationEvents_Data) MergeAgentHandoffStartedEvent(v AgentHandoffStartedEvent) error
MergeAgentHandoffStartedEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided AgentHandoffStartedEvent
func (*ConversationEvents_Data) MergeFunctionCallEvent ¶
func (t *ConversationEvents_Data) MergeFunctionCallEvent(v FunctionCallEvent) error
MergeFunctionCallEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided FunctionCallEvent
func (*ConversationEvents_Data) MergeMessageOutputEvent ¶
func (t *ConversationEvents_Data) MergeMessageOutputEvent(v MessageOutputEvent) error
MergeMessageOutputEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided MessageOutputEvent
func (*ConversationEvents_Data) MergeResponseDoneEvent ¶
func (t *ConversationEvents_Data) MergeResponseDoneEvent(v ResponseDoneEvent) error
MergeResponseDoneEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided ResponseDoneEvent
func (*ConversationEvents_Data) MergeResponseErrorEvent ¶
func (t *ConversationEvents_Data) MergeResponseErrorEvent(v ResponseErrorEvent) error
MergeResponseErrorEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided ResponseErrorEvent
func (*ConversationEvents_Data) MergeResponseStartedEvent ¶
func (t *ConversationEvents_Data) MergeResponseStartedEvent(v ResponseStartedEvent) error
MergeResponseStartedEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided ResponseStartedEvent
func (*ConversationEvents_Data) MergeToolExecutionDeltaEvent ¶
func (t *ConversationEvents_Data) MergeToolExecutionDeltaEvent(v ToolExecutionDeltaEvent) error
MergeToolExecutionDeltaEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided ToolExecutionDeltaEvent
func (*ConversationEvents_Data) MergeToolExecutionDoneEvent ¶
func (t *ConversationEvents_Data) MergeToolExecutionDoneEvent(v ToolExecutionDoneEvent) error
MergeToolExecutionDoneEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided ToolExecutionDoneEvent
func (*ConversationEvents_Data) MergeToolExecutionStartedEvent ¶
func (t *ConversationEvents_Data) MergeToolExecutionStartedEvent(v ToolExecutionStartedEvent) error
MergeToolExecutionStartedEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided ToolExecutionStartedEvent
func (*ConversationEvents_Data) UnmarshalJSON ¶
func (t *ConversationEvents_Data) UnmarshalJSON(b []byte) error
func (ConversationEvents_Data) ValueByDiscriminator ¶
func (t ConversationEvents_Data) ValueByDiscriminator() (interface{}, error)
type ConversationHistory ¶
type ConversationHistory struct {
ConversationId string `json:"conversation_id"`
Entries []ConversationHistory_Entries_Item `json:"entries"`
Object *ConversationHistoryObject `json:"object,omitempty"`
}
ConversationHistory Retrieve all entries in a conversation.
type ConversationHistoryObject ¶
type ConversationHistoryObject string
ConversationHistoryObject defines model for ConversationHistory.Object.
const (
ConversationHistoryObjectConversationHistory ConversationHistoryObject = "conversation.history"
)
Defines values for ConversationHistoryObject.
func (ConversationHistoryObject) Valid ¶
func (e ConversationHistoryObject) Valid() bool
Valid indicates whether the value is a known member of the ConversationHistoryObject enum.
type ConversationHistory_Entries_Item ¶
type ConversationHistory_Entries_Item struct {
// contains filtered or unexported fields
}
ConversationHistory_Entries_Item defines model for ConversationHistory.entries.Item.
func (ConversationHistory_Entries_Item) AsAgentHandoffEntry ¶
func (t ConversationHistory_Entries_Item) AsAgentHandoffEntry() (AgentHandoffEntry, error)
AsAgentHandoffEntry returns the union data inside the ConversationHistory_Entries_Item as a AgentHandoffEntry
func (ConversationHistory_Entries_Item) AsFunctionCallEntry ¶
func (t ConversationHistory_Entries_Item) AsFunctionCallEntry() (FunctionCallEntry, error)
AsFunctionCallEntry returns the union data inside the ConversationHistory_Entries_Item as a FunctionCallEntry
func (ConversationHistory_Entries_Item) AsFunctionResultEntry ¶
func (t ConversationHistory_Entries_Item) AsFunctionResultEntry() (FunctionResultEntry, error)
AsFunctionResultEntry returns the union data inside the ConversationHistory_Entries_Item as a FunctionResultEntry
func (ConversationHistory_Entries_Item) AsMessageInputEntry ¶
func (t ConversationHistory_Entries_Item) AsMessageInputEntry() (MessageInputEntry, error)
AsMessageInputEntry returns the union data inside the ConversationHistory_Entries_Item as a MessageInputEntry
func (ConversationHistory_Entries_Item) AsMessageOutputEntry ¶
func (t ConversationHistory_Entries_Item) AsMessageOutputEntry() (MessageOutputEntry, error)
AsMessageOutputEntry returns the union data inside the ConversationHistory_Entries_Item as a MessageOutputEntry
func (ConversationHistory_Entries_Item) AsToolExecutionEntry ¶
func (t ConversationHistory_Entries_Item) AsToolExecutionEntry() (ToolExecutionEntry, error)
AsToolExecutionEntry returns the union data inside the ConversationHistory_Entries_Item as a ToolExecutionEntry
func (*ConversationHistory_Entries_Item) FromAgentHandoffEntry ¶
func (t *ConversationHistory_Entries_Item) FromAgentHandoffEntry(v AgentHandoffEntry) error
FromAgentHandoffEntry overwrites any union data inside the ConversationHistory_Entries_Item as the provided AgentHandoffEntry
func (*ConversationHistory_Entries_Item) FromFunctionCallEntry ¶
func (t *ConversationHistory_Entries_Item) FromFunctionCallEntry(v FunctionCallEntry) error
FromFunctionCallEntry overwrites any union data inside the ConversationHistory_Entries_Item as the provided FunctionCallEntry
func (*ConversationHistory_Entries_Item) FromFunctionResultEntry ¶
func (t *ConversationHistory_Entries_Item) FromFunctionResultEntry(v FunctionResultEntry) error
FromFunctionResultEntry overwrites any union data inside the ConversationHistory_Entries_Item as the provided FunctionResultEntry
func (*ConversationHistory_Entries_Item) FromMessageInputEntry ¶
func (t *ConversationHistory_Entries_Item) FromMessageInputEntry(v MessageInputEntry) error
FromMessageInputEntry overwrites any union data inside the ConversationHistory_Entries_Item as the provided MessageInputEntry
func (*ConversationHistory_Entries_Item) FromMessageOutputEntry ¶
func (t *ConversationHistory_Entries_Item) FromMessageOutputEntry(v MessageOutputEntry) error
FromMessageOutputEntry overwrites any union data inside the ConversationHistory_Entries_Item as the provided MessageOutputEntry
func (*ConversationHistory_Entries_Item) FromToolExecutionEntry ¶
func (t *ConversationHistory_Entries_Item) FromToolExecutionEntry(v ToolExecutionEntry) error
FromToolExecutionEntry overwrites any union data inside the ConversationHistory_Entries_Item as the provided ToolExecutionEntry
func (ConversationHistory_Entries_Item) MarshalJSON ¶
func (t ConversationHistory_Entries_Item) MarshalJSON() ([]byte, error)
func (*ConversationHistory_Entries_Item) MergeAgentHandoffEntry ¶
func (t *ConversationHistory_Entries_Item) MergeAgentHandoffEntry(v AgentHandoffEntry) error
MergeAgentHandoffEntry performs a merge with any union data inside the ConversationHistory_Entries_Item, using the provided AgentHandoffEntry
func (*ConversationHistory_Entries_Item) MergeFunctionCallEntry ¶
func (t *ConversationHistory_Entries_Item) MergeFunctionCallEntry(v FunctionCallEntry) error
MergeFunctionCallEntry performs a merge with any union data inside the ConversationHistory_Entries_Item, using the provided FunctionCallEntry
func (*ConversationHistory_Entries_Item) MergeFunctionResultEntry ¶
func (t *ConversationHistory_Entries_Item) MergeFunctionResultEntry(v FunctionResultEntry) error
MergeFunctionResultEntry performs a merge with any union data inside the ConversationHistory_Entries_Item, using the provided FunctionResultEntry
func (*ConversationHistory_Entries_Item) MergeMessageInputEntry ¶
func (t *ConversationHistory_Entries_Item) MergeMessageInputEntry(v MessageInputEntry) error
MergeMessageInputEntry performs a merge with any union data inside the ConversationHistory_Entries_Item, using the provided MessageInputEntry
func (*ConversationHistory_Entries_Item) MergeMessageOutputEntry ¶
func (t *ConversationHistory_Entries_Item) MergeMessageOutputEntry(v MessageOutputEntry) error
MergeMessageOutputEntry performs a merge with any union data inside the ConversationHistory_Entries_Item, using the provided MessageOutputEntry
func (*ConversationHistory_Entries_Item) MergeToolExecutionEntry ¶
func (t *ConversationHistory_Entries_Item) MergeToolExecutionEntry(v ToolExecutionEntry) error
MergeToolExecutionEntry performs a merge with any union data inside the ConversationHistory_Entries_Item, using the provided ToolExecutionEntry
func (*ConversationHistory_Entries_Item) UnmarshalJSON ¶
func (t *ConversationHistory_Entries_Item) UnmarshalJSON(b []byte) error
type ConversationInputs ¶
type ConversationInputs struct {
// contains filtered or unexported fields
}
ConversationInputs defines model for ConversationInputs.
func (ConversationInputs) AsConversationInputs0 ¶
func (t ConversationInputs) AsConversationInputs0() (ConversationInputs0, error)
AsConversationInputs0 returns the union data inside the ConversationInputs as a ConversationInputs0
func (ConversationInputs) AsInputEntries ¶
func (t ConversationInputs) AsInputEntries() (InputEntries, error)
AsInputEntries returns the union data inside the ConversationInputs as a InputEntries
func (*ConversationInputs) FromConversationInputs0 ¶
func (t *ConversationInputs) FromConversationInputs0(v ConversationInputs0) error
FromConversationInputs0 overwrites any union data inside the ConversationInputs as the provided ConversationInputs0
func (*ConversationInputs) FromInputEntries ¶
func (t *ConversationInputs) FromInputEntries(v InputEntries) error
FromInputEntries overwrites any union data inside the ConversationInputs as the provided InputEntries
func (ConversationInputs) MarshalJSON ¶
func (t ConversationInputs) MarshalJSON() ([]byte, error)
func (*ConversationInputs) MergeConversationInputs0 ¶
func (t *ConversationInputs) MergeConversationInputs0(v ConversationInputs0) error
MergeConversationInputs0 performs a merge with any union data inside the ConversationInputs, using the provided ConversationInputs0
func (*ConversationInputs) MergeInputEntries ¶
func (t *ConversationInputs) MergeInputEntries(v InputEntries) error
MergeInputEntries performs a merge with any union data inside the ConversationInputs, using the provided InputEntries
func (*ConversationInputs) UnmarshalJSON ¶
func (t *ConversationInputs) UnmarshalJSON(b []byte) error
type ConversationInputs0 ¶
type ConversationInputs0 = string
ConversationInputs0 defines model for ConversationInputs.0.
type ConversationMessages ¶
type ConversationMessages struct {
ConversationId string `json:"conversation_id"`
Messages MessageEntries `json:"messages"`
Object *ConversationMessagesObject `json:"object,omitempty"`
}
ConversationMessages Similar to the conversation history but only keep the messages
type ConversationMessagesObject ¶
type ConversationMessagesObject string
ConversationMessagesObject defines model for ConversationMessages.Object.
const (
ConversationMessagesObjectConversationMessages ConversationMessagesObject = "conversation.messages"
)
Defines values for ConversationMessagesObject.
func (ConversationMessagesObject) Valid ¶
func (e ConversationMessagesObject) Valid() bool
Valid indicates whether the value is a known member of the ConversationMessagesObject enum.
type ConversationPayload ¶
type ConversationPayload struct {
Messages []map[string]interface{} `json:"messages"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ConversationPayload defines model for ConversationPayload.
func (ConversationPayload) Get ¶
func (a ConversationPayload) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ConversationPayload. Returns the specified element and whether it was found
func (ConversationPayload) MarshalJSON ¶
func (a ConversationPayload) MarshalJSON() ([]byte, error)
Override default JSON handling for ConversationPayload to handle AdditionalProperties
func (*ConversationPayload) Set ¶
func (a *ConversationPayload) Set(fieldName string, value interface{})
Setter for additional properties for ConversationPayload
func (*ConversationPayload) UnmarshalJSON ¶
func (a *ConversationPayload) UnmarshalJSON(b []byte) error
Override default JSON handling for ConversationPayload to handle AdditionalProperties
type ConversationRequest ¶
type ConversationRequest struct {
AgentId *string `json:"agent_id,omitempty"`
AgentVersion *ConversationRequest_AgentVersion `json:"agent_version,omitempty"`
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
Description *string `json:"description,omitempty"`
Guardrails *[]GuardrailConfig `json:"guardrails,omitempty"`
HandoffExecution *ConversationRequestHandoffExecution `json:"handoff_execution,omitempty"`
Inputs ConversationInputs `json:"inputs"`
Instructions *string `json:"instructions,omitempty"`
Metadata *MetadataDict `json:"metadata,omitempty"`
Model *string `json:"model,omitempty"`
Name *string `json:"name,omitempty"`
Store *bool `json:"store,omitempty"`
Stream *ConversationRequestStream `json:"stream,omitempty"`
Tools *[]ConversationRequest_Tools_Item `json:"tools,omitempty"`
}
ConversationRequest defines model for ConversationRequest.
type ConversationRequestAgentVersion0 ¶
type ConversationRequestAgentVersion0 = string
ConversationRequestAgentVersion0 defines model for ConversationRequest.AgentVersion.0.
type ConversationRequestAgentVersion1 ¶
type ConversationRequestAgentVersion1 = int
ConversationRequestAgentVersion1 defines model for ConversationRequest.AgentVersion.1.
type ConversationRequestBase ¶
type ConversationRequestBase struct {
AgentId *string `json:"agent_id,omitempty"`
AgentVersion *ConversationRequestBase_AgentVersion `json:"agent_version,omitempty"`
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
Description *string `json:"description,omitempty"`
Guardrails *[]GuardrailConfig `json:"guardrails,omitempty"`
HandoffExecution *ConversationRequestBaseHandoffExecution `json:"handoff_execution,omitempty"`
Inputs ConversationInputs `json:"inputs"`
Instructions *string `json:"instructions,omitempty"`
Metadata *MetadataDict `json:"metadata,omitempty"`
Model *string `json:"model,omitempty"`
Name *string `json:"name,omitempty"`
Store *bool `json:"store,omitempty"`
Stream *bool `json:"stream,omitempty"`
Tools *[]ConversationRequestBase_Tools_Item `json:"tools,omitempty"`
}
ConversationRequestBase defines model for ConversationRequestBase.
type ConversationRequestBaseAgentVersion0 ¶
type ConversationRequestBaseAgentVersion0 = string
ConversationRequestBaseAgentVersion0 defines model for ConversationRequestBase.AgentVersion.0.
type ConversationRequestBaseAgentVersion1 ¶
type ConversationRequestBaseAgentVersion1 = int
ConversationRequestBaseAgentVersion1 defines model for ConversationRequestBase.AgentVersion.1.
type ConversationRequestBaseHandoffExecution ¶
type ConversationRequestBaseHandoffExecution string
ConversationRequestBaseHandoffExecution defines model for ConversationRequestBase.HandoffExecution.
const ( ConversationRequestBaseHandoffExecutionClient ConversationRequestBaseHandoffExecution = "client" ConversationRequestBaseHandoffExecutionServer ConversationRequestBaseHandoffExecution = "server" )
Defines values for ConversationRequestBaseHandoffExecution.
func (ConversationRequestBaseHandoffExecution) Valid ¶
func (e ConversationRequestBaseHandoffExecution) Valid() bool
Valid indicates whether the value is a known member of the ConversationRequestBaseHandoffExecution enum.
type ConversationRequestBase_AgentVersion ¶
type ConversationRequestBase_AgentVersion struct {
// contains filtered or unexported fields
}
ConversationRequestBase_AgentVersion defines model for ConversationRequestBase.AgentVersion.
func (ConversationRequestBase_AgentVersion) AsConversationRequestBaseAgentVersion0 ¶
func (t ConversationRequestBase_AgentVersion) AsConversationRequestBaseAgentVersion0() (ConversationRequestBaseAgentVersion0, error)
AsConversationRequestBaseAgentVersion0 returns the union data inside the ConversationRequestBase_AgentVersion as a ConversationRequestBaseAgentVersion0
func (ConversationRequestBase_AgentVersion) AsConversationRequestBaseAgentVersion1 ¶
func (t ConversationRequestBase_AgentVersion) AsConversationRequestBaseAgentVersion1() (ConversationRequestBaseAgentVersion1, error)
AsConversationRequestBaseAgentVersion1 returns the union data inside the ConversationRequestBase_AgentVersion as a ConversationRequestBaseAgentVersion1
func (*ConversationRequestBase_AgentVersion) FromConversationRequestBaseAgentVersion0 ¶
func (t *ConversationRequestBase_AgentVersion) FromConversationRequestBaseAgentVersion0(v ConversationRequestBaseAgentVersion0) error
FromConversationRequestBaseAgentVersion0 overwrites any union data inside the ConversationRequestBase_AgentVersion as the provided ConversationRequestBaseAgentVersion0
func (*ConversationRequestBase_AgentVersion) FromConversationRequestBaseAgentVersion1 ¶
func (t *ConversationRequestBase_AgentVersion) FromConversationRequestBaseAgentVersion1(v ConversationRequestBaseAgentVersion1) error
FromConversationRequestBaseAgentVersion1 overwrites any union data inside the ConversationRequestBase_AgentVersion as the provided ConversationRequestBaseAgentVersion1
func (ConversationRequestBase_AgentVersion) MarshalJSON ¶
func (t ConversationRequestBase_AgentVersion) MarshalJSON() ([]byte, error)
func (*ConversationRequestBase_AgentVersion) MergeConversationRequestBaseAgentVersion0 ¶
func (t *ConversationRequestBase_AgentVersion) MergeConversationRequestBaseAgentVersion0(v ConversationRequestBaseAgentVersion0) error
MergeConversationRequestBaseAgentVersion0 performs a merge with any union data inside the ConversationRequestBase_AgentVersion, using the provided ConversationRequestBaseAgentVersion0
func (*ConversationRequestBase_AgentVersion) MergeConversationRequestBaseAgentVersion1 ¶
func (t *ConversationRequestBase_AgentVersion) MergeConversationRequestBaseAgentVersion1(v ConversationRequestBaseAgentVersion1) error
MergeConversationRequestBaseAgentVersion1 performs a merge with any union data inside the ConversationRequestBase_AgentVersion, using the provided ConversationRequestBaseAgentVersion1
func (*ConversationRequestBase_AgentVersion) UnmarshalJSON ¶
func (t *ConversationRequestBase_AgentVersion) UnmarshalJSON(b []byte) error
type ConversationRequestBase_Tools_Item ¶
type ConversationRequestBase_Tools_Item struct {
// contains filtered or unexported fields
}
ConversationRequestBase_Tools_Item defines model for ConversationRequestBase.tools.Item.
func (ConversationRequestBase_Tools_Item) AsCodeInterpreterTool ¶
func (t ConversationRequestBase_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)
AsCodeInterpreterTool returns the union data inside the ConversationRequestBase_Tools_Item as a CodeInterpreterTool
func (ConversationRequestBase_Tools_Item) AsCustomConnector ¶
func (t ConversationRequestBase_Tools_Item) AsCustomConnector() (CustomConnector, error)
AsCustomConnector returns the union data inside the ConversationRequestBase_Tools_Item as a CustomConnector
func (ConversationRequestBase_Tools_Item) AsDocumentLibraryTool ¶
func (t ConversationRequestBase_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)
AsDocumentLibraryTool returns the union data inside the ConversationRequestBase_Tools_Item as a DocumentLibraryTool
func (ConversationRequestBase_Tools_Item) AsFunctionTool ¶
func (t ConversationRequestBase_Tools_Item) AsFunctionTool() (FunctionTool, error)
AsFunctionTool returns the union data inside the ConversationRequestBase_Tools_Item as a FunctionTool
func (ConversationRequestBase_Tools_Item) AsImageGenerationTool ¶
func (t ConversationRequestBase_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)
AsImageGenerationTool returns the union data inside the ConversationRequestBase_Tools_Item as a ImageGenerationTool
func (ConversationRequestBase_Tools_Item) AsWebSearchPremiumTool ¶
func (t ConversationRequestBase_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)
AsWebSearchPremiumTool returns the union data inside the ConversationRequestBase_Tools_Item as a WebSearchPremiumTool
func (ConversationRequestBase_Tools_Item) AsWebSearchTool ¶
func (t ConversationRequestBase_Tools_Item) AsWebSearchTool() (WebSearchTool, error)
AsWebSearchTool returns the union data inside the ConversationRequestBase_Tools_Item as a WebSearchTool
func (ConversationRequestBase_Tools_Item) Discriminator ¶
func (t ConversationRequestBase_Tools_Item) Discriminator() (string, error)
func (*ConversationRequestBase_Tools_Item) FromCodeInterpreterTool ¶
func (t *ConversationRequestBase_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error
FromCodeInterpreterTool overwrites any union data inside the ConversationRequestBase_Tools_Item as the provided CodeInterpreterTool
func (*ConversationRequestBase_Tools_Item) FromCustomConnector ¶
func (t *ConversationRequestBase_Tools_Item) FromCustomConnector(v CustomConnector) error
FromCustomConnector overwrites any union data inside the ConversationRequestBase_Tools_Item as the provided CustomConnector
func (*ConversationRequestBase_Tools_Item) FromDocumentLibraryTool ¶
func (t *ConversationRequestBase_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error
FromDocumentLibraryTool overwrites any union data inside the ConversationRequestBase_Tools_Item as the provided DocumentLibraryTool
func (*ConversationRequestBase_Tools_Item) FromFunctionTool ¶
func (t *ConversationRequestBase_Tools_Item) FromFunctionTool(v FunctionTool) error
FromFunctionTool overwrites any union data inside the ConversationRequestBase_Tools_Item as the provided FunctionTool
func (*ConversationRequestBase_Tools_Item) FromImageGenerationTool ¶
func (t *ConversationRequestBase_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error
FromImageGenerationTool overwrites any union data inside the ConversationRequestBase_Tools_Item as the provided ImageGenerationTool
func (*ConversationRequestBase_Tools_Item) FromWebSearchPremiumTool ¶
func (t *ConversationRequestBase_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error
FromWebSearchPremiumTool overwrites any union data inside the ConversationRequestBase_Tools_Item as the provided WebSearchPremiumTool
func (*ConversationRequestBase_Tools_Item) FromWebSearchTool ¶
func (t *ConversationRequestBase_Tools_Item) FromWebSearchTool(v WebSearchTool) error
FromWebSearchTool overwrites any union data inside the ConversationRequestBase_Tools_Item as the provided WebSearchTool
func (ConversationRequestBase_Tools_Item) MarshalJSON ¶
func (t ConversationRequestBase_Tools_Item) MarshalJSON() ([]byte, error)
func (*ConversationRequestBase_Tools_Item) MergeCodeInterpreterTool ¶
func (t *ConversationRequestBase_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error
MergeCodeInterpreterTool performs a merge with any union data inside the ConversationRequestBase_Tools_Item, using the provided CodeInterpreterTool
func (*ConversationRequestBase_Tools_Item) MergeCustomConnector ¶
func (t *ConversationRequestBase_Tools_Item) MergeCustomConnector(v CustomConnector) error
MergeCustomConnector performs a merge with any union data inside the ConversationRequestBase_Tools_Item, using the provided CustomConnector
func (*ConversationRequestBase_Tools_Item) MergeDocumentLibraryTool ¶
func (t *ConversationRequestBase_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error
MergeDocumentLibraryTool performs a merge with any union data inside the ConversationRequestBase_Tools_Item, using the provided DocumentLibraryTool
func (*ConversationRequestBase_Tools_Item) MergeFunctionTool ¶
func (t *ConversationRequestBase_Tools_Item) MergeFunctionTool(v FunctionTool) error
MergeFunctionTool performs a merge with any union data inside the ConversationRequestBase_Tools_Item, using the provided FunctionTool
func (*ConversationRequestBase_Tools_Item) MergeImageGenerationTool ¶
func (t *ConversationRequestBase_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error
MergeImageGenerationTool performs a merge with any union data inside the ConversationRequestBase_Tools_Item, using the provided ImageGenerationTool
func (*ConversationRequestBase_Tools_Item) MergeWebSearchPremiumTool ¶
func (t *ConversationRequestBase_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error
MergeWebSearchPremiumTool performs a merge with any union data inside the ConversationRequestBase_Tools_Item, using the provided WebSearchPremiumTool
func (*ConversationRequestBase_Tools_Item) MergeWebSearchTool ¶
func (t *ConversationRequestBase_Tools_Item) MergeWebSearchTool(v WebSearchTool) error
MergeWebSearchTool performs a merge with any union data inside the ConversationRequestBase_Tools_Item, using the provided WebSearchTool
func (*ConversationRequestBase_Tools_Item) UnmarshalJSON ¶
func (t *ConversationRequestBase_Tools_Item) UnmarshalJSON(b []byte) error
func (ConversationRequestBase_Tools_Item) ValueByDiscriminator ¶
func (t ConversationRequestBase_Tools_Item) ValueByDiscriminator() (interface{}, error)
type ConversationRequestHandoffExecution ¶
type ConversationRequestHandoffExecution string
ConversationRequestHandoffExecution defines model for ConversationRequest.HandoffExecution.
const ( ConversationRequestHandoffExecutionClient ConversationRequestHandoffExecution = "client" ConversationRequestHandoffExecutionServer ConversationRequestHandoffExecution = "server" )
Defines values for ConversationRequestHandoffExecution.
func (ConversationRequestHandoffExecution) Valid ¶
func (e ConversationRequestHandoffExecution) Valid() bool
Valid indicates whether the value is a known member of the ConversationRequestHandoffExecution enum.
type ConversationRequestStream ¶
type ConversationRequestStream bool
ConversationRequestStream defines model for ConversationRequest.Stream.
const (
ConversationRequestStreamFalse ConversationRequestStream = false
)
Defines values for ConversationRequestStream.
func (ConversationRequestStream) Valid ¶
func (e ConversationRequestStream) Valid() bool
Valid indicates whether the value is a known member of the ConversationRequestStream enum.
type ConversationRequest_AgentVersion ¶
type ConversationRequest_AgentVersion struct {
// contains filtered or unexported fields
}
ConversationRequest_AgentVersion defines model for ConversationRequest.AgentVersion.
func (ConversationRequest_AgentVersion) AsConversationRequestAgentVersion0 ¶
func (t ConversationRequest_AgentVersion) AsConversationRequestAgentVersion0() (ConversationRequestAgentVersion0, error)
AsConversationRequestAgentVersion0 returns the union data inside the ConversationRequest_AgentVersion as a ConversationRequestAgentVersion0
func (ConversationRequest_AgentVersion) AsConversationRequestAgentVersion1 ¶
func (t ConversationRequest_AgentVersion) AsConversationRequestAgentVersion1() (ConversationRequestAgentVersion1, error)
AsConversationRequestAgentVersion1 returns the union data inside the ConversationRequest_AgentVersion as a ConversationRequestAgentVersion1
func (*ConversationRequest_AgentVersion) FromConversationRequestAgentVersion0 ¶
func (t *ConversationRequest_AgentVersion) FromConversationRequestAgentVersion0(v ConversationRequestAgentVersion0) error
FromConversationRequestAgentVersion0 overwrites any union data inside the ConversationRequest_AgentVersion as the provided ConversationRequestAgentVersion0
func (*ConversationRequest_AgentVersion) FromConversationRequestAgentVersion1 ¶
func (t *ConversationRequest_AgentVersion) FromConversationRequestAgentVersion1(v ConversationRequestAgentVersion1) error
FromConversationRequestAgentVersion1 overwrites any union data inside the ConversationRequest_AgentVersion as the provided ConversationRequestAgentVersion1
func (ConversationRequest_AgentVersion) MarshalJSON ¶
func (t ConversationRequest_AgentVersion) MarshalJSON() ([]byte, error)
func (*ConversationRequest_AgentVersion) MergeConversationRequestAgentVersion0 ¶
func (t *ConversationRequest_AgentVersion) MergeConversationRequestAgentVersion0(v ConversationRequestAgentVersion0) error
MergeConversationRequestAgentVersion0 performs a merge with any union data inside the ConversationRequest_AgentVersion, using the provided ConversationRequestAgentVersion0
func (*ConversationRequest_AgentVersion) MergeConversationRequestAgentVersion1 ¶
func (t *ConversationRequest_AgentVersion) MergeConversationRequestAgentVersion1(v ConversationRequestAgentVersion1) error
MergeConversationRequestAgentVersion1 performs a merge with any union data inside the ConversationRequest_AgentVersion, using the provided ConversationRequestAgentVersion1
func (*ConversationRequest_AgentVersion) UnmarshalJSON ¶
func (t *ConversationRequest_AgentVersion) UnmarshalJSON(b []byte) error
type ConversationRequest_Tools_Item ¶
type ConversationRequest_Tools_Item struct {
// contains filtered or unexported fields
}
ConversationRequest_Tools_Item defines model for ConversationRequest.tools.Item.
func (ConversationRequest_Tools_Item) AsCodeInterpreterTool ¶
func (t ConversationRequest_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)
AsCodeInterpreterTool returns the union data inside the ConversationRequest_Tools_Item as a CodeInterpreterTool
func (ConversationRequest_Tools_Item) AsCustomConnector ¶
func (t ConversationRequest_Tools_Item) AsCustomConnector() (CustomConnector, error)
AsCustomConnector returns the union data inside the ConversationRequest_Tools_Item as a CustomConnector
func (ConversationRequest_Tools_Item) AsDocumentLibraryTool ¶
func (t ConversationRequest_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)
AsDocumentLibraryTool returns the union data inside the ConversationRequest_Tools_Item as a DocumentLibraryTool
func (ConversationRequest_Tools_Item) AsFunctionTool ¶
func (t ConversationRequest_Tools_Item) AsFunctionTool() (FunctionTool, error)
AsFunctionTool returns the union data inside the ConversationRequest_Tools_Item as a FunctionTool
func (ConversationRequest_Tools_Item) AsImageGenerationTool ¶
func (t ConversationRequest_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)
AsImageGenerationTool returns the union data inside the ConversationRequest_Tools_Item as a ImageGenerationTool
func (ConversationRequest_Tools_Item) AsWebSearchPremiumTool ¶
func (t ConversationRequest_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)
AsWebSearchPremiumTool returns the union data inside the ConversationRequest_Tools_Item as a WebSearchPremiumTool
func (ConversationRequest_Tools_Item) AsWebSearchTool ¶
func (t ConversationRequest_Tools_Item) AsWebSearchTool() (WebSearchTool, error)
AsWebSearchTool returns the union data inside the ConversationRequest_Tools_Item as a WebSearchTool
func (ConversationRequest_Tools_Item) Discriminator ¶
func (t ConversationRequest_Tools_Item) Discriminator() (string, error)
func (*ConversationRequest_Tools_Item) FromCodeInterpreterTool ¶
func (t *ConversationRequest_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error
FromCodeInterpreterTool overwrites any union data inside the ConversationRequest_Tools_Item as the provided CodeInterpreterTool
func (*ConversationRequest_Tools_Item) FromCustomConnector ¶
func (t *ConversationRequest_Tools_Item) FromCustomConnector(v CustomConnector) error
FromCustomConnector overwrites any union data inside the ConversationRequest_Tools_Item as the provided CustomConnector
func (*ConversationRequest_Tools_Item) FromDocumentLibraryTool ¶
func (t *ConversationRequest_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error
FromDocumentLibraryTool overwrites any union data inside the ConversationRequest_Tools_Item as the provided DocumentLibraryTool
func (*ConversationRequest_Tools_Item) FromFunctionTool ¶
func (t *ConversationRequest_Tools_Item) FromFunctionTool(v FunctionTool) error
FromFunctionTool overwrites any union data inside the ConversationRequest_Tools_Item as the provided FunctionTool
func (*ConversationRequest_Tools_Item) FromImageGenerationTool ¶
func (t *ConversationRequest_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error
FromImageGenerationTool overwrites any union data inside the ConversationRequest_Tools_Item as the provided ImageGenerationTool
func (*ConversationRequest_Tools_Item) FromWebSearchPremiumTool ¶
func (t *ConversationRequest_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error
FromWebSearchPremiumTool overwrites any union data inside the ConversationRequest_Tools_Item as the provided WebSearchPremiumTool
func (*ConversationRequest_Tools_Item) FromWebSearchTool ¶
func (t *ConversationRequest_Tools_Item) FromWebSearchTool(v WebSearchTool) error
FromWebSearchTool overwrites any union data inside the ConversationRequest_Tools_Item as the provided WebSearchTool
func (ConversationRequest_Tools_Item) MarshalJSON ¶
func (t ConversationRequest_Tools_Item) MarshalJSON() ([]byte, error)
func (*ConversationRequest_Tools_Item) MergeCodeInterpreterTool ¶
func (t *ConversationRequest_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error
MergeCodeInterpreterTool performs a merge with any union data inside the ConversationRequest_Tools_Item, using the provided CodeInterpreterTool
func (*ConversationRequest_Tools_Item) MergeCustomConnector ¶
func (t *ConversationRequest_Tools_Item) MergeCustomConnector(v CustomConnector) error
MergeCustomConnector performs a merge with any union data inside the ConversationRequest_Tools_Item, using the provided CustomConnector
func (*ConversationRequest_Tools_Item) MergeDocumentLibraryTool ¶
func (t *ConversationRequest_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error
MergeDocumentLibraryTool performs a merge with any union data inside the ConversationRequest_Tools_Item, using the provided DocumentLibraryTool
func (*ConversationRequest_Tools_Item) MergeFunctionTool ¶
func (t *ConversationRequest_Tools_Item) MergeFunctionTool(v FunctionTool) error
MergeFunctionTool performs a merge with any union data inside the ConversationRequest_Tools_Item, using the provided FunctionTool
func (*ConversationRequest_Tools_Item) MergeImageGenerationTool ¶
func (t *ConversationRequest_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error
MergeImageGenerationTool performs a merge with any union data inside the ConversationRequest_Tools_Item, using the provided ImageGenerationTool
func (*ConversationRequest_Tools_Item) MergeWebSearchPremiumTool ¶
func (t *ConversationRequest_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error
MergeWebSearchPremiumTool performs a merge with any union data inside the ConversationRequest_Tools_Item, using the provided WebSearchPremiumTool
func (*ConversationRequest_Tools_Item) MergeWebSearchTool ¶
func (t *ConversationRequest_Tools_Item) MergeWebSearchTool(v WebSearchTool) error
MergeWebSearchTool performs a merge with any union data inside the ConversationRequest_Tools_Item, using the provided WebSearchTool
func (*ConversationRequest_Tools_Item) UnmarshalJSON ¶
func (t *ConversationRequest_Tools_Item) UnmarshalJSON(b []byte) error
func (ConversationRequest_Tools_Item) ValueByDiscriminator ¶
func (t ConversationRequest_Tools_Item) ValueByDiscriminator() (interface{}, error)
type ConversationResponse ¶
type ConversationResponse struct {
ConversationId string `json:"conversation_id"`
Guardrails *[]map[string]interface{} `json:"guardrails,omitempty"`
Object *ConversationResponseObject `json:"object,omitempty"`
Outputs []ConversationResponse_Outputs_Item `json:"outputs"`
Usage ConversationUsageInfo `json:"usage"`
}
ConversationResponse The response after appending new entries to the conversation.
type ConversationResponseObject ¶
type ConversationResponseObject string
ConversationResponseObject defines model for ConversationResponse.Object.
const (
ConversationResponseObjectConversationResponse ConversationResponseObject = "conversation.response"
)
Defines values for ConversationResponseObject.
func (ConversationResponseObject) Valid ¶
func (e ConversationResponseObject) Valid() bool
Valid indicates whether the value is a known member of the ConversationResponseObject enum.
type ConversationResponse_Outputs_Item ¶
type ConversationResponse_Outputs_Item struct {
// contains filtered or unexported fields
}
ConversationResponse_Outputs_Item defines model for ConversationResponse.outputs.Item.
func (ConversationResponse_Outputs_Item) AsAgentHandoffEntry ¶
func (t ConversationResponse_Outputs_Item) AsAgentHandoffEntry() (AgentHandoffEntry, error)
AsAgentHandoffEntry returns the union data inside the ConversationResponse_Outputs_Item as a AgentHandoffEntry
func (ConversationResponse_Outputs_Item) AsFunctionCallEntry ¶
func (t ConversationResponse_Outputs_Item) AsFunctionCallEntry() (FunctionCallEntry, error)
AsFunctionCallEntry returns the union data inside the ConversationResponse_Outputs_Item as a FunctionCallEntry
func (ConversationResponse_Outputs_Item) AsMessageOutputEntry ¶
func (t ConversationResponse_Outputs_Item) AsMessageOutputEntry() (MessageOutputEntry, error)
AsMessageOutputEntry returns the union data inside the ConversationResponse_Outputs_Item as a MessageOutputEntry
func (ConversationResponse_Outputs_Item) AsToolExecutionEntry ¶
func (t ConversationResponse_Outputs_Item) AsToolExecutionEntry() (ToolExecutionEntry, error)
AsToolExecutionEntry returns the union data inside the ConversationResponse_Outputs_Item as a ToolExecutionEntry
func (*ConversationResponse_Outputs_Item) FromAgentHandoffEntry ¶
func (t *ConversationResponse_Outputs_Item) FromAgentHandoffEntry(v AgentHandoffEntry) error
FromAgentHandoffEntry overwrites any union data inside the ConversationResponse_Outputs_Item as the provided AgentHandoffEntry
func (*ConversationResponse_Outputs_Item) FromFunctionCallEntry ¶
func (t *ConversationResponse_Outputs_Item) FromFunctionCallEntry(v FunctionCallEntry) error
FromFunctionCallEntry overwrites any union data inside the ConversationResponse_Outputs_Item as the provided FunctionCallEntry
func (*ConversationResponse_Outputs_Item) FromMessageOutputEntry ¶
func (t *ConversationResponse_Outputs_Item) FromMessageOutputEntry(v MessageOutputEntry) error
FromMessageOutputEntry overwrites any union data inside the ConversationResponse_Outputs_Item as the provided MessageOutputEntry
func (*ConversationResponse_Outputs_Item) FromToolExecutionEntry ¶
func (t *ConversationResponse_Outputs_Item) FromToolExecutionEntry(v ToolExecutionEntry) error
FromToolExecutionEntry overwrites any union data inside the ConversationResponse_Outputs_Item as the provided ToolExecutionEntry
func (ConversationResponse_Outputs_Item) MarshalJSON ¶
func (t ConversationResponse_Outputs_Item) MarshalJSON() ([]byte, error)
func (*ConversationResponse_Outputs_Item) MergeAgentHandoffEntry ¶
func (t *ConversationResponse_Outputs_Item) MergeAgentHandoffEntry(v AgentHandoffEntry) error
MergeAgentHandoffEntry performs a merge with any union data inside the ConversationResponse_Outputs_Item, using the provided AgentHandoffEntry
func (*ConversationResponse_Outputs_Item) MergeFunctionCallEntry ¶
func (t *ConversationResponse_Outputs_Item) MergeFunctionCallEntry(v FunctionCallEntry) error
MergeFunctionCallEntry performs a merge with any union data inside the ConversationResponse_Outputs_Item, using the provided FunctionCallEntry
func (*ConversationResponse_Outputs_Item) MergeMessageOutputEntry ¶
func (t *ConversationResponse_Outputs_Item) MergeMessageOutputEntry(v MessageOutputEntry) error
MergeMessageOutputEntry performs a merge with any union data inside the ConversationResponse_Outputs_Item, using the provided MessageOutputEntry
func (*ConversationResponse_Outputs_Item) MergeToolExecutionEntry ¶
func (t *ConversationResponse_Outputs_Item) MergeToolExecutionEntry(v ToolExecutionEntry) error
MergeToolExecutionEntry performs a merge with any union data inside the ConversationResponse_Outputs_Item, using the provided ToolExecutionEntry
func (*ConversationResponse_Outputs_Item) UnmarshalJSON ¶
func (t *ConversationResponse_Outputs_Item) UnmarshalJSON(b []byte) error
type ConversationRestartRequest ¶
type ConversationRestartRequest struct {
// AgentVersion Specific version of the agent to use when restarting. If not provided, uses the current version.
AgentVersion *ConversationRestartRequest_AgentVersion `json:"agent_version,omitempty"`
// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
FromEntryId string `json:"from_entry_id"`
Guardrails *[]GuardrailConfig `json:"guardrails,omitempty"`
HandoffExecution *ConversationRestartRequestHandoffExecution `json:"handoff_execution,omitempty"`
Inputs *ConversationInputs `json:"inputs,omitempty"`
// Metadata Custom metadata for the conversation.
Metadata *MetadataDict `json:"metadata,omitempty"`
// Store Whether to store the results into our servers or not.
Store *bool `json:"store,omitempty"`
Stream *ConversationRestartRequestStream `json:"stream,omitempty"`
}
ConversationRestartRequest defines model for ConversationRestartRequest.
type ConversationRestartRequestAgentVersion0 ¶
type ConversationRestartRequestAgentVersion0 = string
ConversationRestartRequestAgentVersion0 defines model for ConversationRestartRequest.AgentVersion.0.
type ConversationRestartRequestAgentVersion1 ¶
type ConversationRestartRequestAgentVersion1 = int
ConversationRestartRequestAgentVersion1 defines model for ConversationRestartRequest.AgentVersion.1.
type ConversationRestartRequestBase ¶
type ConversationRestartRequestBase struct {
// AgentVersion Specific version of the agent to use when restarting. If not provided, uses the current version.
AgentVersion *ConversationRestartRequestBase_AgentVersion `json:"agent_version,omitempty"`
// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
FromEntryId string `json:"from_entry_id"`
Guardrails *[]GuardrailConfig `json:"guardrails,omitempty"`
HandoffExecution *ConversationRestartRequestBaseHandoffExecution `json:"handoff_execution,omitempty"`
Inputs *ConversationInputs `json:"inputs,omitempty"`
// Metadata Custom metadata for the conversation.
Metadata *MetadataDict `json:"metadata,omitempty"`
// Store Whether to store the results into our servers or not.
Store *bool `json:"store,omitempty"`
// Stream Whether to stream back partial progress. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
Stream *bool `json:"stream,omitempty"`
}
ConversationRestartRequestBase Request to restart a new conversation from a given entry in the conversation.
type ConversationRestartRequestBaseAgentVersion0 ¶
type ConversationRestartRequestBaseAgentVersion0 = string
ConversationRestartRequestBaseAgentVersion0 defines model for ConversationRestartRequestBase.AgentVersion.0.
type ConversationRestartRequestBaseAgentVersion1 ¶
type ConversationRestartRequestBaseAgentVersion1 = int
ConversationRestartRequestBaseAgentVersion1 defines model for ConversationRestartRequestBase.AgentVersion.1.
type ConversationRestartRequestBaseHandoffExecution ¶
type ConversationRestartRequestBaseHandoffExecution string
ConversationRestartRequestBaseHandoffExecution defines model for ConversationRestartRequestBase.HandoffExecution.
const ( ConversationRestartRequestBaseHandoffExecutionClient ConversationRestartRequestBaseHandoffExecution = "client" ConversationRestartRequestBaseHandoffExecutionServer ConversationRestartRequestBaseHandoffExecution = "server" )
Defines values for ConversationRestartRequestBaseHandoffExecution.
func (ConversationRestartRequestBaseHandoffExecution) Valid ¶
func (e ConversationRestartRequestBaseHandoffExecution) Valid() bool
Valid indicates whether the value is a known member of the ConversationRestartRequestBaseHandoffExecution enum.
type ConversationRestartRequestBase_AgentVersion ¶
type ConversationRestartRequestBase_AgentVersion struct {
// contains filtered or unexported fields
}
ConversationRestartRequestBase_AgentVersion Specific version of the agent to use when restarting. If not provided, uses the current version.
func (ConversationRestartRequestBase_AgentVersion) AsConversationRestartRequestBaseAgentVersion0 ¶
func (t ConversationRestartRequestBase_AgentVersion) AsConversationRestartRequestBaseAgentVersion0() (ConversationRestartRequestBaseAgentVersion0, error)
AsConversationRestartRequestBaseAgentVersion0 returns the union data inside the ConversationRestartRequestBase_AgentVersion as a ConversationRestartRequestBaseAgentVersion0
func (ConversationRestartRequestBase_AgentVersion) AsConversationRestartRequestBaseAgentVersion1 ¶
func (t ConversationRestartRequestBase_AgentVersion) AsConversationRestartRequestBaseAgentVersion1() (ConversationRestartRequestBaseAgentVersion1, error)
AsConversationRestartRequestBaseAgentVersion1 returns the union data inside the ConversationRestartRequestBase_AgentVersion as a ConversationRestartRequestBaseAgentVersion1
func (*ConversationRestartRequestBase_AgentVersion) FromConversationRestartRequestBaseAgentVersion0 ¶
func (t *ConversationRestartRequestBase_AgentVersion) FromConversationRestartRequestBaseAgentVersion0(v ConversationRestartRequestBaseAgentVersion0) error
FromConversationRestartRequestBaseAgentVersion0 overwrites any union data inside the ConversationRestartRequestBase_AgentVersion as the provided ConversationRestartRequestBaseAgentVersion0
func (*ConversationRestartRequestBase_AgentVersion) FromConversationRestartRequestBaseAgentVersion1 ¶
func (t *ConversationRestartRequestBase_AgentVersion) FromConversationRestartRequestBaseAgentVersion1(v ConversationRestartRequestBaseAgentVersion1) error
FromConversationRestartRequestBaseAgentVersion1 overwrites any union data inside the ConversationRestartRequestBase_AgentVersion as the provided ConversationRestartRequestBaseAgentVersion1
func (ConversationRestartRequestBase_AgentVersion) MarshalJSON ¶
func (t ConversationRestartRequestBase_AgentVersion) MarshalJSON() ([]byte, error)
func (*ConversationRestartRequestBase_AgentVersion) MergeConversationRestartRequestBaseAgentVersion0 ¶
func (t *ConversationRestartRequestBase_AgentVersion) MergeConversationRestartRequestBaseAgentVersion0(v ConversationRestartRequestBaseAgentVersion0) error
MergeConversationRestartRequestBaseAgentVersion0 performs a merge with any union data inside the ConversationRestartRequestBase_AgentVersion, using the provided ConversationRestartRequestBaseAgentVersion0
func (*ConversationRestartRequestBase_AgentVersion) MergeConversationRestartRequestBaseAgentVersion1 ¶
func (t *ConversationRestartRequestBase_AgentVersion) MergeConversationRestartRequestBaseAgentVersion1(v ConversationRestartRequestBaseAgentVersion1) error
MergeConversationRestartRequestBaseAgentVersion1 performs a merge with any union data inside the ConversationRestartRequestBase_AgentVersion, using the provided ConversationRestartRequestBaseAgentVersion1
func (*ConversationRestartRequestBase_AgentVersion) UnmarshalJSON ¶
func (t *ConversationRestartRequestBase_AgentVersion) UnmarshalJSON(b []byte) error
type ConversationRestartRequestHandoffExecution ¶
type ConversationRestartRequestHandoffExecution string
ConversationRestartRequestHandoffExecution defines model for ConversationRestartRequest.HandoffExecution.
const ( ConversationRestartRequestHandoffExecutionClient ConversationRestartRequestHandoffExecution = "client" ConversationRestartRequestHandoffExecutionServer ConversationRestartRequestHandoffExecution = "server" )
Defines values for ConversationRestartRequestHandoffExecution.
func (ConversationRestartRequestHandoffExecution) Valid ¶
func (e ConversationRestartRequestHandoffExecution) Valid() bool
Valid indicates whether the value is a known member of the ConversationRestartRequestHandoffExecution enum.
type ConversationRestartRequestStream ¶
type ConversationRestartRequestStream bool
ConversationRestartRequestStream defines model for ConversationRestartRequest.Stream.
const (
ConversationRestartRequestStreamFalse ConversationRestartRequestStream = false
)
Defines values for ConversationRestartRequestStream.
func (ConversationRestartRequestStream) Valid ¶
func (e ConversationRestartRequestStream) Valid() bool
Valid indicates whether the value is a known member of the ConversationRestartRequestStream enum.
type ConversationRestartRequest_AgentVersion ¶
type ConversationRestartRequest_AgentVersion struct {
// contains filtered or unexported fields
}
ConversationRestartRequest_AgentVersion Specific version of the agent to use when restarting. If not provided, uses the current version.
func (ConversationRestartRequest_AgentVersion) AsConversationRestartRequestAgentVersion0 ¶
func (t ConversationRestartRequest_AgentVersion) AsConversationRestartRequestAgentVersion0() (ConversationRestartRequestAgentVersion0, error)
AsConversationRestartRequestAgentVersion0 returns the union data inside the ConversationRestartRequest_AgentVersion as a ConversationRestartRequestAgentVersion0
func (ConversationRestartRequest_AgentVersion) AsConversationRestartRequestAgentVersion1 ¶
func (t ConversationRestartRequest_AgentVersion) AsConversationRestartRequestAgentVersion1() (ConversationRestartRequestAgentVersion1, error)
AsConversationRestartRequestAgentVersion1 returns the union data inside the ConversationRestartRequest_AgentVersion as a ConversationRestartRequestAgentVersion1
func (*ConversationRestartRequest_AgentVersion) FromConversationRestartRequestAgentVersion0 ¶
func (t *ConversationRestartRequest_AgentVersion) FromConversationRestartRequestAgentVersion0(v ConversationRestartRequestAgentVersion0) error
FromConversationRestartRequestAgentVersion0 overwrites any union data inside the ConversationRestartRequest_AgentVersion as the provided ConversationRestartRequestAgentVersion0
func (*ConversationRestartRequest_AgentVersion) FromConversationRestartRequestAgentVersion1 ¶
func (t *ConversationRestartRequest_AgentVersion) FromConversationRestartRequestAgentVersion1(v ConversationRestartRequestAgentVersion1) error
FromConversationRestartRequestAgentVersion1 overwrites any union data inside the ConversationRestartRequest_AgentVersion as the provided ConversationRestartRequestAgentVersion1
func (ConversationRestartRequest_AgentVersion) MarshalJSON ¶
func (t ConversationRestartRequest_AgentVersion) MarshalJSON() ([]byte, error)
func (*ConversationRestartRequest_AgentVersion) MergeConversationRestartRequestAgentVersion0 ¶
func (t *ConversationRestartRequest_AgentVersion) MergeConversationRestartRequestAgentVersion0(v ConversationRestartRequestAgentVersion0) error
MergeConversationRestartRequestAgentVersion0 performs a merge with any union data inside the ConversationRestartRequest_AgentVersion, using the provided ConversationRestartRequestAgentVersion0
func (*ConversationRestartRequest_AgentVersion) MergeConversationRestartRequestAgentVersion1 ¶
func (t *ConversationRestartRequest_AgentVersion) MergeConversationRestartRequestAgentVersion1(v ConversationRestartRequestAgentVersion1) error
MergeConversationRestartRequestAgentVersion1 performs a merge with any union data inside the ConversationRestartRequest_AgentVersion, using the provided ConversationRestartRequestAgentVersion1
func (*ConversationRestartRequest_AgentVersion) UnmarshalJSON ¶
func (t *ConversationRestartRequest_AgentVersion) UnmarshalJSON(b []byte) error
type ConversationRestartStreamRequest ¶
type ConversationRestartStreamRequest struct {
// AgentVersion Specific version of the agent to use when restarting. If not provided, uses the current version.
AgentVersion *ConversationRestartStreamRequest_AgentVersion `json:"agent_version,omitempty"`
// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
FromEntryId string `json:"from_entry_id"`
Guardrails *[]GuardrailConfig `json:"guardrails,omitempty"`
HandoffExecution *ConversationRestartStreamRequestHandoffExecution `json:"handoff_execution,omitempty"`
Inputs *ConversationInputs `json:"inputs,omitempty"`
// Metadata Custom metadata for the conversation.
Metadata *MetadataDict `json:"metadata,omitempty"`
// Store Whether to store the results into our servers or not.
Store *bool `json:"store,omitempty"`
Stream *ConversationRestartStreamRequestStream `json:"stream,omitempty"`
}
ConversationRestartStreamRequest defines model for ConversationRestartStreamRequest.
type ConversationRestartStreamRequestAgentVersion0 ¶
type ConversationRestartStreamRequestAgentVersion0 = string
ConversationRestartStreamRequestAgentVersion0 defines model for ConversationRestartStreamRequest.AgentVersion.0.
type ConversationRestartStreamRequestAgentVersion1 ¶
type ConversationRestartStreamRequestAgentVersion1 = int
ConversationRestartStreamRequestAgentVersion1 defines model for ConversationRestartStreamRequest.AgentVersion.1.
type ConversationRestartStreamRequestHandoffExecution ¶
type ConversationRestartStreamRequestHandoffExecution string
ConversationRestartStreamRequestHandoffExecution defines model for ConversationRestartStreamRequest.HandoffExecution.
const ( ConversationRestartStreamRequestHandoffExecutionClient ConversationRestartStreamRequestHandoffExecution = "client" ConversationRestartStreamRequestHandoffExecutionServer ConversationRestartStreamRequestHandoffExecution = "server" )
Defines values for ConversationRestartStreamRequestHandoffExecution.
func (ConversationRestartStreamRequestHandoffExecution) Valid ¶
func (e ConversationRestartStreamRequestHandoffExecution) Valid() bool
Valid indicates whether the value is a known member of the ConversationRestartStreamRequestHandoffExecution enum.
type ConversationRestartStreamRequestStream ¶
type ConversationRestartStreamRequestStream bool
ConversationRestartStreamRequestStream defines model for ConversationRestartStreamRequest.Stream.
const (
ConversationRestartStreamRequestStreamTrue ConversationRestartStreamRequestStream = true
)
Defines values for ConversationRestartStreamRequestStream.
func (ConversationRestartStreamRequestStream) Valid ¶
func (e ConversationRestartStreamRequestStream) Valid() bool
Valid indicates whether the value is a known member of the ConversationRestartStreamRequestStream enum.
type ConversationRestartStreamRequest_AgentVersion ¶
type ConversationRestartStreamRequest_AgentVersion struct {
// contains filtered or unexported fields
}
ConversationRestartStreamRequest_AgentVersion Specific version of the agent to use when restarting. If not provided, uses the current version.
func (ConversationRestartStreamRequest_AgentVersion) AsConversationRestartStreamRequestAgentVersion0 ¶
func (t ConversationRestartStreamRequest_AgentVersion) AsConversationRestartStreamRequestAgentVersion0() (ConversationRestartStreamRequestAgentVersion0, error)
AsConversationRestartStreamRequestAgentVersion0 returns the union data inside the ConversationRestartStreamRequest_AgentVersion as a ConversationRestartStreamRequestAgentVersion0
func (ConversationRestartStreamRequest_AgentVersion) AsConversationRestartStreamRequestAgentVersion1 ¶
func (t ConversationRestartStreamRequest_AgentVersion) AsConversationRestartStreamRequestAgentVersion1() (ConversationRestartStreamRequestAgentVersion1, error)
AsConversationRestartStreamRequestAgentVersion1 returns the union data inside the ConversationRestartStreamRequest_AgentVersion as a ConversationRestartStreamRequestAgentVersion1
func (*ConversationRestartStreamRequest_AgentVersion) FromConversationRestartStreamRequestAgentVersion0 ¶
func (t *ConversationRestartStreamRequest_AgentVersion) FromConversationRestartStreamRequestAgentVersion0(v ConversationRestartStreamRequestAgentVersion0) error
FromConversationRestartStreamRequestAgentVersion0 overwrites any union data inside the ConversationRestartStreamRequest_AgentVersion as the provided ConversationRestartStreamRequestAgentVersion0
func (*ConversationRestartStreamRequest_AgentVersion) FromConversationRestartStreamRequestAgentVersion1 ¶
func (t *ConversationRestartStreamRequest_AgentVersion) FromConversationRestartStreamRequestAgentVersion1(v ConversationRestartStreamRequestAgentVersion1) error
FromConversationRestartStreamRequestAgentVersion1 overwrites any union data inside the ConversationRestartStreamRequest_AgentVersion as the provided ConversationRestartStreamRequestAgentVersion1
func (ConversationRestartStreamRequest_AgentVersion) MarshalJSON ¶
func (t ConversationRestartStreamRequest_AgentVersion) MarshalJSON() ([]byte, error)
func (*ConversationRestartStreamRequest_AgentVersion) MergeConversationRestartStreamRequestAgentVersion0 ¶
func (t *ConversationRestartStreamRequest_AgentVersion) MergeConversationRestartStreamRequestAgentVersion0(v ConversationRestartStreamRequestAgentVersion0) error
MergeConversationRestartStreamRequestAgentVersion0 performs a merge with any union data inside the ConversationRestartStreamRequest_AgentVersion, using the provided ConversationRestartStreamRequestAgentVersion0
func (*ConversationRestartStreamRequest_AgentVersion) MergeConversationRestartStreamRequestAgentVersion1 ¶
func (t *ConversationRestartStreamRequest_AgentVersion) MergeConversationRestartStreamRequestAgentVersion1(v ConversationRestartStreamRequestAgentVersion1) error
MergeConversationRestartStreamRequestAgentVersion1 performs a merge with any union data inside the ConversationRestartStreamRequest_AgentVersion, using the provided ConversationRestartStreamRequestAgentVersion1
func (*ConversationRestartStreamRequest_AgentVersion) UnmarshalJSON ¶
func (t *ConversationRestartStreamRequest_AgentVersion) UnmarshalJSON(b []byte) error
type ConversationSource ¶
type ConversationSource string
ConversationSource defines model for ConversationSource.
const ( ConversationSourceDIRECTINPUT ConversationSource = "DIRECT_INPUT" ConversationSourceEXPLORER ConversationSource = "EXPLORER" ConversationSourcePLAYGROUND ConversationSource = "PLAYGROUND" ConversationSourceUPLOADEDFILE ConversationSource = "UPLOADED_FILE" )
Defines values for ConversationSource.
func (ConversationSource) Valid ¶
func (e ConversationSource) Valid() bool
Valid indicates whether the value is a known member of the ConversationSource enum.
type ConversationStreamRequest ¶
type ConversationStreamRequest struct {
AgentId *string `json:"agent_id,omitempty"`
AgentVersion *ConversationStreamRequest_AgentVersion `json:"agent_version,omitempty"`
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
Description *string `json:"description,omitempty"`
Guardrails *[]GuardrailConfig `json:"guardrails,omitempty"`
HandoffExecution *ConversationStreamRequestHandoffExecution `json:"handoff_execution,omitempty"`
Inputs ConversationInputs `json:"inputs"`
Instructions *string `json:"instructions,omitempty"`
Metadata *MetadataDict `json:"metadata,omitempty"`
Model *string `json:"model,omitempty"`
Name *string `json:"name,omitempty"`
Store *bool `json:"store,omitempty"`
Stream *ConversationStreamRequestStream `json:"stream,omitempty"`
Tools *[]ConversationStreamRequest_Tools_Item `json:"tools,omitempty"`
}
ConversationStreamRequest defines model for ConversationStreamRequest.
type ConversationStreamRequestAgentVersion0 ¶
type ConversationStreamRequestAgentVersion0 = string
ConversationStreamRequestAgentVersion0 defines model for ConversationStreamRequest.AgentVersion.0.
type ConversationStreamRequestAgentVersion1 ¶
type ConversationStreamRequestAgentVersion1 = int
ConversationStreamRequestAgentVersion1 defines model for ConversationStreamRequest.AgentVersion.1.
type ConversationStreamRequestHandoffExecution ¶
type ConversationStreamRequestHandoffExecution string
ConversationStreamRequestHandoffExecution defines model for ConversationStreamRequest.HandoffExecution.
const ( ConversationStreamRequestHandoffExecutionClient ConversationStreamRequestHandoffExecution = "client" ConversationStreamRequestHandoffExecutionServer ConversationStreamRequestHandoffExecution = "server" )
Defines values for ConversationStreamRequestHandoffExecution.
func (ConversationStreamRequestHandoffExecution) Valid ¶
func (e ConversationStreamRequestHandoffExecution) Valid() bool
Valid indicates whether the value is a known member of the ConversationStreamRequestHandoffExecution enum.
type ConversationStreamRequestStream ¶
type ConversationStreamRequestStream bool
ConversationStreamRequestStream defines model for ConversationStreamRequest.Stream.
const (
ConversationStreamRequestStreamTrue ConversationStreamRequestStream = true
)
Defines values for ConversationStreamRequestStream.
func (ConversationStreamRequestStream) Valid ¶
func (e ConversationStreamRequestStream) Valid() bool
Valid indicates whether the value is a known member of the ConversationStreamRequestStream enum.
type ConversationStreamRequest_AgentVersion ¶
type ConversationStreamRequest_AgentVersion struct {
// contains filtered or unexported fields
}
ConversationStreamRequest_AgentVersion defines model for ConversationStreamRequest.AgentVersion.
func (ConversationStreamRequest_AgentVersion) AsConversationStreamRequestAgentVersion0 ¶
func (t ConversationStreamRequest_AgentVersion) AsConversationStreamRequestAgentVersion0() (ConversationStreamRequestAgentVersion0, error)
AsConversationStreamRequestAgentVersion0 returns the union data inside the ConversationStreamRequest_AgentVersion as a ConversationStreamRequestAgentVersion0
func (ConversationStreamRequest_AgentVersion) AsConversationStreamRequestAgentVersion1 ¶
func (t ConversationStreamRequest_AgentVersion) AsConversationStreamRequestAgentVersion1() (ConversationStreamRequestAgentVersion1, error)
AsConversationStreamRequestAgentVersion1 returns the union data inside the ConversationStreamRequest_AgentVersion as a ConversationStreamRequestAgentVersion1
func (*ConversationStreamRequest_AgentVersion) FromConversationStreamRequestAgentVersion0 ¶
func (t *ConversationStreamRequest_AgentVersion) FromConversationStreamRequestAgentVersion0(v ConversationStreamRequestAgentVersion0) error
FromConversationStreamRequestAgentVersion0 overwrites any union data inside the ConversationStreamRequest_AgentVersion as the provided ConversationStreamRequestAgentVersion0
func (*ConversationStreamRequest_AgentVersion) FromConversationStreamRequestAgentVersion1 ¶
func (t *ConversationStreamRequest_AgentVersion) FromConversationStreamRequestAgentVersion1(v ConversationStreamRequestAgentVersion1) error
FromConversationStreamRequestAgentVersion1 overwrites any union data inside the ConversationStreamRequest_AgentVersion as the provided ConversationStreamRequestAgentVersion1
func (ConversationStreamRequest_AgentVersion) MarshalJSON ¶
func (t ConversationStreamRequest_AgentVersion) MarshalJSON() ([]byte, error)
func (*ConversationStreamRequest_AgentVersion) MergeConversationStreamRequestAgentVersion0 ¶
func (t *ConversationStreamRequest_AgentVersion) MergeConversationStreamRequestAgentVersion0(v ConversationStreamRequestAgentVersion0) error
MergeConversationStreamRequestAgentVersion0 performs a merge with any union data inside the ConversationStreamRequest_AgentVersion, using the provided ConversationStreamRequestAgentVersion0
func (*ConversationStreamRequest_AgentVersion) MergeConversationStreamRequestAgentVersion1 ¶
func (t *ConversationStreamRequest_AgentVersion) MergeConversationStreamRequestAgentVersion1(v ConversationStreamRequestAgentVersion1) error
MergeConversationStreamRequestAgentVersion1 performs a merge with any union data inside the ConversationStreamRequest_AgentVersion, using the provided ConversationStreamRequestAgentVersion1
func (*ConversationStreamRequest_AgentVersion) UnmarshalJSON ¶
func (t *ConversationStreamRequest_AgentVersion) UnmarshalJSON(b []byte) error
type ConversationStreamRequest_Tools_Item ¶
type ConversationStreamRequest_Tools_Item struct {
// contains filtered or unexported fields
}
ConversationStreamRequest_Tools_Item defines model for ConversationStreamRequest.tools.Item.
func (ConversationStreamRequest_Tools_Item) AsCodeInterpreterTool ¶
func (t ConversationStreamRequest_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)
AsCodeInterpreterTool returns the union data inside the ConversationStreamRequest_Tools_Item as a CodeInterpreterTool
func (ConversationStreamRequest_Tools_Item) AsCustomConnector ¶
func (t ConversationStreamRequest_Tools_Item) AsCustomConnector() (CustomConnector, error)
AsCustomConnector returns the union data inside the ConversationStreamRequest_Tools_Item as a CustomConnector
func (ConversationStreamRequest_Tools_Item) AsDocumentLibraryTool ¶
func (t ConversationStreamRequest_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)
AsDocumentLibraryTool returns the union data inside the ConversationStreamRequest_Tools_Item as a DocumentLibraryTool
func (ConversationStreamRequest_Tools_Item) AsFunctionTool ¶
func (t ConversationStreamRequest_Tools_Item) AsFunctionTool() (FunctionTool, error)
AsFunctionTool returns the union data inside the ConversationStreamRequest_Tools_Item as a FunctionTool
func (ConversationStreamRequest_Tools_Item) AsImageGenerationTool ¶
func (t ConversationStreamRequest_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)
AsImageGenerationTool returns the union data inside the ConversationStreamRequest_Tools_Item as a ImageGenerationTool
func (ConversationStreamRequest_Tools_Item) AsWebSearchPremiumTool ¶
func (t ConversationStreamRequest_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)
AsWebSearchPremiumTool returns the union data inside the ConversationStreamRequest_Tools_Item as a WebSearchPremiumTool
func (ConversationStreamRequest_Tools_Item) AsWebSearchTool ¶
func (t ConversationStreamRequest_Tools_Item) AsWebSearchTool() (WebSearchTool, error)
AsWebSearchTool returns the union data inside the ConversationStreamRequest_Tools_Item as a WebSearchTool
func (ConversationStreamRequest_Tools_Item) Discriminator ¶
func (t ConversationStreamRequest_Tools_Item) Discriminator() (string, error)
func (*ConversationStreamRequest_Tools_Item) FromCodeInterpreterTool ¶
func (t *ConversationStreamRequest_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error
FromCodeInterpreterTool overwrites any union data inside the ConversationStreamRequest_Tools_Item as the provided CodeInterpreterTool
func (*ConversationStreamRequest_Tools_Item) FromCustomConnector ¶
func (t *ConversationStreamRequest_Tools_Item) FromCustomConnector(v CustomConnector) error
FromCustomConnector overwrites any union data inside the ConversationStreamRequest_Tools_Item as the provided CustomConnector
func (*ConversationStreamRequest_Tools_Item) FromDocumentLibraryTool ¶
func (t *ConversationStreamRequest_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error
FromDocumentLibraryTool overwrites any union data inside the ConversationStreamRequest_Tools_Item as the provided DocumentLibraryTool
func (*ConversationStreamRequest_Tools_Item) FromFunctionTool ¶
func (t *ConversationStreamRequest_Tools_Item) FromFunctionTool(v FunctionTool) error
FromFunctionTool overwrites any union data inside the ConversationStreamRequest_Tools_Item as the provided FunctionTool
func (*ConversationStreamRequest_Tools_Item) FromImageGenerationTool ¶
func (t *ConversationStreamRequest_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error
FromImageGenerationTool overwrites any union data inside the ConversationStreamRequest_Tools_Item as the provided ImageGenerationTool
func (*ConversationStreamRequest_Tools_Item) FromWebSearchPremiumTool ¶
func (t *ConversationStreamRequest_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error
FromWebSearchPremiumTool overwrites any union data inside the ConversationStreamRequest_Tools_Item as the provided WebSearchPremiumTool
func (*ConversationStreamRequest_Tools_Item) FromWebSearchTool ¶
func (t *ConversationStreamRequest_Tools_Item) FromWebSearchTool(v WebSearchTool) error
FromWebSearchTool overwrites any union data inside the ConversationStreamRequest_Tools_Item as the provided WebSearchTool
func (ConversationStreamRequest_Tools_Item) MarshalJSON ¶
func (t ConversationStreamRequest_Tools_Item) MarshalJSON() ([]byte, error)
func (*ConversationStreamRequest_Tools_Item) MergeCodeInterpreterTool ¶
func (t *ConversationStreamRequest_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error
MergeCodeInterpreterTool performs a merge with any union data inside the ConversationStreamRequest_Tools_Item, using the provided CodeInterpreterTool
func (*ConversationStreamRequest_Tools_Item) MergeCustomConnector ¶
func (t *ConversationStreamRequest_Tools_Item) MergeCustomConnector(v CustomConnector) error
MergeCustomConnector performs a merge with any union data inside the ConversationStreamRequest_Tools_Item, using the provided CustomConnector
func (*ConversationStreamRequest_Tools_Item) MergeDocumentLibraryTool ¶
func (t *ConversationStreamRequest_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error
MergeDocumentLibraryTool performs a merge with any union data inside the ConversationStreamRequest_Tools_Item, using the provided DocumentLibraryTool
func (*ConversationStreamRequest_Tools_Item) MergeFunctionTool ¶
func (t *ConversationStreamRequest_Tools_Item) MergeFunctionTool(v FunctionTool) error
MergeFunctionTool performs a merge with any union data inside the ConversationStreamRequest_Tools_Item, using the provided FunctionTool
func (*ConversationStreamRequest_Tools_Item) MergeImageGenerationTool ¶
func (t *ConversationStreamRequest_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error
MergeImageGenerationTool performs a merge with any union data inside the ConversationStreamRequest_Tools_Item, using the provided ImageGenerationTool
func (*ConversationStreamRequest_Tools_Item) MergeWebSearchPremiumTool ¶
func (t *ConversationStreamRequest_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error
MergeWebSearchPremiumTool performs a merge with any union data inside the ConversationStreamRequest_Tools_Item, using the provided WebSearchPremiumTool
func (*ConversationStreamRequest_Tools_Item) MergeWebSearchTool ¶
func (t *ConversationStreamRequest_Tools_Item) MergeWebSearchTool(v WebSearchTool) error
MergeWebSearchTool performs a merge with any union data inside the ConversationStreamRequest_Tools_Item, using the provided WebSearchTool
func (*ConversationStreamRequest_Tools_Item) UnmarshalJSON ¶
func (t *ConversationStreamRequest_Tools_Item) UnmarshalJSON(b []byte) error
func (ConversationStreamRequest_Tools_Item) ValueByDiscriminator ¶
func (t ConversationStreamRequest_Tools_Item) ValueByDiscriminator() (interface{}, error)
type ConversationUsageInfo ¶
type ConversationUsageInfo struct {
CompletionTokens *int `json:"completion_tokens,omitempty"`
ConnectorTokens *int `json:"connector_tokens,omitempty"`
Connectors *map[string]int `json:"connectors,omitempty"`
PromptTokens *int `json:"prompt_tokens,omitempty"`
TotalTokens *int `json:"total_tokens,omitempty"`
}
ConversationUsageInfo defines model for ConversationUsageInfo.
type CreateCampaignV1ObservabilityCampaignsPostJSONRequestBody ¶
type CreateCampaignV1ObservabilityCampaignsPostJSONRequestBody = PostCampaignInSchema
CreateCampaignV1ObservabilityCampaignsPostJSONRequestBody defines body for CreateCampaignV1ObservabilityCampaignsPost for application/json ContentType.
type CreateCampaignV1ObservabilityCampaignsPostResponse ¶
type CreateCampaignV1ObservabilityCampaignsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *CampaignPreview
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseCreateCampaignV1ObservabilityCampaignsPostResponse ¶
func ParseCreateCampaignV1ObservabilityCampaignsPostResponse(rsp *http.Response) (*CreateCampaignV1ObservabilityCampaignsPostResponse, error)
ParseCreateCampaignV1ObservabilityCampaignsPostResponse parses an HTTP response from a CreateCampaignV1ObservabilityCampaignsPostWithResponse call
func (CreateCampaignV1ObservabilityCampaignsPostResponse) ContentType ¶
func (r CreateCampaignV1ObservabilityCampaignsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateCampaignV1ObservabilityCampaignsPostResponse) GetBody ¶
func (r CreateCampaignV1ObservabilityCampaignsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON201 ¶
func (r CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON201() *CampaignPreview
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON400 ¶
func (r CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON404 ¶
func (r CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON408 ¶
func (r CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON409 ¶
func (r CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON422 ¶
func (r CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateCampaignV1ObservabilityCampaignsPostResponse) Status ¶
func (r CreateCampaignV1ObservabilityCampaignsPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCampaignV1ObservabilityCampaignsPostResponse) StatusCode ¶
func (r CreateCampaignV1ObservabilityCampaignsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostJSONRequestBody ¶
type CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostJSONRequestBody = PostDatasetRecordInSchema
CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostJSONRequestBody defines body for CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost for application/json ContentType.
type CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse ¶
type CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *DatasetRecord
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse ¶
func ParseCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse(rsp *http.Response) (*CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse, error)
ParseCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse parses an HTTP response from a CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithResponse call
func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) ContentType ¶
func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetBody ¶
func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON201 ¶
func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON201() *DatasetRecord
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON400 ¶
func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON404 ¶
func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON408 ¶
func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON409 ¶
func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON422 ¶
func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) Status ¶
func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) StatusCode ¶
func (r CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDatasetV1ObservabilityDatasetsPostJSONRequestBody ¶
type CreateDatasetV1ObservabilityDatasetsPostJSONRequestBody = PostDatasetInSchema
CreateDatasetV1ObservabilityDatasetsPostJSONRequestBody defines body for CreateDatasetV1ObservabilityDatasetsPost for application/json ContentType.
type CreateDatasetV1ObservabilityDatasetsPostResponse ¶
type CreateDatasetV1ObservabilityDatasetsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Dataset
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseCreateDatasetV1ObservabilityDatasetsPostResponse ¶
func ParseCreateDatasetV1ObservabilityDatasetsPostResponse(rsp *http.Response) (*CreateDatasetV1ObservabilityDatasetsPostResponse, error)
ParseCreateDatasetV1ObservabilityDatasetsPostResponse parses an HTTP response from a CreateDatasetV1ObservabilityDatasetsPostWithResponse call
func (CreateDatasetV1ObservabilityDatasetsPostResponse) ContentType ¶
func (r CreateDatasetV1ObservabilityDatasetsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateDatasetV1ObservabilityDatasetsPostResponse) GetBody ¶
func (r CreateDatasetV1ObservabilityDatasetsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON201 ¶
func (r CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON201() *Dataset
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON400 ¶
func (r CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON404 ¶
func (r CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON408 ¶
func (r CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON409 ¶
func (r CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON422 ¶
func (r CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateDatasetV1ObservabilityDatasetsPostResponse) Status ¶
func (r CreateDatasetV1ObservabilityDatasetsPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDatasetV1ObservabilityDatasetsPostResponse) StatusCode ¶
func (r CreateDatasetV1ObservabilityDatasetsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateJudgeV1ObservabilityJudgesPostJSONRequestBody ¶
type CreateJudgeV1ObservabilityJudgesPostJSONRequestBody = PostJudgeInSchema
CreateJudgeV1ObservabilityJudgesPostJSONRequestBody defines body for CreateJudgeV1ObservabilityJudgesPost for application/json ContentType.
type CreateJudgeV1ObservabilityJudgesPostResponse ¶
type CreateJudgeV1ObservabilityJudgesPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *JudgePreview
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseCreateJudgeV1ObservabilityJudgesPostResponse ¶
func ParseCreateJudgeV1ObservabilityJudgesPostResponse(rsp *http.Response) (*CreateJudgeV1ObservabilityJudgesPostResponse, error)
ParseCreateJudgeV1ObservabilityJudgesPostResponse parses an HTTP response from a CreateJudgeV1ObservabilityJudgesPostWithResponse call
func (CreateJudgeV1ObservabilityJudgesPostResponse) ContentType ¶
func (r CreateJudgeV1ObservabilityJudgesPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateJudgeV1ObservabilityJudgesPostResponse) GetBody ¶
func (r CreateJudgeV1ObservabilityJudgesPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON201 ¶
func (r CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON201() *JudgePreview
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON400 ¶
func (r CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON404 ¶
func (r CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON408 ¶
func (r CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON409 ¶
func (r CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON422 ¶
func (r CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateJudgeV1ObservabilityJudgesPostResponse) Status ¶
func (r CreateJudgeV1ObservabilityJudgesPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateJudgeV1ObservabilityJudgesPostResponse) StatusCode ¶
func (r CreateJudgeV1ObservabilityJudgesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVoiceV1AudioVoicesPostJSONRequestBody ¶
type CreateVoiceV1AudioVoicesPostJSONRequestBody = VoiceCreateRequest
CreateVoiceV1AudioVoicesPostJSONRequestBody defines body for CreateVoiceV1AudioVoicesPost for application/json ContentType.
type CreateVoiceV1AudioVoicesPostResponse ¶
type CreateVoiceV1AudioVoicesPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *VoiceResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseCreateVoiceV1AudioVoicesPostResponse ¶
func ParseCreateVoiceV1AudioVoicesPostResponse(rsp *http.Response) (*CreateVoiceV1AudioVoicesPostResponse, error)
ParseCreateVoiceV1AudioVoicesPostResponse parses an HTTP response from a CreateVoiceV1AudioVoicesPostWithResponse call
func (CreateVoiceV1AudioVoicesPostResponse) ContentType ¶
func (r CreateVoiceV1AudioVoicesPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateVoiceV1AudioVoicesPostResponse) GetBody ¶
func (r CreateVoiceV1AudioVoicesPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateVoiceV1AudioVoicesPostResponse) GetJSON200 ¶
func (r CreateVoiceV1AudioVoicesPostResponse) GetJSON200() *VoiceResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateVoiceV1AudioVoicesPostResponse) GetJSON422 ¶
func (r CreateVoiceV1AudioVoicesPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateVoiceV1AudioVoicesPostResponse) Status ¶
func (r CreateVoiceV1AudioVoicesPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVoiceV1AudioVoicesPostResponse) StatusCode ¶
func (r CreateVoiceV1AudioVoicesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialsCreateOrUpdate ¶
type CredentialsCreateOrUpdate struct {
// Credentials The credential data (headers, bearer_token).
Credentials *ConnectionCredentials `json:"credentials,omitempty"`
// IsDefault Controls whether this credential is the default for its auth method. On creation: if no credential exists yet for this auth method, the credential is automatically set as default when is_default is true or omitted; setting is_default to false is rejected because a default must exist. If other credentials already exist, setting is_default to true promotes this credential (demoting the previous default); false or omitted creates it as non-default. On update: true promotes this credential, false is rejected if it is currently the default (promote another credential first), omitted leaves the default status unchanged.
IsDefault *bool `json:"is_default,omitempty"`
// Name Name of the credentials. Use this name to access or modify your credentials.
Name string `json:"name"`
}
CredentialsCreateOrUpdate Request to create or update non-OAuth2 credentials for a connector.
type CredentialsResponse ¶
type CredentialsResponse struct {
ConnectorPresetCredentialsForAuth *[]OutboundAuthenticationType `json:"connector_preset_credentials_for_auth,omitempty"`
Credentials []AuthenticationConfiguration `json:"credentials"`
}
CredentialsResponse defines model for CredentialsResponse.
type CustomConnector ¶
type CustomConnector struct {
Authorization *struct {
// contains filtered or unexported fields
} `json:"authorization,omitempty"`
ConnectorId string `json:"connector_id"`
ToolConfiguration *ToolConfiguration `json:"tool_configuration,omitempty"`
Type *CustomConnectorType `json:"type,omitempty"`
}
CustomConnector defines model for CustomConnector.
type CustomConnectorType ¶
type CustomConnectorType string
CustomConnectorType defines model for CustomConnector.Type.
const (
CustomConnectorTypeConnector CustomConnectorType = "connector"
)
Defines values for CustomConnectorType.
func (CustomConnectorType) Valid ¶
func (e CustomConnectorType) Valid() bool
Valid indicates whether the value is a known member of the CustomConnectorType enum.
type CustomTaskCanceledAttributes ¶
type CustomTaskCanceledAttributes struct {
// CustomTaskId Unique identifier for the custom task within the workflow.
CustomTaskId string `json:"custom_task_id"`
// CustomTaskType The type/category of the custom task (e.g., 'llm_call', 'api_request').
CustomTaskType string `json:"custom_task_type"`
// Reason Optional reason provided for the cancellation.
Reason *string `json:"reason,omitempty"`
}
CustomTaskCanceledAttributes Attributes for custom task canceled events.
type CustomTaskCanceledResponse ¶
type CustomTaskCanceledResponse struct {
// Attributes Event-specific attributes.
Attributes CustomTaskCanceledAttributes `json:"attributes"`
// EventId Unique identifier for this event instance.
EventId string `json:"event_id"`
// EventTimestamp Unix timestamp in nanoseconds when the event was created.
EventTimestamp int `json:"event_timestamp"`
// EventType Event type discriminator.
EventType CustomTaskCanceledResponseEventType `json:"event_type"`
// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`
// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
RootWorkflowExecId string `json:"root_workflow_exec_id"`
// WorkflowExecId Execution ID of the workflow that emitted this event.
WorkflowExecId string `json:"workflow_exec_id"`
// WorkflowName The registered name of the workflow that emitted this event.
WorkflowName string `json:"workflow_name"`
// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
WorkflowRunId string `json:"workflow_run_id"`
}
CustomTaskCanceledResponse Emitted when a custom task is canceled.
Indicates the task was explicitly stopped before completion.
type CustomTaskCanceledResponseEventType ¶
type CustomTaskCanceledResponseEventType string
CustomTaskCanceledResponseEventType Event type discriminator.
const (
CustomTaskCanceledResponseEventTypeCUSTOMTASKCANCELED CustomTaskCanceledResponseEventType = "CUSTOM_TASK_CANCELED"
)
Defines values for CustomTaskCanceledResponseEventType.
func (CustomTaskCanceledResponseEventType) Valid ¶
func (e CustomTaskCanceledResponseEventType) Valid() bool
Valid indicates whether the value is a known member of the CustomTaskCanceledResponseEventType enum.
type CustomTaskCompletedAttributesResponse ¶
type CustomTaskCompletedAttributesResponse struct {
// CustomTaskId Unique identifier for the custom task within the workflow.
CustomTaskId string `json:"custom_task_id"`
// CustomTaskType The type/category of the custom task (e.g., 'llm_call', 'api_request').
CustomTaskType string `json:"custom_task_type"`
// Payload The final result of the custom task.
Payload JSONPayloadResponse `json:"payload"`
}
CustomTaskCompletedAttributesResponse Attributes for custom task completed events.
type CustomTaskCompletedResponse ¶
type CustomTaskCompletedResponse struct {
// Attributes Event-specific attributes.
Attributes CustomTaskCompletedAttributesResponse `json:"attributes"`
// EventId Unique identifier for this event instance.
EventId string `json:"event_id"`
// EventTimestamp Unix timestamp in nanoseconds when the event was created.
EventTimestamp int `json:"event_timestamp"`
// EventType Event type discriminator.
EventType CustomTaskCompletedResponseEventType `json:"event_type"`
// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`
// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
RootWorkflowExecId string `json:"root_workflow_exec_id"`
// WorkflowExecId Execution ID of the workflow that emitted this event.
WorkflowExecId string `json:"workflow_exec_id"`
// WorkflowName The registered name of the workflow that emitted this event.
WorkflowName string `json:"workflow_name"`
// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
WorkflowRunId string `json:"workflow_run_id"`
}
CustomTaskCompletedResponse Emitted when a custom task completes successfully.
Contains the final result of the task execution.
type CustomTaskCompletedResponseEventType ¶
type CustomTaskCompletedResponseEventType string
CustomTaskCompletedResponseEventType Event type discriminator.
const (
CustomTaskCompletedResponseEventTypeCUSTOMTASKCOMPLETED CustomTaskCompletedResponseEventType = "CUSTOM_TASK_COMPLETED"
)
Defines values for CustomTaskCompletedResponseEventType.
func (CustomTaskCompletedResponseEventType) Valid ¶
func (e CustomTaskCompletedResponseEventType) Valid() bool
Valid indicates whether the value is a known member of the CustomTaskCompletedResponseEventType enum.
type CustomTaskFailedAttributes ¶
type CustomTaskFailedAttributes struct {
// CustomTaskId Unique identifier for the custom task within the workflow.
CustomTaskId string `json:"custom_task_id"`
// CustomTaskType The type/category of the custom task (e.g., 'llm_call', 'api_request').
CustomTaskType string `json:"custom_task_type"`
// Failure Details about the failure that caused the task to fail.
Failure Failure `json:"failure"`
}
CustomTaskFailedAttributes Attributes for custom task failed events.
type CustomTaskFailedResponse ¶
type CustomTaskFailedResponse struct {
// Attributes Event-specific attributes.
Attributes CustomTaskFailedAttributes `json:"attributes"`
// EventId Unique identifier for this event instance.
EventId string `json:"event_id"`
// EventTimestamp Unix timestamp in nanoseconds when the event was created.
EventTimestamp int `json:"event_timestamp"`
// EventType Event type discriminator.
EventType CustomTaskFailedResponseEventType `json:"event_type"`
// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`
// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
RootWorkflowExecId string `json:"root_workflow_exec_id"`
// WorkflowExecId Execution ID of the workflow that emitted this event.
WorkflowExecId string `json:"workflow_exec_id"`
// WorkflowName The registered name of the workflow that emitted this event.
WorkflowName string `json:"workflow_name"`
// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
WorkflowRunId string `json:"workflow_run_id"`
}
CustomTaskFailedResponse Emitted when a custom task fails.
Contains details about the failure for debugging and error handling.
type CustomTaskFailedResponseEventType ¶
type CustomTaskFailedResponseEventType string
CustomTaskFailedResponseEventType Event type discriminator.
const (
CustomTaskFailedResponseEventTypeCUSTOMTASKFAILED CustomTaskFailedResponseEventType = "CUSTOM_TASK_FAILED"
)
Defines values for CustomTaskFailedResponseEventType.
func (CustomTaskFailedResponseEventType) Valid ¶
func (e CustomTaskFailedResponseEventType) Valid() bool
Valid indicates whether the value is a known member of the CustomTaskFailedResponseEventType enum.
type CustomTaskInProgressAttributesResponse ¶
type CustomTaskInProgressAttributesResponse struct {
// CustomTaskId Unique identifier for the custom task within the workflow.
CustomTaskId string `json:"custom_task_id"`
// CustomTaskType The type/category of the custom task (e.g., 'llm_call', 'api_request').
CustomTaskType string `json:"custom_task_type"`
// Payload The current state or incremental update for the task.
Payload CustomTaskInProgressAttributesResponse_Payload `json:"payload"`
}
CustomTaskInProgressAttributesResponse Attributes for custom task in-progress events with streaming updates.
type CustomTaskInProgressAttributesResponse_Payload ¶
type CustomTaskInProgressAttributesResponse_Payload struct {
// contains filtered or unexported fields
}
CustomTaskInProgressAttributesResponse_Payload The current state or incremental update for the task.
func (CustomTaskInProgressAttributesResponse_Payload) AsJSONPatchPayloadResponse ¶
func (t CustomTaskInProgressAttributesResponse_Payload) AsJSONPatchPayloadResponse() (JSONPatchPayloadResponse, error)
AsJSONPatchPayloadResponse returns the union data inside the CustomTaskInProgressAttributesResponse_Payload as a JSONPatchPayloadResponse
func (CustomTaskInProgressAttributesResponse_Payload) AsJSONPayloadResponse ¶
func (t CustomTaskInProgressAttributesResponse_Payload) AsJSONPayloadResponse() (JSONPayloadResponse, error)
AsJSONPayloadResponse returns the union data inside the CustomTaskInProgressAttributesResponse_Payload as a JSONPayloadResponse
func (CustomTaskInProgressAttributesResponse_Payload) Discriminator ¶
func (t CustomTaskInProgressAttributesResponse_Payload) Discriminator() (string, error)
func (*CustomTaskInProgressAttributesResponse_Payload) FromJSONPatchPayloadResponse ¶
func (t *CustomTaskInProgressAttributesResponse_Payload) FromJSONPatchPayloadResponse(v JSONPatchPayloadResponse) error
FromJSONPatchPayloadResponse overwrites any union data inside the CustomTaskInProgressAttributesResponse_Payload as the provided JSONPatchPayloadResponse
func (*CustomTaskInProgressAttributesResponse_Payload) FromJSONPayloadResponse ¶
func (t *CustomTaskInProgressAttributesResponse_Payload) FromJSONPayloadResponse(v JSONPayloadResponse) error
FromJSONPayloadResponse overwrites any union data inside the CustomTaskInProgressAttributesResponse_Payload as the provided JSONPayloadResponse
func (CustomTaskInProgressAttributesResponse_Payload) MarshalJSON ¶
func (t CustomTaskInProgressAttributesResponse_Payload) MarshalJSON() ([]byte, error)
func (*CustomTaskInProgressAttributesResponse_Payload) MergeJSONPatchPayloadResponse ¶
func (t *CustomTaskInProgressAttributesResponse_Payload) MergeJSONPatchPayloadResponse(v JSONPatchPayloadResponse) error
MergeJSONPatchPayloadResponse performs a merge with any union data inside the CustomTaskInProgressAttributesResponse_Payload, using the provided JSONPatchPayloadResponse
func (*CustomTaskInProgressAttributesResponse_Payload) MergeJSONPayloadResponse ¶
func (t *CustomTaskInProgressAttributesResponse_Payload) MergeJSONPayloadResponse(v JSONPayloadResponse) error
MergeJSONPayloadResponse performs a merge with any union data inside the CustomTaskInProgressAttributesResponse_Payload, using the provided JSONPayloadResponse
func (*CustomTaskInProgressAttributesResponse_Payload) UnmarshalJSON ¶
func (t *CustomTaskInProgressAttributesResponse_Payload) UnmarshalJSON(b []byte) error
func (CustomTaskInProgressAttributesResponse_Payload) ValueByDiscriminator ¶
func (t CustomTaskInProgressAttributesResponse_Payload) ValueByDiscriminator() (interface{}, error)
type CustomTaskInProgressResponse ¶
type CustomTaskInProgressResponse struct {
// Attributes Event-specific attributes.
Attributes CustomTaskInProgressAttributesResponse `json:"attributes"`
// EventId Unique identifier for this event instance.
EventId string `json:"event_id"`
// EventTimestamp Unix timestamp in nanoseconds when the event was created.
EventTimestamp int `json:"event_timestamp"`
// EventType Event type discriminator.
EventType CustomTaskInProgressResponseEventType `json:"event_type"`
// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`
// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
RootWorkflowExecId string `json:"root_workflow_exec_id"`
// WorkflowExecId Execution ID of the workflow that emitted this event.
WorkflowExecId string `json:"workflow_exec_id"`
// WorkflowName The registered name of the workflow that emitted this event.
WorkflowName string `json:"workflow_name"`
// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
WorkflowRunId string `json:"workflow_run_id"`
}
CustomTaskInProgressResponse Emitted during custom task execution to report progress.
This event supports streaming updates via JSON or JSON Patch payloads, enabling real-time progress tracking for long-running tasks.
type CustomTaskInProgressResponseEventType ¶
type CustomTaskInProgressResponseEventType string
CustomTaskInProgressResponseEventType Event type discriminator.
const (
CustomTaskInProgressResponseEventTypeCUSTOMTASKINPROGRESS CustomTaskInProgressResponseEventType = "CUSTOM_TASK_IN_PROGRESS"
)
Defines values for CustomTaskInProgressResponseEventType.
func (CustomTaskInProgressResponseEventType) Valid ¶
func (e CustomTaskInProgressResponseEventType) Valid() bool
Valid indicates whether the value is a known member of the CustomTaskInProgressResponseEventType enum.
type CustomTaskStartedAttributesResponse ¶
type CustomTaskStartedAttributesResponse struct {
// CustomTaskId Unique identifier for the custom task within the workflow.
CustomTaskId string `json:"custom_task_id"`
// CustomTaskType The type/category of the custom task (e.g., 'llm_call', 'api_request').
CustomTaskType string `json:"custom_task_type"`
// Payload The initial state or payload for the custom task.
Payload *JSONPayloadResponse `json:"payload,omitempty"`
}
CustomTaskStartedAttributesResponse Attributes for custom task started events.
type CustomTaskStartedResponse ¶
type CustomTaskStartedResponse struct {
// Attributes Event-specific attributes.
Attributes CustomTaskStartedAttributesResponse `json:"attributes"`
// EventId Unique identifier for this event instance.
EventId string `json:"event_id"`
// EventTimestamp Unix timestamp in nanoseconds when the event was created.
EventTimestamp int `json:"event_timestamp"`
// EventType Event type discriminator.
EventType CustomTaskStartedResponseEventType `json:"event_type"`
// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`
// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
RootWorkflowExecId string `json:"root_workflow_exec_id"`
// WorkflowExecId Execution ID of the workflow that emitted this event.
WorkflowExecId string `json:"workflow_exec_id"`
// WorkflowName The registered name of the workflow that emitted this event.
WorkflowName string `json:"workflow_name"`
// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
WorkflowRunId string `json:"workflow_run_id"`
}
CustomTaskStartedResponse Emitted when a custom task begins execution.
Custom tasks represent user-defined units of work within a workflow, such as LLM calls, API requests, or data processing steps.
type CustomTaskStartedResponseEventType ¶
type CustomTaskStartedResponseEventType string
CustomTaskStartedResponseEventType Event type discriminator.
const (
CustomTaskStartedResponseEventTypeCUSTOMTASKSTARTED CustomTaskStartedResponseEventType = "CUSTOM_TASK_STARTED"
)
Defines values for CustomTaskStartedResponseEventType.
func (CustomTaskStartedResponseEventType) Valid ¶
func (e CustomTaskStartedResponseEventType) Valid() bool
Valid indicates whether the value is a known member of the CustomTaskStartedResponseEventType enum.
type CustomTaskTimedOutAttributes ¶
type CustomTaskTimedOutAttributes struct {
// CustomTaskId Unique identifier for the custom task within the workflow.
CustomTaskId string `json:"custom_task_id"`
// CustomTaskType The type/category of the custom task (e.g., 'llm_call', 'api_request').
CustomTaskType string `json:"custom_task_type"`
// TimeoutType The type of timeout that occurred.
TimeoutType *string `json:"timeout_type,omitempty"`
}
CustomTaskTimedOutAttributes Attributes for custom task timed out events.
type CustomTaskTimedOutResponse ¶
type CustomTaskTimedOutResponse struct {
// Attributes Event-specific attributes.
Attributes CustomTaskTimedOutAttributes `json:"attributes"`
// EventId Unique identifier for this event instance.
EventId string `json:"event_id"`
// EventTimestamp Unix timestamp in nanoseconds when the event was created.
EventTimestamp int `json:"event_timestamp"`
// EventType Event type discriminator.
EventType CustomTaskTimedOutResponseEventType `json:"event_type"`
// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`
// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
RootWorkflowExecId string `json:"root_workflow_exec_id"`
// WorkflowExecId Execution ID of the workflow that emitted this event.
WorkflowExecId string `json:"workflow_exec_id"`
// WorkflowName The registered name of the workflow that emitted this event.
WorkflowName string `json:"workflow_name"`
// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
WorkflowRunId string `json:"workflow_run_id"`
}
CustomTaskTimedOutResponse Emitted when a custom task exceeds its timeout.
Indicates the task did not complete within its configured time limit.
type CustomTaskTimedOutResponseEventType ¶
type CustomTaskTimedOutResponseEventType string
CustomTaskTimedOutResponseEventType Event type discriminator.
const (
CustomTaskTimedOutResponseEventTypeCUSTOMTASKTIMEDOUT CustomTaskTimedOutResponseEventType = "CUSTOM_TASK_TIMED_OUT"
)
Defines values for CustomTaskTimedOutResponseEventType.
func (CustomTaskTimedOutResponseEventType) Valid ¶
func (e CustomTaskTimedOutResponseEventType) Valid() bool
Valid indicates whether the value is a known member of the CustomTaskTimedOutResponseEventType enum.
type Dataset ¶
type Dataset struct {
CreatedAt time.Time `json:"created_at"`
DeletedAt *time.Time `json:"deleted_at"`
Description string `json:"description"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
OwnerId openapi_types.UUID `json:"owner_id"`
UpdatedAt time.Time `json:"updated_at"`
WorkspaceId openapi_types.UUID `json:"workspace_id"`
}
Dataset defines model for Dataset.
type DatasetExport ¶
type DatasetExport struct {
FileUrl string `json:"file_url"`
}
DatasetExport defines model for DatasetExport.
type DatasetImportTask ¶
type DatasetImportTask struct {
CreatedAt time.Time `json:"created_at"`
CreatorId openapi_types.UUID `json:"creator_id"`
DatasetId openapi_types.UUID `json:"dataset_id"`
DeletedAt *time.Time `json:"deleted_at"`
Id openapi_types.UUID `json:"id"`
Message *string `json:"message,omitempty"`
Progress *int `json:"progress,omitempty"`
Status BaseTaskStatus `json:"status"`
UpdatedAt time.Time `json:"updated_at"`
WorkspaceId openapi_types.UUID `json:"workspace_id"`
}
DatasetImportTask defines model for DatasetImportTask.
type DatasetImportTasks ¶
type DatasetImportTasks struct {
Tasks PaginatedResultDatasetImportTask `json:"tasks"`
}
DatasetImportTasks defines model for DatasetImportTasks.
type DatasetPreview ¶
type DatasetPreview struct {
CreatedAt time.Time `json:"created_at"`
DeletedAt *time.Time `json:"deleted_at"`
Description string `json:"description"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
OwnerId openapi_types.UUID `json:"owner_id"`
UpdatedAt time.Time `json:"updated_at"`
WorkspaceId openapi_types.UUID `json:"workspace_id"`
}
DatasetPreview defines model for DatasetPreview.
type DatasetPreviews ¶
type DatasetPreviews struct {
Datasets PaginatedResultDatasetPreview `json:"datasets"`
}
DatasetPreviews defines model for DatasetPreviews.
type DatasetRecord ¶
type DatasetRecord struct {
CreatedAt time.Time `json:"created_at"`
DatasetId openapi_types.UUID `json:"dataset_id"`
DeletedAt *time.Time `json:"deleted_at"`
Id openapi_types.UUID `json:"id"`
Payload ConversationPayload `json:"payload"`
Properties map[string]interface{} `json:"properties"`
Source ConversationSource `json:"source"`
UpdatedAt time.Time `json:"updated_at"`
}
DatasetRecord defines model for DatasetRecord.
type DatasetRecords ¶
type DatasetRecords struct {
Records PaginatedResultDatasetRecord `json:"records"`
}
DatasetRecords defines model for DatasetRecords.
type DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse ¶
type DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseDeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse ¶
func ParseDeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse(rsp *http.Response) (*DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse, error)
ParseDeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse parses an HTTP response from a DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteWithResponse call
func (DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) ContentType ¶
func (r DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetBody ¶
func (r DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON400 ¶
func (r DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON404 ¶
func (r DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON408 ¶
func (r DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON409 ¶
func (r DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON422 ¶
func (r DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) Status ¶
func (r DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) StatusCode ¶
func (r DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse ¶
type DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseDeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse ¶
func ParseDeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse(rsp *http.Response) (*DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse, error)
ParseDeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse parses an HTTP response from a DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteWithResponse call
func (DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) ContentType ¶
func (r DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetBody ¶
func (r DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON400 ¶
func (r DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON404 ¶
func (r DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON408 ¶
func (r DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON409 ¶
func (r DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON422 ¶
func (r DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) Status ¶
func (r DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) StatusCode ¶
func (r DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDatasetRecordsInSchema ¶
type DeleteDatasetRecordsInSchema struct {
DatasetRecordIds []openapi_types.UUID `json:"dataset_record_ids"`
}
DeleteDatasetRecordsInSchema defines model for DeleteDatasetRecordsInSchema.
type DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostJSONRequestBody ¶
type DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostJSONRequestBody = DeleteDatasetRecordsInSchema
DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostJSONRequestBody defines body for DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost for application/json ContentType.
type DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse ¶
type DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse ¶
func ParseDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse(rsp *http.Response) (*DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse, error)
ParseDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse parses an HTTP response from a DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithResponse call
func (DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) ContentType ¶
func (r DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetBody ¶
func (r DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON400 ¶
func (r DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON404 ¶
func (r DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON408 ¶
func (r DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON409 ¶
func (r DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON422 ¶
func (r DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) Status ¶
Status returns HTTPResponse.Status
func (DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) StatusCode ¶
func (r DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse ¶
type DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseDeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse ¶
func ParseDeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse(rsp *http.Response) (*DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse, error)
ParseDeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse parses an HTTP response from a DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteWithResponse call
func (DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) ContentType ¶
func (r DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetBody ¶
func (r DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON400 ¶
func (r DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON404 ¶
func (r DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON408 ¶
func (r DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON409 ¶
func (r DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON422 ¶
func (r DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) Status ¶
func (r DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) StatusCode ¶
func (r DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteFileOut ¶
type DeleteFileOut struct {
// Deleted The deletion status.
//
// Examples: false
Deleted bool `json:"deleted"`
// Id The ID of the deleted file.
//
// Examples: 497f6eca-6276-4993-bfeb-53cbbbba6f09
Id openapi_types.UUID `json:"id"`
// Object The object type that was deleted
//
// Examples: file
Object string `json:"object"`
}
DeleteFileOut defines model for DeleteFileOut.
type DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse ¶
type DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseDeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse ¶
func ParseDeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse(rsp *http.Response) (*DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse, error)
ParseDeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse parses an HTTP response from a DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteWithResponse call
func (DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) ContentType ¶
func (r DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetBody ¶
func (r DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON400 ¶
func (r DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON404 ¶
func (r DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON408 ¶
func (r DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON409 ¶
func (r DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON422 ¶
func (r DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) Status ¶
func (r DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) StatusCode ¶
func (r DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteModelOut ¶
type DeleteModelOut struct {
// Deleted The deletion status
//
// Examples: true
Deleted *bool `json:"deleted,omitempty"`
// Id The ID of the deleted model.
//
// Examples: ft:open-mistral-7b:587a6b29:20240514:7e773925
Id string `json:"id"`
// Object The object type that was deleted
Object *string `json:"object,omitempty"`
}
DeleteModelOut defines model for DeleteModelOut.
type DeleteModelV1ModelsModelIdDeleteResponse ¶
type DeleteModelV1ModelsModelIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeleteModelOut
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseDeleteModelV1ModelsModelIdDeleteResponse ¶
func ParseDeleteModelV1ModelsModelIdDeleteResponse(rsp *http.Response) (*DeleteModelV1ModelsModelIdDeleteResponse, error)
ParseDeleteModelV1ModelsModelIdDeleteResponse parses an HTTP response from a DeleteModelV1ModelsModelIdDeleteWithResponse call
func (DeleteModelV1ModelsModelIdDeleteResponse) ContentType ¶
func (r DeleteModelV1ModelsModelIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteModelV1ModelsModelIdDeleteResponse) GetBody ¶
func (r DeleteModelV1ModelsModelIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteModelV1ModelsModelIdDeleteResponse) GetJSON200 ¶
func (r DeleteModelV1ModelsModelIdDeleteResponse) GetJSON200() *DeleteModelOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteModelV1ModelsModelIdDeleteResponse) GetJSON422 ¶
func (r DeleteModelV1ModelsModelIdDeleteResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteModelV1ModelsModelIdDeleteResponse) Status ¶
func (r DeleteModelV1ModelsModelIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteModelV1ModelsModelIdDeleteResponse) StatusCode ¶
func (r DeleteModelV1ModelsModelIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse ¶
type DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *VoiceResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseDeleteVoiceV1AudioVoicesVoiceIdDeleteResponse ¶
func ParseDeleteVoiceV1AudioVoicesVoiceIdDeleteResponse(rsp *http.Response) (*DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse, error)
ParseDeleteVoiceV1AudioVoicesVoiceIdDeleteResponse parses an HTTP response from a DeleteVoiceV1AudioVoicesVoiceIdDeleteWithResponse call
func (DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) ContentType ¶
func (r DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) GetBody ¶
func (r DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) GetJSON200 ¶
func (r DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) GetJSON200() *VoiceResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) GetJSON422 ¶
func (r DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) Status ¶
func (r DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) StatusCode ¶
func (r DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeltaMessage ¶
type DeltaMessage struct {
Content *DeltaMessage_Content `json:"content,omitempty"`
Role *string `json:"role,omitempty"`
ToolCalls *[]ToolCall `json:"tool_calls,omitempty"`
}
DeltaMessage defines model for DeltaMessage.
type DeltaMessageContent0 ¶
type DeltaMessageContent0 = string
DeltaMessageContent0 defines model for DeltaMessage.Content.0.
type DeltaMessageContent2 ¶
type DeltaMessageContent2 = []ContentChunk
DeltaMessageContent2 defines model for DeltaMessage.Content.2.
type DeltaMessage_Content ¶
type DeltaMessage_Content struct {
// contains filtered or unexported fields
}
DeltaMessage_Content defines model for DeltaMessage.Content.
func (DeltaMessage_Content) AsDeltaMessageContent0 ¶
func (t DeltaMessage_Content) AsDeltaMessageContent0() (DeltaMessageContent0, error)
AsDeltaMessageContent0 returns the union data inside the DeltaMessage_Content as a DeltaMessageContent0
func (DeltaMessage_Content) AsDeltaMessageContent2 ¶
func (t DeltaMessage_Content) AsDeltaMessageContent2() (DeltaMessageContent2, error)
AsDeltaMessageContent2 returns the union data inside the DeltaMessage_Content as a DeltaMessageContent2
func (*DeltaMessage_Content) FromDeltaMessageContent0 ¶
func (t *DeltaMessage_Content) FromDeltaMessageContent0(v DeltaMessageContent0) error
FromDeltaMessageContent0 overwrites any union data inside the DeltaMessage_Content as the provided DeltaMessageContent0
func (*DeltaMessage_Content) FromDeltaMessageContent2 ¶
func (t *DeltaMessage_Content) FromDeltaMessageContent2(v DeltaMessageContent2) error
FromDeltaMessageContent2 overwrites any union data inside the DeltaMessage_Content as the provided DeltaMessageContent2
func (DeltaMessage_Content) MarshalJSON ¶
func (t DeltaMessage_Content) MarshalJSON() ([]byte, error)
func (*DeltaMessage_Content) MergeDeltaMessageContent0 ¶
func (t *DeltaMessage_Content) MergeDeltaMessageContent0(v DeltaMessageContent0) error
MergeDeltaMessageContent0 performs a merge with any union data inside the DeltaMessage_Content, using the provided DeltaMessageContent0
func (*DeltaMessage_Content) MergeDeltaMessageContent2 ¶
func (t *DeltaMessage_Content) MergeDeltaMessageContent2(v DeltaMessageContent2) error
MergeDeltaMessageContent2 performs a merge with any union data inside the DeltaMessage_Content, using the provided DeltaMessageContent2
func (*DeltaMessage_Content) UnmarshalJSON ¶
func (t *DeltaMessage_Content) UnmarshalJSON(b []byte) error
type DeploymentDetailResponse ¶
type DeploymentDetailResponse struct {
// CreatedAt When the deployment was first registered
CreatedAt time.Time `json:"created_at"`
// Id Unique identifier of the deployment
Id openapi_types.UUID `json:"id"`
// IsActive Whether at least one worker is currently live
IsActive bool `json:"is_active"`
// Name Deployment name
Name string `json:"name"`
// UpdatedAt When the deployment was last updated
UpdatedAt time.Time `json:"updated_at"`
// Workers Workers registered for the deployment
Workers []DeploymentWorkerResponse `json:"workers"`
}
DeploymentDetailResponse defines model for DeploymentDetailResponse.
type DeploymentListResponse ¶
type DeploymentListResponse struct {
// Deployments List of deployments
Deployments []DeploymentResponse `json:"deployments"`
}
DeploymentListResponse defines model for DeploymentListResponse.
type DeploymentResponse ¶
type DeploymentResponse struct {
// CreatedAt When the deployment was first registered
CreatedAt time.Time `json:"created_at"`
// Id Unique identifier of the deployment
Id openapi_types.UUID `json:"id"`
// IsActive Whether at least one worker is currently live
IsActive bool `json:"is_active"`
// Name Deployment name
Name string `json:"name"`
// UpdatedAt When the deployment was last updated
UpdatedAt time.Time `json:"updated_at"`
}
DeploymentResponse defines model for DeploymentResponse.
type DeploymentWorkerResponse ¶
type DeploymentWorkerResponse struct {
// CreatedAt When the worker first registered
CreatedAt time.Time `json:"created_at"`
// Name Worker name
Name string `json:"name"`
// UpdatedAt When the worker last registered
UpdatedAt time.Time `json:"updated_at"`
}
DeploymentWorkerResponse defines model for DeploymentWorkerResponse.
type DocumentLibraryTool ¶
type DocumentLibraryTool struct {
// LibraryIds Ids of the library in which to search.
LibraryIds []string `json:"library_ids"`
ToolConfiguration *ToolConfiguration `json:"tool_configuration,omitempty"`
Type *DocumentLibraryToolType `json:"type,omitempty"`
}
DocumentLibraryTool defines model for DocumentLibraryTool.
type DocumentLibraryToolType ¶
type DocumentLibraryToolType string
DocumentLibraryToolType defines model for DocumentLibraryTool.Type.
const (
DocumentLibraryToolTypeDocumentLibrary DocumentLibraryToolType = "document_library"
)
Defines values for DocumentLibraryToolType.
func (DocumentLibraryToolType) Valid ¶
func (e DocumentLibraryToolType) Valid() bool
Valid indicates whether the value is a known member of the DocumentLibraryToolType enum.
type DocumentOut ¶
type DocumentOut struct {
Attributes *map[string]interface{} `json:"attributes,omitempty"`
CreatedAt time.Time `json:"created_at"`
Extension *string `json:"extension"`
Hash *string `json:"hash"`
Id openapi_types.UUID `json:"id"`
LastProcessedAt *time.Time `json:"last_processed_at,omitempty"`
LibraryId openapi_types.UUID `json:"library_id"`
MimeType *string `json:"mime_type"`
Name string `json:"name"`
NumberOfPages *int `json:"number_of_pages,omitempty"`
ProcessStatus ProcessStatus `json:"process_status"`
ProcessingStatus *string `json:"processing_status,omitempty"`
Size *int `json:"size"`
Summary *string `json:"summary,omitempty"`
TokensProcessingMainContent *int `json:"tokens_processing_main_content,omitempty"`
TokensProcessingSummary *int `json:"tokens_processing_summary,omitempty"`
TokensProcessingTotal *int `json:"tokens_processing_total,omitempty"`
UploadedById *openapi_types.UUID `json:"uploaded_by_id"`
UploadedByType string `json:"uploaded_by_type"`
Url *string `json:"url,omitempty"`
}
DocumentOut defines model for DocumentOut.
type DocumentTextContent ¶
type DocumentTextContent struct {
Text string `json:"text"`
}
DocumentTextContent defines model for DocumentTextContent.
type DocumentURLChunk ¶
type DocumentURLChunk struct {
// DocumentName The filename of the document
DocumentName *string `json:"document_name,omitempty"`
DocumentUrl string `json:"document_url"`
Type *DocumentURLChunkType `json:"type,omitempty"`
}
DocumentURLChunk defines model for DocumentURLChunk.
type DocumentURLChunkType ¶
type DocumentURLChunkType string
DocumentURLChunkType defines model for DocumentURLChunk.Type.
const (
DocumentURLChunkTypeDocumentUrl DocumentURLChunkType = "document_url"
)
Defines values for DocumentURLChunkType.
func (DocumentURLChunkType) Valid ¶
func (e DocumentURLChunkType) Valid() bool
Valid indicates whether the value is a known member of the DocumentURLChunkType enum.
type DocumentUpdateIn ¶
type DocumentUpdateIn struct {
Attributes *map[string]DocumentUpdateIn_Attributes_AdditionalProperties `json:"attributes,omitempty"`
Name *string `json:"name,omitempty"`
}
DocumentUpdateIn defines model for DocumentUpdateIn.
type DocumentUpdateInAttributes0 ¶
type DocumentUpdateInAttributes0 = bool
DocumentUpdateInAttributes0 defines model for DocumentUpdateIn.Attributes.0.
type DocumentUpdateInAttributes1 ¶
type DocumentUpdateInAttributes1 = string
DocumentUpdateInAttributes1 defines model for DocumentUpdateIn.Attributes.1.
type DocumentUpdateInAttributes2 ¶
type DocumentUpdateInAttributes2 = int
DocumentUpdateInAttributes2 defines model for DocumentUpdateIn.Attributes.2.
type DocumentUpdateInAttributes3 ¶
type DocumentUpdateInAttributes3 = float32
DocumentUpdateInAttributes3 defines model for DocumentUpdateIn.Attributes.3.
type DocumentUpdateInAttributes4 ¶
DocumentUpdateInAttributes4 defines model for DocumentUpdateIn.Attributes.4.
type DocumentUpdateInAttributes5 ¶
type DocumentUpdateInAttributes5 = []string
DocumentUpdateInAttributes5 defines model for DocumentUpdateIn.Attributes.5.
type DocumentUpdateInAttributes6 ¶
type DocumentUpdateInAttributes6 = []int
DocumentUpdateInAttributes6 defines model for DocumentUpdateIn.Attributes.6.
type DocumentUpdateInAttributes7 ¶
type DocumentUpdateInAttributes7 = []float32
DocumentUpdateInAttributes7 defines model for DocumentUpdateIn.Attributes.7.
type DocumentUpdateInAttributes8 ¶
type DocumentUpdateInAttributes8 = []bool
DocumentUpdateInAttributes8 defines model for DocumentUpdateIn.Attributes.8.
type DocumentUpdateIn_Attributes_AdditionalProperties ¶
type DocumentUpdateIn_Attributes_AdditionalProperties struct {
// contains filtered or unexported fields
}
DocumentUpdateIn_Attributes_AdditionalProperties defines model for DocumentUpdateIn.attributes.AdditionalProperties.
func (DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes0 ¶
func (t DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes0() (DocumentUpdateInAttributes0, error)
AsDocumentUpdateInAttributes0 returns the union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as a DocumentUpdateInAttributes0
func (DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes1 ¶
func (t DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes1() (DocumentUpdateInAttributes1, error)
AsDocumentUpdateInAttributes1 returns the union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as a DocumentUpdateInAttributes1
func (DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes2 ¶
func (t DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes2() (DocumentUpdateInAttributes2, error)
AsDocumentUpdateInAttributes2 returns the union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as a DocumentUpdateInAttributes2
func (DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes3 ¶
func (t DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes3() (DocumentUpdateInAttributes3, error)
AsDocumentUpdateInAttributes3 returns the union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as a DocumentUpdateInAttributes3
func (DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes4 ¶
func (t DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes4() (DocumentUpdateInAttributes4, error)
AsDocumentUpdateInAttributes4 returns the union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as a DocumentUpdateInAttributes4
func (DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes5 ¶
func (t DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes5() (DocumentUpdateInAttributes5, error)
AsDocumentUpdateInAttributes5 returns the union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as a DocumentUpdateInAttributes5
func (DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes6 ¶
func (t DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes6() (DocumentUpdateInAttributes6, error)
AsDocumentUpdateInAttributes6 returns the union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as a DocumentUpdateInAttributes6
func (DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes7 ¶
func (t DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes7() (DocumentUpdateInAttributes7, error)
AsDocumentUpdateInAttributes7 returns the union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as a DocumentUpdateInAttributes7
func (DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes8 ¶
func (t DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes8() (DocumentUpdateInAttributes8, error)
AsDocumentUpdateInAttributes8 returns the union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as a DocumentUpdateInAttributes8
func (*DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes0 ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes0(v DocumentUpdateInAttributes0) error
FromDocumentUpdateInAttributes0 overwrites any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as the provided DocumentUpdateInAttributes0
func (*DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes1 ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes1(v DocumentUpdateInAttributes1) error
FromDocumentUpdateInAttributes1 overwrites any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as the provided DocumentUpdateInAttributes1
func (*DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes2 ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes2(v DocumentUpdateInAttributes2) error
FromDocumentUpdateInAttributes2 overwrites any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as the provided DocumentUpdateInAttributes2
func (*DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes3 ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes3(v DocumentUpdateInAttributes3) error
FromDocumentUpdateInAttributes3 overwrites any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as the provided DocumentUpdateInAttributes3
func (*DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes4 ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes4(v DocumentUpdateInAttributes4) error
FromDocumentUpdateInAttributes4 overwrites any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as the provided DocumentUpdateInAttributes4
func (*DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes5 ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes5(v DocumentUpdateInAttributes5) error
FromDocumentUpdateInAttributes5 overwrites any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as the provided DocumentUpdateInAttributes5
func (*DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes6 ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes6(v DocumentUpdateInAttributes6) error
FromDocumentUpdateInAttributes6 overwrites any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as the provided DocumentUpdateInAttributes6
func (*DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes7 ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes7(v DocumentUpdateInAttributes7) error
FromDocumentUpdateInAttributes7 overwrites any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as the provided DocumentUpdateInAttributes7
func (*DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes8 ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes8(v DocumentUpdateInAttributes8) error
FromDocumentUpdateInAttributes8 overwrites any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as the provided DocumentUpdateInAttributes8
func (DocumentUpdateIn_Attributes_AdditionalProperties) MarshalJSON ¶
func (t DocumentUpdateIn_Attributes_AdditionalProperties) MarshalJSON() ([]byte, error)
func (*DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes0 ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes0(v DocumentUpdateInAttributes0) error
MergeDocumentUpdateInAttributes0 performs a merge with any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties, using the provided DocumentUpdateInAttributes0
func (*DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes1 ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes1(v DocumentUpdateInAttributes1) error
MergeDocumentUpdateInAttributes1 performs a merge with any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties, using the provided DocumentUpdateInAttributes1
func (*DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes2 ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes2(v DocumentUpdateInAttributes2) error
MergeDocumentUpdateInAttributes2 performs a merge with any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties, using the provided DocumentUpdateInAttributes2
func (*DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes3 ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes3(v DocumentUpdateInAttributes3) error
MergeDocumentUpdateInAttributes3 performs a merge with any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties, using the provided DocumentUpdateInAttributes3
func (*DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes4 ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes4(v DocumentUpdateInAttributes4) error
MergeDocumentUpdateInAttributes4 performs a merge with any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties, using the provided DocumentUpdateInAttributes4
func (*DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes5 ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes5(v DocumentUpdateInAttributes5) error
MergeDocumentUpdateInAttributes5 performs a merge with any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties, using the provided DocumentUpdateInAttributes5
func (*DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes6 ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes6(v DocumentUpdateInAttributes6) error
MergeDocumentUpdateInAttributes6 performs a merge with any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties, using the provided DocumentUpdateInAttributes6
func (*DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes7 ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes7(v DocumentUpdateInAttributes7) error
MergeDocumentUpdateInAttributes7 performs a merge with any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties, using the provided DocumentUpdateInAttributes7
func (*DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes8 ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes8(v DocumentUpdateInAttributes8) error
MergeDocumentUpdateInAttributes8 performs a merge with any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties, using the provided DocumentUpdateInAttributes8
func (*DocumentUpdateIn_Attributes_AdditionalProperties) UnmarshalJSON ¶
func (t *DocumentUpdateIn_Attributes_AdditionalProperties) UnmarshalJSON(b []byte) error
type EmbeddedResource ¶
type EmbeddedResource struct {
UnderscoreMeta *map[string]interface{} `json:"_meta,omitempty"`
Annotations *Annotations `json:"annotations,omitempty"`
Resource EmbeddedResource_Resource `json:"resource"`
Type EmbeddedResourceType `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
EmbeddedResource The contents of a resource, embedded into a prompt or tool call result.
It is up to the client how best to render embedded resources for the benefit of the LLM and/or the user.
func (EmbeddedResource) Get ¶
func (a EmbeddedResource) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for EmbeddedResource. Returns the specified element and whether it was found
func (EmbeddedResource) MarshalJSON ¶
func (a EmbeddedResource) MarshalJSON() ([]byte, error)
Override default JSON handling for EmbeddedResource to handle AdditionalProperties
func (*EmbeddedResource) Set ¶
func (a *EmbeddedResource) Set(fieldName string, value interface{})
Setter for additional properties for EmbeddedResource
func (*EmbeddedResource) UnmarshalJSON ¶
func (a *EmbeddedResource) UnmarshalJSON(b []byte) error
Override default JSON handling for EmbeddedResource to handle AdditionalProperties
type EmbeddedResourceType ¶
type EmbeddedResourceType string
EmbeddedResourceType defines model for EmbeddedResource.Type.
const (
EmbeddedResourceTypeResource EmbeddedResourceType = "resource"
)
Defines values for EmbeddedResourceType.
func (EmbeddedResourceType) Valid ¶
func (e EmbeddedResourceType) Valid() bool
Valid indicates whether the value is a known member of the EmbeddedResourceType enum.
type EmbeddedResource_Resource ¶
type EmbeddedResource_Resource struct {
// contains filtered or unexported fields
}
EmbeddedResource_Resource defines model for EmbeddedResource.Resource.
func (EmbeddedResource_Resource) AsBlobResourceContents ¶
func (t EmbeddedResource_Resource) AsBlobResourceContents() (BlobResourceContents, error)
AsBlobResourceContents returns the union data inside the EmbeddedResource_Resource as a BlobResourceContents
func (EmbeddedResource_Resource) AsTextResourceContents ¶
func (t EmbeddedResource_Resource) AsTextResourceContents() (TextResourceContents, error)
AsTextResourceContents returns the union data inside the EmbeddedResource_Resource as a TextResourceContents
func (*EmbeddedResource_Resource) FromBlobResourceContents ¶
func (t *EmbeddedResource_Resource) FromBlobResourceContents(v BlobResourceContents) error
FromBlobResourceContents overwrites any union data inside the EmbeddedResource_Resource as the provided BlobResourceContents
func (*EmbeddedResource_Resource) FromTextResourceContents ¶
func (t *EmbeddedResource_Resource) FromTextResourceContents(v TextResourceContents) error
FromTextResourceContents overwrites any union data inside the EmbeddedResource_Resource as the provided TextResourceContents
func (EmbeddedResource_Resource) MarshalJSON ¶
func (t EmbeddedResource_Resource) MarshalJSON() ([]byte, error)
func (*EmbeddedResource_Resource) MergeBlobResourceContents ¶
func (t *EmbeddedResource_Resource) MergeBlobResourceContents(v BlobResourceContents) error
MergeBlobResourceContents performs a merge with any union data inside the EmbeddedResource_Resource, using the provided BlobResourceContents
func (*EmbeddedResource_Resource) MergeTextResourceContents ¶
func (t *EmbeddedResource_Resource) MergeTextResourceContents(v TextResourceContents) error
MergeTextResourceContents performs a merge with any union data inside the EmbeddedResource_Resource, using the provided TextResourceContents
func (*EmbeddedResource_Resource) UnmarshalJSON ¶
func (t *EmbeddedResource_Resource) UnmarshalJSON(b []byte) error
type EmbeddingDtype ¶
type EmbeddingDtype string
EmbeddingDtype defines model for EmbeddingDtype.
const ( EmbeddingDtypeBinary EmbeddingDtype = "binary" EmbeddingDtypeFloat EmbeddingDtype = "float" EmbeddingDtypeInt8 EmbeddingDtype = "int8" EmbeddingDtypeUbinary EmbeddingDtype = "ubinary" EmbeddingDtypeUint8 EmbeddingDtype = "uint8" )
Defines values for EmbeddingDtype.
func (EmbeddingDtype) Valid ¶
func (e EmbeddingDtype) Valid() bool
Valid indicates whether the value is a known member of the EmbeddingDtype enum.
type EmbeddingRequest ¶
type EmbeddingRequest struct {
// EncodingFormat The format of embeddings in the response.
EncodingFormat *EncodingFormat `json:"encoding_format,omitempty"`
// Input Text to embed.
Input EmbeddingRequest_Input `json:"input"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
// Model ID of the model to use.
Model string `json:"model"`
// OutputDimension The dimension of the output embeddings when feature available. If not provided, a default output dimension will be used.
OutputDimension *int `json:"output_dimension,omitempty"`
// OutputDtype The data type of the output embeddings when feature available. If not provided, a default output data type will be used.
OutputDtype *EmbeddingDtype `json:"output_dtype,omitempty"`
}
EmbeddingRequest defines model for EmbeddingRequest.
type EmbeddingRequestInput0 ¶
type EmbeddingRequestInput0 = string
EmbeddingRequestInput0 defines model for EmbeddingRequest.Input.0.
type EmbeddingRequestInput1 ¶
type EmbeddingRequestInput1 = []string
EmbeddingRequestInput1 defines model for EmbeddingRequest.Input.1.
type EmbeddingRequest_Input ¶
type EmbeddingRequest_Input struct {
// contains filtered or unexported fields
}
EmbeddingRequest_Input Text to embed.
func (EmbeddingRequest_Input) AsEmbeddingRequestInput0 ¶
func (t EmbeddingRequest_Input) AsEmbeddingRequestInput0() (EmbeddingRequestInput0, error)
AsEmbeddingRequestInput0 returns the union data inside the EmbeddingRequest_Input as a EmbeddingRequestInput0
func (EmbeddingRequest_Input) AsEmbeddingRequestInput1 ¶
func (t EmbeddingRequest_Input) AsEmbeddingRequestInput1() (EmbeddingRequestInput1, error)
AsEmbeddingRequestInput1 returns the union data inside the EmbeddingRequest_Input as a EmbeddingRequestInput1
func (*EmbeddingRequest_Input) FromEmbeddingRequestInput0 ¶
func (t *EmbeddingRequest_Input) FromEmbeddingRequestInput0(v EmbeddingRequestInput0) error
FromEmbeddingRequestInput0 overwrites any union data inside the EmbeddingRequest_Input as the provided EmbeddingRequestInput0
func (*EmbeddingRequest_Input) FromEmbeddingRequestInput1 ¶
func (t *EmbeddingRequest_Input) FromEmbeddingRequestInput1(v EmbeddingRequestInput1) error
FromEmbeddingRequestInput1 overwrites any union data inside the EmbeddingRequest_Input as the provided EmbeddingRequestInput1
func (EmbeddingRequest_Input) MarshalJSON ¶
func (t EmbeddingRequest_Input) MarshalJSON() ([]byte, error)
func (*EmbeddingRequest_Input) MergeEmbeddingRequestInput0 ¶
func (t *EmbeddingRequest_Input) MergeEmbeddingRequestInput0(v EmbeddingRequestInput0) error
MergeEmbeddingRequestInput0 performs a merge with any union data inside the EmbeddingRequest_Input, using the provided EmbeddingRequestInput0
func (*EmbeddingRequest_Input) MergeEmbeddingRequestInput1 ¶
func (t *EmbeddingRequest_Input) MergeEmbeddingRequestInput1(v EmbeddingRequestInput1) error
MergeEmbeddingRequestInput1 performs a merge with any union data inside the EmbeddingRequest_Input, using the provided EmbeddingRequestInput1
func (*EmbeddingRequest_Input) UnmarshalJSON ¶
func (t *EmbeddingRequest_Input) UnmarshalJSON(b []byte) error
type EmbeddingResponse ¶
type EmbeddingResponse struct {
Data []EmbeddingResponseData `json:"data"`
Id string `json:"id"`
Model string `json:"model"`
Object string `json:"object"`
Usage UsageInfo `json:"usage"`
}
EmbeddingResponse defines model for EmbeddingResponse.
type EmbeddingResponseData ¶
type EmbeddingResponseData struct {
Embedding *[]float32 `json:"embedding,omitempty"`
Index *int `json:"index,omitempty"`
Object *string `json:"object,omitempty"`
}
EmbeddingResponseData Examples: {"embedding":[0.1,0.2,0.3],"index":0,"object":"embedding"}, {"embedding":[0.4,0.5,0.6],"index":1,"object":"embedding"}
type EmbeddingsV1EmbeddingsPostJSONRequestBody ¶
type EmbeddingsV1EmbeddingsPostJSONRequestBody = EmbeddingRequest
EmbeddingsV1EmbeddingsPostJSONRequestBody defines body for EmbeddingsV1EmbeddingsPost for application/json ContentType.
type EmbeddingsV1EmbeddingsPostResponse ¶
type EmbeddingsV1EmbeddingsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EmbeddingResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseEmbeddingsV1EmbeddingsPostResponse ¶
func ParseEmbeddingsV1EmbeddingsPostResponse(rsp *http.Response) (*EmbeddingsV1EmbeddingsPostResponse, error)
ParseEmbeddingsV1EmbeddingsPostResponse parses an HTTP response from a EmbeddingsV1EmbeddingsPostWithResponse call
func (EmbeddingsV1EmbeddingsPostResponse) ContentType ¶
func (r EmbeddingsV1EmbeddingsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EmbeddingsV1EmbeddingsPostResponse) GetBody ¶
func (r EmbeddingsV1EmbeddingsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EmbeddingsV1EmbeddingsPostResponse) GetJSON200 ¶
func (r EmbeddingsV1EmbeddingsPostResponse) GetJSON200() *EmbeddingResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EmbeddingsV1EmbeddingsPostResponse) GetJSON422 ¶
func (r EmbeddingsV1EmbeddingsPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (EmbeddingsV1EmbeddingsPostResponse) Status ¶
func (r EmbeddingsV1EmbeddingsPostResponse) Status() string
Status returns HTTPResponse.Status
func (EmbeddingsV1EmbeddingsPostResponse) StatusCode ¶
func (r EmbeddingsV1EmbeddingsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EncodedPayloadOptions ¶
type EncodedPayloadOptions string
EncodedPayloadOptions defines model for EncodedPayloadOptions.
const ( EncodedPayloadOptionsEncrypted EncodedPayloadOptions = "encrypted" EncodedPayloadOptionsEncryptedPartial EncodedPayloadOptions = "encrypted-partial" EncodedPayloadOptionsOffloaded EncodedPayloadOptions = "offloaded" )
Defines values for EncodedPayloadOptions.
func (EncodedPayloadOptions) Valid ¶
func (e EncodedPayloadOptions) Valid() bool
Valid indicates whether the value is a known member of the EncodedPayloadOptions enum.
type EncodingFormat ¶
type EncodingFormat string
EncodingFormat defines model for EncodingFormat.
const ( EncodingFormatBase64 EncodingFormat = "base64" EncodingFormatFloat EncodingFormat = "float" )
Defines values for EncodingFormat.
func (EncodingFormat) Valid ¶
func (e EncodingFormat) Valid() bool
Valid indicates whether the value is a known member of the EncodingFormat enum.
type EntityType ¶
type EntityType string
EntityType The type of entity, used to share a library.
const ( EntityTypeOrg EntityType = "Org" EntityTypeUser EntityType = "User" EntityTypeWorkspace EntityType = "Workspace" )
Defines values for EntityType.
func (EntityType) Valid ¶
func (e EntityType) Valid() bool
Valid indicates whether the value is a known member of the EntityType enum.
type EventOut ¶
type EventOut struct {
// CreatedAt The UNIX timestamp (in seconds) of the event.
CreatedAt int `json:"created_at"`
Data *map[string]interface{} `json:"data,omitempty"`
// Name The name of the event.
Name string `json:"name"`
}
EventOut defines model for EventOut.
type EventProgressStatus ¶
type EventProgressStatus string
EventProgressStatus defines model for EventProgressStatus.
const ( EventProgressStatusCOMPLETED EventProgressStatus = "COMPLETED" EventProgressStatusFAILED EventProgressStatus = "FAILED" EventProgressStatusRUNNING EventProgressStatus = "RUNNING" )
Defines values for EventProgressStatus.
func (EventProgressStatus) Valid ¶
func (e EventProgressStatus) Valid() bool
Valid indicates whether the value is a known member of the EventProgressStatus enum.
type EventSource ¶
type EventSource string
EventSource defines model for EventSource.
const ( EventSourceDATABASE EventSource = "DATABASE" EventSourceLIVE EventSource = "LIVE" )
Defines values for EventSource.
func (EventSource) Valid ¶
func (e EventSource) Valid() bool
Valid indicates whether the value is a known member of the EventSource enum.
type EventType ¶
type EventType string
EventType defines model for EventType.
Defines values for EventType.
type ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody ¶
type ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody struct {
// contains filtered or unexported fields
}
ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody defines parameters for ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost.
func (ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) AsWorkflowExecutionResponse ¶
func (t ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) AsWorkflowExecutionResponse() (WorkflowExecutionResponse, error)
AsWorkflowExecutionResponse returns the union data inside the ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody as a WorkflowExecutionResponse
func (ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) AsWorkflowExecutionSyncResponse ¶
func (t ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) AsWorkflowExecutionSyncResponse() (WorkflowExecutionSyncResponse, error)
AsWorkflowExecutionSyncResponse returns the union data inside the ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody as a WorkflowExecutionSyncResponse
func (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) FromWorkflowExecutionResponse ¶
func (t *ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) FromWorkflowExecutionResponse(v WorkflowExecutionResponse) error
FromWorkflowExecutionResponse overwrites any union data inside the ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody as the provided WorkflowExecutionResponse
func (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) FromWorkflowExecutionSyncResponse ¶
func (t *ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) FromWorkflowExecutionSyncResponse(v WorkflowExecutionSyncResponse) error
FromWorkflowExecutionSyncResponse overwrites any union data inside the ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody as the provided WorkflowExecutionSyncResponse
func (ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) MarshalJSON ¶
func (t ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) MergeWorkflowExecutionResponse ¶
func (t *ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) MergeWorkflowExecutionResponse(v WorkflowExecutionResponse) error
MergeWorkflowExecutionResponse performs a merge with any union data inside the ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody, using the provided WorkflowExecutionResponse
func (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) MergeWorkflowExecutionSyncResponse ¶
func (t *ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) MergeWorkflowExecutionSyncResponse(v WorkflowExecutionSyncResponse) error
MergeWorkflowExecutionSyncResponse performs a merge with any union data inside the ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody, using the provided WorkflowExecutionSyncResponse
func (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) UnmarshalJSON ¶
func (t *ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) UnmarshalJSON(b []byte) error
type ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostJSONRequestBody
deprecated
type ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostJSONRequestBody = WorkflowExecutionRequest
ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostJSONRequestBody defines body for ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost for application/json ContentType.
Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set
type ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse ¶
type ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse ¶
func ParseExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse(rsp *http.Response) (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse, error)
ParseExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse parses an HTTP response from a ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithResponse call
func (ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) ContentType ¶
func (r ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) GetBody ¶
func (r ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) GetJSON200 ¶
func (r ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) GetJSON200() *ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) GetJSON422 ¶
func (r ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) Status ¶
func (r ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) Status() string
Status returns HTTPResponse.Status
func (ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) StatusCode ¶
func (r ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody ¶
type ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody struct {
// contains filtered or unexported fields
}
ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody defines parameters for ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost.
func (ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) AsWorkflowExecutionResponse ¶
func (t ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) AsWorkflowExecutionResponse() (WorkflowExecutionResponse, error)
AsWorkflowExecutionResponse returns the union data inside the ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody as a WorkflowExecutionResponse
func (ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) AsWorkflowExecutionSyncResponse ¶
func (t ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) AsWorkflowExecutionSyncResponse() (WorkflowExecutionSyncResponse, error)
AsWorkflowExecutionSyncResponse returns the union data inside the ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody as a WorkflowExecutionSyncResponse
func (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) FromWorkflowExecutionResponse ¶
func (t *ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) FromWorkflowExecutionResponse(v WorkflowExecutionResponse) error
FromWorkflowExecutionResponse overwrites any union data inside the ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody as the provided WorkflowExecutionResponse
func (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) FromWorkflowExecutionSyncResponse ¶
func (t *ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) FromWorkflowExecutionSyncResponse(v WorkflowExecutionSyncResponse) error
FromWorkflowExecutionSyncResponse overwrites any union data inside the ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody as the provided WorkflowExecutionSyncResponse
func (ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) MarshalJSON ¶
func (t ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) MergeWorkflowExecutionResponse ¶
func (t *ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) MergeWorkflowExecutionResponse(v WorkflowExecutionResponse) error
MergeWorkflowExecutionResponse performs a merge with any union data inside the ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody, using the provided WorkflowExecutionResponse
func (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) MergeWorkflowExecutionSyncResponse ¶
func (t *ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) MergeWorkflowExecutionSyncResponse(v WorkflowExecutionSyncResponse) error
MergeWorkflowExecutionSyncResponse performs a merge with any union data inside the ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody, using the provided WorkflowExecutionSyncResponse
func (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) UnmarshalJSON ¶
func (t *ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) UnmarshalJSON(b []byte) error
type ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostJSONRequestBody ¶
type ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostJSONRequestBody = WorkflowExecutionRequest
ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostJSONRequestBody defines body for ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost for application/json ContentType.
type ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse ¶
type ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse ¶
func ParseExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse(rsp *http.Response) (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse, error)
ParseExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse parses an HTTP response from a ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithResponse call
func (ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) ContentType ¶
func (r ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) GetBody ¶
func (r ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) GetJSON200 ¶
func (r ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) GetJSON200() *ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) GetJSON422 ¶
func (r ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) Status ¶
func (r ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) Status() string
Status returns HTTPResponse.Status
func (ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) StatusCode ¶
func (r ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExecutionConfig ¶
type ExecutionConfig struct {
Type string `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ExecutionConfig Not typed since mcp config can changed / not stable we allow all extra fields and this is a dict TODO: once mcp is stable, we need to type this
func (ExecutionConfig) Get ¶
func (a ExecutionConfig) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ExecutionConfig. Returns the specified element and whether it was found
func (ExecutionConfig) MarshalJSON ¶
func (a ExecutionConfig) MarshalJSON() ([]byte, error)
Override default JSON handling for ExecutionConfig to handle AdditionalProperties
func (*ExecutionConfig) Set ¶
func (a *ExecutionConfig) Set(fieldName string, value interface{})
Setter for additional properties for ExecutionConfig
func (*ExecutionConfig) UnmarshalJSON ¶
func (a *ExecutionConfig) UnmarshalJSON(b []byte) error
Override default JSON handling for ExecutionConfig to handle AdditionalProperties
type ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse ¶
type ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DatasetExport
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse ¶
func ParseExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse(rsp *http.Response) (*ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse, error)
ParseExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse parses an HTTP response from a ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetWithResponse call
func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) ContentType ¶
func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetBody ¶
func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON200 ¶
func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON200() *DatasetExport
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON400 ¶
func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON404 ¶
func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON408 ¶
func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON409 ¶
func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON422 ¶
func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) Status ¶
func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) Status() string
Status returns HTTPResponse.Status
func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) StatusCode ¶
func (r ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FIMCompletionRequest ¶
type FIMCompletionRequest struct {
// MaxTokens The maximum number of tokens to generate in the completion. The token count of your prompt plus `max_tokens` cannot exceed the model's context length.
MaxTokens *int `json:"max_tokens,omitempty"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
// MinTokens The minimum number of tokens to generate in the completion.
MinTokens *int `json:"min_tokens,omitempty"`
// Model ID of the model with FIM to use.
//
// Examples: codestral-latest
Model string `json:"model"`
// Prompt The text/code to complete.
//
// Examples: def
Prompt string `json:"prompt"`
// PromptCacheKey A cache key to enable prompt caching. When provided, the API will attempt to reuse previously computed tokens for requests sharing the same prefix (e.g. multi-turn conversations or requests with a similar system prompt). Cached tokens are billed at 10% of the standard input token price.
PromptCacheKey *string `json:"prompt_cache_key,omitempty"`
// RandomSeed The seed to use for random sampling. If set, different calls will generate deterministic results.
RandomSeed *int `json:"random_seed,omitempty"`
// Stop Stop generation if this token is detected. Or if one of these tokens is detected when providing an array
Stop *FIMCompletionRequest_Stop `json:"stop,omitempty"`
// Stream Whether to stream back partial progress. If set, tokens will be sent as data-only server-side events as they become available, with the stream terminated by a data: [DONE] message. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
Stream *bool `json:"stream,omitempty"`
// Suffix Optional text/code that adds more context for the model. When given a `prompt` and a `suffix` the model will fill what is between them. When `suffix` is not provided, the model will simply execute completion starting with `prompt`.
//
// Examples: return a+b
Suffix *string `json:"suffix,omitempty"`
// Temperature What sampling temperature to use, we recommend between 0.0 and 0.7. Higher values like 0.7 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or `top_p` but not both. The default value varies depending on the model you are targeting. Call the `/models` endpoint to retrieve the appropriate value.
Temperature *float32 `json:"temperature,omitempty"`
// TopP Nucleus sampling, where the model considers the results of the tokens with `top_p` probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or `temperature` but not both.
TopP *float32 `json:"top_p,omitempty"`
}
FIMCompletionRequest defines model for FIMCompletionRequest.
type FIMCompletionRequestStop0 ¶
type FIMCompletionRequestStop0 = string
FIMCompletionRequestStop0 defines model for FIMCompletionRequest.Stop.0.
type FIMCompletionRequestStop1 ¶
type FIMCompletionRequestStop1 = []string
FIMCompletionRequestStop1 defines model for FIMCompletionRequest.Stop.1.
type FIMCompletionRequest_Stop ¶
type FIMCompletionRequest_Stop struct {
// contains filtered or unexported fields
}
FIMCompletionRequest_Stop Stop generation if this token is detected. Or if one of these tokens is detected when providing an array
func (FIMCompletionRequest_Stop) AsFIMCompletionRequestStop0 ¶
func (t FIMCompletionRequest_Stop) AsFIMCompletionRequestStop0() (FIMCompletionRequestStop0, error)
AsFIMCompletionRequestStop0 returns the union data inside the FIMCompletionRequest_Stop as a FIMCompletionRequestStop0
func (FIMCompletionRequest_Stop) AsFIMCompletionRequestStop1 ¶
func (t FIMCompletionRequest_Stop) AsFIMCompletionRequestStop1() (FIMCompletionRequestStop1, error)
AsFIMCompletionRequestStop1 returns the union data inside the FIMCompletionRequest_Stop as a FIMCompletionRequestStop1
func (*FIMCompletionRequest_Stop) FromFIMCompletionRequestStop0 ¶
func (t *FIMCompletionRequest_Stop) FromFIMCompletionRequestStop0(v FIMCompletionRequestStop0) error
FromFIMCompletionRequestStop0 overwrites any union data inside the FIMCompletionRequest_Stop as the provided FIMCompletionRequestStop0
func (*FIMCompletionRequest_Stop) FromFIMCompletionRequestStop1 ¶
func (t *FIMCompletionRequest_Stop) FromFIMCompletionRequestStop1(v FIMCompletionRequestStop1) error
FromFIMCompletionRequestStop1 overwrites any union data inside the FIMCompletionRequest_Stop as the provided FIMCompletionRequestStop1
func (FIMCompletionRequest_Stop) MarshalJSON ¶
func (t FIMCompletionRequest_Stop) MarshalJSON() ([]byte, error)
func (*FIMCompletionRequest_Stop) MergeFIMCompletionRequestStop0 ¶
func (t *FIMCompletionRequest_Stop) MergeFIMCompletionRequestStop0(v FIMCompletionRequestStop0) error
MergeFIMCompletionRequestStop0 performs a merge with any union data inside the FIMCompletionRequest_Stop, using the provided FIMCompletionRequestStop0
func (*FIMCompletionRequest_Stop) MergeFIMCompletionRequestStop1 ¶
func (t *FIMCompletionRequest_Stop) MergeFIMCompletionRequestStop1(v FIMCompletionRequestStop1) error
MergeFIMCompletionRequestStop1 performs a merge with any union data inside the FIMCompletionRequest_Stop, using the provided FIMCompletionRequestStop1
func (*FIMCompletionRequest_Stop) UnmarshalJSON ¶
func (t *FIMCompletionRequest_Stop) UnmarshalJSON(b []byte) error
type FIMCompletionResponse ¶
type FIMCompletionResponse struct {
Choices []ChatCompletionChoice `json:"choices"`
Created int `json:"created"`
Id string `json:"id"`
Model string `json:"model"`
Object string `json:"object"`
Usage UsageInfo `json:"usage"`
}
FIMCompletionResponse defines model for FIMCompletionResponse.
type FTClassifierLossFunction ¶
type FTClassifierLossFunction string
FTClassifierLossFunction defines model for FTClassifierLossFunction.
const ( FTClassifierLossFunctionMultiClass FTClassifierLossFunction = "multi_class" FTClassifierLossFunctionSingleClass FTClassifierLossFunction = "single_class" )
Defines values for FTClassifierLossFunction.
func (FTClassifierLossFunction) Valid ¶
func (e FTClassifierLossFunction) Valid() bool
Valid indicates whether the value is a known member of the FTClassifierLossFunction enum.
type FTModelCapabilitiesOut ¶
type FTModelCapabilitiesOut struct {
Classification *bool `json:"classification,omitempty"`
CompletionChat *bool `json:"completion_chat,omitempty"`
CompletionFim *bool `json:"completion_fim,omitempty"`
FineTuning *bool `json:"fine_tuning,omitempty"`
FunctionCalling *bool `json:"function_calling,omitempty"`
}
FTModelCapabilitiesOut defines model for FTModelCapabilitiesOut.
type FTModelCard ¶
type FTModelCard struct {
Aliases *[]string `json:"aliases,omitempty"`
Archived *bool `json:"archived,omitempty"`
Capabilities ModelCapabilities `json:"capabilities"`
Created *int `json:"created,omitempty"`
DefaultModelTemperature *float32 `json:"default_model_temperature,omitempty"`
Deprecation *time.Time `json:"deprecation,omitempty"`
DeprecationReplacementModel *string `json:"deprecation_replacement_model,omitempty"`
Description *string `json:"description,omitempty"`
Id string `json:"id"`
Job string `json:"job"`
MaxContextLength *int `json:"max_context_length,omitempty"`
Name *string `json:"name,omitempty"`
Object *string `json:"object,omitempty"`
OwnedBy *string `json:"owned_by,omitempty"`
Root string `json:"root"`
Type *FTModelCardType `json:"type,omitempty"`
}
FTModelCard Extra fields for fine-tuned models.
type FTModelCardType ¶
type FTModelCardType string
FTModelCardType defines model for FTModelCard.Type.
const (
FTModelCardTypeFineTuned FTModelCardType = "fine-tuned"
)
Defines values for FTModelCardType.
func (FTModelCardType) Valid ¶
func (e FTModelCardType) Valid() bool
Valid indicates whether the value is a known member of the FTModelCardType enum.
type Failure ¶
type Failure struct {
// Message A human-readable description of the failure.
Message string `json:"message"`
}
Failure Represents an error or exception that occurred during execution.
type FeedResultChatCompletionEventPreview ¶
type FeedResultChatCompletionEventPreview struct {
Cursor *string `json:"cursor,omitempty"`
Next *string `json:"next,omitempty"`
Results *[]ChatCompletionEventPreview `json:"results,omitempty"`
}
FeedResultChatCompletionEventPreview defines model for FeedResult_ChatCompletionEventPreview_.
type FieldGroup ¶
FieldGroup defines model for FieldGroup.
type FieldOptionCountItem ¶
FieldOptionCountItem defines model for FieldOptionCountItem.
type FieldOptionCounts ¶
type FieldOptionCounts struct {
Counts []FieldOptionCountItem `json:"counts"`
}
FieldOptionCounts defines model for FieldOptionCounts.
type FieldOptionCountsInSchema ¶
type FieldOptionCountsInSchema struct {
FilterParams *FilterPayload `json:"filter_params,omitempty"`
}
FieldOptionCountsInSchema defines model for FieldOptionCountsInSchema.
type File ¶
type File = openapi_types.File
File The File object (not file name) to be uploaded.
To upload a file and specify a custom file name you should format your request as such: ```bash file=@path/to/your/file.jsonl;filename=custom_name.jsonl ``` Otherwise, you can just keep the original file name: ```bash file=@path/to/your/file.jsonl ```
type FileChunk ¶
type FileChunk struct {
FileId openapi_types.UUID `json:"file_id"`
Type *FileChunkType `json:"type,omitempty"`
}
FileChunk defines model for FileChunk.
type FileChunkType ¶
type FileChunkType string
FileChunkType defines model for FileChunk.Type.
const (
FileChunkTypeFile FileChunkType = "file"
)
Defines values for FileChunkType.
func (FileChunkType) Valid ¶
func (e FileChunkType) Valid() bool
Valid indicates whether the value is a known member of the FileChunkType enum.
type FilePurpose ¶
type FilePurpose string
FilePurpose defines model for FilePurpose.
const ( FilePurposeBatch FilePurpose = "batch" FilePurposeFineTune FilePurpose = "fine-tune" FilePurposeOcr FilePurpose = "ocr" )
Defines values for FilePurpose.
func (FilePurpose) Valid ¶
func (e FilePurpose) Valid() bool
Valid indicates whether the value is a known member of the FilePurpose enum.
type FileSchema ¶
type FileSchema struct {
// Bytes The size of the file, in bytes.
//
// Examples: 13000
Bytes int `json:"bytes"`
// CreatedAt The UNIX timestamp (in seconds) of the event.
//
// Examples: 1716963433
CreatedAt int `json:"created_at"`
ExpiresAt *int `json:"expires_at,omitempty"`
// Filename The name of the uploaded file.
//
// Examples: files_upload.jsonl
Filename string `json:"filename"`
// Id The unique identifier of the file.
//
// Examples: 497f6eca-6276-4993-bfeb-53cbbbba6f09
Id openapi_types.UUID `json:"id"`
Mimetype *string `json:"mimetype,omitempty"`
NumLines *int `json:"num_lines,omitempty"`
// Object The object type, which is always "file".
//
// Examples: file
Object string `json:"object"`
// Purpose The intended purpose of the uploaded file, currently supports fine-tuning (`fine-tune`), OCR (`ocr`), Audio/Transcription (`audio`) and batch inference (`batch`).
//
// Examples: fine-tune, ocr, batch, audio
Purpose FilePurpose `json:"purpose"`
SampleType SampleType `json:"sample_type"`
Signature *string `json:"signature,omitempty"`
Source Source `json:"source"`
Visibility *FileVisibility `json:"visibility,omitempty"`
}
FileSchema defines model for FileSchema.
type FileSignedURL ¶
type FileSignedURL struct {
Url string `json:"url"`
}
FileSignedURL defines model for FileSignedURL.
type FileVisibility ¶
type FileVisibility string
FileVisibility defines model for FileVisibility.
const ( FileVisibilityUser FileVisibility = "user" FileVisibilityWorkspace FileVisibility = "workspace" )
Defines values for FileVisibility.
func (FileVisibility) Valid ¶
func (e FileVisibility) Valid() bool
Valid indicates whether the value is a known member of the FileVisibility enum.
type FilesApiRoutesDeleteFileResponse ¶
type FilesApiRoutesDeleteFileResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeleteFileOut
}
func ParseFilesApiRoutesDeleteFileResponse ¶
func ParseFilesApiRoutesDeleteFileResponse(rsp *http.Response) (*FilesApiRoutesDeleteFileResponse, error)
ParseFilesApiRoutesDeleteFileResponse parses an HTTP response from a FilesApiRoutesDeleteFileWithResponse call
func (FilesApiRoutesDeleteFileResponse) ContentType ¶
func (r FilesApiRoutesDeleteFileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FilesApiRoutesDeleteFileResponse) GetBody ¶
func (r FilesApiRoutesDeleteFileResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FilesApiRoutesDeleteFileResponse) GetJSON200 ¶
func (r FilesApiRoutesDeleteFileResponse) GetJSON200() *DeleteFileOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (FilesApiRoutesDeleteFileResponse) Status ¶
func (r FilesApiRoutesDeleteFileResponse) Status() string
Status returns HTTPResponse.Status
func (FilesApiRoutesDeleteFileResponse) StatusCode ¶
func (r FilesApiRoutesDeleteFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FilesApiRoutesDownloadFileResponse ¶
func ParseFilesApiRoutesDownloadFileResponse ¶
func ParseFilesApiRoutesDownloadFileResponse(rsp *http.Response) (*FilesApiRoutesDownloadFileResponse, error)
ParseFilesApiRoutesDownloadFileResponse parses an HTTP response from a FilesApiRoutesDownloadFileWithResponse call
func (FilesApiRoutesDownloadFileResponse) ContentType ¶
func (r FilesApiRoutesDownloadFileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FilesApiRoutesDownloadFileResponse) GetBody ¶
func (r FilesApiRoutesDownloadFileResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FilesApiRoutesDownloadFileResponse) Status ¶
func (r FilesApiRoutesDownloadFileResponse) Status() string
Status returns HTTPResponse.Status
func (FilesApiRoutesDownloadFileResponse) StatusCode ¶
func (r FilesApiRoutesDownloadFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FilesApiRoutesGetSignedUrlParams ¶
type FilesApiRoutesGetSignedUrlParams struct {
// Expiry Number of hours before the url becomes invalid. Defaults to 24h
Expiry *int `form:"expiry,omitempty" json:"expiry,omitempty"`
}
FilesApiRoutesGetSignedUrlParams defines parameters for FilesApiRoutesGetSignedUrl.
type FilesApiRoutesGetSignedUrlResponse ¶
type FilesApiRoutesGetSignedUrlResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FileSignedURL
}
func ParseFilesApiRoutesGetSignedUrlResponse ¶
func ParseFilesApiRoutesGetSignedUrlResponse(rsp *http.Response) (*FilesApiRoutesGetSignedUrlResponse, error)
ParseFilesApiRoutesGetSignedUrlResponse parses an HTTP response from a FilesApiRoutesGetSignedUrlWithResponse call
func (FilesApiRoutesGetSignedUrlResponse) ContentType ¶
func (r FilesApiRoutesGetSignedUrlResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FilesApiRoutesGetSignedUrlResponse) GetBody ¶
func (r FilesApiRoutesGetSignedUrlResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FilesApiRoutesGetSignedUrlResponse) GetJSON200 ¶
func (r FilesApiRoutesGetSignedUrlResponse) GetJSON200() *FileSignedURL
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (FilesApiRoutesGetSignedUrlResponse) Status ¶
func (r FilesApiRoutesGetSignedUrlResponse) Status() string
Status returns HTTPResponse.Status
func (FilesApiRoutesGetSignedUrlResponse) StatusCode ¶
func (r FilesApiRoutesGetSignedUrlResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FilesApiRoutesListFilesParams ¶
type FilesApiRoutesListFilesParams struct {
Page *int `form:"page,omitempty" json:"page,omitempty"`
PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
IncludeTotal *bool `form:"include_total,omitempty" json:"include_total,omitempty"`
SampleType *[]SampleType `form:"sample_type,omitempty" json:"sample_type,omitempty"`
Source *[]Source `form:"source,omitempty" json:"source,omitempty"`
Search *string `form:"search,omitempty" json:"search,omitempty"`
Purpose *FilePurpose `form:"purpose,omitempty" json:"purpose,omitempty"`
Mimetypes *[]string `form:"mimetypes,omitempty" json:"mimetypes,omitempty"`
}
FilesApiRoutesListFilesParams defines parameters for FilesApiRoutesListFiles.
type FilesApiRoutesListFilesResponse ¶
type FilesApiRoutesListFilesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListFilesOut
}
func ParseFilesApiRoutesListFilesResponse ¶
func ParseFilesApiRoutesListFilesResponse(rsp *http.Response) (*FilesApiRoutesListFilesResponse, error)
ParseFilesApiRoutesListFilesResponse parses an HTTP response from a FilesApiRoutesListFilesWithResponse call
func (FilesApiRoutesListFilesResponse) ContentType ¶
func (r FilesApiRoutesListFilesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FilesApiRoutesListFilesResponse) GetBody ¶
func (r FilesApiRoutesListFilesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FilesApiRoutesListFilesResponse) GetJSON200 ¶
func (r FilesApiRoutesListFilesResponse) GetJSON200() *ListFilesOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (FilesApiRoutesListFilesResponse) Status ¶
func (r FilesApiRoutesListFilesResponse) Status() string
Status returns HTTPResponse.Status
func (FilesApiRoutesListFilesResponse) StatusCode ¶
func (r FilesApiRoutesListFilesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FilesApiRoutesRetrieveFileResponse ¶
type FilesApiRoutesRetrieveFileResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RetrieveFileOut
}
func ParseFilesApiRoutesRetrieveFileResponse ¶
func ParseFilesApiRoutesRetrieveFileResponse(rsp *http.Response) (*FilesApiRoutesRetrieveFileResponse, error)
ParseFilesApiRoutesRetrieveFileResponse parses an HTTP response from a FilesApiRoutesRetrieveFileWithResponse call
func (FilesApiRoutesRetrieveFileResponse) ContentType ¶
func (r FilesApiRoutesRetrieveFileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FilesApiRoutesRetrieveFileResponse) GetBody ¶
func (r FilesApiRoutesRetrieveFileResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FilesApiRoutesRetrieveFileResponse) GetJSON200 ¶
func (r FilesApiRoutesRetrieveFileResponse) GetJSON200() *RetrieveFileOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (FilesApiRoutesRetrieveFileResponse) Status ¶
func (r FilesApiRoutesRetrieveFileResponse) Status() string
Status returns HTTPResponse.Status
func (FilesApiRoutesRetrieveFileResponse) StatusCode ¶
func (r FilesApiRoutesRetrieveFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FilesApiRoutesUploadFileMultipartBody ¶
type FilesApiRoutesUploadFileMultipartBody struct {
Expiry *int `json:"expiry,omitempty"`
// File The File object (not file name) to be uploaded.
// To upload a file and specify a custom file name you should format your request as such:
// “`bash
// file=@path/to/your/file.jsonl;filename=custom_name.jsonl
// “`
// Otherwise, you can just keep the original file name:
// “`bash
// file=@path/to/your/file.jsonl
// “`
File File `json:"file"`
Purpose *FilePurpose `json:"purpose,omitempty"`
Visibility *FilesApiRoutesUploadFileMultipartBodyVisibility `json:"visibility,omitempty"`
}
FilesApiRoutesUploadFileMultipartBody defines parameters for FilesApiRoutesUploadFile.
type FilesApiRoutesUploadFileMultipartBodyVisibility ¶
type FilesApiRoutesUploadFileMultipartBodyVisibility string
FilesApiRoutesUploadFileMultipartBodyVisibility defines parameters for FilesApiRoutesUploadFile.
const ( FilesApiRoutesUploadFileMultipartBodyVisibilityUser FilesApiRoutesUploadFileMultipartBodyVisibility = "user" FilesApiRoutesUploadFileMultipartBodyVisibilityWorkspace FilesApiRoutesUploadFileMultipartBodyVisibility = "workspace" )
Defines values for FilesApiRoutesUploadFileMultipartBodyVisibility.
func (FilesApiRoutesUploadFileMultipartBodyVisibility) Valid ¶
func (e FilesApiRoutesUploadFileMultipartBodyVisibility) Valid() bool
Valid indicates whether the value is a known member of the FilesApiRoutesUploadFileMultipartBodyVisibility enum.
type FilesApiRoutesUploadFileMultipartRequestBody ¶
type FilesApiRoutesUploadFileMultipartRequestBody FilesApiRoutesUploadFileMultipartBody
FilesApiRoutesUploadFileMultipartRequestBody defines body for FilesApiRoutesUploadFile for multipart/form-data ContentType.
type FilesApiRoutesUploadFileResponse ¶
type FilesApiRoutesUploadFileResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UploadFileOut
}
func ParseFilesApiRoutesUploadFileResponse ¶
func ParseFilesApiRoutesUploadFileResponse(rsp *http.Response) (*FilesApiRoutesUploadFileResponse, error)
ParseFilesApiRoutesUploadFileResponse parses an HTTP response from a FilesApiRoutesUploadFileWithResponse call
func (FilesApiRoutesUploadFileResponse) ContentType ¶
func (r FilesApiRoutesUploadFileResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FilesApiRoutesUploadFileResponse) GetBody ¶
func (r FilesApiRoutesUploadFileResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FilesApiRoutesUploadFileResponse) GetJSON200 ¶
func (r FilesApiRoutesUploadFileResponse) GetJSON200() *UploadFileOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (FilesApiRoutesUploadFileResponse) Status ¶
func (r FilesApiRoutesUploadFileResponse) Status() string
Status returns HTTPResponse.Status
func (FilesApiRoutesUploadFileResponse) StatusCode ¶
func (r FilesApiRoutesUploadFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FilterCondition ¶
type FilterCondition struct {
Field string `json:"field"`
Op FilterConditionOp `json:"op"`
Value interface{} `json:"value"`
}
FilterCondition defines model for FilterCondition.
type FilterConditionOp ¶
type FilterConditionOp string
FilterConditionOp defines model for FilterCondition.Op.
const ( FilterConditionOpContains FilterConditionOp = "contains" FilterConditionOpEndswith FilterConditionOp = "endswith" FilterConditionOpEq FilterConditionOp = "eq" FilterConditionOpExcludes FilterConditionOp = "excludes" FilterConditionOpGt FilterConditionOp = "gt" FilterConditionOpGte FilterConditionOp = "gte" FilterConditionOpIcontains FilterConditionOp = "icontains" FilterConditionOpIendswith FilterConditionOp = "iendswith" FilterConditionOpIncludes FilterConditionOp = "includes" FilterConditionOpInotcontains FilterConditionOp = "inotcontains" FilterConditionOpIsnull FilterConditionOp = "isnull" FilterConditionOpIstartswith FilterConditionOp = "istartswith" FilterConditionOpLenEq FilterConditionOp = "len_eq" FilterConditionOpLt FilterConditionOp = "lt" FilterConditionOpLte FilterConditionOp = "lte" FilterConditionOpMatches FilterConditionOp = "matches" FilterConditionOpNeq FilterConditionOp = "neq" FilterConditionOpNotcontains FilterConditionOp = "notcontains" FilterConditionOpStartswith FilterConditionOp = "startswith" )
Defines values for FilterConditionOp.
func (FilterConditionOp) Valid ¶
func (e FilterConditionOp) Valid() bool
Valid indicates whether the value is a known member of the FilterConditionOp enum.
type FilterGroup ¶
type FilterGroup struct {
AND *[]FilterGroup_AND_Item `json:"AND,omitempty"`
OR *[]FilterGroup_OR_Item `json:"OR,omitempty"`
}
FilterGroup defines model for FilterGroup.
type FilterGroup_AND_Item ¶
type FilterGroup_AND_Item struct {
// contains filtered or unexported fields
}
FilterGroup_AND_Item defines model for FilterGroup.AND.Item.
func (FilterGroup_AND_Item) AsFilterCondition ¶
func (t FilterGroup_AND_Item) AsFilterCondition() (FilterCondition, error)
AsFilterCondition returns the union data inside the FilterGroup_AND_Item as a FilterCondition
func (FilterGroup_AND_Item) AsFilterGroup ¶
func (t FilterGroup_AND_Item) AsFilterGroup() (FilterGroup, error)
AsFilterGroup returns the union data inside the FilterGroup_AND_Item as a FilterGroup
func (*FilterGroup_AND_Item) FromFilterCondition ¶
func (t *FilterGroup_AND_Item) FromFilterCondition(v FilterCondition) error
FromFilterCondition overwrites any union data inside the FilterGroup_AND_Item as the provided FilterCondition
func (*FilterGroup_AND_Item) FromFilterGroup ¶
func (t *FilterGroup_AND_Item) FromFilterGroup(v FilterGroup) error
FromFilterGroup overwrites any union data inside the FilterGroup_AND_Item as the provided FilterGroup
func (FilterGroup_AND_Item) MarshalJSON ¶
func (t FilterGroup_AND_Item) MarshalJSON() ([]byte, error)
func (*FilterGroup_AND_Item) MergeFilterCondition ¶
func (t *FilterGroup_AND_Item) MergeFilterCondition(v FilterCondition) error
MergeFilterCondition performs a merge with any union data inside the FilterGroup_AND_Item, using the provided FilterCondition
func (*FilterGroup_AND_Item) MergeFilterGroup ¶
func (t *FilterGroup_AND_Item) MergeFilterGroup(v FilterGroup) error
MergeFilterGroup performs a merge with any union data inside the FilterGroup_AND_Item, using the provided FilterGroup
func (*FilterGroup_AND_Item) UnmarshalJSON ¶
func (t *FilterGroup_AND_Item) UnmarshalJSON(b []byte) error
type FilterGroup_OR_Item ¶
type FilterGroup_OR_Item struct {
// contains filtered or unexported fields
}
FilterGroup_OR_Item defines model for FilterGroup.OR.Item.
func (FilterGroup_OR_Item) AsFilterCondition ¶
func (t FilterGroup_OR_Item) AsFilterCondition() (FilterCondition, error)
AsFilterCondition returns the union data inside the FilterGroup_OR_Item as a FilterCondition
func (FilterGroup_OR_Item) AsFilterGroup ¶
func (t FilterGroup_OR_Item) AsFilterGroup() (FilterGroup, error)
AsFilterGroup returns the union data inside the FilterGroup_OR_Item as a FilterGroup
func (*FilterGroup_OR_Item) FromFilterCondition ¶
func (t *FilterGroup_OR_Item) FromFilterCondition(v FilterCondition) error
FromFilterCondition overwrites any union data inside the FilterGroup_OR_Item as the provided FilterCondition
func (*FilterGroup_OR_Item) FromFilterGroup ¶
func (t *FilterGroup_OR_Item) FromFilterGroup(v FilterGroup) error
FromFilterGroup overwrites any union data inside the FilterGroup_OR_Item as the provided FilterGroup
func (FilterGroup_OR_Item) MarshalJSON ¶
func (t FilterGroup_OR_Item) MarshalJSON() ([]byte, error)
func (*FilterGroup_OR_Item) MergeFilterCondition ¶
func (t *FilterGroup_OR_Item) MergeFilterCondition(v FilterCondition) error
MergeFilterCondition performs a merge with any union data inside the FilterGroup_OR_Item, using the provided FilterCondition
func (*FilterGroup_OR_Item) MergeFilterGroup ¶
func (t *FilterGroup_OR_Item) MergeFilterGroup(v FilterGroup) error
MergeFilterGroup performs a merge with any union data inside the FilterGroup_OR_Item, using the provided FilterGroup
func (*FilterGroup_OR_Item) UnmarshalJSON ¶
func (t *FilterGroup_OR_Item) UnmarshalJSON(b []byte) error
type FilterPayload ¶
type FilterPayload struct {
Filters *FilterPayload_Filters `json:"filters"`
}
FilterPayload defines model for FilterPayload.
type FilterPayload_Filters ¶
type FilterPayload_Filters struct {
// contains filtered or unexported fields
}
FilterPayload_Filters defines model for FilterPayload.Filters.
func (FilterPayload_Filters) AsFilterCondition ¶
func (t FilterPayload_Filters) AsFilterCondition() (FilterCondition, error)
AsFilterCondition returns the union data inside the FilterPayload_Filters as a FilterCondition
func (FilterPayload_Filters) AsFilterGroup ¶
func (t FilterPayload_Filters) AsFilterGroup() (FilterGroup, error)
AsFilterGroup returns the union data inside the FilterPayload_Filters as a FilterGroup
func (*FilterPayload_Filters) FromFilterCondition ¶
func (t *FilterPayload_Filters) FromFilterCondition(v FilterCondition) error
FromFilterCondition overwrites any union data inside the FilterPayload_Filters as the provided FilterCondition
func (*FilterPayload_Filters) FromFilterGroup ¶
func (t *FilterPayload_Filters) FromFilterGroup(v FilterGroup) error
FromFilterGroup overwrites any union data inside the FilterPayload_Filters as the provided FilterGroup
func (FilterPayload_Filters) MarshalJSON ¶
func (t FilterPayload_Filters) MarshalJSON() ([]byte, error)
func (*FilterPayload_Filters) MergeFilterCondition ¶
func (t *FilterPayload_Filters) MergeFilterCondition(v FilterCondition) error
MergeFilterCondition performs a merge with any union data inside the FilterPayload_Filters, using the provided FilterCondition
func (*FilterPayload_Filters) MergeFilterGroup ¶
func (t *FilterPayload_Filters) MergeFilterGroup(v FilterGroup) error
MergeFilterGroup performs a merge with any union data inside the FilterPayload_Filters, using the provided FilterGroup
func (*FilterPayload_Filters) UnmarshalJSON ¶
func (t *FilterPayload_Filters) UnmarshalJSON(b []byte) error
type FimCompletionV1FimCompletionsPostJSONRequestBody ¶
type FimCompletionV1FimCompletionsPostJSONRequestBody = FIMCompletionRequest
FimCompletionV1FimCompletionsPostJSONRequestBody defines body for FimCompletionV1FimCompletionsPost for application/json ContentType.
type FimCompletionV1FimCompletionsPostResponse ¶
type FimCompletionV1FimCompletionsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FIMCompletionResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseFimCompletionV1FimCompletionsPostResponse ¶
func ParseFimCompletionV1FimCompletionsPostResponse(rsp *http.Response) (*FimCompletionV1FimCompletionsPostResponse, error)
ParseFimCompletionV1FimCompletionsPostResponse parses an HTTP response from a FimCompletionV1FimCompletionsPostWithResponse call
func (FimCompletionV1FimCompletionsPostResponse) ContentType ¶
func (r FimCompletionV1FimCompletionsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FimCompletionV1FimCompletionsPostResponse) GetBody ¶
func (r FimCompletionV1FimCompletionsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FimCompletionV1FimCompletionsPostResponse) GetJSON200 ¶
func (r FimCompletionV1FimCompletionsPostResponse) GetJSON200() *FIMCompletionResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (FimCompletionV1FimCompletionsPostResponse) GetJSON422 ¶
func (r FimCompletionV1FimCompletionsPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (FimCompletionV1FimCompletionsPostResponse) Status ¶
func (r FimCompletionV1FimCompletionsPostResponse) Status() string
Status returns HTTPResponse.Status
func (FimCompletionV1FimCompletionsPostResponse) StatusCode ¶
func (r FimCompletionV1FimCompletionsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FineTuneableModelType ¶
type FineTuneableModelType string
FineTuneableModelType defines model for FineTuneableModelType.
const ( FineTuneableModelTypeClassifier FineTuneableModelType = "classifier" FineTuneableModelTypeCompletion FineTuneableModelType = "completion" )
Defines values for FineTuneableModelType.
func (FineTuneableModelType) Valid ¶
func (e FineTuneableModelType) Valid() bool
Valid indicates whether the value is a known member of the FineTuneableModelType enum.
type Function ¶
type Function struct {
Description *string `json:"description,omitempty"`
Name string `json:"name"`
Parameters map[string]interface{} `json:"parameters"`
Strict *bool `json:"strict,omitempty"`
}
Function defines model for Function.
type FunctionCall ¶
type FunctionCall struct {
Arguments FunctionCall_Arguments `json:"arguments"`
Name string `json:"name"`
}
FunctionCall defines model for FunctionCall.
type FunctionCallArguments0 ¶
type FunctionCallArguments0 map[string]interface{}
FunctionCallArguments0 defines model for FunctionCall.Arguments.0.
type FunctionCallArguments1 ¶
type FunctionCallArguments1 = string
FunctionCallArguments1 defines model for FunctionCall.Arguments.1.
type FunctionCallEntry ¶
type FunctionCallEntry struct {
AgentId *string `json:"agent_id,omitempty"`
Arguments FunctionCallEntryArguments `json:"arguments"`
CompletedAt *time.Time `json:"completed_at,omitempty"`
ConfirmationStatus *FunctionCallEntryConfirmationStatus `json:"confirmation_status,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Id *string `json:"id,omitempty"`
Model *string `json:"model,omitempty"`
Name string `json:"name"`
Object *FunctionCallEntryObject `json:"object,omitempty"`
ToolCallId string `json:"tool_call_id"`
Type *FunctionCallEntryType `json:"type,omitempty"`
}
FunctionCallEntry defines model for FunctionCallEntry.
type FunctionCallEntryArguments ¶
type FunctionCallEntryArguments struct {
// contains filtered or unexported fields
}
FunctionCallEntryArguments defines model for FunctionCallEntryArguments.
func (FunctionCallEntryArguments) AsFunctionCallEntryArguments0 ¶
func (t FunctionCallEntryArguments) AsFunctionCallEntryArguments0() (FunctionCallEntryArguments0, error)
AsFunctionCallEntryArguments0 returns the union data inside the FunctionCallEntryArguments as a FunctionCallEntryArguments0
func (FunctionCallEntryArguments) AsFunctionCallEntryArguments1 ¶
func (t FunctionCallEntryArguments) AsFunctionCallEntryArguments1() (FunctionCallEntryArguments1, error)
AsFunctionCallEntryArguments1 returns the union data inside the FunctionCallEntryArguments as a FunctionCallEntryArguments1
func (*FunctionCallEntryArguments) FromFunctionCallEntryArguments0 ¶
func (t *FunctionCallEntryArguments) FromFunctionCallEntryArguments0(v FunctionCallEntryArguments0) error
FromFunctionCallEntryArguments0 overwrites any union data inside the FunctionCallEntryArguments as the provided FunctionCallEntryArguments0
func (*FunctionCallEntryArguments) FromFunctionCallEntryArguments1 ¶
func (t *FunctionCallEntryArguments) FromFunctionCallEntryArguments1(v FunctionCallEntryArguments1) error
FromFunctionCallEntryArguments1 overwrites any union data inside the FunctionCallEntryArguments as the provided FunctionCallEntryArguments1
func (FunctionCallEntryArguments) MarshalJSON ¶
func (t FunctionCallEntryArguments) MarshalJSON() ([]byte, error)
func (*FunctionCallEntryArguments) MergeFunctionCallEntryArguments0 ¶
func (t *FunctionCallEntryArguments) MergeFunctionCallEntryArguments0(v FunctionCallEntryArguments0) error
MergeFunctionCallEntryArguments0 performs a merge with any union data inside the FunctionCallEntryArguments, using the provided FunctionCallEntryArguments0
func (*FunctionCallEntryArguments) MergeFunctionCallEntryArguments1 ¶
func (t *FunctionCallEntryArguments) MergeFunctionCallEntryArguments1(v FunctionCallEntryArguments1) error
MergeFunctionCallEntryArguments1 performs a merge with any union data inside the FunctionCallEntryArguments, using the provided FunctionCallEntryArguments1
func (*FunctionCallEntryArguments) UnmarshalJSON ¶
func (t *FunctionCallEntryArguments) UnmarshalJSON(b []byte) error
type FunctionCallEntryArguments0 ¶
type FunctionCallEntryArguments0 map[string]interface{}
FunctionCallEntryArguments0 defines model for FunctionCallEntryArguments.0.
type FunctionCallEntryArguments1 ¶
type FunctionCallEntryArguments1 = string
FunctionCallEntryArguments1 defines model for FunctionCallEntryArguments.1.
type FunctionCallEntryConfirmationStatus ¶
type FunctionCallEntryConfirmationStatus string
FunctionCallEntryConfirmationStatus defines model for FunctionCallEntry.ConfirmationStatus.
const ( FunctionCallEntryConfirmationStatusAllowed FunctionCallEntryConfirmationStatus = "allowed" FunctionCallEntryConfirmationStatusDenied FunctionCallEntryConfirmationStatus = "denied" FunctionCallEntryConfirmationStatusPending FunctionCallEntryConfirmationStatus = "pending" )
Defines values for FunctionCallEntryConfirmationStatus.
func (FunctionCallEntryConfirmationStatus) Valid ¶
func (e FunctionCallEntryConfirmationStatus) Valid() bool
Valid indicates whether the value is a known member of the FunctionCallEntryConfirmationStatus enum.
type FunctionCallEntryObject ¶
type FunctionCallEntryObject string
FunctionCallEntryObject defines model for FunctionCallEntry.Object.
const (
FunctionCallEntryObjectEntry FunctionCallEntryObject = "entry"
)
Defines values for FunctionCallEntryObject.
func (FunctionCallEntryObject) Valid ¶
func (e FunctionCallEntryObject) Valid() bool
Valid indicates whether the value is a known member of the FunctionCallEntryObject enum.
type FunctionCallEntryType ¶
type FunctionCallEntryType string
FunctionCallEntryType defines model for FunctionCallEntry.Type.
const (
FunctionCallEntryTypeFunctionCall FunctionCallEntryType = "function.call"
)
Defines values for FunctionCallEntryType.
func (FunctionCallEntryType) Valid ¶
func (e FunctionCallEntryType) Valid() bool
Valid indicates whether the value is a known member of the FunctionCallEntryType enum.
type FunctionCallEvent ¶
type FunctionCallEvent struct {
AgentId *string `json:"agent_id,omitempty"`
Arguments string `json:"arguments"`
ConfirmationStatus *FunctionCallEventConfirmationStatus `json:"confirmation_status,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Id string `json:"id"`
Model *string `json:"model,omitempty"`
Name string `json:"name"`
OutputIndex *int `json:"output_index,omitempty"`
ToolCallId string `json:"tool_call_id"`
Type *FunctionCallEventType `json:"type,omitempty"`
}
FunctionCallEvent defines model for FunctionCallEvent.
type FunctionCallEventConfirmationStatus ¶
type FunctionCallEventConfirmationStatus string
FunctionCallEventConfirmationStatus defines model for FunctionCallEvent.ConfirmationStatus.
const ( FunctionCallEventConfirmationStatusAllowed FunctionCallEventConfirmationStatus = "allowed" FunctionCallEventConfirmationStatusDenied FunctionCallEventConfirmationStatus = "denied" FunctionCallEventConfirmationStatusPending FunctionCallEventConfirmationStatus = "pending" )
Defines values for FunctionCallEventConfirmationStatus.
func (FunctionCallEventConfirmationStatus) Valid ¶
func (e FunctionCallEventConfirmationStatus) Valid() bool
Valid indicates whether the value is a known member of the FunctionCallEventConfirmationStatus enum.
type FunctionCallEventType ¶
type FunctionCallEventType string
FunctionCallEventType defines model for FunctionCallEvent.Type.
const (
FunctionCallEventTypeFunctionCallDelta FunctionCallEventType = "function.call.delta"
)
Defines values for FunctionCallEventType.
func (FunctionCallEventType) Valid ¶
func (e FunctionCallEventType) Valid() bool
Valid indicates whether the value is a known member of the FunctionCallEventType enum.
type FunctionCall_Arguments ¶
type FunctionCall_Arguments struct {
// contains filtered or unexported fields
}
FunctionCall_Arguments defines model for FunctionCall.Arguments.
func (FunctionCall_Arguments) AsFunctionCallArguments0 ¶
func (t FunctionCall_Arguments) AsFunctionCallArguments0() (FunctionCallArguments0, error)
AsFunctionCallArguments0 returns the union data inside the FunctionCall_Arguments as a FunctionCallArguments0
func (FunctionCall_Arguments) AsFunctionCallArguments1 ¶
func (t FunctionCall_Arguments) AsFunctionCallArguments1() (FunctionCallArguments1, error)
AsFunctionCallArguments1 returns the union data inside the FunctionCall_Arguments as a FunctionCallArguments1
func (*FunctionCall_Arguments) FromFunctionCallArguments0 ¶
func (t *FunctionCall_Arguments) FromFunctionCallArguments0(v FunctionCallArguments0) error
FromFunctionCallArguments0 overwrites any union data inside the FunctionCall_Arguments as the provided FunctionCallArguments0
func (*FunctionCall_Arguments) FromFunctionCallArguments1 ¶
func (t *FunctionCall_Arguments) FromFunctionCallArguments1(v FunctionCallArguments1) error
FromFunctionCallArguments1 overwrites any union data inside the FunctionCall_Arguments as the provided FunctionCallArguments1
func (FunctionCall_Arguments) MarshalJSON ¶
func (t FunctionCall_Arguments) MarshalJSON() ([]byte, error)
func (*FunctionCall_Arguments) MergeFunctionCallArguments0 ¶
func (t *FunctionCall_Arguments) MergeFunctionCallArguments0(v FunctionCallArguments0) error
MergeFunctionCallArguments0 performs a merge with any union data inside the FunctionCall_Arguments, using the provided FunctionCallArguments0
func (*FunctionCall_Arguments) MergeFunctionCallArguments1 ¶
func (t *FunctionCall_Arguments) MergeFunctionCallArguments1(v FunctionCallArguments1) error
MergeFunctionCallArguments1 performs a merge with any union data inside the FunctionCall_Arguments, using the provided FunctionCallArguments1
func (*FunctionCall_Arguments) UnmarshalJSON ¶
func (t *FunctionCall_Arguments) UnmarshalJSON(b []byte) error
type FunctionName ¶
type FunctionName struct {
Name string `json:"name"`
}
FunctionName this restriction of `Function` is used to select a specific function to call
type FunctionResultEntry ¶
type FunctionResultEntry struct {
CompletedAt *time.Time `json:"completed_at,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Id *string `json:"id,omitempty"`
Object *FunctionResultEntryObject `json:"object,omitempty"`
Result string `json:"result"`
ToolCallId string `json:"tool_call_id"`
Type *FunctionResultEntryType `json:"type,omitempty"`
}
FunctionResultEntry defines model for FunctionResultEntry.
type FunctionResultEntryObject ¶
type FunctionResultEntryObject string
FunctionResultEntryObject defines model for FunctionResultEntry.Object.
const (
FunctionResultEntryObjectEntry FunctionResultEntryObject = "entry"
)
Defines values for FunctionResultEntryObject.
func (FunctionResultEntryObject) Valid ¶
func (e FunctionResultEntryObject) Valid() bool
Valid indicates whether the value is a known member of the FunctionResultEntryObject enum.
type FunctionResultEntryType ¶
type FunctionResultEntryType string
FunctionResultEntryType defines model for FunctionResultEntry.Type.
const (
FunctionResultEntryTypeFunctionResult FunctionResultEntryType = "function.result"
)
Defines values for FunctionResultEntryType.
func (FunctionResultEntryType) Valid ¶
func (e FunctionResultEntryType) Valid() bool
Valid indicates whether the value is a known member of the FunctionResultEntryType enum.
type FunctionTool ¶
type FunctionTool struct {
Function Function `json:"function"`
Type *FunctionToolType `json:"type,omitempty"`
}
FunctionTool defines model for FunctionTool.
type FunctionToolType ¶
type FunctionToolType string
FunctionToolType defines model for FunctionTool.Type.
const (
FunctionToolTypeFunction FunctionToolType = "function"
)
Defines values for FunctionToolType.
func (FunctionToolType) Valid ¶
func (e FunctionToolType) Valid() bool
Valid indicates whether the value is a known member of the FunctionToolType enum.
type GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse ¶
type GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CampaignPreview
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse ¶
func ParseGetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse(rsp *http.Response) (*GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse, error)
ParseGetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse parses an HTTP response from a GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetWithResponse call
func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) ContentType ¶
func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetBody ¶
func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON200 ¶
func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON200() *CampaignPreview
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON400 ¶
func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON404 ¶
func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON408 ¶
func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON409 ¶
func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON422 ¶
func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) Status ¶
func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) StatusCode ¶
func (r GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetParams ¶
type GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetParams struct {
PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
Page *int `form:"page,omitempty" json:"page,omitempty"`
}
GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetParams defines parameters for GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet.
type GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse ¶
type GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CampaignSelectedEvents
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse ¶
func ParseGetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse(rsp *http.Response) (*GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse, error)
ParseGetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse parses an HTTP response from a GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetWithResponse call
func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) ContentType ¶
func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetBody ¶
func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON200 ¶
func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON200() *CampaignSelectedEvents
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON400 ¶
func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON404 ¶
func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON408 ¶
func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON409 ¶
func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON422 ¶
func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) Status ¶
func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) StatusCode ¶
func (r GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse ¶
type GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CampaignStatus
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse ¶
func ParseGetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse(rsp *http.Response) (*GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse, error)
ParseGetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse parses an HTTP response from a GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetWithResponse call
func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) ContentType ¶
func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetBody ¶
func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON200 ¶
func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON200() *CampaignStatus
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON400 ¶
func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON404 ¶
func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON408 ¶
func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON409 ¶
func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON422 ¶
func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) Status ¶
Status returns HTTPResponse.Status
func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) StatusCode ¶
func (r GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCampaignsV1ObservabilityCampaignsGetParams ¶
type GetCampaignsV1ObservabilityCampaignsGetParams struct {
PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
Page *int `form:"page,omitempty" json:"page,omitempty"`
Q *string `form:"q,omitempty" json:"q,omitempty"`
}
GetCampaignsV1ObservabilityCampaignsGetParams defines parameters for GetCampaignsV1ObservabilityCampaignsGet.
type GetCampaignsV1ObservabilityCampaignsGetResponse ¶
type GetCampaignsV1ObservabilityCampaignsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CampaignPreviews
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetCampaignsV1ObservabilityCampaignsGetResponse ¶
func ParseGetCampaignsV1ObservabilityCampaignsGetResponse(rsp *http.Response) (*GetCampaignsV1ObservabilityCampaignsGetResponse, error)
ParseGetCampaignsV1ObservabilityCampaignsGetResponse parses an HTTP response from a GetCampaignsV1ObservabilityCampaignsGetWithResponse call
func (GetCampaignsV1ObservabilityCampaignsGetResponse) ContentType ¶
func (r GetCampaignsV1ObservabilityCampaignsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCampaignsV1ObservabilityCampaignsGetResponse) GetBody ¶
func (r GetCampaignsV1ObservabilityCampaignsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON200 ¶
func (r GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON200() *CampaignPreviews
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON400 ¶
func (r GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON404 ¶
func (r GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON408 ¶
func (r GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON409 ¶
func (r GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON422 ¶
func (r GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetCampaignsV1ObservabilityCampaignsGetResponse) Status ¶
func (r GetCampaignsV1ObservabilityCampaignsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetCampaignsV1ObservabilityCampaignsGetResponse) StatusCode ¶
func (r GetCampaignsV1ObservabilityCampaignsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetChatCompletionEventIdsInSchema ¶
type GetChatCompletionEventIdsInSchema struct {
ExtraFields *[]string `json:"extra_fields,omitempty"`
SearchParams FilterPayload `json:"search_params"`
}
GetChatCompletionEventIdsInSchema defines model for GetChatCompletionEventIdsInSchema.
type GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostJSONRequestBody ¶
type GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostJSONRequestBody = GetChatCompletionEventIdsInSchema
GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostJSONRequestBody defines body for GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost for application/json ContentType.
type GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse ¶
type GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChatCompletionEventIds
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse ¶
func ParseGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse(rsp *http.Response) (*GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse, error)
ParseGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse parses an HTTP response from a GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithResponse call
func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) ContentType ¶
func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetBody ¶
func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON200 ¶
func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON200() *ChatCompletionEventIds
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON400 ¶
func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON404 ¶
func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON408 ¶
func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON409 ¶
func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON422 ¶
func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) Status ¶
func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) Status() string
Status returns HTTPResponse.Status
func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) StatusCode ¶
func (r GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse ¶
type GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChatCompletionEvent
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse ¶
func ParseGetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse(rsp *http.Response) (*GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse, error)
ParseGetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse parses an HTTP response from a GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetWithResponse call
func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) ContentType ¶
func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetBody ¶
func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON200 ¶
func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON200() *ChatCompletionEvent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON400 ¶
func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON404 ¶
func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON408 ¶
func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON409 ¶
func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON422 ¶
func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) Status ¶
func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) StatusCode ¶
func (r GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetChatCompletionEventsInSchema ¶
type GetChatCompletionEventsInSchema struct {
ExtraFields *[]string `json:"extra_fields,omitempty"`
SearchParams FilterPayload `json:"search_params"`
}
GetChatCompletionEventsInSchema defines model for GetChatCompletionEventsInSchema.
type GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostJSONRequestBody ¶
type GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostJSONRequestBody = GetChatCompletionEventsInSchema
GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostJSONRequestBody defines body for GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost for application/json ContentType.
type GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams ¶
type GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams struct {
PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams defines parameters for GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost.
type GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse ¶
type GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChatCompletionEvents
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse ¶
func ParseGetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse(rsp *http.Response) (*GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse, error)
ParseGetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse parses an HTTP response from a GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithResponse call
func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) ContentType ¶
func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetBody ¶
func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON200 ¶
func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON200() *ChatCompletionEvents
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON400 ¶
func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON404 ¶
func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON408 ¶
func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON409 ¶
func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON422 ¶
func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) Status ¶
func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) Status() string
Status returns HTTPResponse.Status
func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) StatusCode ¶
func (r GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostJSONRequestBody ¶
type GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostJSONRequestBody = FieldOptionCountsInSchema
GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostJSONRequestBody defines body for GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost for application/json ContentType.
type GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse ¶
type GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FieldOptionCounts
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse ¶
func ParseGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse(rsp *http.Response) (*GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse, error)
ParseGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse parses an HTTP response from a GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithResponse call
func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) ContentType ¶
func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetBody ¶
func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON200 ¶
func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON200() *FieldOptionCounts
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON400 ¶
func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON404 ¶
func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON408 ¶
func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON409 ¶
func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON422 ¶
func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) Status ¶
func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) Status() string
Status returns HTTPResponse.Status
func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) StatusCode ¶
func (r GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParams ¶
type GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParams struct {
// Operator The operator to use for filtering options
Operator GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator `form:"operator" json:"operator"`
}
GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParams defines parameters for GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet.
type GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator ¶
type GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator string
GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator defines parameters for GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet.
const ( GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorContains GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "contains" GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorEndswith GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "endswith" GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorEq GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "eq" GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorExcludes GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "excludes" GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorGt GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "gt" GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorGte GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "gte" GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorIcontains GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "icontains" GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorIendswith GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "iendswith" GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorIncludes GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "includes" GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorInotcontains GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "inotcontains" GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorIsnull GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "isnull" GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorIstartswith GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "istartswith" GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorLenEq GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "len_eq" GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorLt GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "lt" GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorLte GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "lte" GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorMatches GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "matches" GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorNeq GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "neq" GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorNotcontains GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "notcontains" GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorStartswith GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "startswith" )
Defines values for GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator.
func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator) Valid ¶
func (e GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator) Valid() bool
Valid indicates whether the value is a known member of the GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator enum.
type GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse ¶
type GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChatCompletionFieldOptions
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse ¶
func ParseGetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse(rsp *http.Response) (*GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse, error)
ParseGetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse parses an HTTP response from a GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetWithResponse call
func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) ContentType ¶
func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetBody ¶
func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON200 ¶
func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON200() *ChatCompletionFieldOptions
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON400 ¶
func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON404 ¶
func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON408 ¶
func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON409 ¶
func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON422 ¶
func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) Status ¶
func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) StatusCode ¶
func (r GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse ¶
type GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChatCompletionFields
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse ¶
func ParseGetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse(rsp *http.Response) (*GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse, error)
ParseGetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse parses an HTTP response from a GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetWithResponse call
func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) ContentType ¶
func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetBody ¶
func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON200 ¶
func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON200() *ChatCompletionFields
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON400 ¶
func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON404 ¶
func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON408 ¶
func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON409 ¶
func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON422 ¶
func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) Status ¶
func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) StatusCode ¶
func (r GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse ¶
type GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DatasetPreview
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse ¶
func ParseGetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse(rsp *http.Response) (*GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse, error)
ParseGetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse parses an HTTP response from a GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetWithResponse call
func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) ContentType ¶
func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetBody ¶
func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON200 ¶
func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON200() *DatasetPreview
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON400 ¶
func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON404 ¶
func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON408 ¶
func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON409 ¶
func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON422 ¶
func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) Status ¶
func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) StatusCode ¶
func (r GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse ¶
type GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DatasetImportTask
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse ¶
func ParseGetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse(rsp *http.Response) (*GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse, error)
ParseGetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse parses an HTTP response from a GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetWithResponse call
func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) ContentType ¶
func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetBody ¶
func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON200 ¶
func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON200() *DatasetImportTask
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON400 ¶
func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON404 ¶
func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON408 ¶
func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON409 ¶
func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON422 ¶
func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) Status ¶
Status returns HTTPResponse.Status
func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) StatusCode ¶
func (r GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetParams ¶
type GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetParams struct {
PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
Page *int `form:"page,omitempty" json:"page,omitempty"`
}
GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetParams defines parameters for GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet.
type GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse ¶
type GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DatasetImportTasks
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse ¶
func ParseGetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse(rsp *http.Response) (*GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse, error)
ParseGetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse parses an HTTP response from a GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetWithResponse call
func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) ContentType ¶
func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetBody ¶
func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON200 ¶
func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON200() *DatasetImportTasks
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON400 ¶
func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON404 ¶
func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON408 ¶
func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON409 ¶
func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON422 ¶
func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) Status ¶
func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) StatusCode ¶
func (r GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse ¶
type GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DatasetRecord
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse ¶
func ParseGetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse(rsp *http.Response) (*GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse, error)
ParseGetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse parses an HTTP response from a GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetWithResponse call
func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) ContentType ¶
func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetBody ¶
func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON200 ¶
func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON200() *DatasetRecord
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON400 ¶
func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON404 ¶
func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON408 ¶
func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON409 ¶
func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON422 ¶
func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) Status ¶
Status returns HTTPResponse.Status
func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) StatusCode ¶
func (r GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetParams ¶
type GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetParams struct {
PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
Page *int `form:"page,omitempty" json:"page,omitempty"`
}
GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetParams defines parameters for GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet.
type GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse ¶
type GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DatasetRecords
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse ¶
func ParseGetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse(rsp *http.Response) (*GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse, error)
ParseGetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse parses an HTTP response from a GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetWithResponse call
func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) ContentType ¶
func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetBody ¶
func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON200 ¶
func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON200() *DatasetRecords
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON400 ¶
func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON404 ¶
func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON408 ¶
func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON409 ¶
func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON422 ¶
func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) Status ¶
func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) StatusCode ¶
func (r GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatasetsV1ObservabilityDatasetsGetParams ¶
type GetDatasetsV1ObservabilityDatasetsGetParams struct {
PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
Page *int `form:"page,omitempty" json:"page,omitempty"`
Q *string `form:"q,omitempty" json:"q,omitempty"`
}
GetDatasetsV1ObservabilityDatasetsGetParams defines parameters for GetDatasetsV1ObservabilityDatasetsGet.
type GetDatasetsV1ObservabilityDatasetsGetResponse ¶
type GetDatasetsV1ObservabilityDatasetsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DatasetPreviews
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetDatasetsV1ObservabilityDatasetsGetResponse ¶
func ParseGetDatasetsV1ObservabilityDatasetsGetResponse(rsp *http.Response) (*GetDatasetsV1ObservabilityDatasetsGetResponse, error)
ParseGetDatasetsV1ObservabilityDatasetsGetResponse parses an HTTP response from a GetDatasetsV1ObservabilityDatasetsGetWithResponse call
func (GetDatasetsV1ObservabilityDatasetsGetResponse) ContentType ¶
func (r GetDatasetsV1ObservabilityDatasetsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDatasetsV1ObservabilityDatasetsGetResponse) GetBody ¶
func (r GetDatasetsV1ObservabilityDatasetsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON200 ¶
func (r GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON200() *DatasetPreviews
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON400 ¶
func (r GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON404 ¶
func (r GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON408 ¶
func (r GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON409 ¶
func (r GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON422 ¶
func (r GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetDatasetsV1ObservabilityDatasetsGetResponse) Status ¶
func (r GetDatasetsV1ObservabilityDatasetsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatasetsV1ObservabilityDatasetsGetResponse) StatusCode ¶
func (r GetDatasetsV1ObservabilityDatasetsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeploymentV1WorkflowsDeploymentsNameGetResponse ¶
type GetDeploymentV1WorkflowsDeploymentsNameGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeploymentDetailResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetDeploymentV1WorkflowsDeploymentsNameGetResponse ¶
func ParseGetDeploymentV1WorkflowsDeploymentsNameGetResponse(rsp *http.Response) (*GetDeploymentV1WorkflowsDeploymentsNameGetResponse, error)
ParseGetDeploymentV1WorkflowsDeploymentsNameGetResponse parses an HTTP response from a GetDeploymentV1WorkflowsDeploymentsNameGetWithResponse call
func (GetDeploymentV1WorkflowsDeploymentsNameGetResponse) ContentType ¶
func (r GetDeploymentV1WorkflowsDeploymentsNameGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDeploymentV1WorkflowsDeploymentsNameGetResponse) GetBody ¶
func (r GetDeploymentV1WorkflowsDeploymentsNameGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDeploymentV1WorkflowsDeploymentsNameGetResponse) GetJSON200 ¶
func (r GetDeploymentV1WorkflowsDeploymentsNameGetResponse) GetJSON200() *DeploymentDetailResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDeploymentV1WorkflowsDeploymentsNameGetResponse) GetJSON422 ¶
func (r GetDeploymentV1WorkflowsDeploymentsNameGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetDeploymentV1WorkflowsDeploymentsNameGetResponse) Status ¶
func (r GetDeploymentV1WorkflowsDeploymentsNameGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeploymentV1WorkflowsDeploymentsNameGetResponse) StatusCode ¶
func (r GetDeploymentV1WorkflowsDeploymentsNameGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse ¶
type GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *JudgePreview
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse ¶
func ParseGetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse(rsp *http.Response) (*GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse, error)
ParseGetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse parses an HTTP response from a GetJudgeByIdV1ObservabilityJudgesJudgeIdGetWithResponse call
func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) ContentType ¶
func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetBody ¶
func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON200 ¶
func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON200() *JudgePreview
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON400 ¶
func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON404 ¶
func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON408 ¶
func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON409 ¶
func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON422 ¶
func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) Status ¶
func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) StatusCode ¶
func (r GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetJudgesV1ObservabilityJudgesGetParams ¶
type GetJudgesV1ObservabilityJudgesGetParams struct {
// TypeFilter Filter by judge output types
TypeFilter *[]JudgeOutputType `form:"type_filter,omitempty" json:"type_filter,omitempty"`
// ModelFilter Filter by model names
ModelFilter *[]string `form:"model_filter,omitempty" json:"model_filter,omitempty"`
PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
Page *int `form:"page,omitempty" json:"page,omitempty"`
Q *string `form:"q,omitempty" json:"q,omitempty"`
}
GetJudgesV1ObservabilityJudgesGetParams defines parameters for GetJudgesV1ObservabilityJudgesGet.
type GetJudgesV1ObservabilityJudgesGetResponse ¶
type GetJudgesV1ObservabilityJudgesGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *JudgePreviews
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetJudgesV1ObservabilityJudgesGetResponse ¶
func ParseGetJudgesV1ObservabilityJudgesGetResponse(rsp *http.Response) (*GetJudgesV1ObservabilityJudgesGetResponse, error)
ParseGetJudgesV1ObservabilityJudgesGetResponse parses an HTTP response from a GetJudgesV1ObservabilityJudgesGetWithResponse call
func (GetJudgesV1ObservabilityJudgesGetResponse) ContentType ¶
func (r GetJudgesV1ObservabilityJudgesGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetJudgesV1ObservabilityJudgesGetResponse) GetBody ¶
func (r GetJudgesV1ObservabilityJudgesGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetJudgesV1ObservabilityJudgesGetResponse) GetJSON200 ¶
func (r GetJudgesV1ObservabilityJudgesGetResponse) GetJSON200() *JudgePreviews
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetJudgesV1ObservabilityJudgesGetResponse) GetJSON400 ¶
func (r GetJudgesV1ObservabilityJudgesGetResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetJudgesV1ObservabilityJudgesGetResponse) GetJSON404 ¶
func (r GetJudgesV1ObservabilityJudgesGetResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetJudgesV1ObservabilityJudgesGetResponse) GetJSON408 ¶
func (r GetJudgesV1ObservabilityJudgesGetResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetJudgesV1ObservabilityJudgesGetResponse) GetJSON409 ¶
func (r GetJudgesV1ObservabilityJudgesGetResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetJudgesV1ObservabilityJudgesGetResponse) GetJSON422 ¶
func (r GetJudgesV1ObservabilityJudgesGetResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetJudgesV1ObservabilityJudgesGetResponse) Status ¶
func (r GetJudgesV1ObservabilityJudgesGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetJudgesV1ObservabilityJudgesGetResponse) StatusCode ¶
func (r GetJudgesV1ObservabilityJudgesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRunHistoryV1WorkflowsRunsRunIdHistoryGetParams ¶
type GetRunHistoryV1WorkflowsRunsRunIdHistoryGetParams struct {
DecodePayloads *bool `form:"decode_payloads,omitempty" json:"decode_payloads,omitempty"`
}
GetRunHistoryV1WorkflowsRunsRunIdHistoryGetParams defines parameters for GetRunHistoryV1WorkflowsRunsRunIdHistoryGet.
type GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse ¶
type GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *interface{}
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse ¶
func ParseGetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse(rsp *http.Response) (*GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse, error)
ParseGetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse parses an HTTP response from a GetRunHistoryV1WorkflowsRunsRunIdHistoryGetWithResponse call
func (GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) ContentType ¶
func (r GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) GetBody ¶
func (r GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) GetJSON200 ¶
func (r GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) GetJSON200() *interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) GetJSON422 ¶
func (r GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) Status ¶
func (r GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) StatusCode ¶
func (r GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRunV1WorkflowsRunsRunIdGetResponse ¶
type GetRunV1WorkflowsRunsRunIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkflowExecutionResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetRunV1WorkflowsRunsRunIdGetResponse ¶
func ParseGetRunV1WorkflowsRunsRunIdGetResponse(rsp *http.Response) (*GetRunV1WorkflowsRunsRunIdGetResponse, error)
ParseGetRunV1WorkflowsRunsRunIdGetResponse parses an HTTP response from a GetRunV1WorkflowsRunsRunIdGetWithResponse call
func (GetRunV1WorkflowsRunsRunIdGetResponse) ContentType ¶
func (r GetRunV1WorkflowsRunsRunIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRunV1WorkflowsRunsRunIdGetResponse) GetBody ¶
func (r GetRunV1WorkflowsRunsRunIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRunV1WorkflowsRunsRunIdGetResponse) GetJSON200 ¶
func (r GetRunV1WorkflowsRunsRunIdGetResponse) GetJSON200() *WorkflowExecutionResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRunV1WorkflowsRunsRunIdGetResponse) GetJSON422 ¶
func (r GetRunV1WorkflowsRunsRunIdGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetRunV1WorkflowsRunsRunIdGetResponse) Status ¶
func (r GetRunV1WorkflowsRunsRunIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetRunV1WorkflowsRunsRunIdGetResponse) StatusCode ¶
func (r GetRunV1WorkflowsRunsRunIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSchedulesV1WorkflowsSchedulesGetResponse ¶
type GetSchedulesV1WorkflowsSchedulesGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkflowScheduleListResponse
}
func ParseGetSchedulesV1WorkflowsSchedulesGetResponse ¶
func ParseGetSchedulesV1WorkflowsSchedulesGetResponse(rsp *http.Response) (*GetSchedulesV1WorkflowsSchedulesGetResponse, error)
ParseGetSchedulesV1WorkflowsSchedulesGetResponse parses an HTTP response from a GetSchedulesV1WorkflowsSchedulesGetWithResponse call
func (GetSchedulesV1WorkflowsSchedulesGetResponse) ContentType ¶
func (r GetSchedulesV1WorkflowsSchedulesGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSchedulesV1WorkflowsSchedulesGetResponse) GetBody ¶
func (r GetSchedulesV1WorkflowsSchedulesGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSchedulesV1WorkflowsSchedulesGetResponse) GetJSON200 ¶
func (r GetSchedulesV1WorkflowsSchedulesGetResponse) GetJSON200() *WorkflowScheduleListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSchedulesV1WorkflowsSchedulesGetResponse) Status ¶
func (r GetSchedulesV1WorkflowsSchedulesGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSchedulesV1WorkflowsSchedulesGetResponse) StatusCode ¶
func (r GetSchedulesV1WorkflowsSchedulesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse ¶
type GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChatCompletionEvents
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseGetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse ¶
func ParseGetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse(rsp *http.Response) (*GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse, error)
ParseGetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse parses an HTTP response from a GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetWithResponse call
func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) ContentType ¶
func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetBody ¶
func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON200 ¶
func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON200() *ChatCompletionEvents
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON400 ¶
func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON404 ¶
func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON408 ¶
func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON409 ¶
func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON422 ¶
func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) Status ¶
func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) StatusCode ¶
func (r GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStreamEventsV1WorkflowsEventsStreamGetParams ¶
type GetStreamEventsV1WorkflowsEventsStreamGetParams struct {
Scope *GetStreamEventsV1WorkflowsEventsStreamGetParamsScope `form:"scope,omitempty" json:"scope,omitempty"`
ActivityName *string `form:"activity_name,omitempty" json:"activity_name,omitempty"`
ActivityId *string `form:"activity_id,omitempty" json:"activity_id,omitempty"`
WorkflowName *string `form:"workflow_name,omitempty" json:"workflow_name,omitempty"`
WorkflowExecId *string `form:"workflow_exec_id,omitempty" json:"workflow_exec_id,omitempty"`
RootWorkflowExecId *string `form:"root_workflow_exec_id,omitempty" json:"root_workflow_exec_id,omitempty"`
ParentWorkflowExecId *string `form:"parent_workflow_exec_id,omitempty" json:"parent_workflow_exec_id,omitempty"`
Stream *string `form:"stream,omitempty" json:"stream,omitempty"`
StartSeq *int `form:"start_seq,omitempty" json:"start_seq,omitempty"`
MetadataFilters *map[string]interface{} `form:"metadata_filters,omitempty" json:"metadata_filters,omitempty"`
WorkflowEventTypes *[]WorkflowEventType `form:"workflow_event_types,omitempty" json:"workflow_event_types,omitempty"`
LastEventId *string `json:"last-event-id,omitempty"`
}
GetStreamEventsV1WorkflowsEventsStreamGetParams defines parameters for GetStreamEventsV1WorkflowsEventsStreamGet.
type GetStreamEventsV1WorkflowsEventsStreamGetParamsScope ¶
type GetStreamEventsV1WorkflowsEventsStreamGetParamsScope string
GetStreamEventsV1WorkflowsEventsStreamGetParamsScope defines parameters for GetStreamEventsV1WorkflowsEventsStreamGet.
const ( GetStreamEventsV1WorkflowsEventsStreamGetParamsScopeActivity GetStreamEventsV1WorkflowsEventsStreamGetParamsScope = "activity" GetStreamEventsV1WorkflowsEventsStreamGetParamsScopeAsterisk GetStreamEventsV1WorkflowsEventsStreamGetParamsScope = "*" GetStreamEventsV1WorkflowsEventsStreamGetParamsScopeWorkflow GetStreamEventsV1WorkflowsEventsStreamGetParamsScope = "workflow" )
Defines values for GetStreamEventsV1WorkflowsEventsStreamGetParamsScope.
func (GetStreamEventsV1WorkflowsEventsStreamGetParamsScope) Valid ¶
func (e GetStreamEventsV1WorkflowsEventsStreamGetParamsScope) Valid() bool
Valid indicates whether the value is a known member of the GetStreamEventsV1WorkflowsEventsStreamGetParamsScope enum.
type GetStreamEventsV1WorkflowsEventsStreamGetResponse ¶
type GetStreamEventsV1WorkflowsEventsStreamGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetStreamEventsV1WorkflowsEventsStreamGetResponse ¶
func ParseGetStreamEventsV1WorkflowsEventsStreamGetResponse(rsp *http.Response) (*GetStreamEventsV1WorkflowsEventsStreamGetResponse, error)
ParseGetStreamEventsV1WorkflowsEventsStreamGetResponse parses an HTTP response from a GetStreamEventsV1WorkflowsEventsStreamGetWithResponse call
func (GetStreamEventsV1WorkflowsEventsStreamGetResponse) ContentType ¶
func (r GetStreamEventsV1WorkflowsEventsStreamGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetStreamEventsV1WorkflowsEventsStreamGetResponse) GetBody ¶
func (r GetStreamEventsV1WorkflowsEventsStreamGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetStreamEventsV1WorkflowsEventsStreamGetResponse) GetJSON422 ¶
func (r GetStreamEventsV1WorkflowsEventsStreamGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetStreamEventsV1WorkflowsEventsStreamGetResponse) Status ¶
func (r GetStreamEventsV1WorkflowsEventsStreamGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetStreamEventsV1WorkflowsEventsStreamGetResponse) StatusCode ¶
func (r GetStreamEventsV1WorkflowsEventsStreamGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse ¶
type GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *string
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse ¶
func ParseGetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse(rsp *http.Response) (*GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse, error)
ParseGetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse parses an HTTP response from a GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetWithResponse call
func (GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) ContentType ¶
func (r GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) GetBody ¶
func (r GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) GetJSON200 ¶
func (r GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) GetJSON200() *string
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) GetJSON422 ¶
func (r GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) Status ¶
func (r GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) StatusCode ¶
func (r GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVoiceV1AudioVoicesVoiceIdGetResponse ¶
type GetVoiceV1AudioVoicesVoiceIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *VoiceResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetVoiceV1AudioVoicesVoiceIdGetResponse ¶
func ParseGetVoiceV1AudioVoicesVoiceIdGetResponse(rsp *http.Response) (*GetVoiceV1AudioVoicesVoiceIdGetResponse, error)
ParseGetVoiceV1AudioVoicesVoiceIdGetResponse parses an HTTP response from a GetVoiceV1AudioVoicesVoiceIdGetWithResponse call
func (GetVoiceV1AudioVoicesVoiceIdGetResponse) ContentType ¶
func (r GetVoiceV1AudioVoicesVoiceIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVoiceV1AudioVoicesVoiceIdGetResponse) GetBody ¶
func (r GetVoiceV1AudioVoicesVoiceIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVoiceV1AudioVoicesVoiceIdGetResponse) GetJSON200 ¶
func (r GetVoiceV1AudioVoicesVoiceIdGetResponse) GetJSON200() *VoiceResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetVoiceV1AudioVoicesVoiceIdGetResponse) GetJSON422 ¶
func (r GetVoiceV1AudioVoicesVoiceIdGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetVoiceV1AudioVoicesVoiceIdGetResponse) Status ¶
func (r GetVoiceV1AudioVoicesVoiceIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetVoiceV1AudioVoicesVoiceIdGetResponse) StatusCode ¶
func (r GetVoiceV1AudioVoicesVoiceIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse ¶
type GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkerInfo
}
func ParseGetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse ¶
func ParseGetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse(rsp *http.Response) (*GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse, error)
ParseGetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse parses an HTTP response from a GetWorkerInfoV1WorkflowsWorkersWhoamiGetWithResponse call
func (GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) ContentType ¶
func (r GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) GetBody ¶
func (r GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) GetJSON200 ¶
func (r GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) GetJSON200() *WorkerInfo
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) Status ¶
func (r GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) StatusCode ¶
func (r GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowEventsV1WorkflowsEventsListGetParams ¶
type GetWorkflowEventsV1WorkflowsEventsListGetParams struct {
// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
RootWorkflowExecId *string `form:"root_workflow_exec_id,omitempty" json:"root_workflow_exec_id,omitempty"`
// WorkflowExecId Execution ID of the workflow that emitted this event.
WorkflowExecId *string `form:"workflow_exec_id,omitempty" json:"workflow_exec_id,omitempty"`
// WorkflowRunId Run ID of the workflow that emitted this event.
WorkflowRunId *string `form:"workflow_run_id,omitempty" json:"workflow_run_id,omitempty"`
// Limit Maximum number of events to return.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Cursor for pagination.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetWorkflowEventsV1WorkflowsEventsListGetParams defines parameters for GetWorkflowEventsV1WorkflowsEventsListGet.
type GetWorkflowEventsV1WorkflowsEventsListGetResponse ¶
type GetWorkflowEventsV1WorkflowsEventsListGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListWorkflowEventResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetWorkflowEventsV1WorkflowsEventsListGetResponse ¶
func ParseGetWorkflowEventsV1WorkflowsEventsListGetResponse(rsp *http.Response) (*GetWorkflowEventsV1WorkflowsEventsListGetResponse, error)
ParseGetWorkflowEventsV1WorkflowsEventsListGetResponse parses an HTTP response from a GetWorkflowEventsV1WorkflowsEventsListGetWithResponse call
func (GetWorkflowEventsV1WorkflowsEventsListGetResponse) ContentType ¶
func (r GetWorkflowEventsV1WorkflowsEventsListGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWorkflowEventsV1WorkflowsEventsListGetResponse) GetBody ¶
func (r GetWorkflowEventsV1WorkflowsEventsListGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWorkflowEventsV1WorkflowsEventsListGetResponse) GetJSON200 ¶
func (r GetWorkflowEventsV1WorkflowsEventsListGetResponse) GetJSON200() *ListWorkflowEventResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWorkflowEventsV1WorkflowsEventsListGetResponse) GetJSON422 ¶
func (r GetWorkflowEventsV1WorkflowsEventsListGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetWorkflowEventsV1WorkflowsEventsListGetResponse) Status ¶
func (r GetWorkflowEventsV1WorkflowsEventsListGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowEventsV1WorkflowsEventsListGetResponse) StatusCode ¶
func (r GetWorkflowEventsV1WorkflowsEventsListGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetParams ¶
type GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetParams struct {
DecodePayloads *bool `form:"decode_payloads,omitempty" json:"decode_payloads,omitempty"`
}
GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetParams defines parameters for GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet.
type GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse ¶
type GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *interface{}
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse ¶
func ParseGetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse(rsp *http.Response) (*GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse, error)
ParseGetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse parses an HTTP response from a GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetWithResponse call
func (GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) ContentType ¶
func (r GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) GetBody ¶
func (r GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) GetJSON200 ¶
func (r GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) GetJSON200() *interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) GetJSON422 ¶
func (r GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) Status ¶
func (r GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) StatusCode ¶
func (r GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowExecutionTraceEventsParams ¶
type GetWorkflowExecutionTraceEventsParams struct {
MergeSameIdEvents *bool `form:"merge_same_id_events,omitempty" json:"merge_same_id_events,omitempty"`
IncludeInternalEvents *bool `form:"include_internal_events,omitempty" json:"include_internal_events,omitempty"`
}
GetWorkflowExecutionTraceEventsParams defines parameters for GetWorkflowExecutionTraceEvents.
type GetWorkflowExecutionTraceEventsResponse ¶
type GetWorkflowExecutionTraceEventsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkflowExecutionTraceEventsResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetWorkflowExecutionTraceEventsResponse ¶
func ParseGetWorkflowExecutionTraceEventsResponse(rsp *http.Response) (*GetWorkflowExecutionTraceEventsResponse, error)
ParseGetWorkflowExecutionTraceEventsResponse parses an HTTP response from a GetWorkflowExecutionTraceEventsWithResponse call
func (GetWorkflowExecutionTraceEventsResponse) ContentType ¶
func (r GetWorkflowExecutionTraceEventsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWorkflowExecutionTraceEventsResponse) GetBody ¶
func (r GetWorkflowExecutionTraceEventsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWorkflowExecutionTraceEventsResponse) GetJSON200 ¶
func (r GetWorkflowExecutionTraceEventsResponse) GetJSON200() *WorkflowExecutionTraceEventsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWorkflowExecutionTraceEventsResponse) GetJSON422 ¶
func (r GetWorkflowExecutionTraceEventsResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetWorkflowExecutionTraceEventsResponse) Status ¶
func (r GetWorkflowExecutionTraceEventsResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowExecutionTraceEventsResponse) StatusCode ¶
func (r GetWorkflowExecutionTraceEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowExecutionTraceOtelResponse ¶
type GetWorkflowExecutionTraceOtelResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkflowExecutionTraceOTelResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetWorkflowExecutionTraceOtelResponse ¶
func ParseGetWorkflowExecutionTraceOtelResponse(rsp *http.Response) (*GetWorkflowExecutionTraceOtelResponse, error)
ParseGetWorkflowExecutionTraceOtelResponse parses an HTTP response from a GetWorkflowExecutionTraceOtelWithResponse call
func (GetWorkflowExecutionTraceOtelResponse) ContentType ¶
func (r GetWorkflowExecutionTraceOtelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWorkflowExecutionTraceOtelResponse) GetBody ¶
func (r GetWorkflowExecutionTraceOtelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWorkflowExecutionTraceOtelResponse) GetJSON200 ¶
func (r GetWorkflowExecutionTraceOtelResponse) GetJSON200() *WorkflowExecutionTraceOTelResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWorkflowExecutionTraceOtelResponse) GetJSON422 ¶
func (r GetWorkflowExecutionTraceOtelResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetWorkflowExecutionTraceOtelResponse) Status ¶
func (r GetWorkflowExecutionTraceOtelResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowExecutionTraceOtelResponse) StatusCode ¶
func (r GetWorkflowExecutionTraceOtelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowExecutionTraceSummaryResponse ¶
type GetWorkflowExecutionTraceSummaryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkflowExecutionTraceSummaryResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetWorkflowExecutionTraceSummaryResponse ¶
func ParseGetWorkflowExecutionTraceSummaryResponse(rsp *http.Response) (*GetWorkflowExecutionTraceSummaryResponse, error)
ParseGetWorkflowExecutionTraceSummaryResponse parses an HTTP response from a GetWorkflowExecutionTraceSummaryWithResponse call
func (GetWorkflowExecutionTraceSummaryResponse) ContentType ¶
func (r GetWorkflowExecutionTraceSummaryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWorkflowExecutionTraceSummaryResponse) GetBody ¶
func (r GetWorkflowExecutionTraceSummaryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWorkflowExecutionTraceSummaryResponse) GetJSON200 ¶
func (r GetWorkflowExecutionTraceSummaryResponse) GetJSON200() *WorkflowExecutionTraceSummaryResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWorkflowExecutionTraceSummaryResponse) GetJSON422 ¶
func (r GetWorkflowExecutionTraceSummaryResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetWorkflowExecutionTraceSummaryResponse) Status ¶
func (r GetWorkflowExecutionTraceSummaryResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowExecutionTraceSummaryResponse) StatusCode ¶
func (r GetWorkflowExecutionTraceSummaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse ¶
type GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkflowExecutionResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse ¶
func ParseGetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse(rsp *http.Response) (*GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse, error)
ParseGetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse parses an HTTP response from a GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetWithResponse call
func (GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) ContentType ¶
func (r GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) GetBody ¶
func (r GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) GetJSON200 ¶
func (r GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) GetJSON200() *WorkflowExecutionResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) GetJSON422 ¶
func (r GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) Status ¶
func (r GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) StatusCode ¶
func (r GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetParams ¶
type GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetParams struct {
// StartTime Filter workflows started after this time (ISO 8601)
StartTime *time.Time `form:"start_time,omitempty" json:"start_time,omitempty"`
// EndTime Filter workflows started before this time (ISO 8601)
EndTime *time.Time `form:"end_time,omitempty" json:"end_time,omitempty"`
}
GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetParams defines parameters for GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet.
type GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse ¶
type GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkflowMetrics
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse ¶
func ParseGetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse(rsp *http.Response) (*GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse, error)
ParseGetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse parses an HTTP response from a GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetWithResponse call
func (GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) ContentType ¶
func (r GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) GetBody ¶
func (r GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) GetJSON200 ¶
func (r GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) GetJSON200() *WorkflowMetrics
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) GetJSON422 ¶
func (r GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) Status ¶
func (r GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) StatusCode ¶
func (r GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetParams ¶
type GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetParams struct {
// WithWorkflow Whether to include the workflow definition
WithWorkflow *bool `form:"with_workflow,omitempty" json:"with_workflow,omitempty"`
IncludeShared *bool `form:"include_shared,omitempty" json:"include_shared,omitempty"`
}
GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetParams defines parameters for GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet.
type GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse ¶
type GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkflowRegistrationGetResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse ¶
func ParseGetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse(rsp *http.Response) (*GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse, error)
ParseGetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse parses an HTTP response from a GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetWithResponse call
func (GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) ContentType ¶
func (r GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) GetBody ¶
func (r GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) GetJSON200 ¶
func (r GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) GetJSON200() *WorkflowRegistrationGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) GetJSON422 ¶
func (r GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) Status ¶
func (r GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) StatusCode ¶
func (r GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowRegistrationsV1WorkflowsRegistrationsGetParams ¶
type GetWorkflowRegistrationsV1WorkflowsRegistrationsGetParams struct {
// WorkflowId The workflow ID to filter by
WorkflowId *openapi_types.UUID `form:"workflow_id,omitempty" json:"workflow_id,omitempty"`
// TaskQueue The task queue to filter by
TaskQueue *string `form:"task_queue,omitempty" json:"task_queue,omitempty"`
// ActiveOnly Whether to only return active workflows versions
ActiveOnly *bool `form:"active_only,omitempty" json:"active_only,omitempty"`
IncludeShared *bool `form:"include_shared,omitempty" json:"include_shared,omitempty"`
// WorkflowSearch The workflow name to filter by
WorkflowSearch *string `form:"workflow_search,omitempty" json:"workflow_search,omitempty"`
// Archived Filter by archived state. False=exclude archived, True=only archived, None=include all
Archived *bool `form:"archived,omitempty" json:"archived,omitempty"`
// WithWorkflow Whether to include the workflow definition
WithWorkflow *bool `form:"with_workflow,omitempty" json:"with_workflow,omitempty"`
// AvailableInChatAssistant Whether to only return workflows compatible with chat assistant
AvailableInChatAssistant *bool `form:"available_in_chat_assistant,omitempty" json:"available_in_chat_assistant,omitempty"`
// Limit The maximum number of workflows versions to return
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor The cursor for pagination
Cursor *openapi_types.UUID `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetWorkflowRegistrationsV1WorkflowsRegistrationsGetParams defines parameters for GetWorkflowRegistrationsV1WorkflowsRegistrationsGet.
type GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse ¶
type GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkflowRegistrationListResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse ¶
func ParseGetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse(rsp *http.Response) (*GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse, error)
ParseGetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse parses an HTTP response from a GetWorkflowRegistrationsV1WorkflowsRegistrationsGetWithResponse call
func (GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) ContentType ¶
func (r GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) GetBody ¶
func (r GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) GetJSON200 ¶
func (r GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) GetJSON200() *WorkflowRegistrationListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) GetJSON422 ¶
func (r GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) Status ¶
func (r GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) StatusCode ¶
func (r GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse ¶
type GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkflowGetResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetWorkflowV1WorkflowsWorkflowIdentifierGetResponse ¶
func ParseGetWorkflowV1WorkflowsWorkflowIdentifierGetResponse(rsp *http.Response) (*GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse, error)
ParseGetWorkflowV1WorkflowsWorkflowIdentifierGetResponse parses an HTTP response from a GetWorkflowV1WorkflowsWorkflowIdentifierGetWithResponse call
func (GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) ContentType ¶
func (r GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) GetBody ¶
func (r GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) GetJSON200 ¶
func (r GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) GetJSON200() *WorkflowGetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) GetJSON422 ¶
func (r GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) Status ¶
func (r GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) StatusCode ¶
func (r GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GithubRepositoryIn ¶
type GithubRepositoryIn struct {
Name string `json:"name"`
Owner string `json:"owner"`
Ref *string `json:"ref,omitempty"`
Token string `json:"token"`
Type *GithubRepositoryInType `json:"type,omitempty"`
Weight *float32 `json:"weight,omitempty"`
}
GithubRepositoryIn defines model for GithubRepositoryIn.
type GithubRepositoryInType ¶
type GithubRepositoryInType string
GithubRepositoryInType defines model for GithubRepositoryIn.Type.
const (
GithubRepositoryInTypeGithub GithubRepositoryInType = "github"
)
Defines values for GithubRepositoryInType.
func (GithubRepositoryInType) Valid ¶
func (e GithubRepositoryInType) Valid() bool
Valid indicates whether the value is a known member of the GithubRepositoryInType enum.
type GithubRepositoryOut ¶
type GithubRepositoryOut struct {
CommitId string `json:"commit_id"`
Name string `json:"name"`
Owner string `json:"owner"`
Ref *string `json:"ref,omitempty"`
Type *GithubRepositoryOutType `json:"type,omitempty"`
Weight *float32 `json:"weight,omitempty"`
}
GithubRepositoryOut defines model for GithubRepositoryOut.
type GithubRepositoryOutType ¶
type GithubRepositoryOutType string
GithubRepositoryOutType defines model for GithubRepositoryOut.Type.
const (
GithubRepositoryOutTypeGithub GithubRepositoryOutType = "github"
)
Defines values for GithubRepositoryOutType.
func (GithubRepositoryOutType) Valid ¶
func (e GithubRepositoryOutType) Valid() bool
Valid indicates whether the value is a known member of the GithubRepositoryOutType enum.
type GuardrailConfig ¶
type GuardrailConfig struct {
// BlockOnError If true, return HTTP 403 and block request in the event of a server-side error
BlockOnError *bool `json:"block_on_error,omitempty"`
ModerationLlmV1 *ModerationLLMV1Config `json:"moderation_llm_v1,omitempty"`
ModerationLlmV2 *ModerationLLMV2Config `json:"moderation_llm_v2,omitempty"`
}
GuardrailConfig defines model for GuardrailConfig.
type HTTPValidationError ¶
type HTTPValidationError struct {
Detail *[]ValidationError `json:"detail,omitempty"`
}
HTTPValidationError defines model for HTTPValidationError.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ImageContent ¶
type ImageContent struct {
UnderscoreMeta *map[string]interface{} `json:"_meta,omitempty"`
Annotations *Annotations `json:"annotations,omitempty"`
Data string `json:"data"`
MimeType string `json:"mimeType"`
Type ImageContentType `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ImageContent Image content for a message.
func (ImageContent) Get ¶
func (a ImageContent) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ImageContent. Returns the specified element and whether it was found
func (ImageContent) MarshalJSON ¶
func (a ImageContent) MarshalJSON() ([]byte, error)
Override default JSON handling for ImageContent to handle AdditionalProperties
func (*ImageContent) Set ¶
func (a *ImageContent) Set(fieldName string, value interface{})
Setter for additional properties for ImageContent
func (*ImageContent) UnmarshalJSON ¶
func (a *ImageContent) UnmarshalJSON(b []byte) error
Override default JSON handling for ImageContent to handle AdditionalProperties
type ImageContentType ¶
type ImageContentType string
ImageContentType defines model for ImageContent.Type.
const (
ImageContentTypeImage ImageContentType = "image"
)
Defines values for ImageContentType.
func (ImageContentType) Valid ¶
func (e ImageContentType) Valid() bool
Valid indicates whether the value is a known member of the ImageContentType enum.
type ImageDetail ¶
type ImageDetail string
ImageDetail defines model for ImageDetail.
const ( ImageDetailAuto ImageDetail = "auto" ImageDetailHigh ImageDetail = "high" ImageDetailLow ImageDetail = "low" )
Defines values for ImageDetail.
func (ImageDetail) Valid ¶
func (e ImageDetail) Valid() bool
Valid indicates whether the value is a known member of the ImageDetail enum.
type ImageGenerationTool ¶
type ImageGenerationTool struct {
ToolConfiguration *ToolConfiguration `json:"tool_configuration,omitempty"`
Type *ImageGenerationToolType `json:"type,omitempty"`
}
ImageGenerationTool defines model for ImageGenerationTool.
type ImageGenerationToolType ¶
type ImageGenerationToolType string
ImageGenerationToolType defines model for ImageGenerationTool.Type.
const (
ImageGenerationToolTypeImageGeneration ImageGenerationToolType = "image_generation"
)
Defines values for ImageGenerationToolType.
func (ImageGenerationToolType) Valid ¶
func (e ImageGenerationToolType) Valid() bool
Valid indicates whether the value is a known member of the ImageGenerationToolType enum.
type ImageURL ¶
type ImageURL struct {
Detail *ImageDetail `json:"detail,omitempty"`
Url string `json:"url"`
}
ImageURL defines model for ImageURL.
type ImageURLChunk ¶
type ImageURLChunk struct {
ImageUrl ImageURLChunk_ImageUrl `json:"image_url"`
Type *ImageURLChunkType `json:"type,omitempty"`
}
ImageURLChunk {"type":"image_url","image_url":{"url":"data:image/png;base64,iVBORw0
type ImageURLChunkImageUrl1 ¶
type ImageURLChunkImageUrl1 = string
ImageURLChunkImageUrl1 defines model for ImageURLChunk.ImageUrl.1.
type ImageURLChunkType ¶
type ImageURLChunkType string
ImageURLChunkType defines model for ImageURLChunk.Type.
const (
ImageURLChunkTypeImageUrl ImageURLChunkType = "image_url"
)
Defines values for ImageURLChunkType.
func (ImageURLChunkType) Valid ¶
func (e ImageURLChunkType) Valid() bool
Valid indicates whether the value is a known member of the ImageURLChunkType enum.
type ImageURLChunk_ImageUrl ¶
type ImageURLChunk_ImageUrl struct {
// contains filtered or unexported fields
}
ImageURLChunk_ImageUrl defines model for ImageURLChunk.ImageUrl.
func (ImageURLChunk_ImageUrl) AsImageURL ¶
func (t ImageURLChunk_ImageUrl) AsImageURL() (ImageURL, error)
AsImageURL returns the union data inside the ImageURLChunk_ImageUrl as a ImageURL
func (ImageURLChunk_ImageUrl) AsImageURLChunkImageUrl1 ¶
func (t ImageURLChunk_ImageUrl) AsImageURLChunkImageUrl1() (ImageURLChunkImageUrl1, error)
AsImageURLChunkImageUrl1 returns the union data inside the ImageURLChunk_ImageUrl as a ImageURLChunkImageUrl1
func (*ImageURLChunk_ImageUrl) FromImageURL ¶
func (t *ImageURLChunk_ImageUrl) FromImageURL(v ImageURL) error
FromImageURL overwrites any union data inside the ImageURLChunk_ImageUrl as the provided ImageURL
func (*ImageURLChunk_ImageUrl) FromImageURLChunkImageUrl1 ¶
func (t *ImageURLChunk_ImageUrl) FromImageURLChunkImageUrl1(v ImageURLChunkImageUrl1) error
FromImageURLChunkImageUrl1 overwrites any union data inside the ImageURLChunk_ImageUrl as the provided ImageURLChunkImageUrl1
func (ImageURLChunk_ImageUrl) MarshalJSON ¶
func (t ImageURLChunk_ImageUrl) MarshalJSON() ([]byte, error)
func (*ImageURLChunk_ImageUrl) MergeImageURL ¶
func (t *ImageURLChunk_ImageUrl) MergeImageURL(v ImageURL) error
MergeImageURL performs a merge with any union data inside the ImageURLChunk_ImageUrl, using the provided ImageURL
func (*ImageURLChunk_ImageUrl) MergeImageURLChunkImageUrl1 ¶
func (t *ImageURLChunk_ImageUrl) MergeImageURLChunkImageUrl1(v ImageURLChunkImageUrl1) error
MergeImageURLChunkImageUrl1 performs a merge with any union data inside the ImageURLChunk_ImageUrl, using the provided ImageURLChunkImageUrl1
func (*ImageURLChunk_ImageUrl) UnmarshalJSON ¶
func (t *ImageURLChunk_ImageUrl) UnmarshalJSON(b []byte) error
type InputEntries ¶
type InputEntries = []InputEntries_Item
InputEntries defines model for InputEntries.
type InputEntries_Item ¶
type InputEntries_Item struct {
// contains filtered or unexported fields
}
InputEntries_Item defines model for InputEntries.Item.
func (InputEntries_Item) AsAgentHandoffEntry ¶
func (t InputEntries_Item) AsAgentHandoffEntry() (AgentHandoffEntry, error)
AsAgentHandoffEntry returns the union data inside the InputEntries_Item as a AgentHandoffEntry
func (InputEntries_Item) AsFunctionCallEntry ¶
func (t InputEntries_Item) AsFunctionCallEntry() (FunctionCallEntry, error)
AsFunctionCallEntry returns the union data inside the InputEntries_Item as a FunctionCallEntry
func (InputEntries_Item) AsFunctionResultEntry ¶
func (t InputEntries_Item) AsFunctionResultEntry() (FunctionResultEntry, error)
AsFunctionResultEntry returns the union data inside the InputEntries_Item as a FunctionResultEntry
func (InputEntries_Item) AsMessageInputEntry ¶
func (t InputEntries_Item) AsMessageInputEntry() (MessageInputEntry, error)
AsMessageInputEntry returns the union data inside the InputEntries_Item as a MessageInputEntry
func (InputEntries_Item) AsMessageOutputEntry ¶
func (t InputEntries_Item) AsMessageOutputEntry() (MessageOutputEntry, error)
AsMessageOutputEntry returns the union data inside the InputEntries_Item as a MessageOutputEntry
func (InputEntries_Item) AsToolExecutionEntry ¶
func (t InputEntries_Item) AsToolExecutionEntry() (ToolExecutionEntry, error)
AsToolExecutionEntry returns the union data inside the InputEntries_Item as a ToolExecutionEntry
func (*InputEntries_Item) FromAgentHandoffEntry ¶
func (t *InputEntries_Item) FromAgentHandoffEntry(v AgentHandoffEntry) error
FromAgentHandoffEntry overwrites any union data inside the InputEntries_Item as the provided AgentHandoffEntry
func (*InputEntries_Item) FromFunctionCallEntry ¶
func (t *InputEntries_Item) FromFunctionCallEntry(v FunctionCallEntry) error
FromFunctionCallEntry overwrites any union data inside the InputEntries_Item as the provided FunctionCallEntry
func (*InputEntries_Item) FromFunctionResultEntry ¶
func (t *InputEntries_Item) FromFunctionResultEntry(v FunctionResultEntry) error
FromFunctionResultEntry overwrites any union data inside the InputEntries_Item as the provided FunctionResultEntry
func (*InputEntries_Item) FromMessageInputEntry ¶
func (t *InputEntries_Item) FromMessageInputEntry(v MessageInputEntry) error
FromMessageInputEntry overwrites any union data inside the InputEntries_Item as the provided MessageInputEntry
func (*InputEntries_Item) FromMessageOutputEntry ¶
func (t *InputEntries_Item) FromMessageOutputEntry(v MessageOutputEntry) error
FromMessageOutputEntry overwrites any union data inside the InputEntries_Item as the provided MessageOutputEntry
func (*InputEntries_Item) FromToolExecutionEntry ¶
func (t *InputEntries_Item) FromToolExecutionEntry(v ToolExecutionEntry) error
FromToolExecutionEntry overwrites any union data inside the InputEntries_Item as the provided ToolExecutionEntry
func (InputEntries_Item) MarshalJSON ¶
func (t InputEntries_Item) MarshalJSON() ([]byte, error)
func (*InputEntries_Item) MergeAgentHandoffEntry ¶
func (t *InputEntries_Item) MergeAgentHandoffEntry(v AgentHandoffEntry) error
MergeAgentHandoffEntry performs a merge with any union data inside the InputEntries_Item, using the provided AgentHandoffEntry
func (*InputEntries_Item) MergeFunctionCallEntry ¶
func (t *InputEntries_Item) MergeFunctionCallEntry(v FunctionCallEntry) error
MergeFunctionCallEntry performs a merge with any union data inside the InputEntries_Item, using the provided FunctionCallEntry
func (*InputEntries_Item) MergeFunctionResultEntry ¶
func (t *InputEntries_Item) MergeFunctionResultEntry(v FunctionResultEntry) error
MergeFunctionResultEntry performs a merge with any union data inside the InputEntries_Item, using the provided FunctionResultEntry
func (*InputEntries_Item) MergeMessageInputEntry ¶
func (t *InputEntries_Item) MergeMessageInputEntry(v MessageInputEntry) error
MergeMessageInputEntry performs a merge with any union data inside the InputEntries_Item, using the provided MessageInputEntry
func (*InputEntries_Item) MergeMessageOutputEntry ¶
func (t *InputEntries_Item) MergeMessageOutputEntry(v MessageOutputEntry) error
MergeMessageOutputEntry performs a merge with any union data inside the InputEntries_Item, using the provided MessageOutputEntry
func (*InputEntries_Item) MergeToolExecutionEntry ¶
func (t *InputEntries_Item) MergeToolExecutionEntry(v ToolExecutionEntry) error
MergeToolExecutionEntry performs a merge with any union data inside the InputEntries_Item, using the provided ToolExecutionEntry
func (*InputEntries_Item) UnmarshalJSON ¶
func (t *InputEntries_Item) UnmarshalJSON(b []byte) error
type InstructRequest ¶
type InstructRequest struct {
Messages []InstructRequest_Messages_Item `json:"messages"`
}
InstructRequest defines model for InstructRequest.
type InstructRequest_Messages_Item ¶
type InstructRequest_Messages_Item struct {
// contains filtered or unexported fields
}
InstructRequest_Messages_Item defines model for InstructRequest.messages.Item.
func (InstructRequest_Messages_Item) AsAssistantMessage ¶
func (t InstructRequest_Messages_Item) AsAssistantMessage() (AssistantMessage, error)
AsAssistantMessage returns the union data inside the InstructRequest_Messages_Item as a AssistantMessage
func (InstructRequest_Messages_Item) AsSystemMessage ¶
func (t InstructRequest_Messages_Item) AsSystemMessage() (SystemMessage, error)
AsSystemMessage returns the union data inside the InstructRequest_Messages_Item as a SystemMessage
func (InstructRequest_Messages_Item) AsToolMessage ¶
func (t InstructRequest_Messages_Item) AsToolMessage() (ToolMessage, error)
AsToolMessage returns the union data inside the InstructRequest_Messages_Item as a ToolMessage
func (InstructRequest_Messages_Item) AsUserMessage ¶
func (t InstructRequest_Messages_Item) AsUserMessage() (UserMessage, error)
AsUserMessage returns the union data inside the InstructRequest_Messages_Item as a UserMessage
func (InstructRequest_Messages_Item) Discriminator ¶
func (t InstructRequest_Messages_Item) Discriminator() (string, error)
func (*InstructRequest_Messages_Item) FromAssistantMessage ¶
func (t *InstructRequest_Messages_Item) FromAssistantMessage(v AssistantMessage) error
FromAssistantMessage overwrites any union data inside the InstructRequest_Messages_Item as the provided AssistantMessage
func (*InstructRequest_Messages_Item) FromSystemMessage ¶
func (t *InstructRequest_Messages_Item) FromSystemMessage(v SystemMessage) error
FromSystemMessage overwrites any union data inside the InstructRequest_Messages_Item as the provided SystemMessage
func (*InstructRequest_Messages_Item) FromToolMessage ¶
func (t *InstructRequest_Messages_Item) FromToolMessage(v ToolMessage) error
FromToolMessage overwrites any union data inside the InstructRequest_Messages_Item as the provided ToolMessage
func (*InstructRequest_Messages_Item) FromUserMessage ¶
func (t *InstructRequest_Messages_Item) FromUserMessage(v UserMessage) error
FromUserMessage overwrites any union data inside the InstructRequest_Messages_Item as the provided UserMessage
func (InstructRequest_Messages_Item) MarshalJSON ¶
func (t InstructRequest_Messages_Item) MarshalJSON() ([]byte, error)
func (*InstructRequest_Messages_Item) MergeAssistantMessage ¶
func (t *InstructRequest_Messages_Item) MergeAssistantMessage(v AssistantMessage) error
MergeAssistantMessage performs a merge with any union data inside the InstructRequest_Messages_Item, using the provided AssistantMessage
func (*InstructRequest_Messages_Item) MergeSystemMessage ¶
func (t *InstructRequest_Messages_Item) MergeSystemMessage(v SystemMessage) error
MergeSystemMessage performs a merge with any union data inside the InstructRequest_Messages_Item, using the provided SystemMessage
func (*InstructRequest_Messages_Item) MergeToolMessage ¶
func (t *InstructRequest_Messages_Item) MergeToolMessage(v ToolMessage) error
MergeToolMessage performs a merge with any union data inside the InstructRequest_Messages_Item, using the provided ToolMessage
func (*InstructRequest_Messages_Item) MergeUserMessage ¶
func (t *InstructRequest_Messages_Item) MergeUserMessage(v UserMessage) error
MergeUserMessage performs a merge with any union data inside the InstructRequest_Messages_Item, using the provided UserMessage
func (*InstructRequest_Messages_Item) UnmarshalJSON ¶
func (t *InstructRequest_Messages_Item) UnmarshalJSON(b []byte) error
func (InstructRequest_Messages_Item) ValueByDiscriminator ¶
func (t InstructRequest_Messages_Item) ValueByDiscriminator() (interface{}, error)
type IntegrationsSchemasApiToolTool ¶
type IntegrationsSchemasApiToolTool struct {
Active *bool `json:"active,omitempty"`
CreatedAt time.Time `json:"created_at"`
Description string `json:"description"`
ExecutionConfig *ExecutionConfig `json:"execution_config"`
Id string `json:"id"`
Jsonschema *map[string]interface{} `json:"jsonschema,omitempty"`
Locale *IntegrationsSchemasTurbineToolLocale `json:"locale,omitempty"`
ModifiedAt time.Time `json:"modified_at"`
Name string `json:"name"`
SystemPrompt *string `json:"system_prompt,omitempty"`
Visibility ResourceVisibility `json:"visibility"`
}
IntegrationsSchemasApiToolTool defines model for integrations__schemas__api__tool__Tool.
type IntegrationsSchemasTurbineToolLocale ¶
type IntegrationsSchemasTurbineToolLocale struct {
Description map[string]string `json:"description"`
Name map[string]string `json:"name"`
UsageSentence map[string]string `json:"usage_sentence"`
}
IntegrationsSchemasTurbineToolLocale defines model for integrations__schemas__turbine__ToolLocale.
type JSONPatchAdd ¶
type JSONPatchAdd struct {
// Op Add operation
Op JSONPatchAddOp `json:"op"`
// Path A JSON Pointer (RFC 6901) identifying the target location within the document. Can be a string path (e.g., '/foo/bar'), '/', ”, or an empty list [] for root-level operations.
Path string `json:"path"`
// Value The value to use for the operation
Value interface{} `json:"value"`
}
JSONPatchAdd defines model for JSONPatchAdd.
type JSONPatchAddOp ¶
type JSONPatchAddOp string
JSONPatchAddOp Add operation
const (
JSONPatchAddOpAdd JSONPatchAddOp = "add"
)
Defines values for JSONPatchAddOp.
func (JSONPatchAddOp) Valid ¶
func (e JSONPatchAddOp) Valid() bool
Valid indicates whether the value is a known member of the JSONPatchAddOp enum.
type JSONPatchAppend ¶
type JSONPatchAppend struct {
// Op 'append' is an extension for efficient string concatenation in streaming scenarios.
Op JSONPatchAppendOp `json:"op"`
// Path A JSON Pointer (RFC 6901) identifying the target location within the document. Can be a string path (e.g., '/foo/bar'), '/', ”, or an empty list [] for root-level operations.
Path string `json:"path"`
// Value The value to use for the operation. A string to append to the existing value
Value string `json:"value"`
}
JSONPatchAppend defines model for JSONPatchAppend.
type JSONPatchAppendOp ¶
type JSONPatchAppendOp string
JSONPatchAppendOp 'append' is an extension for efficient string concatenation in streaming scenarios.
const (
JSONPatchAppendOpAppend JSONPatchAppendOp = "append"
)
Defines values for JSONPatchAppendOp.
func (JSONPatchAppendOp) Valid ¶
func (e JSONPatchAppendOp) Valid() bool
Valid indicates whether the value is a known member of the JSONPatchAppendOp enum.
type JSONPatchPayloadResponse ¶
type JSONPatchPayloadResponse struct {
// Type Discriminator indicating this is a JSON Patch payload.
Type JSONPatchPayloadResponseType `json:"type"`
// Value The list of JSON Patch operations to apply in order.
Value []JSONPatchPayloadResponse_Value_Item `json:"value"`
}
JSONPatchPayloadResponse A payload containing a list of JSON Patch operations.
Used for streaming incremental updates to workflow state.
type JSONPatchPayloadResponseType ¶
type JSONPatchPayloadResponseType string
JSONPatchPayloadResponseType Discriminator indicating this is a JSON Patch payload.
const (
JSONPatchPayloadResponseTypeJsonPatch JSONPatchPayloadResponseType = "json_patch"
)
Defines values for JSONPatchPayloadResponseType.
func (JSONPatchPayloadResponseType) Valid ¶
func (e JSONPatchPayloadResponseType) Valid() bool
Valid indicates whether the value is a known member of the JSONPatchPayloadResponseType enum.
type JSONPatchPayloadResponse_Value_Item ¶
type JSONPatchPayloadResponse_Value_Item struct {
// contains filtered or unexported fields
}
JSONPatchPayloadResponse_Value_Item defines model for JSONPatchPayloadResponse.value.Item.
func (JSONPatchPayloadResponse_Value_Item) AsJSONPatchAdd ¶
func (t JSONPatchPayloadResponse_Value_Item) AsJSONPatchAdd() (JSONPatchAdd, error)
AsJSONPatchAdd returns the union data inside the JSONPatchPayloadResponse_Value_Item as a JSONPatchAdd
func (JSONPatchPayloadResponse_Value_Item) AsJSONPatchAppend ¶
func (t JSONPatchPayloadResponse_Value_Item) AsJSONPatchAppend() (JSONPatchAppend, error)
AsJSONPatchAppend returns the union data inside the JSONPatchPayloadResponse_Value_Item as a JSONPatchAppend
func (JSONPatchPayloadResponse_Value_Item) AsJSONPatchRemove ¶
func (t JSONPatchPayloadResponse_Value_Item) AsJSONPatchRemove() (JSONPatchRemove, error)
AsJSONPatchRemove returns the union data inside the JSONPatchPayloadResponse_Value_Item as a JSONPatchRemove
func (JSONPatchPayloadResponse_Value_Item) AsJSONPatchReplace ¶
func (t JSONPatchPayloadResponse_Value_Item) AsJSONPatchReplace() (JSONPatchReplace, error)
AsJSONPatchReplace returns the union data inside the JSONPatchPayloadResponse_Value_Item as a JSONPatchReplace
func (JSONPatchPayloadResponse_Value_Item) Discriminator ¶
func (t JSONPatchPayloadResponse_Value_Item) Discriminator() (string, error)
func (*JSONPatchPayloadResponse_Value_Item) FromJSONPatchAdd ¶
func (t *JSONPatchPayloadResponse_Value_Item) FromJSONPatchAdd(v JSONPatchAdd) error
FromJSONPatchAdd overwrites any union data inside the JSONPatchPayloadResponse_Value_Item as the provided JSONPatchAdd
func (*JSONPatchPayloadResponse_Value_Item) FromJSONPatchAppend ¶
func (t *JSONPatchPayloadResponse_Value_Item) FromJSONPatchAppend(v JSONPatchAppend) error
FromJSONPatchAppend overwrites any union data inside the JSONPatchPayloadResponse_Value_Item as the provided JSONPatchAppend
func (*JSONPatchPayloadResponse_Value_Item) FromJSONPatchRemove ¶
func (t *JSONPatchPayloadResponse_Value_Item) FromJSONPatchRemove(v JSONPatchRemove) error
FromJSONPatchRemove overwrites any union data inside the JSONPatchPayloadResponse_Value_Item as the provided JSONPatchRemove
func (*JSONPatchPayloadResponse_Value_Item) FromJSONPatchReplace ¶
func (t *JSONPatchPayloadResponse_Value_Item) FromJSONPatchReplace(v JSONPatchReplace) error
FromJSONPatchReplace overwrites any union data inside the JSONPatchPayloadResponse_Value_Item as the provided JSONPatchReplace
func (JSONPatchPayloadResponse_Value_Item) MarshalJSON ¶
func (t JSONPatchPayloadResponse_Value_Item) MarshalJSON() ([]byte, error)
func (*JSONPatchPayloadResponse_Value_Item) MergeJSONPatchAdd ¶
func (t *JSONPatchPayloadResponse_Value_Item) MergeJSONPatchAdd(v JSONPatchAdd) error
MergeJSONPatchAdd performs a merge with any union data inside the JSONPatchPayloadResponse_Value_Item, using the provided JSONPatchAdd
func (*JSONPatchPayloadResponse_Value_Item) MergeJSONPatchAppend ¶
func (t *JSONPatchPayloadResponse_Value_Item) MergeJSONPatchAppend(v JSONPatchAppend) error
MergeJSONPatchAppend performs a merge with any union data inside the JSONPatchPayloadResponse_Value_Item, using the provided JSONPatchAppend
func (*JSONPatchPayloadResponse_Value_Item) MergeJSONPatchRemove ¶
func (t *JSONPatchPayloadResponse_Value_Item) MergeJSONPatchRemove(v JSONPatchRemove) error
MergeJSONPatchRemove performs a merge with any union data inside the JSONPatchPayloadResponse_Value_Item, using the provided JSONPatchRemove
func (*JSONPatchPayloadResponse_Value_Item) MergeJSONPatchReplace ¶
func (t *JSONPatchPayloadResponse_Value_Item) MergeJSONPatchReplace(v JSONPatchReplace) error
MergeJSONPatchReplace performs a merge with any union data inside the JSONPatchPayloadResponse_Value_Item, using the provided JSONPatchReplace
func (*JSONPatchPayloadResponse_Value_Item) UnmarshalJSON ¶
func (t *JSONPatchPayloadResponse_Value_Item) UnmarshalJSON(b []byte) error
func (JSONPatchPayloadResponse_Value_Item) ValueByDiscriminator ¶
func (t JSONPatchPayloadResponse_Value_Item) ValueByDiscriminator() (interface{}, error)
type JSONPatchRemove ¶
type JSONPatchRemove struct {
// Op Remove operation
Op JSONPatchRemoveOp `json:"op"`
// Path A JSON Pointer (RFC 6901) identifying the target location within the document. Can be a string path (e.g., '/foo/bar'), '/', ”, or an empty list [] for root-level operations.
Path string `json:"path"`
// Value The value to use for the operation
Value interface{} `json:"value"`
}
JSONPatchRemove defines model for JSONPatchRemove.
type JSONPatchRemoveOp ¶
type JSONPatchRemoveOp string
JSONPatchRemoveOp Remove operation
const (
JSONPatchRemoveOpRemove JSONPatchRemoveOp = "remove"
)
Defines values for JSONPatchRemoveOp.
func (JSONPatchRemoveOp) Valid ¶
func (e JSONPatchRemoveOp) Valid() bool
Valid indicates whether the value is a known member of the JSONPatchRemoveOp enum.
type JSONPatchReplace ¶
type JSONPatchReplace struct {
// Op Replace operation
Op JSONPatchReplaceOp `json:"op"`
// Path A JSON Pointer (RFC 6901) identifying the target location within the document. Can be a string path (e.g., '/foo/bar'), '/', ”, or an empty list [] for root-level operations.
Path string `json:"path"`
// Value The value to use for the operation
Value interface{} `json:"value"`
}
JSONPatchReplace defines model for JSONPatchReplace.
type JSONPatchReplaceOp ¶
type JSONPatchReplaceOp string
JSONPatchReplaceOp Replace operation
const (
JSONPatchReplaceOpReplace JSONPatchReplaceOp = "replace"
)
Defines values for JSONPatchReplaceOp.
func (JSONPatchReplaceOp) Valid ¶
func (e JSONPatchReplaceOp) Valid() bool
Valid indicates whether the value is a known member of the JSONPatchReplaceOp enum.
type JSONPayloadResponse ¶
type JSONPayloadResponse struct {
// Type Discriminator indicating this is a raw JSON payload.
Type JSONPayloadResponseType `json:"type"`
// Value The JSON-serializable payload value.
Value interface{} `json:"value"`
}
JSONPayloadResponse A payload containing arbitrary JSON data.
Used for complete state snapshots or final results.
type JSONPayloadResponseType ¶
type JSONPayloadResponseType string
JSONPayloadResponseType Discriminator indicating this is a raw JSON payload.
const (
JSONPayloadResponseTypeJson JSONPayloadResponseType = "json"
)
Defines values for JSONPayloadResponseType.
func (JSONPayloadResponseType) Valid ¶
func (e JSONPayloadResponseType) Valid() bool
Valid indicates whether the value is a known member of the JSONPayloadResponseType enum.
type JobIn ¶
type JobIn struct {
// AutoStart This field will be required in a future release.
AutoStart *bool `json:"auto_start,omitempty"`
ClassifierTargets *[]ClassifierTargetIn `json:"classifier_targets,omitempty"`
Hyperparameters JobIn_Hyperparameters `json:"hyperparameters"`
// Integrations A list of integrations to enable for your fine-tuning job.
Integrations *[]JobIn_Integrations_Item `json:"integrations,omitempty"`
InvalidSampleSkipPercentage *float32 `json:"invalid_sample_skip_percentage,omitempty"`
JobType *FineTuneableModelType `json:"job_type,omitempty"`
Model string `json:"model"`
Repositories *[]JobIn_Repositories_Item `json:"repositories,omitempty"`
// Suffix A string that will be added to your fine-tuning model name. For example, a suffix of "my-great-model" would produce a model name like `ft:open-mistral-7b:my-great-model:xxx...`
Suffix *string `json:"suffix,omitempty"`
TrainingFiles *[]TrainingFile `json:"training_files,omitempty"`
// ValidationFiles A list containing the IDs of uploaded files that contain validation data. If you provide these files, the data is used to generate validation metrics periodically during fine-tuning. These metrics can be viewed in `checkpoints` when getting the status of a running fine-tuning job. The same data should not be present in both train and validation files.
ValidationFiles *[]openapi_types.UUID `json:"validation_files,omitempty"`
}
JobIn defines model for JobIn.
type JobIn_Hyperparameters ¶
type JobIn_Hyperparameters struct {
// contains filtered or unexported fields
}
JobIn_Hyperparameters defines model for JobIn.Hyperparameters.
func (JobIn_Hyperparameters) AsClassifierTrainingParametersIn ¶
func (t JobIn_Hyperparameters) AsClassifierTrainingParametersIn() (ClassifierTrainingParametersIn, error)
AsClassifierTrainingParametersIn returns the union data inside the JobIn_Hyperparameters as a ClassifierTrainingParametersIn
func (JobIn_Hyperparameters) AsCompletionTrainingParametersIn ¶
func (t JobIn_Hyperparameters) AsCompletionTrainingParametersIn() (CompletionTrainingParametersIn, error)
AsCompletionTrainingParametersIn returns the union data inside the JobIn_Hyperparameters as a CompletionTrainingParametersIn
func (*JobIn_Hyperparameters) FromClassifierTrainingParametersIn ¶
func (t *JobIn_Hyperparameters) FromClassifierTrainingParametersIn(v ClassifierTrainingParametersIn) error
FromClassifierTrainingParametersIn overwrites any union data inside the JobIn_Hyperparameters as the provided ClassifierTrainingParametersIn
func (*JobIn_Hyperparameters) FromCompletionTrainingParametersIn ¶
func (t *JobIn_Hyperparameters) FromCompletionTrainingParametersIn(v CompletionTrainingParametersIn) error
FromCompletionTrainingParametersIn overwrites any union data inside the JobIn_Hyperparameters as the provided CompletionTrainingParametersIn
func (JobIn_Hyperparameters) MarshalJSON ¶
func (t JobIn_Hyperparameters) MarshalJSON() ([]byte, error)
func (*JobIn_Hyperparameters) MergeClassifierTrainingParametersIn ¶
func (t *JobIn_Hyperparameters) MergeClassifierTrainingParametersIn(v ClassifierTrainingParametersIn) error
MergeClassifierTrainingParametersIn performs a merge with any union data inside the JobIn_Hyperparameters, using the provided ClassifierTrainingParametersIn
func (*JobIn_Hyperparameters) MergeCompletionTrainingParametersIn ¶
func (t *JobIn_Hyperparameters) MergeCompletionTrainingParametersIn(v CompletionTrainingParametersIn) error
MergeCompletionTrainingParametersIn performs a merge with any union data inside the JobIn_Hyperparameters, using the provided CompletionTrainingParametersIn
func (*JobIn_Hyperparameters) UnmarshalJSON ¶
func (t *JobIn_Hyperparameters) UnmarshalJSON(b []byte) error
type JobIn_Integrations_Item ¶
type JobIn_Integrations_Item struct {
// contains filtered or unexported fields
}
JobIn_Integrations_Item defines model for JobIn.integrations.Item.
func (JobIn_Integrations_Item) AsWandbIntegration ¶
func (t JobIn_Integrations_Item) AsWandbIntegration() (WandbIntegration, error)
AsWandbIntegration returns the union data inside the JobIn_Integrations_Item as a WandbIntegration
func (JobIn_Integrations_Item) Discriminator ¶
func (t JobIn_Integrations_Item) Discriminator() (string, error)
func (*JobIn_Integrations_Item) FromWandbIntegration ¶
func (t *JobIn_Integrations_Item) FromWandbIntegration(v WandbIntegration) error
FromWandbIntegration overwrites any union data inside the JobIn_Integrations_Item as the provided WandbIntegration
func (JobIn_Integrations_Item) MarshalJSON ¶
func (t JobIn_Integrations_Item) MarshalJSON() ([]byte, error)
func (*JobIn_Integrations_Item) MergeWandbIntegration ¶
func (t *JobIn_Integrations_Item) MergeWandbIntegration(v WandbIntegration) error
MergeWandbIntegration performs a merge with any union data inside the JobIn_Integrations_Item, using the provided WandbIntegration
func (*JobIn_Integrations_Item) UnmarshalJSON ¶
func (t *JobIn_Integrations_Item) UnmarshalJSON(b []byte) error
func (JobIn_Integrations_Item) ValueByDiscriminator ¶
func (t JobIn_Integrations_Item) ValueByDiscriminator() (interface{}, error)
type JobIn_Repositories_Item ¶
type JobIn_Repositories_Item struct {
// contains filtered or unexported fields
}
JobIn_Repositories_Item defines model for JobIn.repositories.Item.
func (JobIn_Repositories_Item) AsGithubRepositoryIn ¶
func (t JobIn_Repositories_Item) AsGithubRepositoryIn() (GithubRepositoryIn, error)
AsGithubRepositoryIn returns the union data inside the JobIn_Repositories_Item as a GithubRepositoryIn
func (JobIn_Repositories_Item) Discriminator ¶
func (t JobIn_Repositories_Item) Discriminator() (string, error)
func (*JobIn_Repositories_Item) FromGithubRepositoryIn ¶
func (t *JobIn_Repositories_Item) FromGithubRepositoryIn(v GithubRepositoryIn) error
FromGithubRepositoryIn overwrites any union data inside the JobIn_Repositories_Item as the provided GithubRepositoryIn
func (JobIn_Repositories_Item) MarshalJSON ¶
func (t JobIn_Repositories_Item) MarshalJSON() ([]byte, error)
func (*JobIn_Repositories_Item) MergeGithubRepositoryIn ¶
func (t *JobIn_Repositories_Item) MergeGithubRepositoryIn(v GithubRepositoryIn) error
MergeGithubRepositoryIn performs a merge with any union data inside the JobIn_Repositories_Item, using the provided GithubRepositoryIn
func (*JobIn_Repositories_Item) UnmarshalJSON ¶
func (t *JobIn_Repositories_Item) UnmarshalJSON(b []byte) error
func (JobIn_Repositories_Item) ValueByDiscriminator ¶
func (t JobIn_Repositories_Item) ValueByDiscriminator() (interface{}, error)
type JobMetadataOut ¶
type JobMetadataOut struct {
Cost *float32 `json:"cost,omitempty"`
CostCurrency *string `json:"cost_currency,omitempty"`
DataTokens *int `json:"data_tokens,omitempty"`
EstimatedStartTime *int `json:"estimated_start_time,omitempty"`
ExpectedDurationSeconds *int `json:"expected_duration_seconds,omitempty"`
TrainTokens *int `json:"train_tokens,omitempty"`
TrainTokensPerStep *int `json:"train_tokens_per_step,omitempty"`
}
JobMetadataOut defines model for JobMetadataOut.
type JobsApiRoutesBatchCancelBatchJobResponse ¶
type JobsApiRoutesBatchCancelBatchJobResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BatchJobOut
}
func ParseJobsApiRoutesBatchCancelBatchJobResponse ¶
func ParseJobsApiRoutesBatchCancelBatchJobResponse(rsp *http.Response) (*JobsApiRoutesBatchCancelBatchJobResponse, error)
ParseJobsApiRoutesBatchCancelBatchJobResponse parses an HTTP response from a JobsApiRoutesBatchCancelBatchJobWithResponse call
func (JobsApiRoutesBatchCancelBatchJobResponse) ContentType ¶
func (r JobsApiRoutesBatchCancelBatchJobResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (JobsApiRoutesBatchCancelBatchJobResponse) GetBody ¶
func (r JobsApiRoutesBatchCancelBatchJobResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (JobsApiRoutesBatchCancelBatchJobResponse) GetJSON200 ¶
func (r JobsApiRoutesBatchCancelBatchJobResponse) GetJSON200() *BatchJobOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (JobsApiRoutesBatchCancelBatchJobResponse) Status ¶
func (r JobsApiRoutesBatchCancelBatchJobResponse) Status() string
Status returns HTTPResponse.Status
func (JobsApiRoutesBatchCancelBatchJobResponse) StatusCode ¶
func (r JobsApiRoutesBatchCancelBatchJobResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type JobsApiRoutesBatchCreateBatchJobJSONRequestBody ¶
type JobsApiRoutesBatchCreateBatchJobJSONRequestBody = BatchJobIn
JobsApiRoutesBatchCreateBatchJobJSONRequestBody defines body for JobsApiRoutesBatchCreateBatchJob for application/json ContentType.
type JobsApiRoutesBatchCreateBatchJobResponse ¶
type JobsApiRoutesBatchCreateBatchJobResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BatchJobOut
}
func ParseJobsApiRoutesBatchCreateBatchJobResponse ¶
func ParseJobsApiRoutesBatchCreateBatchJobResponse(rsp *http.Response) (*JobsApiRoutesBatchCreateBatchJobResponse, error)
ParseJobsApiRoutesBatchCreateBatchJobResponse parses an HTTP response from a JobsApiRoutesBatchCreateBatchJobWithResponse call
func (JobsApiRoutesBatchCreateBatchJobResponse) ContentType ¶
func (r JobsApiRoutesBatchCreateBatchJobResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (JobsApiRoutesBatchCreateBatchJobResponse) GetBody ¶
func (r JobsApiRoutesBatchCreateBatchJobResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (JobsApiRoutesBatchCreateBatchJobResponse) GetJSON200 ¶
func (r JobsApiRoutesBatchCreateBatchJobResponse) GetJSON200() *BatchJobOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (JobsApiRoutesBatchCreateBatchJobResponse) Status ¶
func (r JobsApiRoutesBatchCreateBatchJobResponse) Status() string
Status returns HTTPResponse.Status
func (JobsApiRoutesBatchCreateBatchJobResponse) StatusCode ¶
func (r JobsApiRoutesBatchCreateBatchJobResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type JobsApiRoutesBatchGetBatchJobParams ¶
type JobsApiRoutesBatchGetBatchJobParams struct {
Inline *bool `form:"inline,omitempty" json:"inline,omitempty"`
}
JobsApiRoutesBatchGetBatchJobParams defines parameters for JobsApiRoutesBatchGetBatchJob.
type JobsApiRoutesBatchGetBatchJobResponse ¶
type JobsApiRoutesBatchGetBatchJobResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BatchJobOut
}
func ParseJobsApiRoutesBatchGetBatchJobResponse ¶
func ParseJobsApiRoutesBatchGetBatchJobResponse(rsp *http.Response) (*JobsApiRoutesBatchGetBatchJobResponse, error)
ParseJobsApiRoutesBatchGetBatchJobResponse parses an HTTP response from a JobsApiRoutesBatchGetBatchJobWithResponse call
func (JobsApiRoutesBatchGetBatchJobResponse) ContentType ¶
func (r JobsApiRoutesBatchGetBatchJobResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (JobsApiRoutesBatchGetBatchJobResponse) GetBody ¶
func (r JobsApiRoutesBatchGetBatchJobResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (JobsApiRoutesBatchGetBatchJobResponse) GetJSON200 ¶
func (r JobsApiRoutesBatchGetBatchJobResponse) GetJSON200() *BatchJobOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (JobsApiRoutesBatchGetBatchJobResponse) Status ¶
func (r JobsApiRoutesBatchGetBatchJobResponse) Status() string
Status returns HTTPResponse.Status
func (JobsApiRoutesBatchGetBatchJobResponse) StatusCode ¶
func (r JobsApiRoutesBatchGetBatchJobResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type JobsApiRoutesBatchGetBatchJobsParams ¶
type JobsApiRoutesBatchGetBatchJobsParams struct {
Page *int `form:"page,omitempty" json:"page,omitempty"`
PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
Model *string `form:"model,omitempty" json:"model,omitempty"`
AgentId *string `form:"agent_id,omitempty" json:"agent_id,omitempty"`
Metadata *map[string]interface{} `form:"metadata,omitempty" json:"metadata,omitempty"`
CreatedAfter *time.Time `form:"created_after,omitempty" json:"created_after,omitempty"`
CreatedByMe *bool `form:"created_by_me,omitempty" json:"created_by_me,omitempty"`
Status *[]BatchJobStatus `form:"status,omitempty" json:"status,omitempty"`
OrderBy *JobsApiRoutesBatchGetBatchJobsParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
}
JobsApiRoutesBatchGetBatchJobsParams defines parameters for JobsApiRoutesBatchGetBatchJobs.
type JobsApiRoutesBatchGetBatchJobsParamsOrderBy ¶
type JobsApiRoutesBatchGetBatchJobsParamsOrderBy string
JobsApiRoutesBatchGetBatchJobsParamsOrderBy defines parameters for JobsApiRoutesBatchGetBatchJobs.
const ( JobsApiRoutesBatchGetBatchJobsParamsOrderByCreated JobsApiRoutesBatchGetBatchJobsParamsOrderBy = "created" JobsApiRoutesBatchGetBatchJobsParamsOrderByMinusCreated JobsApiRoutesBatchGetBatchJobsParamsOrderBy = "-created" )
Defines values for JobsApiRoutesBatchGetBatchJobsParamsOrderBy.
func (JobsApiRoutesBatchGetBatchJobsParamsOrderBy) Valid ¶
func (e JobsApiRoutesBatchGetBatchJobsParamsOrderBy) Valid() bool
Valid indicates whether the value is a known member of the JobsApiRoutesBatchGetBatchJobsParamsOrderBy enum.
type JobsApiRoutesBatchGetBatchJobsResponse ¶
type JobsApiRoutesBatchGetBatchJobsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BatchJobsOut
}
func ParseJobsApiRoutesBatchGetBatchJobsResponse ¶
func ParseJobsApiRoutesBatchGetBatchJobsResponse(rsp *http.Response) (*JobsApiRoutesBatchGetBatchJobsResponse, error)
ParseJobsApiRoutesBatchGetBatchJobsResponse parses an HTTP response from a JobsApiRoutesBatchGetBatchJobsWithResponse call
func (JobsApiRoutesBatchGetBatchJobsResponse) ContentType ¶
func (r JobsApiRoutesBatchGetBatchJobsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (JobsApiRoutesBatchGetBatchJobsResponse) GetBody ¶
func (r JobsApiRoutesBatchGetBatchJobsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (JobsApiRoutesBatchGetBatchJobsResponse) GetJSON200 ¶
func (r JobsApiRoutesBatchGetBatchJobsResponse) GetJSON200() *BatchJobsOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (JobsApiRoutesBatchGetBatchJobsResponse) Status ¶
func (r JobsApiRoutesBatchGetBatchJobsResponse) Status() string
Status returns HTTPResponse.Status
func (JobsApiRoutesBatchGetBatchJobsResponse) StatusCode ¶
func (r JobsApiRoutesBatchGetBatchJobsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type JobsApiRoutesFineTuningArchiveFineTunedModelResponse ¶
type JobsApiRoutesFineTuningArchiveFineTunedModelResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ArchiveFTModelOut
}
func ParseJobsApiRoutesFineTuningArchiveFineTunedModelResponse ¶
func ParseJobsApiRoutesFineTuningArchiveFineTunedModelResponse(rsp *http.Response) (*JobsApiRoutesFineTuningArchiveFineTunedModelResponse, error)
ParseJobsApiRoutesFineTuningArchiveFineTunedModelResponse parses an HTTP response from a JobsApiRoutesFineTuningArchiveFineTunedModelWithResponse call
func (JobsApiRoutesFineTuningArchiveFineTunedModelResponse) ContentType ¶
func (r JobsApiRoutesFineTuningArchiveFineTunedModelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (JobsApiRoutesFineTuningArchiveFineTunedModelResponse) GetBody ¶
func (r JobsApiRoutesFineTuningArchiveFineTunedModelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (JobsApiRoutesFineTuningArchiveFineTunedModelResponse) GetJSON200 ¶
func (r JobsApiRoutesFineTuningArchiveFineTunedModelResponse) GetJSON200() *ArchiveFTModelOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (JobsApiRoutesFineTuningArchiveFineTunedModelResponse) Status ¶
func (r JobsApiRoutesFineTuningArchiveFineTunedModelResponse) Status() string
Status returns HTTPResponse.Status
func (JobsApiRoutesFineTuningArchiveFineTunedModelResponse) StatusCode ¶
func (r JobsApiRoutesFineTuningArchiveFineTunedModelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody ¶
type JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody struct {
// contains filtered or unexported fields
}
JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody defines parameters for JobsApiRoutesFineTuningCancelFineTuningJob.
func (JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) AsClassifierDetailedJobOut ¶
func (t JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) AsClassifierDetailedJobOut() (ClassifierDetailedJobOut, error)
AsClassifierDetailedJobOut returns the union data inside the JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody as a ClassifierDetailedJobOut
func (JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) AsCompletionDetailedJobOut ¶
func (t JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) AsCompletionDetailedJobOut() (CompletionDetailedJobOut, error)
AsCompletionDetailedJobOut returns the union data inside the JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody as a CompletionDetailedJobOut
func (JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) Discriminator ¶
func (t JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) Discriminator() (string, error)
func (*JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) FromClassifierDetailedJobOut ¶
func (t *JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) FromClassifierDetailedJobOut(v ClassifierDetailedJobOut) error
FromClassifierDetailedJobOut overwrites any union data inside the JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody as the provided ClassifierDetailedJobOut
func (*JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) FromCompletionDetailedJobOut ¶
func (t *JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) FromCompletionDetailedJobOut(v CompletionDetailedJobOut) error
FromCompletionDetailedJobOut overwrites any union data inside the JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody as the provided CompletionDetailedJobOut
func (JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) MarshalJSON ¶
func (t JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) MergeClassifierDetailedJobOut ¶
func (t *JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) MergeClassifierDetailedJobOut(v ClassifierDetailedJobOut) error
MergeClassifierDetailedJobOut performs a merge with any union data inside the JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody, using the provided ClassifierDetailedJobOut
func (*JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) MergeCompletionDetailedJobOut ¶
func (t *JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) MergeCompletionDetailedJobOut(v CompletionDetailedJobOut) error
MergeCompletionDetailedJobOut performs a merge with any union data inside the JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody, using the provided CompletionDetailedJobOut
func (*JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) UnmarshalJSON ¶
func (t *JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) UnmarshalJSON(b []byte) error
func (JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) ValueByDiscriminator ¶
func (t JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) ValueByDiscriminator() (interface{}, error)
type JobsApiRoutesFineTuningCancelFineTuningJobResponse ¶
type JobsApiRoutesFineTuningCancelFineTuningJobResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody
}
func ParseJobsApiRoutesFineTuningCancelFineTuningJobResponse ¶
func ParseJobsApiRoutesFineTuningCancelFineTuningJobResponse(rsp *http.Response) (*JobsApiRoutesFineTuningCancelFineTuningJobResponse, error)
ParseJobsApiRoutesFineTuningCancelFineTuningJobResponse parses an HTTP response from a JobsApiRoutesFineTuningCancelFineTuningJobWithResponse call
func (JobsApiRoutesFineTuningCancelFineTuningJobResponse) ContentType ¶
func (r JobsApiRoutesFineTuningCancelFineTuningJobResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (JobsApiRoutesFineTuningCancelFineTuningJobResponse) GetBody ¶
func (r JobsApiRoutesFineTuningCancelFineTuningJobResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (JobsApiRoutesFineTuningCancelFineTuningJobResponse) GetJSON200 ¶
func (r JobsApiRoutesFineTuningCancelFineTuningJobResponse) GetJSON200() *JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (JobsApiRoutesFineTuningCancelFineTuningJobResponse) Status ¶
func (r JobsApiRoutesFineTuningCancelFineTuningJobResponse) Status() string
Status returns HTTPResponse.Status
func (JobsApiRoutesFineTuningCancelFineTuningJobResponse) StatusCode ¶
func (r JobsApiRoutesFineTuningCancelFineTuningJobResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody ¶
type JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody struct {
// contains filtered or unexported fields
}
JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody defines parameters for JobsApiRoutesFineTuningCreateFineTuningJob.
func (JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) AsJobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 ¶
func (t JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) AsJobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0() (JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0, error)
AsJobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 returns the union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody as a JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0
func (JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) AsLegacyJobMetadataOut ¶
func (t JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) AsLegacyJobMetadataOut() (LegacyJobMetadataOut, error)
AsLegacyJobMetadataOut returns the union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody as a LegacyJobMetadataOut
func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) FromJobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 ¶
func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) FromJobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0(v JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) error
FromJobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 overwrites any union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody as the provided JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0
func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) FromLegacyJobMetadataOut ¶
func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) FromLegacyJobMetadataOut(v LegacyJobMetadataOut) error
FromLegacyJobMetadataOut overwrites any union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody as the provided LegacyJobMetadataOut
func (JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) MarshalJSON ¶
func (t JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) MergeJobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 ¶
func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) MergeJobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0(v JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) error
MergeJobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 performs a merge with any union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody, using the provided JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0
func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) MergeLegacyJobMetadataOut ¶
func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) MergeLegacyJobMetadataOut(v LegacyJobMetadataOut) error
MergeLegacyJobMetadataOut performs a merge with any union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody, using the provided LegacyJobMetadataOut
func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) UnmarshalJSON ¶
func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) UnmarshalJSON(b []byte) error
type JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 ¶
type JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 struct {
// contains filtered or unexported fields
}
JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 defines parameters for JobsApiRoutesFineTuningCreateFineTuningJob.
func (JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) AsClassifierJobOut ¶
func (t JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) AsClassifierJobOut() (ClassifierJobOut, error)
AsClassifierJobOut returns the union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 as a ClassifierJobOut
func (JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) AsCompletionJobOut ¶
func (t JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) AsCompletionJobOut() (CompletionJobOut, error)
AsCompletionJobOut returns the union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 as a CompletionJobOut
func (JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) Discriminator ¶
func (t JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) Discriminator() (string, error)
func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) FromClassifierJobOut ¶
func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) FromClassifierJobOut(v ClassifierJobOut) error
FromClassifierJobOut overwrites any union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 as the provided ClassifierJobOut
func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) FromCompletionJobOut ¶
func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) FromCompletionJobOut(v CompletionJobOut) error
FromCompletionJobOut overwrites any union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 as the provided CompletionJobOut
func (JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) MarshalJSON ¶
func (t JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) MarshalJSON() ([]byte, error)
func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) MergeClassifierJobOut ¶
func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) MergeClassifierJobOut(v ClassifierJobOut) error
MergeClassifierJobOut performs a merge with any union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0, using the provided ClassifierJobOut
func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) MergeCompletionJobOut ¶
func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) MergeCompletionJobOut(v CompletionJobOut) error
MergeCompletionJobOut performs a merge with any union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0, using the provided CompletionJobOut
func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) UnmarshalJSON ¶
func (t *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) UnmarshalJSON(b []byte) error
func (JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) ValueByDiscriminator ¶
func (t JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) ValueByDiscriminator() (interface{}, error)
type JobsApiRoutesFineTuningCreateFineTuningJobJSONRequestBody ¶
type JobsApiRoutesFineTuningCreateFineTuningJobJSONRequestBody = JobIn
JobsApiRoutesFineTuningCreateFineTuningJobJSONRequestBody defines body for JobsApiRoutesFineTuningCreateFineTuningJob for application/json ContentType.
type JobsApiRoutesFineTuningCreateFineTuningJobParams ¶
type JobsApiRoutesFineTuningCreateFineTuningJobParams struct {
// DryRun * If `true` the job is not spawned, instead the query returns a handful of useful metadata
// for the user to perform sanity checks (see `LegacyJobMetadataOut` response).
// * Otherwise, the job is started and the query returns the job ID along with some of the
// input parameters (see `JobOut` response).
DryRun *bool `form:"dry_run,omitempty" json:"dry_run,omitempty"`
}
JobsApiRoutesFineTuningCreateFineTuningJobParams defines parameters for JobsApiRoutesFineTuningCreateFineTuningJob.
type JobsApiRoutesFineTuningCreateFineTuningJobResponse ¶
type JobsApiRoutesFineTuningCreateFineTuningJobResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody
}
func ParseJobsApiRoutesFineTuningCreateFineTuningJobResponse ¶
func ParseJobsApiRoutesFineTuningCreateFineTuningJobResponse(rsp *http.Response) (*JobsApiRoutesFineTuningCreateFineTuningJobResponse, error)
ParseJobsApiRoutesFineTuningCreateFineTuningJobResponse parses an HTTP response from a JobsApiRoutesFineTuningCreateFineTuningJobWithResponse call
func (JobsApiRoutesFineTuningCreateFineTuningJobResponse) ContentType ¶
func (r JobsApiRoutesFineTuningCreateFineTuningJobResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (JobsApiRoutesFineTuningCreateFineTuningJobResponse) GetBody ¶
func (r JobsApiRoutesFineTuningCreateFineTuningJobResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (JobsApiRoutesFineTuningCreateFineTuningJobResponse) GetJSON200 ¶
func (r JobsApiRoutesFineTuningCreateFineTuningJobResponse) GetJSON200() *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (JobsApiRoutesFineTuningCreateFineTuningJobResponse) Status ¶
func (r JobsApiRoutesFineTuningCreateFineTuningJobResponse) Status() string
Status returns HTTPResponse.Status
func (JobsApiRoutesFineTuningCreateFineTuningJobResponse) StatusCode ¶
func (r JobsApiRoutesFineTuningCreateFineTuningJobResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody ¶
type JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody struct {
// contains filtered or unexported fields
}
JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody defines parameters for JobsApiRoutesFineTuningGetFineTuningJob.
func (JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) AsClassifierDetailedJobOut ¶
func (t JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) AsClassifierDetailedJobOut() (ClassifierDetailedJobOut, error)
AsClassifierDetailedJobOut returns the union data inside the JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody as a ClassifierDetailedJobOut
func (JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) AsCompletionDetailedJobOut ¶
func (t JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) AsCompletionDetailedJobOut() (CompletionDetailedJobOut, error)
AsCompletionDetailedJobOut returns the union data inside the JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody as a CompletionDetailedJobOut
func (JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) Discriminator ¶
func (t JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) Discriminator() (string, error)
func (*JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) FromClassifierDetailedJobOut ¶
func (t *JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) FromClassifierDetailedJobOut(v ClassifierDetailedJobOut) error
FromClassifierDetailedJobOut overwrites any union data inside the JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody as the provided ClassifierDetailedJobOut
func (*JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) FromCompletionDetailedJobOut ¶
func (t *JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) FromCompletionDetailedJobOut(v CompletionDetailedJobOut) error
FromCompletionDetailedJobOut overwrites any union data inside the JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody as the provided CompletionDetailedJobOut
func (JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) MarshalJSON ¶
func (t JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) MergeClassifierDetailedJobOut ¶
func (t *JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) MergeClassifierDetailedJobOut(v ClassifierDetailedJobOut) error
MergeClassifierDetailedJobOut performs a merge with any union data inside the JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody, using the provided ClassifierDetailedJobOut
func (*JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) MergeCompletionDetailedJobOut ¶
func (t *JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) MergeCompletionDetailedJobOut(v CompletionDetailedJobOut) error
MergeCompletionDetailedJobOut performs a merge with any union data inside the JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody, using the provided CompletionDetailedJobOut
func (*JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) UnmarshalJSON ¶
func (t *JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) UnmarshalJSON(b []byte) error
func (JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) ValueByDiscriminator ¶
func (t JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) ValueByDiscriminator() (interface{}, error)
type JobsApiRoutesFineTuningGetFineTuningJobResponse ¶
type JobsApiRoutesFineTuningGetFineTuningJobResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody
}
func ParseJobsApiRoutesFineTuningGetFineTuningJobResponse ¶
func ParseJobsApiRoutesFineTuningGetFineTuningJobResponse(rsp *http.Response) (*JobsApiRoutesFineTuningGetFineTuningJobResponse, error)
ParseJobsApiRoutesFineTuningGetFineTuningJobResponse parses an HTTP response from a JobsApiRoutesFineTuningGetFineTuningJobWithResponse call
func (JobsApiRoutesFineTuningGetFineTuningJobResponse) ContentType ¶
func (r JobsApiRoutesFineTuningGetFineTuningJobResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (JobsApiRoutesFineTuningGetFineTuningJobResponse) GetBody ¶
func (r JobsApiRoutesFineTuningGetFineTuningJobResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (JobsApiRoutesFineTuningGetFineTuningJobResponse) GetJSON200 ¶
func (r JobsApiRoutesFineTuningGetFineTuningJobResponse) GetJSON200() *JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (JobsApiRoutesFineTuningGetFineTuningJobResponse) Status ¶
func (r JobsApiRoutesFineTuningGetFineTuningJobResponse) Status() string
Status returns HTTPResponse.Status
func (JobsApiRoutesFineTuningGetFineTuningJobResponse) StatusCode ¶
func (r JobsApiRoutesFineTuningGetFineTuningJobResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type JobsApiRoutesFineTuningGetFineTuningJobsParams ¶
type JobsApiRoutesFineTuningGetFineTuningJobsParams struct {
// Page The page number of the results to be returned.
Page *int `form:"page,omitempty" json:"page,omitempty"`
// PageSize The number of items to return per page.
PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
// Model The model name used for fine-tuning to filter on. When set, the other results are not displayed.
Model *string `form:"model,omitempty" json:"model,omitempty"`
// CreatedAfter The date/time to filter on. When set, the results for previous creation times are not displayed.
CreatedAfter *time.Time `form:"created_after,omitempty" json:"created_after,omitempty"`
CreatedBefore *time.Time `form:"created_before,omitempty" json:"created_before,omitempty"`
// CreatedByMe When set, only return results for jobs created by the API caller. Other results are not displayed.
CreatedByMe *bool `form:"created_by_me,omitempty" json:"created_by_me,omitempty"`
// Status The current job state to filter on. When set, the other results are not displayed.
Status *JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
// WandbProject The Weights and Biases project to filter on. When set, the other results are not displayed.
WandbProject *string `form:"wandb_project,omitempty" json:"wandb_project,omitempty"`
// WandbName The Weight and Biases run name to filter on. When set, the other results are not displayed.
WandbName *string `form:"wandb_name,omitempty" json:"wandb_name,omitempty"`
// Suffix The model suffix to filter on. When set, the other results are not displayed.
Suffix *string `form:"suffix,omitempty" json:"suffix,omitempty"`
}
JobsApiRoutesFineTuningGetFineTuningJobsParams defines parameters for JobsApiRoutesFineTuningGetFineTuningJobs.
type JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus ¶
type JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus string
JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus defines parameters for JobsApiRoutesFineTuningGetFineTuningJobs.
const ( JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusCANCELLATIONREQUESTED JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "CANCELLATION_REQUESTED" JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusCANCELLED JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "CANCELLED" JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusFAILED JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "FAILED" JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusFAILEDVALIDATION JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "FAILED_VALIDATION" JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusQUEUED JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "QUEUED" JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusRUNNING JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "RUNNING" JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusSTARTED JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "STARTED" JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusSUCCESS JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "SUCCESS" JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusVALIDATED JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "VALIDATED" JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusVALIDATING JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "VALIDATING" )
Defines values for JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus.
func (JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus) Valid ¶
func (e JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus enum.
type JobsApiRoutesFineTuningGetFineTuningJobsResponse ¶
type JobsApiRoutesFineTuningGetFineTuningJobsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *JobsOut
}
func ParseJobsApiRoutesFineTuningGetFineTuningJobsResponse ¶
func ParseJobsApiRoutesFineTuningGetFineTuningJobsResponse(rsp *http.Response) (*JobsApiRoutesFineTuningGetFineTuningJobsResponse, error)
ParseJobsApiRoutesFineTuningGetFineTuningJobsResponse parses an HTTP response from a JobsApiRoutesFineTuningGetFineTuningJobsWithResponse call
func (JobsApiRoutesFineTuningGetFineTuningJobsResponse) ContentType ¶
func (r JobsApiRoutesFineTuningGetFineTuningJobsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (JobsApiRoutesFineTuningGetFineTuningJobsResponse) GetBody ¶
func (r JobsApiRoutesFineTuningGetFineTuningJobsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (JobsApiRoutesFineTuningGetFineTuningJobsResponse) GetJSON200 ¶
func (r JobsApiRoutesFineTuningGetFineTuningJobsResponse) GetJSON200() *JobsOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (JobsApiRoutesFineTuningGetFineTuningJobsResponse) Status ¶
func (r JobsApiRoutesFineTuningGetFineTuningJobsResponse) Status() string
Status returns HTTPResponse.Status
func (JobsApiRoutesFineTuningGetFineTuningJobsResponse) StatusCode ¶
func (r JobsApiRoutesFineTuningGetFineTuningJobsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody ¶
type JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody struct {
// contains filtered or unexported fields
}
JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody defines parameters for JobsApiRoutesFineTuningStartFineTuningJob.
func (JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) AsClassifierDetailedJobOut ¶
func (t JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) AsClassifierDetailedJobOut() (ClassifierDetailedJobOut, error)
AsClassifierDetailedJobOut returns the union data inside the JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody as a ClassifierDetailedJobOut
func (JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) AsCompletionDetailedJobOut ¶
func (t JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) AsCompletionDetailedJobOut() (CompletionDetailedJobOut, error)
AsCompletionDetailedJobOut returns the union data inside the JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody as a CompletionDetailedJobOut
func (JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) Discriminator ¶
func (t JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) Discriminator() (string, error)
func (*JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) FromClassifierDetailedJobOut ¶
func (t *JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) FromClassifierDetailedJobOut(v ClassifierDetailedJobOut) error
FromClassifierDetailedJobOut overwrites any union data inside the JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody as the provided ClassifierDetailedJobOut
func (*JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) FromCompletionDetailedJobOut ¶
func (t *JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) FromCompletionDetailedJobOut(v CompletionDetailedJobOut) error
FromCompletionDetailedJobOut overwrites any union data inside the JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody as the provided CompletionDetailedJobOut
func (JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) MarshalJSON ¶
func (t JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) MergeClassifierDetailedJobOut ¶
func (t *JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) MergeClassifierDetailedJobOut(v ClassifierDetailedJobOut) error
MergeClassifierDetailedJobOut performs a merge with any union data inside the JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody, using the provided ClassifierDetailedJobOut
func (*JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) MergeCompletionDetailedJobOut ¶
func (t *JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) MergeCompletionDetailedJobOut(v CompletionDetailedJobOut) error
MergeCompletionDetailedJobOut performs a merge with any union data inside the JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody, using the provided CompletionDetailedJobOut
func (*JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) UnmarshalJSON ¶
func (t *JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) UnmarshalJSON(b []byte) error
func (JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) ValueByDiscriminator ¶
func (t JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) ValueByDiscriminator() (interface{}, error)
type JobsApiRoutesFineTuningStartFineTuningJobResponse ¶
type JobsApiRoutesFineTuningStartFineTuningJobResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody
}
func ParseJobsApiRoutesFineTuningStartFineTuningJobResponse ¶
func ParseJobsApiRoutesFineTuningStartFineTuningJobResponse(rsp *http.Response) (*JobsApiRoutesFineTuningStartFineTuningJobResponse, error)
ParseJobsApiRoutesFineTuningStartFineTuningJobResponse parses an HTTP response from a JobsApiRoutesFineTuningStartFineTuningJobWithResponse call
func (JobsApiRoutesFineTuningStartFineTuningJobResponse) ContentType ¶
func (r JobsApiRoutesFineTuningStartFineTuningJobResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (JobsApiRoutesFineTuningStartFineTuningJobResponse) GetBody ¶
func (r JobsApiRoutesFineTuningStartFineTuningJobResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (JobsApiRoutesFineTuningStartFineTuningJobResponse) GetJSON200 ¶
func (r JobsApiRoutesFineTuningStartFineTuningJobResponse) GetJSON200() *JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (JobsApiRoutesFineTuningStartFineTuningJobResponse) Status ¶
func (r JobsApiRoutesFineTuningStartFineTuningJobResponse) Status() string
Status returns HTTPResponse.Status
func (JobsApiRoutesFineTuningStartFineTuningJobResponse) StatusCode ¶
func (r JobsApiRoutesFineTuningStartFineTuningJobResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse ¶
type JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UnarchiveFTModelOut
}
func ParseJobsApiRoutesFineTuningUnarchiveFineTunedModelResponse ¶
func ParseJobsApiRoutesFineTuningUnarchiveFineTunedModelResponse(rsp *http.Response) (*JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse, error)
ParseJobsApiRoutesFineTuningUnarchiveFineTunedModelResponse parses an HTTP response from a JobsApiRoutesFineTuningUnarchiveFineTunedModelWithResponse call
func (JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) ContentType ¶
func (r JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) GetBody ¶
func (r JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) GetJSON200 ¶
func (r JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) GetJSON200() *UnarchiveFTModelOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) Status ¶
func (r JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) Status() string
Status returns HTTPResponse.Status
func (JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) StatusCode ¶
func (r JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody ¶
type JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody struct {
// contains filtered or unexported fields
}
JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody defines parameters for JobsApiRoutesFineTuningUpdateFineTunedModel.
func (JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) AsClassifierFTModelOut ¶
func (t JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) AsClassifierFTModelOut() (ClassifierFTModelOut, error)
AsClassifierFTModelOut returns the union data inside the JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody as a ClassifierFTModelOut
func (JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) AsCompletionFTModelOut ¶
func (t JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) AsCompletionFTModelOut() (CompletionFTModelOut, error)
AsCompletionFTModelOut returns the union data inside the JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody as a CompletionFTModelOut
func (JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) Discriminator ¶
func (t JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) Discriminator() (string, error)
func (*JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) FromClassifierFTModelOut ¶
func (t *JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) FromClassifierFTModelOut(v ClassifierFTModelOut) error
FromClassifierFTModelOut overwrites any union data inside the JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody as the provided ClassifierFTModelOut
func (*JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) FromCompletionFTModelOut ¶
func (t *JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) FromCompletionFTModelOut(v CompletionFTModelOut) error
FromCompletionFTModelOut overwrites any union data inside the JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody as the provided CompletionFTModelOut
func (JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) MarshalJSON ¶
func (t JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) MergeClassifierFTModelOut ¶
func (t *JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) MergeClassifierFTModelOut(v ClassifierFTModelOut) error
MergeClassifierFTModelOut performs a merge with any union data inside the JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody, using the provided ClassifierFTModelOut
func (*JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) MergeCompletionFTModelOut ¶
func (t *JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) MergeCompletionFTModelOut(v CompletionFTModelOut) error
MergeCompletionFTModelOut performs a merge with any union data inside the JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody, using the provided CompletionFTModelOut
func (*JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) UnmarshalJSON ¶
func (t *JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) UnmarshalJSON(b []byte) error
func (JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) ValueByDiscriminator ¶
func (t JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) ValueByDiscriminator() (interface{}, error)
type JobsApiRoutesFineTuningUpdateFineTunedModelJSONRequestBody ¶
type JobsApiRoutesFineTuningUpdateFineTunedModelJSONRequestBody = UpdateFTModelIn
JobsApiRoutesFineTuningUpdateFineTunedModelJSONRequestBody defines body for JobsApiRoutesFineTuningUpdateFineTunedModel for application/json ContentType.
type JobsApiRoutesFineTuningUpdateFineTunedModelResponse ¶
type JobsApiRoutesFineTuningUpdateFineTunedModelResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody
}
func ParseJobsApiRoutesFineTuningUpdateFineTunedModelResponse ¶
func ParseJobsApiRoutesFineTuningUpdateFineTunedModelResponse(rsp *http.Response) (*JobsApiRoutesFineTuningUpdateFineTunedModelResponse, error)
ParseJobsApiRoutesFineTuningUpdateFineTunedModelResponse parses an HTTP response from a JobsApiRoutesFineTuningUpdateFineTunedModelWithResponse call
func (JobsApiRoutesFineTuningUpdateFineTunedModelResponse) ContentType ¶
func (r JobsApiRoutesFineTuningUpdateFineTunedModelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (JobsApiRoutesFineTuningUpdateFineTunedModelResponse) GetBody ¶
func (r JobsApiRoutesFineTuningUpdateFineTunedModelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (JobsApiRoutesFineTuningUpdateFineTunedModelResponse) GetJSON200 ¶
func (r JobsApiRoutesFineTuningUpdateFineTunedModelResponse) GetJSON200() *JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (JobsApiRoutesFineTuningUpdateFineTunedModelResponse) Status ¶
func (r JobsApiRoutesFineTuningUpdateFineTunedModelResponse) Status() string
Status returns HTTPResponse.Status
func (JobsApiRoutesFineTuningUpdateFineTunedModelResponse) StatusCode ¶
func (r JobsApiRoutesFineTuningUpdateFineTunedModelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type JobsOut ¶
type JobsOut struct {
Data *[]JobsOut_Data_Item `json:"data,omitempty"`
Object *JobsOutObject `json:"object,omitempty"`
Total int `json:"total"`
}
JobsOut defines model for JobsOut.
type JobsOutObject ¶
type JobsOutObject string
JobsOutObject defines model for JobsOut.Object.
const (
JobsOutObjectList JobsOutObject = "list"
)
Defines values for JobsOutObject.
func (JobsOutObject) Valid ¶
func (e JobsOutObject) Valid() bool
Valid indicates whether the value is a known member of the JobsOutObject enum.
type JobsOut_Data_Item ¶
type JobsOut_Data_Item struct {
// contains filtered or unexported fields
}
JobsOut_Data_Item defines model for JobsOut.data.Item.
func (JobsOut_Data_Item) AsClassifierJobOut ¶
func (t JobsOut_Data_Item) AsClassifierJobOut() (ClassifierJobOut, error)
AsClassifierJobOut returns the union data inside the JobsOut_Data_Item as a ClassifierJobOut
func (JobsOut_Data_Item) AsCompletionJobOut ¶
func (t JobsOut_Data_Item) AsCompletionJobOut() (CompletionJobOut, error)
AsCompletionJobOut returns the union data inside the JobsOut_Data_Item as a CompletionJobOut
func (JobsOut_Data_Item) Discriminator ¶
func (t JobsOut_Data_Item) Discriminator() (string, error)
func (*JobsOut_Data_Item) FromClassifierJobOut ¶
func (t *JobsOut_Data_Item) FromClassifierJobOut(v ClassifierJobOut) error
FromClassifierJobOut overwrites any union data inside the JobsOut_Data_Item as the provided ClassifierJobOut
func (*JobsOut_Data_Item) FromCompletionJobOut ¶
func (t *JobsOut_Data_Item) FromCompletionJobOut(v CompletionJobOut) error
FromCompletionJobOut overwrites any union data inside the JobsOut_Data_Item as the provided CompletionJobOut
func (JobsOut_Data_Item) MarshalJSON ¶
func (t JobsOut_Data_Item) MarshalJSON() ([]byte, error)
func (*JobsOut_Data_Item) MergeClassifierJobOut ¶
func (t *JobsOut_Data_Item) MergeClassifierJobOut(v ClassifierJobOut) error
MergeClassifierJobOut performs a merge with any union data inside the JobsOut_Data_Item, using the provided ClassifierJobOut
func (*JobsOut_Data_Item) MergeCompletionJobOut ¶
func (t *JobsOut_Data_Item) MergeCompletionJobOut(v CompletionJobOut) error
MergeCompletionJobOut performs a merge with any union data inside the JobsOut_Data_Item, using the provided CompletionJobOut
func (*JobsOut_Data_Item) UnmarshalJSON ¶
func (t *JobsOut_Data_Item) UnmarshalJSON(b []byte) error
func (JobsOut_Data_Item) ValueByDiscriminator ¶
func (t JobsOut_Data_Item) ValueByDiscriminator() (interface{}, error)
type JsonSchema ¶
type JsonSchema struct {
Description *string `json:"description,omitempty"`
Name string `json:"name"`
Schema map[string]interface{} `json:"schema"`
Strict *bool `json:"strict,omitempty"`
}
JsonSchema defines model for JsonSchema.
type JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostJSONRequestBody ¶
type JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostJSONRequestBody = PostChatCompletionEventJudgingInSchema
JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostJSONRequestBody defines body for JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost for application/json ContentType.
type JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse ¶
type JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *JudgeOutput
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse ¶
func ParseJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse(rsp *http.Response) (*JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse, error)
ParseJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse parses an HTTP response from a JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithResponse call
func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) ContentType ¶
func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetBody ¶
func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON200 ¶
func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON200() *JudgeOutput
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON400 ¶
func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON404 ¶
func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON408 ¶
func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON409 ¶
func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON422 ¶
func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) Status ¶
func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) Status() string
Status returns HTTPResponse.Status
func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) StatusCode ¶
func (r JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type JudgeClassificationOutput ¶
type JudgeClassificationOutput struct {
Options []JudgeClassificationOutputOption `json:"options"`
Type *JudgeClassificationOutputType `json:"type,omitempty"`
}
JudgeClassificationOutput defines model for JudgeClassificationOutput.
type JudgeClassificationOutputOption ¶
type JudgeClassificationOutputOption struct {
Description string `json:"description"`
Value string `json:"value"`
}
JudgeClassificationOutputOption defines model for JudgeClassificationOutputOption.
type JudgeClassificationOutputType ¶
type JudgeClassificationOutputType string
JudgeClassificationOutputType defines model for JudgeClassificationOutput.Type.
const (
JudgeClassificationOutputTypeCLASSIFICATION JudgeClassificationOutputType = "CLASSIFICATION"
)
Defines values for JudgeClassificationOutputType.
func (JudgeClassificationOutputType) Valid ¶
func (e JudgeClassificationOutputType) Valid() bool
Valid indicates whether the value is a known member of the JudgeClassificationOutputType enum.
type JudgeConversationRequest ¶
type JudgeConversationRequest struct {
Messages []map[string]interface{} `json:"messages"`
Properties *map[string]interface{} `json:"properties,omitempty"`
}
JudgeConversationRequest defines model for JudgeConversationRequest.
type JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostJSONRequestBody ¶
type JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostJSONRequestBody = JudgeConversationRequest
JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostJSONRequestBody defines body for JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost for application/json ContentType.
type JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse ¶
type JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *JudgeOutput
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse ¶
func ParseJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse(rsp *http.Response) (*JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse, error)
ParseJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse parses an HTTP response from a JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithResponse call
func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) ContentType ¶
func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetBody ¶
func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON200 ¶
func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON200() *JudgeOutput
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON400 ¶
func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON404 ¶
func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON408 ¶
func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON409 ¶
func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON422 ¶
func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) Status ¶
func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) Status() string
Status returns HTTPResponse.Status
func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) StatusCode ¶
func (r JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostJSONRequestBody ¶
type JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostJSONRequestBody = PostDatasetRecordJudgingInSchema
JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostJSONRequestBody defines body for JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost for application/json ContentType.
type JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse ¶
type JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *JudgeOutput
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse ¶
func ParseJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse(rsp *http.Response) (*JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse, error)
ParseJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse parses an HTTP response from a JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithResponse call
func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) ContentType ¶
func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetBody ¶
func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON200 ¶
func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON200() *JudgeOutput
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON400 ¶
func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON404 ¶
func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON408 ¶
func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON409 ¶
func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON422 ¶
func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) Status ¶
func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) Status() string
Status returns HTTPResponse.Status
func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) StatusCode ¶
func (r JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type JudgeOutput ¶
type JudgeOutput struct {
Analysis string `json:"analysis"`
Answer JudgeOutput_Answer `json:"answer"`
}
JudgeOutput defines model for JudgeOutput.
type JudgeOutputAnswer0 ¶
type JudgeOutputAnswer0 = string
JudgeOutputAnswer0 defines model for JudgeOutput.Answer.0.
type JudgeOutputAnswer1 ¶
type JudgeOutputAnswer1 = float32
JudgeOutputAnswer1 defines model for JudgeOutput.Answer.1.
type JudgeOutputType ¶
type JudgeOutputType string
JudgeOutputType defines model for JudgeOutputType.
const ( JudgeOutputTypeCLASSIFICATION JudgeOutputType = "CLASSIFICATION" JudgeOutputTypeREGRESSION JudgeOutputType = "REGRESSION" )
Defines values for JudgeOutputType.
func (JudgeOutputType) Valid ¶
func (e JudgeOutputType) Valid() bool
Valid indicates whether the value is a known member of the JudgeOutputType enum.
type JudgeOutput_Answer ¶
type JudgeOutput_Answer struct {
// contains filtered or unexported fields
}
JudgeOutput_Answer defines model for JudgeOutput.Answer.
func (JudgeOutput_Answer) AsJudgeOutputAnswer0 ¶
func (t JudgeOutput_Answer) AsJudgeOutputAnswer0() (JudgeOutputAnswer0, error)
AsJudgeOutputAnswer0 returns the union data inside the JudgeOutput_Answer as a JudgeOutputAnswer0
func (JudgeOutput_Answer) AsJudgeOutputAnswer1 ¶
func (t JudgeOutput_Answer) AsJudgeOutputAnswer1() (JudgeOutputAnswer1, error)
AsJudgeOutputAnswer1 returns the union data inside the JudgeOutput_Answer as a JudgeOutputAnswer1
func (*JudgeOutput_Answer) FromJudgeOutputAnswer0 ¶
func (t *JudgeOutput_Answer) FromJudgeOutputAnswer0(v JudgeOutputAnswer0) error
FromJudgeOutputAnswer0 overwrites any union data inside the JudgeOutput_Answer as the provided JudgeOutputAnswer0
func (*JudgeOutput_Answer) FromJudgeOutputAnswer1 ¶
func (t *JudgeOutput_Answer) FromJudgeOutputAnswer1(v JudgeOutputAnswer1) error
FromJudgeOutputAnswer1 overwrites any union data inside the JudgeOutput_Answer as the provided JudgeOutputAnswer1
func (JudgeOutput_Answer) MarshalJSON ¶
func (t JudgeOutput_Answer) MarshalJSON() ([]byte, error)
func (*JudgeOutput_Answer) MergeJudgeOutputAnswer0 ¶
func (t *JudgeOutput_Answer) MergeJudgeOutputAnswer0(v JudgeOutputAnswer0) error
MergeJudgeOutputAnswer0 performs a merge with any union data inside the JudgeOutput_Answer, using the provided JudgeOutputAnswer0
func (*JudgeOutput_Answer) MergeJudgeOutputAnswer1 ¶
func (t *JudgeOutput_Answer) MergeJudgeOutputAnswer1(v JudgeOutputAnswer1) error
MergeJudgeOutputAnswer1 performs a merge with any union data inside the JudgeOutput_Answer, using the provided JudgeOutputAnswer1
func (*JudgeOutput_Answer) UnmarshalJSON ¶
func (t *JudgeOutput_Answer) UnmarshalJSON(b []byte) error
type JudgePreview ¶
type JudgePreview struct {
BaseRevision *openapi_types.UUID `json:"base_revision,omitempty"`
CreatedAt time.Time `json:"created_at"`
DeletedAt *time.Time `json:"deleted_at"`
Description string `json:"description"`
DownRevision *openapi_types.UUID `json:"down_revision,omitempty"`
Id openapi_types.UUID `json:"id"`
Instructions string `json:"instructions"`
ModelName string `json:"model_name"`
Name string `json:"name"`
Output JudgePreview_Output `json:"output"`
OwnerId openapi_types.UUID `json:"owner_id"`
Tools []string `json:"tools"`
UpRevision *openapi_types.UUID `json:"up_revision,omitempty"`
UpdatedAt time.Time `json:"updated_at"`
WorkspaceId openapi_types.UUID `json:"workspace_id"`
}
JudgePreview defines model for JudgePreview.
type JudgePreview_Output ¶
type JudgePreview_Output struct {
// contains filtered or unexported fields
}
JudgePreview_Output defines model for JudgePreview.Output.
func (JudgePreview_Output) AsJudgeClassificationOutput ¶
func (t JudgePreview_Output) AsJudgeClassificationOutput() (JudgeClassificationOutput, error)
AsJudgeClassificationOutput returns the union data inside the JudgePreview_Output as a JudgeClassificationOutput
func (JudgePreview_Output) AsJudgeRegressionOutput ¶
func (t JudgePreview_Output) AsJudgeRegressionOutput() (JudgeRegressionOutput, error)
AsJudgeRegressionOutput returns the union data inside the JudgePreview_Output as a JudgeRegressionOutput
func (JudgePreview_Output) Discriminator ¶
func (t JudgePreview_Output) Discriminator() (string, error)
func (*JudgePreview_Output) FromJudgeClassificationOutput ¶
func (t *JudgePreview_Output) FromJudgeClassificationOutput(v JudgeClassificationOutput) error
FromJudgeClassificationOutput overwrites any union data inside the JudgePreview_Output as the provided JudgeClassificationOutput
func (*JudgePreview_Output) FromJudgeRegressionOutput ¶
func (t *JudgePreview_Output) FromJudgeRegressionOutput(v JudgeRegressionOutput) error
FromJudgeRegressionOutput overwrites any union data inside the JudgePreview_Output as the provided JudgeRegressionOutput
func (JudgePreview_Output) MarshalJSON ¶
func (t JudgePreview_Output) MarshalJSON() ([]byte, error)
func (*JudgePreview_Output) MergeJudgeClassificationOutput ¶
func (t *JudgePreview_Output) MergeJudgeClassificationOutput(v JudgeClassificationOutput) error
MergeJudgeClassificationOutput performs a merge with any union data inside the JudgePreview_Output, using the provided JudgeClassificationOutput
func (*JudgePreview_Output) MergeJudgeRegressionOutput ¶
func (t *JudgePreview_Output) MergeJudgeRegressionOutput(v JudgeRegressionOutput) error
MergeJudgeRegressionOutput performs a merge with any union data inside the JudgePreview_Output, using the provided JudgeRegressionOutput
func (*JudgePreview_Output) UnmarshalJSON ¶
func (t *JudgePreview_Output) UnmarshalJSON(b []byte) error
func (JudgePreview_Output) ValueByDiscriminator ¶
func (t JudgePreview_Output) ValueByDiscriminator() (interface{}, error)
type JudgePreviews ¶
type JudgePreviews struct {
Judges PaginatedResultJudgePreview `json:"judges"`
}
JudgePreviews defines model for JudgePreviews.
type JudgeRegressionOutput ¶
type JudgeRegressionOutput struct {
Max *float32 `json:"max,omitempty"`
MaxDescription string `json:"max_description"`
Min *float32 `json:"min,omitempty"`
MinDescription string `json:"min_description"`
Type *JudgeRegressionOutputType `json:"type,omitempty"`
}
JudgeRegressionOutput defines model for JudgeRegressionOutput.
type JudgeRegressionOutputType ¶
type JudgeRegressionOutputType string
JudgeRegressionOutputType defines model for JudgeRegressionOutput.Type.
const (
JudgeRegressionOutputTypeREGRESSION JudgeRegressionOutputType = "REGRESSION"
)
Defines values for JudgeRegressionOutputType.
func (JudgeRegressionOutputType) Valid ¶
func (e JudgeRegressionOutputType) Valid() bool
Valid indicates whether the value is a known member of the JudgeRegressionOutputType enum.
type LegacyJobMetadataOut ¶
type LegacyJobMetadataOut struct {
// Cost The cost of the fine-tuning job.
//
// Examples: 10
Cost *float32 `json:"cost,omitempty"`
// CostCurrency The currency used for the fine-tuning job cost.
//
// Examples: EUR
CostCurrency *string `json:"cost_currency,omitempty"`
// DataTokens The total number of tokens in the training dataset.
//
// Examples: 305375
DataTokens *int `json:"data_tokens,omitempty"`
Deprecated *bool `json:"deprecated,omitempty"`
Details string `json:"details"`
// Epochs The number of complete passes through the entire training dataset.
//
// Examples: 4.2922
Epochs *float32 `json:"epochs,omitempty"`
EstimatedStartTime *int `json:"estimated_start_time,omitempty"`
// ExpectedDurationSeconds The approximated time (in seconds) for the fine-tuning process to complete.
//
// Examples: 220
ExpectedDurationSeconds *int `json:"expected_duration_seconds,omitempty"`
Object *LegacyJobMetadataOutObject `json:"object,omitempty"`
// TrainTokens The total number of tokens used during the fine-tuning process.
//
// Examples: 1310720
TrainTokens *int `json:"train_tokens,omitempty"`
// TrainTokensPerStep The number of tokens consumed by one training step.
//
// Examples: 131072
TrainTokensPerStep *int `json:"train_tokens_per_step,omitempty"`
// TrainingSteps The number of training steps to perform. A training step refers to a single update of the model weights during the fine-tuning process. This update is typically calculated using a batch of samples from the training dataset.
//
// Examples: 10
TrainingSteps *int `json:"training_steps,omitempty"`
}
LegacyJobMetadataOut defines model for LegacyJobMetadataOut.
type LegacyJobMetadataOutObject ¶
type LegacyJobMetadataOutObject string
LegacyJobMetadataOutObject defines model for LegacyJobMetadataOut.Object.
const (
LegacyJobMetadataOutObjectJobMetadata LegacyJobMetadataOutObject = "job.metadata"
)
Defines values for LegacyJobMetadataOutObject.
func (LegacyJobMetadataOutObject) Valid ¶
func (e LegacyJobMetadataOutObject) Valid() bool
Valid indicates whether the value is a known member of the LegacyJobMetadataOutObject enum.
type LibrariesCreateV1JSONRequestBody ¶
type LibrariesCreateV1JSONRequestBody = LibraryIn
LibrariesCreateV1JSONRequestBody defines body for LibrariesCreateV1 for application/json ContentType.
type LibrariesCreateV1Response ¶
type LibrariesCreateV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *LibraryOut
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseLibrariesCreateV1Response ¶
func ParseLibrariesCreateV1Response(rsp *http.Response) (*LibrariesCreateV1Response, error)
ParseLibrariesCreateV1Response parses an HTTP response from a LibrariesCreateV1WithResponse call
func (LibrariesCreateV1Response) ContentType ¶
func (r LibrariesCreateV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrariesCreateV1Response) GetBody ¶
func (r LibrariesCreateV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrariesCreateV1Response) GetJSON201 ¶
func (r LibrariesCreateV1Response) GetJSON201() *LibraryOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (LibrariesCreateV1Response) GetJSON422 ¶
func (r LibrariesCreateV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (LibrariesCreateV1Response) Status ¶
func (r LibrariesCreateV1Response) Status() string
Status returns HTTPResponse.Status
func (LibrariesCreateV1Response) StatusCode ¶
func (r LibrariesCreateV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrariesDeleteV1Response ¶
type LibrariesDeleteV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LibraryOut
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseLibrariesDeleteV1Response ¶
func ParseLibrariesDeleteV1Response(rsp *http.Response) (*LibrariesDeleteV1Response, error)
ParseLibrariesDeleteV1Response parses an HTTP response from a LibrariesDeleteV1WithResponse call
func (LibrariesDeleteV1Response) ContentType ¶
func (r LibrariesDeleteV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrariesDeleteV1Response) GetBody ¶
func (r LibrariesDeleteV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrariesDeleteV1Response) GetJSON200 ¶
func (r LibrariesDeleteV1Response) GetJSON200() *LibraryOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrariesDeleteV1Response) GetJSON422 ¶
func (r LibrariesDeleteV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (LibrariesDeleteV1Response) Status ¶
func (r LibrariesDeleteV1Response) Status() string
Status returns HTTPResponse.Status
func (LibrariesDeleteV1Response) StatusCode ¶
func (r LibrariesDeleteV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrariesDocumentsDeleteV1Response ¶
type LibrariesDocumentsDeleteV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseLibrariesDocumentsDeleteV1Response ¶
func ParseLibrariesDocumentsDeleteV1Response(rsp *http.Response) (*LibrariesDocumentsDeleteV1Response, error)
ParseLibrariesDocumentsDeleteV1Response parses an HTTP response from a LibrariesDocumentsDeleteV1WithResponse call
func (LibrariesDocumentsDeleteV1Response) ContentType ¶
func (r LibrariesDocumentsDeleteV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrariesDocumentsDeleteV1Response) GetBody ¶
func (r LibrariesDocumentsDeleteV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrariesDocumentsDeleteV1Response) GetJSON422 ¶
func (r LibrariesDocumentsDeleteV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (LibrariesDocumentsDeleteV1Response) Status ¶
func (r LibrariesDocumentsDeleteV1Response) Status() string
Status returns HTTPResponse.Status
func (LibrariesDocumentsDeleteV1Response) StatusCode ¶
func (r LibrariesDocumentsDeleteV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrariesDocumentsGetExtractedTextSignedUrlV1Response ¶
type LibrariesDocumentsGetExtractedTextSignedUrlV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *string
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseLibrariesDocumentsGetExtractedTextSignedUrlV1Response ¶
func ParseLibrariesDocumentsGetExtractedTextSignedUrlV1Response(rsp *http.Response) (*LibrariesDocumentsGetExtractedTextSignedUrlV1Response, error)
ParseLibrariesDocumentsGetExtractedTextSignedUrlV1Response parses an HTTP response from a LibrariesDocumentsGetExtractedTextSignedUrlV1WithResponse call
func (LibrariesDocumentsGetExtractedTextSignedUrlV1Response) ContentType ¶
func (r LibrariesDocumentsGetExtractedTextSignedUrlV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrariesDocumentsGetExtractedTextSignedUrlV1Response) GetBody ¶
func (r LibrariesDocumentsGetExtractedTextSignedUrlV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrariesDocumentsGetExtractedTextSignedUrlV1Response) GetJSON200 ¶
func (r LibrariesDocumentsGetExtractedTextSignedUrlV1Response) GetJSON200() *string
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrariesDocumentsGetExtractedTextSignedUrlV1Response) GetJSON422 ¶
func (r LibrariesDocumentsGetExtractedTextSignedUrlV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (LibrariesDocumentsGetExtractedTextSignedUrlV1Response) Status ¶
func (r LibrariesDocumentsGetExtractedTextSignedUrlV1Response) Status() string
Status returns HTTPResponse.Status
func (LibrariesDocumentsGetExtractedTextSignedUrlV1Response) StatusCode ¶
func (r LibrariesDocumentsGetExtractedTextSignedUrlV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrariesDocumentsGetSignedUrlV1Response ¶
type LibrariesDocumentsGetSignedUrlV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *string
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseLibrariesDocumentsGetSignedUrlV1Response ¶
func ParseLibrariesDocumentsGetSignedUrlV1Response(rsp *http.Response) (*LibrariesDocumentsGetSignedUrlV1Response, error)
ParseLibrariesDocumentsGetSignedUrlV1Response parses an HTTP response from a LibrariesDocumentsGetSignedUrlV1WithResponse call
func (LibrariesDocumentsGetSignedUrlV1Response) ContentType ¶
func (r LibrariesDocumentsGetSignedUrlV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrariesDocumentsGetSignedUrlV1Response) GetBody ¶
func (r LibrariesDocumentsGetSignedUrlV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrariesDocumentsGetSignedUrlV1Response) GetJSON200 ¶
func (r LibrariesDocumentsGetSignedUrlV1Response) GetJSON200() *string
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrariesDocumentsGetSignedUrlV1Response) GetJSON422 ¶
func (r LibrariesDocumentsGetSignedUrlV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (LibrariesDocumentsGetSignedUrlV1Response) Status ¶
func (r LibrariesDocumentsGetSignedUrlV1Response) Status() string
Status returns HTTPResponse.Status
func (LibrariesDocumentsGetSignedUrlV1Response) StatusCode ¶
func (r LibrariesDocumentsGetSignedUrlV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrariesDocumentsGetStatusV1Response ¶
type LibrariesDocumentsGetStatusV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProcessingStatusOut
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseLibrariesDocumentsGetStatusV1Response ¶
func ParseLibrariesDocumentsGetStatusV1Response(rsp *http.Response) (*LibrariesDocumentsGetStatusV1Response, error)
ParseLibrariesDocumentsGetStatusV1Response parses an HTTP response from a LibrariesDocumentsGetStatusV1WithResponse call
func (LibrariesDocumentsGetStatusV1Response) ContentType ¶
func (r LibrariesDocumentsGetStatusV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrariesDocumentsGetStatusV1Response) GetBody ¶
func (r LibrariesDocumentsGetStatusV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrariesDocumentsGetStatusV1Response) GetJSON200 ¶
func (r LibrariesDocumentsGetStatusV1Response) GetJSON200() *ProcessingStatusOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrariesDocumentsGetStatusV1Response) GetJSON422 ¶
func (r LibrariesDocumentsGetStatusV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (LibrariesDocumentsGetStatusV1Response) Status ¶
func (r LibrariesDocumentsGetStatusV1Response) Status() string
Status returns HTTPResponse.Status
func (LibrariesDocumentsGetStatusV1Response) StatusCode ¶
func (r LibrariesDocumentsGetStatusV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrariesDocumentsGetTextContentV1Response ¶
type LibrariesDocumentsGetTextContentV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DocumentTextContent
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseLibrariesDocumentsGetTextContentV1Response ¶
func ParseLibrariesDocumentsGetTextContentV1Response(rsp *http.Response) (*LibrariesDocumentsGetTextContentV1Response, error)
ParseLibrariesDocumentsGetTextContentV1Response parses an HTTP response from a LibrariesDocumentsGetTextContentV1WithResponse call
func (LibrariesDocumentsGetTextContentV1Response) ContentType ¶
func (r LibrariesDocumentsGetTextContentV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrariesDocumentsGetTextContentV1Response) GetBody ¶
func (r LibrariesDocumentsGetTextContentV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrariesDocumentsGetTextContentV1Response) GetJSON200 ¶
func (r LibrariesDocumentsGetTextContentV1Response) GetJSON200() *DocumentTextContent
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrariesDocumentsGetTextContentV1Response) GetJSON422 ¶
func (r LibrariesDocumentsGetTextContentV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (LibrariesDocumentsGetTextContentV1Response) Status ¶
func (r LibrariesDocumentsGetTextContentV1Response) Status() string
Status returns HTTPResponse.Status
func (LibrariesDocumentsGetTextContentV1Response) StatusCode ¶
func (r LibrariesDocumentsGetTextContentV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrariesDocumentsGetV1Response ¶
type LibrariesDocumentsGetV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DocumentOut
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseLibrariesDocumentsGetV1Response ¶
func ParseLibrariesDocumentsGetV1Response(rsp *http.Response) (*LibrariesDocumentsGetV1Response, error)
ParseLibrariesDocumentsGetV1Response parses an HTTP response from a LibrariesDocumentsGetV1WithResponse call
func (LibrariesDocumentsGetV1Response) ContentType ¶
func (r LibrariesDocumentsGetV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrariesDocumentsGetV1Response) GetBody ¶
func (r LibrariesDocumentsGetV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrariesDocumentsGetV1Response) GetJSON200 ¶
func (r LibrariesDocumentsGetV1Response) GetJSON200() *DocumentOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrariesDocumentsGetV1Response) GetJSON422 ¶
func (r LibrariesDocumentsGetV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (LibrariesDocumentsGetV1Response) Status ¶
func (r LibrariesDocumentsGetV1Response) Status() string
Status returns HTTPResponse.Status
func (LibrariesDocumentsGetV1Response) StatusCode ¶
func (r LibrariesDocumentsGetV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrariesDocumentsListV1Params ¶
type LibrariesDocumentsListV1Params struct {
Search *string `form:"search,omitempty" json:"search,omitempty"`
PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
Page *int `form:"page,omitempty" json:"page,omitempty"`
FiltersAttributes *string `form:"filters_attributes,omitempty" json:"filters_attributes,omitempty"`
SortBy *string `form:"sort_by,omitempty" json:"sort_by,omitempty"`
SortOrder *string `form:"sort_order,omitempty" json:"sort_order,omitempty"`
}
LibrariesDocumentsListV1Params defines parameters for LibrariesDocumentsListV1.
type LibrariesDocumentsListV1Response ¶
type LibrariesDocumentsListV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListDocumentOut
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseLibrariesDocumentsListV1Response ¶
func ParseLibrariesDocumentsListV1Response(rsp *http.Response) (*LibrariesDocumentsListV1Response, error)
ParseLibrariesDocumentsListV1Response parses an HTTP response from a LibrariesDocumentsListV1WithResponse call
func (LibrariesDocumentsListV1Response) ContentType ¶
func (r LibrariesDocumentsListV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrariesDocumentsListV1Response) GetBody ¶
func (r LibrariesDocumentsListV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrariesDocumentsListV1Response) GetJSON200 ¶
func (r LibrariesDocumentsListV1Response) GetJSON200() *ListDocumentOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrariesDocumentsListV1Response) GetJSON422 ¶
func (r LibrariesDocumentsListV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (LibrariesDocumentsListV1Response) Status ¶
func (r LibrariesDocumentsListV1Response) Status() string
Status returns HTTPResponse.Status
func (LibrariesDocumentsListV1Response) StatusCode ¶
func (r LibrariesDocumentsListV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrariesDocumentsReprocessV1Response ¶
type LibrariesDocumentsReprocessV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseLibrariesDocumentsReprocessV1Response ¶
func ParseLibrariesDocumentsReprocessV1Response(rsp *http.Response) (*LibrariesDocumentsReprocessV1Response, error)
ParseLibrariesDocumentsReprocessV1Response parses an HTTP response from a LibrariesDocumentsReprocessV1WithResponse call
func (LibrariesDocumentsReprocessV1Response) ContentType ¶
func (r LibrariesDocumentsReprocessV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrariesDocumentsReprocessV1Response) GetBody ¶
func (r LibrariesDocumentsReprocessV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrariesDocumentsReprocessV1Response) GetJSON422 ¶
func (r LibrariesDocumentsReprocessV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (LibrariesDocumentsReprocessV1Response) Status ¶
func (r LibrariesDocumentsReprocessV1Response) Status() string
Status returns HTTPResponse.Status
func (LibrariesDocumentsReprocessV1Response) StatusCode ¶
func (r LibrariesDocumentsReprocessV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrariesDocumentsUpdateV1JSONRequestBody ¶
type LibrariesDocumentsUpdateV1JSONRequestBody = DocumentUpdateIn
LibrariesDocumentsUpdateV1JSONRequestBody defines body for LibrariesDocumentsUpdateV1 for application/json ContentType.
type LibrariesDocumentsUpdateV1Response ¶
type LibrariesDocumentsUpdateV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DocumentOut
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseLibrariesDocumentsUpdateV1Response ¶
func ParseLibrariesDocumentsUpdateV1Response(rsp *http.Response) (*LibrariesDocumentsUpdateV1Response, error)
ParseLibrariesDocumentsUpdateV1Response parses an HTTP response from a LibrariesDocumentsUpdateV1WithResponse call
func (LibrariesDocumentsUpdateV1Response) ContentType ¶
func (r LibrariesDocumentsUpdateV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrariesDocumentsUpdateV1Response) GetBody ¶
func (r LibrariesDocumentsUpdateV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrariesDocumentsUpdateV1Response) GetJSON200 ¶
func (r LibrariesDocumentsUpdateV1Response) GetJSON200() *DocumentOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrariesDocumentsUpdateV1Response) GetJSON422 ¶
func (r LibrariesDocumentsUpdateV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (LibrariesDocumentsUpdateV1Response) Status ¶
func (r LibrariesDocumentsUpdateV1Response) Status() string
Status returns HTTPResponse.Status
func (LibrariesDocumentsUpdateV1Response) StatusCode ¶
func (r LibrariesDocumentsUpdateV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrariesDocumentsUploadV1MultipartBody ¶
type LibrariesDocumentsUploadV1MultipartBody struct {
// File The File object (not file name) to be uploaded.
// To upload a file and specify a custom file name you should format your request as such:
// “`bash
// file=@path/to/your/file.jsonl;filename=custom_name.jsonl
// “`
// Otherwise, you can just keep the original file name:
// “`bash
// file=@path/to/your/file.jsonl
// “`
File File `json:"file"`
}
LibrariesDocumentsUploadV1MultipartBody defines parameters for LibrariesDocumentsUploadV1.
type LibrariesDocumentsUploadV1MultipartRequestBody ¶
type LibrariesDocumentsUploadV1MultipartRequestBody LibrariesDocumentsUploadV1MultipartBody
LibrariesDocumentsUploadV1MultipartRequestBody defines body for LibrariesDocumentsUploadV1 for multipart/form-data ContentType.
type LibrariesDocumentsUploadV1Response ¶
type LibrariesDocumentsUploadV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DocumentOut
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *DocumentOut
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseLibrariesDocumentsUploadV1Response ¶
func ParseLibrariesDocumentsUploadV1Response(rsp *http.Response) (*LibrariesDocumentsUploadV1Response, error)
ParseLibrariesDocumentsUploadV1Response parses an HTTP response from a LibrariesDocumentsUploadV1WithResponse call
func (LibrariesDocumentsUploadV1Response) ContentType ¶
func (r LibrariesDocumentsUploadV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrariesDocumentsUploadV1Response) GetBody ¶
func (r LibrariesDocumentsUploadV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrariesDocumentsUploadV1Response) GetJSON200 ¶
func (r LibrariesDocumentsUploadV1Response) GetJSON200() *DocumentOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrariesDocumentsUploadV1Response) GetJSON201 ¶
func (r LibrariesDocumentsUploadV1Response) GetJSON201() *DocumentOut
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (LibrariesDocumentsUploadV1Response) GetJSON422 ¶
func (r LibrariesDocumentsUploadV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (LibrariesDocumentsUploadV1Response) Status ¶
func (r LibrariesDocumentsUploadV1Response) Status() string
Status returns HTTPResponse.Status
func (LibrariesDocumentsUploadV1Response) StatusCode ¶
func (r LibrariesDocumentsUploadV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrariesGetV1Response ¶
type LibrariesGetV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LibraryOut
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseLibrariesGetV1Response ¶
func ParseLibrariesGetV1Response(rsp *http.Response) (*LibrariesGetV1Response, error)
ParseLibrariesGetV1Response parses an HTTP response from a LibrariesGetV1WithResponse call
func (LibrariesGetV1Response) ContentType ¶
func (r LibrariesGetV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrariesGetV1Response) GetBody ¶
func (r LibrariesGetV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrariesGetV1Response) GetJSON200 ¶
func (r LibrariesGetV1Response) GetJSON200() *LibraryOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrariesGetV1Response) GetJSON422 ¶
func (r LibrariesGetV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (LibrariesGetV1Response) Status ¶
func (r LibrariesGetV1Response) Status() string
Status returns HTTPResponse.Status
func (LibrariesGetV1Response) StatusCode ¶
func (r LibrariesGetV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrariesListV1Response ¶
type LibrariesListV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListLibraryOut
}
func ParseLibrariesListV1Response ¶
func ParseLibrariesListV1Response(rsp *http.Response) (*LibrariesListV1Response, error)
ParseLibrariesListV1Response parses an HTTP response from a LibrariesListV1WithResponse call
func (LibrariesListV1Response) ContentType ¶
func (r LibrariesListV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrariesListV1Response) GetBody ¶
func (r LibrariesListV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrariesListV1Response) GetJSON200 ¶
func (r LibrariesListV1Response) GetJSON200() *ListLibraryOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrariesListV1Response) Status ¶
func (r LibrariesListV1Response) Status() string
Status returns HTTPResponse.Status
func (LibrariesListV1Response) StatusCode ¶
func (r LibrariesListV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrariesShareCreateV1JSONRequestBody ¶
type LibrariesShareCreateV1JSONRequestBody = SharingIn
LibrariesShareCreateV1JSONRequestBody defines body for LibrariesShareCreateV1 for application/json ContentType.
type LibrariesShareCreateV1Response ¶
type LibrariesShareCreateV1Response struct {
JSON200 *SharingOut
JSON422 *HTTPValidationError
}
func ParseLibrariesShareCreateV1Response ¶
func ParseLibrariesShareCreateV1Response(rsp *http.Response) (*LibrariesShareCreateV1Response, error)
ParseLibrariesShareCreateV1Response parses an HTTP response from a LibrariesShareCreateV1WithResponse call
func (LibrariesShareCreateV1Response) ContentType ¶
func (r LibrariesShareCreateV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrariesShareCreateV1Response) GetBody ¶
func (r LibrariesShareCreateV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrariesShareCreateV1Response) GetJSON200 ¶
func (r LibrariesShareCreateV1Response) GetJSON200() *SharingOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrariesShareCreateV1Response) GetJSON422 ¶
func (r LibrariesShareCreateV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (LibrariesShareCreateV1Response) Status ¶
func (r LibrariesShareCreateV1Response) Status() string
Status returns HTTPResponse.Status
func (LibrariesShareCreateV1Response) StatusCode ¶
func (r LibrariesShareCreateV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrariesShareDeleteV1JSONRequestBody ¶
type LibrariesShareDeleteV1JSONRequestBody = SharingDelete
LibrariesShareDeleteV1JSONRequestBody defines body for LibrariesShareDeleteV1 for application/json ContentType.
type LibrariesShareDeleteV1Response ¶
type LibrariesShareDeleteV1Response struct {
JSON200 *SharingOut
JSON422 *HTTPValidationError
}
func ParseLibrariesShareDeleteV1Response ¶
func ParseLibrariesShareDeleteV1Response(rsp *http.Response) (*LibrariesShareDeleteV1Response, error)
ParseLibrariesShareDeleteV1Response parses an HTTP response from a LibrariesShareDeleteV1WithResponse call
func (LibrariesShareDeleteV1Response) ContentType ¶
func (r LibrariesShareDeleteV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrariesShareDeleteV1Response) GetBody ¶
func (r LibrariesShareDeleteV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrariesShareDeleteV1Response) GetJSON200 ¶
func (r LibrariesShareDeleteV1Response) GetJSON200() *SharingOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrariesShareDeleteV1Response) GetJSON422 ¶
func (r LibrariesShareDeleteV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (LibrariesShareDeleteV1Response) Status ¶
func (r LibrariesShareDeleteV1Response) Status() string
Status returns HTTPResponse.Status
func (LibrariesShareDeleteV1Response) StatusCode ¶
func (r LibrariesShareDeleteV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrariesShareListV1Response ¶
type LibrariesShareListV1Response struct {
JSON200 *ListSharingOut
JSON422 *HTTPValidationError
}
func ParseLibrariesShareListV1Response ¶
func ParseLibrariesShareListV1Response(rsp *http.Response) (*LibrariesShareListV1Response, error)
ParseLibrariesShareListV1Response parses an HTTP response from a LibrariesShareListV1WithResponse call
func (LibrariesShareListV1Response) ContentType ¶
func (r LibrariesShareListV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrariesShareListV1Response) GetBody ¶
func (r LibrariesShareListV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrariesShareListV1Response) GetJSON200 ¶
func (r LibrariesShareListV1Response) GetJSON200() *ListSharingOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrariesShareListV1Response) GetJSON422 ¶
func (r LibrariesShareListV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (LibrariesShareListV1Response) Status ¶
func (r LibrariesShareListV1Response) Status() string
Status returns HTTPResponse.Status
func (LibrariesShareListV1Response) StatusCode ¶
func (r LibrariesShareListV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibrariesUpdateV1JSONRequestBody ¶
type LibrariesUpdateV1JSONRequestBody = LibraryInUpdate
LibrariesUpdateV1JSONRequestBody defines body for LibrariesUpdateV1 for application/json ContentType.
type LibrariesUpdateV1Response ¶
type LibrariesUpdateV1Response struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LibraryOut
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseLibrariesUpdateV1Response ¶
func ParseLibrariesUpdateV1Response(rsp *http.Response) (*LibrariesUpdateV1Response, error)
ParseLibrariesUpdateV1Response parses an HTTP response from a LibrariesUpdateV1WithResponse call
func (LibrariesUpdateV1Response) ContentType ¶
func (r LibrariesUpdateV1Response) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LibrariesUpdateV1Response) GetBody ¶
func (r LibrariesUpdateV1Response) GetBody() []byte
GetBody returns the raw response body bytes
func (LibrariesUpdateV1Response) GetJSON200 ¶
func (r LibrariesUpdateV1Response) GetJSON200() *LibraryOut
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LibrariesUpdateV1Response) GetJSON422 ¶
func (r LibrariesUpdateV1Response) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (LibrariesUpdateV1Response) Status ¶
func (r LibrariesUpdateV1Response) Status() string
Status returns HTTPResponse.Status
func (LibrariesUpdateV1Response) StatusCode ¶
func (r LibrariesUpdateV1Response) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LibraryIn ¶
type LibraryIn struct {
ChunkSize *int `json:"chunk_size,omitempty"`
Description *string `json:"description,omitempty"`
Name string `json:"name"`
}
LibraryIn defines model for LibraryIn.
type LibraryInUpdate ¶
type LibraryInUpdate struct {
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
}
LibraryInUpdate defines model for LibraryInUpdate.
type LibraryOut ¶
type LibraryOut struct {
ChunkSize *int `json:"chunk_size"`
CreatedAt time.Time `json:"created_at"`
Description *string `json:"description,omitempty"`
Emoji *string `json:"emoji,omitempty"`
ExplicitUserMembersCount *int `json:"explicit_user_members_count,omitempty"`
ExplicitWorkspaceMembersCount *int `json:"explicit_workspace_members_count,omitempty"`
GeneratedDescription *string `json:"generated_description,omitempty"`
// GeneratedName Generated Name
GeneratedName *string `json:"generated_name,omitempty"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
NbDocuments int `json:"nb_documents"`
OrgSharingRole *string `json:"org_sharing_role,omitempty"`
OwnerId *openapi_types.UUID `json:"owner_id"`
OwnerType string `json:"owner_type"`
TotalSize int `json:"total_size"`
UpdatedAt time.Time `json:"updated_at"`
}
LibraryOut defines model for LibraryOut.
type ListDeploymentsV1WorkflowsDeploymentsGetParams ¶
type ListDeploymentsV1WorkflowsDeploymentsGetParams struct {
ActiveOnly *bool `form:"active_only,omitempty" json:"active_only,omitempty"`
WorkflowName *string `form:"workflow_name,omitempty" json:"workflow_name,omitempty"`
}
ListDeploymentsV1WorkflowsDeploymentsGetParams defines parameters for ListDeploymentsV1WorkflowsDeploymentsGet.
type ListDeploymentsV1WorkflowsDeploymentsGetResponse ¶
type ListDeploymentsV1WorkflowsDeploymentsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeploymentListResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseListDeploymentsV1WorkflowsDeploymentsGetResponse ¶
func ParseListDeploymentsV1WorkflowsDeploymentsGetResponse(rsp *http.Response) (*ListDeploymentsV1WorkflowsDeploymentsGetResponse, error)
ParseListDeploymentsV1WorkflowsDeploymentsGetResponse parses an HTTP response from a ListDeploymentsV1WorkflowsDeploymentsGetWithResponse call
func (ListDeploymentsV1WorkflowsDeploymentsGetResponse) ContentType ¶
func (r ListDeploymentsV1WorkflowsDeploymentsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDeploymentsV1WorkflowsDeploymentsGetResponse) GetBody ¶
func (r ListDeploymentsV1WorkflowsDeploymentsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDeploymentsV1WorkflowsDeploymentsGetResponse) GetJSON200 ¶
func (r ListDeploymentsV1WorkflowsDeploymentsGetResponse) GetJSON200() *DeploymentListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDeploymentsV1WorkflowsDeploymentsGetResponse) GetJSON422 ¶
func (r ListDeploymentsV1WorkflowsDeploymentsGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ListDeploymentsV1WorkflowsDeploymentsGetResponse) Status ¶
func (r ListDeploymentsV1WorkflowsDeploymentsGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListDeploymentsV1WorkflowsDeploymentsGetResponse) StatusCode ¶
func (r ListDeploymentsV1WorkflowsDeploymentsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDocumentOut ¶
type ListDocumentOut struct {
Data []DocumentOut `json:"data"`
Pagination PaginationInfo `json:"pagination"`
}
ListDocumentOut defines model for ListDocumentOut.
type ListFilesOut ¶
type ListFilesOut struct {
Data []FileSchema `json:"data"`
Object string `json:"object"`
Total *int `json:"total,omitempty"`
}
ListFilesOut defines model for ListFilesOut.
type ListLibraryOut ¶
type ListLibraryOut struct {
Data []LibraryOut `json:"data"`
}
ListLibraryOut defines model for ListLibraryOut.
type ListModelsV1ModelsGetParams ¶
type ListModelsV1ModelsGetParams struct {
Provider *string `form:"provider,omitempty" json:"provider,omitempty"`
Model *string `form:"model,omitempty" json:"model,omitempty"`
}
ListModelsV1ModelsGetParams defines parameters for ListModelsV1ModelsGet.
type ListModelsV1ModelsGetResponse ¶
type ListModelsV1ModelsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModelList
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseListModelsV1ModelsGetResponse ¶
func ParseListModelsV1ModelsGetResponse(rsp *http.Response) (*ListModelsV1ModelsGetResponse, error)
ParseListModelsV1ModelsGetResponse parses an HTTP response from a ListModelsV1ModelsGetWithResponse call
func (ListModelsV1ModelsGetResponse) ContentType ¶
func (r ListModelsV1ModelsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListModelsV1ModelsGetResponse) GetBody ¶
func (r ListModelsV1ModelsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListModelsV1ModelsGetResponse) GetJSON200 ¶
func (r ListModelsV1ModelsGetResponse) GetJSON200() *ModelList
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListModelsV1ModelsGetResponse) GetJSON422 ¶
func (r ListModelsV1ModelsGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ListModelsV1ModelsGetResponse) Status ¶
func (r ListModelsV1ModelsGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListModelsV1ModelsGetResponse) StatusCode ¶
func (r ListModelsV1ModelsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRunsV1WorkflowsRunsGetParams ¶
type ListRunsV1WorkflowsRunsGetParams struct {
// WorkflowIdentifier Filter by workflow name or id
WorkflowIdentifier *string `form:"workflow_identifier,omitempty" json:"workflow_identifier,omitempty"`
// Search Search by workflow name, display name or id
Search *string `form:"search,omitempty" json:"search,omitempty"`
// Status Filter by workflow status
Status *struct {
// contains filtered or unexported fields
} `form:"status,omitempty" json:"status,omitempty"`
// PageSize Number of items per page
PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
// NextPageToken Token for the next page of results
NextPageToken *string `form:"next_page_token,omitempty" json:"next_page_token,omitempty"`
}
ListRunsV1WorkflowsRunsGetParams defines parameters for ListRunsV1WorkflowsRunsGet.
type ListRunsV1WorkflowsRunsGetParamsStatus1 ¶
type ListRunsV1WorkflowsRunsGetParamsStatus1 = []WorkflowExecutionStatus
ListRunsV1WorkflowsRunsGetParamsStatus1 defines parameters for ListRunsV1WorkflowsRunsGet.
type ListRunsV1WorkflowsRunsGetResponse ¶
type ListRunsV1WorkflowsRunsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkflowExecutionListResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseListRunsV1WorkflowsRunsGetResponse ¶
func ParseListRunsV1WorkflowsRunsGetResponse(rsp *http.Response) (*ListRunsV1WorkflowsRunsGetResponse, error)
ParseListRunsV1WorkflowsRunsGetResponse parses an HTTP response from a ListRunsV1WorkflowsRunsGetWithResponse call
func (ListRunsV1WorkflowsRunsGetResponse) ContentType ¶
func (r ListRunsV1WorkflowsRunsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListRunsV1WorkflowsRunsGetResponse) GetBody ¶
func (r ListRunsV1WorkflowsRunsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListRunsV1WorkflowsRunsGetResponse) GetJSON200 ¶
func (r ListRunsV1WorkflowsRunsGetResponse) GetJSON200() *WorkflowExecutionListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListRunsV1WorkflowsRunsGetResponse) GetJSON422 ¶
func (r ListRunsV1WorkflowsRunsGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ListRunsV1WorkflowsRunsGetResponse) Status ¶
func (r ListRunsV1WorkflowsRunsGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListRunsV1WorkflowsRunsGetResponse) StatusCode ¶
func (r ListRunsV1WorkflowsRunsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSharingOut ¶
type ListSharingOut struct {
Data []SharingOut `json:"data"`
}
ListSharingOut defines model for ListSharingOut.
type ListVoicesV1AudioVoicesGetParams ¶
type ListVoicesV1AudioVoicesGetParams struct {
// Limit Maximum number of voices to return
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Offset for pagination
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}
ListVoicesV1AudioVoicesGetParams defines parameters for ListVoicesV1AudioVoicesGet.
type ListVoicesV1AudioVoicesGetResponse ¶
type ListVoicesV1AudioVoicesGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *VoiceListResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseListVoicesV1AudioVoicesGetResponse ¶
func ParseListVoicesV1AudioVoicesGetResponse(rsp *http.Response) (*ListVoicesV1AudioVoicesGetResponse, error)
ParseListVoicesV1AudioVoicesGetResponse parses an HTTP response from a ListVoicesV1AudioVoicesGetWithResponse call
func (ListVoicesV1AudioVoicesGetResponse) ContentType ¶
func (r ListVoicesV1AudioVoicesGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListVoicesV1AudioVoicesGetResponse) GetBody ¶
func (r ListVoicesV1AudioVoicesGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListVoicesV1AudioVoicesGetResponse) GetJSON200 ¶
func (r ListVoicesV1AudioVoicesGetResponse) GetJSON200() *VoiceListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListVoicesV1AudioVoicesGetResponse) GetJSON422 ¶
func (r ListVoicesV1AudioVoicesGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ListVoicesV1AudioVoicesGetResponse) Status ¶
func (r ListVoicesV1AudioVoicesGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListVoicesV1AudioVoicesGetResponse) StatusCode ¶
func (r ListVoicesV1AudioVoicesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWorkflowEventResponse ¶
type ListWorkflowEventResponse struct {
// Events List of workflow events.
Events []ListWorkflowEventResponse_Events_Item `json:"events"`
// NextCursor Cursor for pagination.
NextCursor *string `json:"next_cursor,omitempty"`
}
ListWorkflowEventResponse defines model for ListWorkflowEventResponse.
type ListWorkflowEventResponse_Events_Item ¶
type ListWorkflowEventResponse_Events_Item struct {
// contains filtered or unexported fields
}
ListWorkflowEventResponse_Events_Item defines model for ListWorkflowEventResponse.events.Item.
func (ListWorkflowEventResponse_Events_Item) AsActivityTaskCompletedResponse ¶
func (t ListWorkflowEventResponse_Events_Item) AsActivityTaskCompletedResponse() (ActivityTaskCompletedResponse, error)
AsActivityTaskCompletedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a ActivityTaskCompletedResponse
func (ListWorkflowEventResponse_Events_Item) AsActivityTaskFailedResponse ¶
func (t ListWorkflowEventResponse_Events_Item) AsActivityTaskFailedResponse() (ActivityTaskFailedResponse, error)
AsActivityTaskFailedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a ActivityTaskFailedResponse
func (ListWorkflowEventResponse_Events_Item) AsActivityTaskRetryingResponse ¶
func (t ListWorkflowEventResponse_Events_Item) AsActivityTaskRetryingResponse() (ActivityTaskRetryingResponse, error)
AsActivityTaskRetryingResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a ActivityTaskRetryingResponse
func (ListWorkflowEventResponse_Events_Item) AsActivityTaskStartedResponse ¶
func (t ListWorkflowEventResponse_Events_Item) AsActivityTaskStartedResponse() (ActivityTaskStartedResponse, error)
AsActivityTaskStartedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a ActivityTaskStartedResponse
func (ListWorkflowEventResponse_Events_Item) AsCustomTaskCanceledResponse ¶
func (t ListWorkflowEventResponse_Events_Item) AsCustomTaskCanceledResponse() (CustomTaskCanceledResponse, error)
AsCustomTaskCanceledResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a CustomTaskCanceledResponse
func (ListWorkflowEventResponse_Events_Item) AsCustomTaskCompletedResponse ¶
func (t ListWorkflowEventResponse_Events_Item) AsCustomTaskCompletedResponse() (CustomTaskCompletedResponse, error)
AsCustomTaskCompletedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a CustomTaskCompletedResponse
func (ListWorkflowEventResponse_Events_Item) AsCustomTaskFailedResponse ¶
func (t ListWorkflowEventResponse_Events_Item) AsCustomTaskFailedResponse() (CustomTaskFailedResponse, error)
AsCustomTaskFailedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a CustomTaskFailedResponse
func (ListWorkflowEventResponse_Events_Item) AsCustomTaskInProgressResponse ¶
func (t ListWorkflowEventResponse_Events_Item) AsCustomTaskInProgressResponse() (CustomTaskInProgressResponse, error)
AsCustomTaskInProgressResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a CustomTaskInProgressResponse
func (ListWorkflowEventResponse_Events_Item) AsCustomTaskStartedResponse ¶
func (t ListWorkflowEventResponse_Events_Item) AsCustomTaskStartedResponse() (CustomTaskStartedResponse, error)
AsCustomTaskStartedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a CustomTaskStartedResponse
func (ListWorkflowEventResponse_Events_Item) AsCustomTaskTimedOutResponse ¶
func (t ListWorkflowEventResponse_Events_Item) AsCustomTaskTimedOutResponse() (CustomTaskTimedOutResponse, error)
AsCustomTaskTimedOutResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a CustomTaskTimedOutResponse
func (ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionCanceledResponse ¶
func (t ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionCanceledResponse() (WorkflowExecutionCanceledResponse, error)
AsWorkflowExecutionCanceledResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a WorkflowExecutionCanceledResponse
func (ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionCompletedResponse ¶
func (t ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionCompletedResponse() (WorkflowExecutionCompletedResponse, error)
AsWorkflowExecutionCompletedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a WorkflowExecutionCompletedResponse
func (ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionContinuedAsNewResponse ¶
func (t ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionContinuedAsNewResponse() (WorkflowExecutionContinuedAsNewResponse, error)
AsWorkflowExecutionContinuedAsNewResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a WorkflowExecutionContinuedAsNewResponse
func (ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionFailedResponse ¶
func (t ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionFailedResponse() (WorkflowExecutionFailedResponse, error)
AsWorkflowExecutionFailedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a WorkflowExecutionFailedResponse
func (ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionStartedResponse ¶
func (t ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionStartedResponse() (WorkflowExecutionStartedResponse, error)
AsWorkflowExecutionStartedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a WorkflowExecutionStartedResponse
func (ListWorkflowEventResponse_Events_Item) AsWorkflowTaskFailedResponse ¶
func (t ListWorkflowEventResponse_Events_Item) AsWorkflowTaskFailedResponse() (WorkflowTaskFailedResponse, error)
AsWorkflowTaskFailedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a WorkflowTaskFailedResponse
func (ListWorkflowEventResponse_Events_Item) AsWorkflowTaskTimedOutResponse ¶
func (t ListWorkflowEventResponse_Events_Item) AsWorkflowTaskTimedOutResponse() (WorkflowTaskTimedOutResponse, error)
AsWorkflowTaskTimedOutResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a WorkflowTaskTimedOutResponse
func (*ListWorkflowEventResponse_Events_Item) FromActivityTaskCompletedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) FromActivityTaskCompletedResponse(v ActivityTaskCompletedResponse) error
FromActivityTaskCompletedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided ActivityTaskCompletedResponse
func (*ListWorkflowEventResponse_Events_Item) FromActivityTaskFailedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) FromActivityTaskFailedResponse(v ActivityTaskFailedResponse) error
FromActivityTaskFailedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided ActivityTaskFailedResponse
func (*ListWorkflowEventResponse_Events_Item) FromActivityTaskRetryingResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) FromActivityTaskRetryingResponse(v ActivityTaskRetryingResponse) error
FromActivityTaskRetryingResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided ActivityTaskRetryingResponse
func (*ListWorkflowEventResponse_Events_Item) FromActivityTaskStartedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) FromActivityTaskStartedResponse(v ActivityTaskStartedResponse) error
FromActivityTaskStartedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided ActivityTaskStartedResponse
func (*ListWorkflowEventResponse_Events_Item) FromCustomTaskCanceledResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) FromCustomTaskCanceledResponse(v CustomTaskCanceledResponse) error
FromCustomTaskCanceledResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided CustomTaskCanceledResponse
func (*ListWorkflowEventResponse_Events_Item) FromCustomTaskCompletedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) FromCustomTaskCompletedResponse(v CustomTaskCompletedResponse) error
FromCustomTaskCompletedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided CustomTaskCompletedResponse
func (*ListWorkflowEventResponse_Events_Item) FromCustomTaskFailedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) FromCustomTaskFailedResponse(v CustomTaskFailedResponse) error
FromCustomTaskFailedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided CustomTaskFailedResponse
func (*ListWorkflowEventResponse_Events_Item) FromCustomTaskInProgressResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) FromCustomTaskInProgressResponse(v CustomTaskInProgressResponse) error
FromCustomTaskInProgressResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided CustomTaskInProgressResponse
func (*ListWorkflowEventResponse_Events_Item) FromCustomTaskStartedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) FromCustomTaskStartedResponse(v CustomTaskStartedResponse) error
FromCustomTaskStartedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided CustomTaskStartedResponse
func (*ListWorkflowEventResponse_Events_Item) FromCustomTaskTimedOutResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) FromCustomTaskTimedOutResponse(v CustomTaskTimedOutResponse) error
FromCustomTaskTimedOutResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided CustomTaskTimedOutResponse
func (*ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionCanceledResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionCanceledResponse(v WorkflowExecutionCanceledResponse) error
FromWorkflowExecutionCanceledResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided WorkflowExecutionCanceledResponse
func (*ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionCompletedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionCompletedResponse(v WorkflowExecutionCompletedResponse) error
FromWorkflowExecutionCompletedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided WorkflowExecutionCompletedResponse
func (*ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionContinuedAsNewResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionContinuedAsNewResponse(v WorkflowExecutionContinuedAsNewResponse) error
FromWorkflowExecutionContinuedAsNewResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided WorkflowExecutionContinuedAsNewResponse
func (*ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionFailedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionFailedResponse(v WorkflowExecutionFailedResponse) error
FromWorkflowExecutionFailedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided WorkflowExecutionFailedResponse
func (*ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionStartedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionStartedResponse(v WorkflowExecutionStartedResponse) error
FromWorkflowExecutionStartedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided WorkflowExecutionStartedResponse
func (*ListWorkflowEventResponse_Events_Item) FromWorkflowTaskFailedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowTaskFailedResponse(v WorkflowTaskFailedResponse) error
FromWorkflowTaskFailedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided WorkflowTaskFailedResponse
func (*ListWorkflowEventResponse_Events_Item) FromWorkflowTaskTimedOutResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowTaskTimedOutResponse(v WorkflowTaskTimedOutResponse) error
FromWorkflowTaskTimedOutResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided WorkflowTaskTimedOutResponse
func (ListWorkflowEventResponse_Events_Item) MarshalJSON ¶
func (t ListWorkflowEventResponse_Events_Item) MarshalJSON() ([]byte, error)
func (*ListWorkflowEventResponse_Events_Item) MergeActivityTaskCompletedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) MergeActivityTaskCompletedResponse(v ActivityTaskCompletedResponse) error
MergeActivityTaskCompletedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided ActivityTaskCompletedResponse
func (*ListWorkflowEventResponse_Events_Item) MergeActivityTaskFailedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) MergeActivityTaskFailedResponse(v ActivityTaskFailedResponse) error
MergeActivityTaskFailedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided ActivityTaskFailedResponse
func (*ListWorkflowEventResponse_Events_Item) MergeActivityTaskRetryingResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) MergeActivityTaskRetryingResponse(v ActivityTaskRetryingResponse) error
MergeActivityTaskRetryingResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided ActivityTaskRetryingResponse
func (*ListWorkflowEventResponse_Events_Item) MergeActivityTaskStartedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) MergeActivityTaskStartedResponse(v ActivityTaskStartedResponse) error
MergeActivityTaskStartedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided ActivityTaskStartedResponse
func (*ListWorkflowEventResponse_Events_Item) MergeCustomTaskCanceledResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) MergeCustomTaskCanceledResponse(v CustomTaskCanceledResponse) error
MergeCustomTaskCanceledResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided CustomTaskCanceledResponse
func (*ListWorkflowEventResponse_Events_Item) MergeCustomTaskCompletedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) MergeCustomTaskCompletedResponse(v CustomTaskCompletedResponse) error
MergeCustomTaskCompletedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided CustomTaskCompletedResponse
func (*ListWorkflowEventResponse_Events_Item) MergeCustomTaskFailedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) MergeCustomTaskFailedResponse(v CustomTaskFailedResponse) error
MergeCustomTaskFailedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided CustomTaskFailedResponse
func (*ListWorkflowEventResponse_Events_Item) MergeCustomTaskInProgressResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) MergeCustomTaskInProgressResponse(v CustomTaskInProgressResponse) error
MergeCustomTaskInProgressResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided CustomTaskInProgressResponse
func (*ListWorkflowEventResponse_Events_Item) MergeCustomTaskStartedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) MergeCustomTaskStartedResponse(v CustomTaskStartedResponse) error
MergeCustomTaskStartedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided CustomTaskStartedResponse
func (*ListWorkflowEventResponse_Events_Item) MergeCustomTaskTimedOutResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) MergeCustomTaskTimedOutResponse(v CustomTaskTimedOutResponse) error
MergeCustomTaskTimedOutResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided CustomTaskTimedOutResponse
func (*ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionCanceledResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionCanceledResponse(v WorkflowExecutionCanceledResponse) error
MergeWorkflowExecutionCanceledResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided WorkflowExecutionCanceledResponse
func (*ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionCompletedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionCompletedResponse(v WorkflowExecutionCompletedResponse) error
MergeWorkflowExecutionCompletedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided WorkflowExecutionCompletedResponse
func (*ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionContinuedAsNewResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionContinuedAsNewResponse(v WorkflowExecutionContinuedAsNewResponse) error
MergeWorkflowExecutionContinuedAsNewResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided WorkflowExecutionContinuedAsNewResponse
func (*ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionFailedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionFailedResponse(v WorkflowExecutionFailedResponse) error
MergeWorkflowExecutionFailedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided WorkflowExecutionFailedResponse
func (*ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionStartedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionStartedResponse(v WorkflowExecutionStartedResponse) error
MergeWorkflowExecutionStartedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided WorkflowExecutionStartedResponse
func (*ListWorkflowEventResponse_Events_Item) MergeWorkflowTaskFailedResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowTaskFailedResponse(v WorkflowTaskFailedResponse) error
MergeWorkflowTaskFailedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided WorkflowTaskFailedResponse
func (*ListWorkflowEventResponse_Events_Item) MergeWorkflowTaskTimedOutResponse ¶
func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowTaskTimedOutResponse(v WorkflowTaskTimedOutResponse) error
MergeWorkflowTaskTimedOutResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided WorkflowTaskTimedOutResponse
func (*ListWorkflowEventResponse_Events_Item) UnmarshalJSON ¶
func (t *ListWorkflowEventResponse_Events_Item) UnmarshalJSON(b []byte) error
type MCPResultMetadata ¶
type MCPResultMetadata struct {
UnderscoreMeta *map[string]interface{} `json:"_meta,omitempty"`
IsError *bool `json:"isError,omitempty"`
StructuredContent *map[string]interface{} `json:"structuredContent,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MCPResultMetadata MCP-specific result metadata (isError, structuredContent, _meta).
func (MCPResultMetadata) Get ¶
func (a MCPResultMetadata) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MCPResultMetadata. Returns the specified element and whether it was found
func (MCPResultMetadata) MarshalJSON ¶
func (a MCPResultMetadata) MarshalJSON() ([]byte, error)
Override default JSON handling for MCPResultMetadata to handle AdditionalProperties
func (*MCPResultMetadata) Set ¶
func (a *MCPResultMetadata) Set(fieldName string, value interface{})
Setter for additional properties for MCPResultMetadata
func (*MCPResultMetadata) UnmarshalJSON ¶
func (a *MCPResultMetadata) UnmarshalJSON(b []byte) error
Override default JSON handling for MCPResultMetadata to handle AdditionalProperties
type MCPServerIcon ¶
type MCPServerIcon struct {
MimeType *string `json:"mimeType,omitempty"`
Sizes *[]string `json:"sizes,omitempty"`
Src string `json:"src"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MCPServerIcon An icon for display in user interfaces.
func (MCPServerIcon) Get ¶
func (a MCPServerIcon) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MCPServerIcon. Returns the specified element and whether it was found
func (MCPServerIcon) MarshalJSON ¶
func (a MCPServerIcon) MarshalJSON() ([]byte, error)
Override default JSON handling for MCPServerIcon to handle AdditionalProperties
func (*MCPServerIcon) Set ¶
func (a *MCPServerIcon) Set(fieldName string, value interface{})
Setter for additional properties for MCPServerIcon
func (*MCPServerIcon) UnmarshalJSON ¶
func (a *MCPServerIcon) UnmarshalJSON(b []byte) error
Override default JSON handling for MCPServerIcon to handle AdditionalProperties
type MCPTool ¶
type MCPTool struct {
UnderscoreMeta *MCPToolMeta `json:"_meta,omitempty"`
Annotations *ToolAnnotations `json:"annotations,omitempty"`
Description *string `json:"description,omitempty"`
Execution *ToolExecution `json:"execution,omitempty"`
Icons *[]MCPServerIcon `json:"icons,omitempty"`
InputSchema map[string]interface{} `json:"inputSchema"`
Name string `json:"name"`
OutputSchema *map[string]interface{} `json:"outputSchema,omitempty"`
Title *string `json:"title,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MCPTool defines model for MCPTool.
func (MCPTool) Get ¶
Getter for additional properties for MCPTool. Returns the specified element and whether it was found
func (MCPTool) MarshalJSON ¶
Override default JSON handling for MCPTool to handle AdditionalProperties
func (*MCPTool) UnmarshalJSON ¶
Override default JSON handling for MCPTool to handle AdditionalProperties
type MCPToolCallMetadata ¶
type MCPToolCallMetadata struct {
McpMeta *MCPResultMetadata `json:"mcp_meta,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MCPToolCallMetadata Metadata wrapper for MCP tool call responses.
Nests MCP-specific fields under `mcp_meta` to avoid collisions with other metadata keys (e.g. `tool_call_result`) in Harmattan's streaming deltas.
func (MCPToolCallMetadata) Get ¶
func (a MCPToolCallMetadata) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MCPToolCallMetadata. Returns the specified element and whether it was found
func (MCPToolCallMetadata) MarshalJSON ¶
func (a MCPToolCallMetadata) MarshalJSON() ([]byte, error)
Override default JSON handling for MCPToolCallMetadata to handle AdditionalProperties
func (*MCPToolCallMetadata) Set ¶
func (a *MCPToolCallMetadata) Set(fieldName string, value interface{})
Setter for additional properties for MCPToolCallMetadata
func (*MCPToolCallMetadata) UnmarshalJSON ¶
func (a *MCPToolCallMetadata) UnmarshalJSON(b []byte) error
Override default JSON handling for MCPToolCallMetadata to handle AdditionalProperties
type MCPToolCallRequest ¶
type MCPToolCallRequest struct {
Arguments *map[string]interface{} `json:"arguments,omitempty"`
}
MCPToolCallRequest Request body for calling an MCP tool.
type MCPToolCallResponse ¶
type MCPToolCallResponse struct {
Content []MCPToolCallResponse_Content_Item `json:"content"`
Metadata *MCPToolCallMetadata `json:"metadata,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MCPToolCallResponse Response from calling an MCP tool.
We override mcp_types.CallToolResult because: - Models only support `content`, not `structuredContent` at top level - Downstream consumers (le-chat, etc.) need structuredContent/isError/_meta via metadata
SYNC: Keep in sync with Harmattan (orchestrator) for harmonized tool result processing.
func (MCPToolCallResponse) Get ¶
func (a MCPToolCallResponse) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MCPToolCallResponse. Returns the specified element and whether it was found
func (MCPToolCallResponse) MarshalJSON ¶
func (a MCPToolCallResponse) MarshalJSON() ([]byte, error)
Override default JSON handling for MCPToolCallResponse to handle AdditionalProperties
func (*MCPToolCallResponse) Set ¶
func (a *MCPToolCallResponse) Set(fieldName string, value interface{})
Setter for additional properties for MCPToolCallResponse
func (*MCPToolCallResponse) UnmarshalJSON ¶
func (a *MCPToolCallResponse) UnmarshalJSON(b []byte) error
Override default JSON handling for MCPToolCallResponse to handle AdditionalProperties
type MCPToolCallResponse_Content_Item ¶
type MCPToolCallResponse_Content_Item struct {
// contains filtered or unexported fields
}
MCPToolCallResponse_Content_Item defines model for MCPToolCallResponse.content.Item.
func (MCPToolCallResponse_Content_Item) AsAudioContent ¶
func (t MCPToolCallResponse_Content_Item) AsAudioContent() (AudioContent, error)
AsAudioContent returns the union data inside the MCPToolCallResponse_Content_Item as a AudioContent
func (MCPToolCallResponse_Content_Item) AsEmbeddedResource ¶
func (t MCPToolCallResponse_Content_Item) AsEmbeddedResource() (EmbeddedResource, error)
AsEmbeddedResource returns the union data inside the MCPToolCallResponse_Content_Item as a EmbeddedResource
func (MCPToolCallResponse_Content_Item) AsImageContent ¶
func (t MCPToolCallResponse_Content_Item) AsImageContent() (ImageContent, error)
AsImageContent returns the union data inside the MCPToolCallResponse_Content_Item as a ImageContent
func (MCPToolCallResponse_Content_Item) AsResourceLink ¶
func (t MCPToolCallResponse_Content_Item) AsResourceLink() (ResourceLink, error)
AsResourceLink returns the union data inside the MCPToolCallResponse_Content_Item as a ResourceLink
func (MCPToolCallResponse_Content_Item) AsTextContent ¶
func (t MCPToolCallResponse_Content_Item) AsTextContent() (TextContent, error)
AsTextContent returns the union data inside the MCPToolCallResponse_Content_Item as a TextContent
func (*MCPToolCallResponse_Content_Item) FromAudioContent ¶
func (t *MCPToolCallResponse_Content_Item) FromAudioContent(v AudioContent) error
FromAudioContent overwrites any union data inside the MCPToolCallResponse_Content_Item as the provided AudioContent
func (*MCPToolCallResponse_Content_Item) FromEmbeddedResource ¶
func (t *MCPToolCallResponse_Content_Item) FromEmbeddedResource(v EmbeddedResource) error
FromEmbeddedResource overwrites any union data inside the MCPToolCallResponse_Content_Item as the provided EmbeddedResource
func (*MCPToolCallResponse_Content_Item) FromImageContent ¶
func (t *MCPToolCallResponse_Content_Item) FromImageContent(v ImageContent) error
FromImageContent overwrites any union data inside the MCPToolCallResponse_Content_Item as the provided ImageContent
func (*MCPToolCallResponse_Content_Item) FromResourceLink ¶
func (t *MCPToolCallResponse_Content_Item) FromResourceLink(v ResourceLink) error
FromResourceLink overwrites any union data inside the MCPToolCallResponse_Content_Item as the provided ResourceLink
func (*MCPToolCallResponse_Content_Item) FromTextContent ¶
func (t *MCPToolCallResponse_Content_Item) FromTextContent(v TextContent) error
FromTextContent overwrites any union data inside the MCPToolCallResponse_Content_Item as the provided TextContent
func (MCPToolCallResponse_Content_Item) MarshalJSON ¶
func (t MCPToolCallResponse_Content_Item) MarshalJSON() ([]byte, error)
func (*MCPToolCallResponse_Content_Item) MergeAudioContent ¶
func (t *MCPToolCallResponse_Content_Item) MergeAudioContent(v AudioContent) error
MergeAudioContent performs a merge with any union data inside the MCPToolCallResponse_Content_Item, using the provided AudioContent
func (*MCPToolCallResponse_Content_Item) MergeEmbeddedResource ¶
func (t *MCPToolCallResponse_Content_Item) MergeEmbeddedResource(v EmbeddedResource) error
MergeEmbeddedResource performs a merge with any union data inside the MCPToolCallResponse_Content_Item, using the provided EmbeddedResource
func (*MCPToolCallResponse_Content_Item) MergeImageContent ¶
func (t *MCPToolCallResponse_Content_Item) MergeImageContent(v ImageContent) error
MergeImageContent performs a merge with any union data inside the MCPToolCallResponse_Content_Item, using the provided ImageContent
func (*MCPToolCallResponse_Content_Item) MergeResourceLink ¶
func (t *MCPToolCallResponse_Content_Item) MergeResourceLink(v ResourceLink) error
MergeResourceLink performs a merge with any union data inside the MCPToolCallResponse_Content_Item, using the provided ResourceLink
func (*MCPToolCallResponse_Content_Item) MergeTextContent ¶
func (t *MCPToolCallResponse_Content_Item) MergeTextContent(v TextContent) error
MergeTextContent performs a merge with any union data inside the MCPToolCallResponse_Content_Item, using the provided TextContent
func (*MCPToolCallResponse_Content_Item) UnmarshalJSON ¶
func (t *MCPToolCallResponse_Content_Item) UnmarshalJSON(b []byte) error
type MCPToolMeta ¶
type MCPToolMeta struct {
AiMistralturbine *TurbineToolMeta `json:"ai.mistral/turbine,omitempty"`
Ui *MCPUIToolMeta `json:"ui,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MCPToolMeta Typed _meta for MCP tools.
Only the 'ui' field is typed. Other fields are allowed via extra="allow".
func (MCPToolMeta) Get ¶
func (a MCPToolMeta) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MCPToolMeta. Returns the specified element and whether it was found
func (MCPToolMeta) MarshalJSON ¶
func (a MCPToolMeta) MarshalJSON() ([]byte, error)
Override default JSON handling for MCPToolMeta to handle AdditionalProperties
func (*MCPToolMeta) Set ¶
func (a *MCPToolMeta) Set(fieldName string, value interface{})
Setter for additional properties for MCPToolMeta
func (*MCPToolMeta) UnmarshalJSON ¶
func (a *MCPToolMeta) UnmarshalJSON(b []byte) error
Override default JSON handling for MCPToolMeta to handle AdditionalProperties
type MCPUIToolMeta ¶
type MCPUIToolMeta struct {
ResourceUri *string `json:"resourceUri,omitempty"`
Visibility *[]MCPUIToolMetaVisibility `json:"visibility,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MCPUIToolMeta UI metadata for tools that reference UI resources.
func (MCPUIToolMeta) Get ¶
func (a MCPUIToolMeta) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MCPUIToolMeta. Returns the specified element and whether it was found
func (MCPUIToolMeta) MarshalJSON ¶
func (a MCPUIToolMeta) MarshalJSON() ([]byte, error)
Override default JSON handling for MCPUIToolMeta to handle AdditionalProperties
func (*MCPUIToolMeta) Set ¶
func (a *MCPUIToolMeta) Set(fieldName string, value interface{})
Setter for additional properties for MCPUIToolMeta
func (*MCPUIToolMeta) UnmarshalJSON ¶
func (a *MCPUIToolMeta) UnmarshalJSON(b []byte) error
Override default JSON handling for MCPUIToolMeta to handle AdditionalProperties
type MCPUIToolMetaVisibility ¶
type MCPUIToolMetaVisibility string
MCPUIToolMetaVisibility defines model for MCPUIToolMeta.Visibility.
const ( MCPUIToolMetaVisibilityApp MCPUIToolMetaVisibility = "app" MCPUIToolMetaVisibilityModel MCPUIToolMetaVisibility = "model" )
Defines values for MCPUIToolMetaVisibility.
func (MCPUIToolMetaVisibility) Valid ¶
func (e MCPUIToolMetaVisibility) Valid() bool
Valid indicates whether the value is a known member of the MCPUIToolMetaVisibility enum.
type MessageEntries ¶
type MessageEntries = []MessageEntries_Item
MessageEntries defines model for MessageEntries.
type MessageEntries_Item ¶
type MessageEntries_Item struct {
// contains filtered or unexported fields
}
MessageEntries_Item defines model for MessageEntries.Item.
func (MessageEntries_Item) AsMessageInputEntry ¶
func (t MessageEntries_Item) AsMessageInputEntry() (MessageInputEntry, error)
AsMessageInputEntry returns the union data inside the MessageEntries_Item as a MessageInputEntry
func (MessageEntries_Item) AsMessageOutputEntry ¶
func (t MessageEntries_Item) AsMessageOutputEntry() (MessageOutputEntry, error)
AsMessageOutputEntry returns the union data inside the MessageEntries_Item as a MessageOutputEntry
func (*MessageEntries_Item) FromMessageInputEntry ¶
func (t *MessageEntries_Item) FromMessageInputEntry(v MessageInputEntry) error
FromMessageInputEntry overwrites any union data inside the MessageEntries_Item as the provided MessageInputEntry
func (*MessageEntries_Item) FromMessageOutputEntry ¶
func (t *MessageEntries_Item) FromMessageOutputEntry(v MessageOutputEntry) error
FromMessageOutputEntry overwrites any union data inside the MessageEntries_Item as the provided MessageOutputEntry
func (MessageEntries_Item) MarshalJSON ¶
func (t MessageEntries_Item) MarshalJSON() ([]byte, error)
func (*MessageEntries_Item) MergeMessageInputEntry ¶
func (t *MessageEntries_Item) MergeMessageInputEntry(v MessageInputEntry) error
MergeMessageInputEntry performs a merge with any union data inside the MessageEntries_Item, using the provided MessageInputEntry
func (*MessageEntries_Item) MergeMessageOutputEntry ¶
func (t *MessageEntries_Item) MergeMessageOutputEntry(v MessageOutputEntry) error
MergeMessageOutputEntry performs a merge with any union data inside the MessageEntries_Item, using the provided MessageOutputEntry
func (*MessageEntries_Item) UnmarshalJSON ¶
func (t *MessageEntries_Item) UnmarshalJSON(b []byte) error
type MessageInputContentChunks ¶
type MessageInputContentChunks = []MessageInputContentChunks_Item
MessageInputContentChunks defines model for MessageInputContentChunks.
type MessageInputContentChunks_Item ¶
type MessageInputContentChunks_Item struct {
// contains filtered or unexported fields
}
MessageInputContentChunks_Item defines model for MessageInputContentChunks.Item.
func (MessageInputContentChunks_Item) AsDocumentURLChunk ¶
func (t MessageInputContentChunks_Item) AsDocumentURLChunk() (DocumentURLChunk, error)
AsDocumentURLChunk returns the union data inside the MessageInputContentChunks_Item as a DocumentURLChunk
func (MessageInputContentChunks_Item) AsImageURLChunk ¶
func (t MessageInputContentChunks_Item) AsImageURLChunk() (ImageURLChunk, error)
AsImageURLChunk returns the union data inside the MessageInputContentChunks_Item as a ImageURLChunk
func (MessageInputContentChunks_Item) AsTextChunk ¶
func (t MessageInputContentChunks_Item) AsTextChunk() (TextChunk, error)
AsTextChunk returns the union data inside the MessageInputContentChunks_Item as a TextChunk
func (MessageInputContentChunks_Item) AsThinkChunk ¶
func (t MessageInputContentChunks_Item) AsThinkChunk() (ThinkChunk, error)
AsThinkChunk returns the union data inside the MessageInputContentChunks_Item as a ThinkChunk
func (MessageInputContentChunks_Item) AsToolFileChunk ¶
func (t MessageInputContentChunks_Item) AsToolFileChunk() (ToolFileChunk, error)
AsToolFileChunk returns the union data inside the MessageInputContentChunks_Item as a ToolFileChunk
func (*MessageInputContentChunks_Item) FromDocumentURLChunk ¶
func (t *MessageInputContentChunks_Item) FromDocumentURLChunk(v DocumentURLChunk) error
FromDocumentURLChunk overwrites any union data inside the MessageInputContentChunks_Item as the provided DocumentURLChunk
func (*MessageInputContentChunks_Item) FromImageURLChunk ¶
func (t *MessageInputContentChunks_Item) FromImageURLChunk(v ImageURLChunk) error
FromImageURLChunk overwrites any union data inside the MessageInputContentChunks_Item as the provided ImageURLChunk
func (*MessageInputContentChunks_Item) FromTextChunk ¶
func (t *MessageInputContentChunks_Item) FromTextChunk(v TextChunk) error
FromTextChunk overwrites any union data inside the MessageInputContentChunks_Item as the provided TextChunk
func (*MessageInputContentChunks_Item) FromThinkChunk ¶
func (t *MessageInputContentChunks_Item) FromThinkChunk(v ThinkChunk) error
FromThinkChunk overwrites any union data inside the MessageInputContentChunks_Item as the provided ThinkChunk
func (*MessageInputContentChunks_Item) FromToolFileChunk ¶
func (t *MessageInputContentChunks_Item) FromToolFileChunk(v ToolFileChunk) error
FromToolFileChunk overwrites any union data inside the MessageInputContentChunks_Item as the provided ToolFileChunk
func (MessageInputContentChunks_Item) MarshalJSON ¶
func (t MessageInputContentChunks_Item) MarshalJSON() ([]byte, error)
func (*MessageInputContentChunks_Item) MergeDocumentURLChunk ¶
func (t *MessageInputContentChunks_Item) MergeDocumentURLChunk(v DocumentURLChunk) error
MergeDocumentURLChunk performs a merge with any union data inside the MessageInputContentChunks_Item, using the provided DocumentURLChunk
func (*MessageInputContentChunks_Item) MergeImageURLChunk ¶
func (t *MessageInputContentChunks_Item) MergeImageURLChunk(v ImageURLChunk) error
MergeImageURLChunk performs a merge with any union data inside the MessageInputContentChunks_Item, using the provided ImageURLChunk
func (*MessageInputContentChunks_Item) MergeTextChunk ¶
func (t *MessageInputContentChunks_Item) MergeTextChunk(v TextChunk) error
MergeTextChunk performs a merge with any union data inside the MessageInputContentChunks_Item, using the provided TextChunk
func (*MessageInputContentChunks_Item) MergeThinkChunk ¶
func (t *MessageInputContentChunks_Item) MergeThinkChunk(v ThinkChunk) error
MergeThinkChunk performs a merge with any union data inside the MessageInputContentChunks_Item, using the provided ThinkChunk
func (*MessageInputContentChunks_Item) MergeToolFileChunk ¶
func (t *MessageInputContentChunks_Item) MergeToolFileChunk(v ToolFileChunk) error
MergeToolFileChunk performs a merge with any union data inside the MessageInputContentChunks_Item, using the provided ToolFileChunk
func (*MessageInputContentChunks_Item) UnmarshalJSON ¶
func (t *MessageInputContentChunks_Item) UnmarshalJSON(b []byte) error
type MessageInputEntry ¶
type MessageInputEntry struct {
CompletedAt *time.Time `json:"completed_at,omitempty"`
Content MessageInputEntry_Content `json:"content"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Id *string `json:"id,omitempty"`
Object *MessageInputEntryObject `json:"object,omitempty"`
Prefix *bool `json:"prefix,omitempty"`
Role MessageInputEntryRole `json:"role"`
Type *MessageInputEntryType `json:"type,omitempty"`
}
MessageInputEntry Representation of an input message inside the conversation.
type MessageInputEntryContent0 ¶
type MessageInputEntryContent0 = string
MessageInputEntryContent0 defines model for MessageInputEntry.Content.0.
type MessageInputEntryObject ¶
type MessageInputEntryObject string
MessageInputEntryObject defines model for MessageInputEntry.Object.
const (
MessageInputEntryObjectEntry MessageInputEntryObject = "entry"
)
Defines values for MessageInputEntryObject.
func (MessageInputEntryObject) Valid ¶
func (e MessageInputEntryObject) Valid() bool
Valid indicates whether the value is a known member of the MessageInputEntryObject enum.
type MessageInputEntryRole ¶
type MessageInputEntryRole string
MessageInputEntryRole defines model for MessageInputEntry.Role.
const ( MessageInputEntryRoleAssistant MessageInputEntryRole = "assistant" MessageInputEntryRoleUser MessageInputEntryRole = "user" )
Defines values for MessageInputEntryRole.
func (MessageInputEntryRole) Valid ¶
func (e MessageInputEntryRole) Valid() bool
Valid indicates whether the value is a known member of the MessageInputEntryRole enum.
type MessageInputEntryType ¶
type MessageInputEntryType string
MessageInputEntryType defines model for MessageInputEntry.Type.
const (
MessageInputEntryTypeMessageInput MessageInputEntryType = "message.input"
)
Defines values for MessageInputEntryType.
func (MessageInputEntryType) Valid ¶
func (e MessageInputEntryType) Valid() bool
Valid indicates whether the value is a known member of the MessageInputEntryType enum.
type MessageInputEntry_Content ¶
type MessageInputEntry_Content struct {
// contains filtered or unexported fields
}
MessageInputEntry_Content defines model for MessageInputEntry.Content.
func (MessageInputEntry_Content) AsMessageInputContentChunks ¶
func (t MessageInputEntry_Content) AsMessageInputContentChunks() (MessageInputContentChunks, error)
AsMessageInputContentChunks returns the union data inside the MessageInputEntry_Content as a MessageInputContentChunks
func (MessageInputEntry_Content) AsMessageInputEntryContent0 ¶
func (t MessageInputEntry_Content) AsMessageInputEntryContent0() (MessageInputEntryContent0, error)
AsMessageInputEntryContent0 returns the union data inside the MessageInputEntry_Content as a MessageInputEntryContent0
func (*MessageInputEntry_Content) FromMessageInputContentChunks ¶
func (t *MessageInputEntry_Content) FromMessageInputContentChunks(v MessageInputContentChunks) error
FromMessageInputContentChunks overwrites any union data inside the MessageInputEntry_Content as the provided MessageInputContentChunks
func (*MessageInputEntry_Content) FromMessageInputEntryContent0 ¶
func (t *MessageInputEntry_Content) FromMessageInputEntryContent0(v MessageInputEntryContent0) error
FromMessageInputEntryContent0 overwrites any union data inside the MessageInputEntry_Content as the provided MessageInputEntryContent0
func (MessageInputEntry_Content) MarshalJSON ¶
func (t MessageInputEntry_Content) MarshalJSON() ([]byte, error)
func (*MessageInputEntry_Content) MergeMessageInputContentChunks ¶
func (t *MessageInputEntry_Content) MergeMessageInputContentChunks(v MessageInputContentChunks) error
MergeMessageInputContentChunks performs a merge with any union data inside the MessageInputEntry_Content, using the provided MessageInputContentChunks
func (*MessageInputEntry_Content) MergeMessageInputEntryContent0 ¶
func (t *MessageInputEntry_Content) MergeMessageInputEntryContent0(v MessageInputEntryContent0) error
MergeMessageInputEntryContent0 performs a merge with any union data inside the MessageInputEntry_Content, using the provided MessageInputEntryContent0
func (*MessageInputEntry_Content) UnmarshalJSON ¶
func (t *MessageInputEntry_Content) UnmarshalJSON(b []byte) error
type MessageOutputContentChunks ¶
type MessageOutputContentChunks = []MessageOutputContentChunks_Item
MessageOutputContentChunks defines model for MessageOutputContentChunks.
type MessageOutputContentChunks_Item ¶
type MessageOutputContentChunks_Item struct {
// contains filtered or unexported fields
}
MessageOutputContentChunks_Item defines model for MessageOutputContentChunks.Item.
func (MessageOutputContentChunks_Item) AsDocumentURLChunk ¶
func (t MessageOutputContentChunks_Item) AsDocumentURLChunk() (DocumentURLChunk, error)
AsDocumentURLChunk returns the union data inside the MessageOutputContentChunks_Item as a DocumentURLChunk
func (MessageOutputContentChunks_Item) AsImageURLChunk ¶
func (t MessageOutputContentChunks_Item) AsImageURLChunk() (ImageURLChunk, error)
AsImageURLChunk returns the union data inside the MessageOutputContentChunks_Item as a ImageURLChunk
func (MessageOutputContentChunks_Item) AsTextChunk ¶
func (t MessageOutputContentChunks_Item) AsTextChunk() (TextChunk, error)
AsTextChunk returns the union data inside the MessageOutputContentChunks_Item as a TextChunk
func (MessageOutputContentChunks_Item) AsThinkChunk ¶
func (t MessageOutputContentChunks_Item) AsThinkChunk() (ThinkChunk, error)
AsThinkChunk returns the union data inside the MessageOutputContentChunks_Item as a ThinkChunk
func (MessageOutputContentChunks_Item) AsToolFileChunk ¶
func (t MessageOutputContentChunks_Item) AsToolFileChunk() (ToolFileChunk, error)
AsToolFileChunk returns the union data inside the MessageOutputContentChunks_Item as a ToolFileChunk
func (MessageOutputContentChunks_Item) AsToolReferenceChunk ¶
func (t MessageOutputContentChunks_Item) AsToolReferenceChunk() (ToolReferenceChunk, error)
AsToolReferenceChunk returns the union data inside the MessageOutputContentChunks_Item as a ToolReferenceChunk
func (*MessageOutputContentChunks_Item) FromDocumentURLChunk ¶
func (t *MessageOutputContentChunks_Item) FromDocumentURLChunk(v DocumentURLChunk) error
FromDocumentURLChunk overwrites any union data inside the MessageOutputContentChunks_Item as the provided DocumentURLChunk
func (*MessageOutputContentChunks_Item) FromImageURLChunk ¶
func (t *MessageOutputContentChunks_Item) FromImageURLChunk(v ImageURLChunk) error
FromImageURLChunk overwrites any union data inside the MessageOutputContentChunks_Item as the provided ImageURLChunk
func (*MessageOutputContentChunks_Item) FromTextChunk ¶
func (t *MessageOutputContentChunks_Item) FromTextChunk(v TextChunk) error
FromTextChunk overwrites any union data inside the MessageOutputContentChunks_Item as the provided TextChunk
func (*MessageOutputContentChunks_Item) FromThinkChunk ¶
func (t *MessageOutputContentChunks_Item) FromThinkChunk(v ThinkChunk) error
FromThinkChunk overwrites any union data inside the MessageOutputContentChunks_Item as the provided ThinkChunk
func (*MessageOutputContentChunks_Item) FromToolFileChunk ¶
func (t *MessageOutputContentChunks_Item) FromToolFileChunk(v ToolFileChunk) error
FromToolFileChunk overwrites any union data inside the MessageOutputContentChunks_Item as the provided ToolFileChunk
func (*MessageOutputContentChunks_Item) FromToolReferenceChunk ¶
func (t *MessageOutputContentChunks_Item) FromToolReferenceChunk(v ToolReferenceChunk) error
FromToolReferenceChunk overwrites any union data inside the MessageOutputContentChunks_Item as the provided ToolReferenceChunk
func (MessageOutputContentChunks_Item) MarshalJSON ¶
func (t MessageOutputContentChunks_Item) MarshalJSON() ([]byte, error)
func (*MessageOutputContentChunks_Item) MergeDocumentURLChunk ¶
func (t *MessageOutputContentChunks_Item) MergeDocumentURLChunk(v DocumentURLChunk) error
MergeDocumentURLChunk performs a merge with any union data inside the MessageOutputContentChunks_Item, using the provided DocumentURLChunk
func (*MessageOutputContentChunks_Item) MergeImageURLChunk ¶
func (t *MessageOutputContentChunks_Item) MergeImageURLChunk(v ImageURLChunk) error
MergeImageURLChunk performs a merge with any union data inside the MessageOutputContentChunks_Item, using the provided ImageURLChunk
func (*MessageOutputContentChunks_Item) MergeTextChunk ¶
func (t *MessageOutputContentChunks_Item) MergeTextChunk(v TextChunk) error
MergeTextChunk performs a merge with any union data inside the MessageOutputContentChunks_Item, using the provided TextChunk
func (*MessageOutputContentChunks_Item) MergeThinkChunk ¶
func (t *MessageOutputContentChunks_Item) MergeThinkChunk(v ThinkChunk) error
MergeThinkChunk performs a merge with any union data inside the MessageOutputContentChunks_Item, using the provided ThinkChunk
func (*MessageOutputContentChunks_Item) MergeToolFileChunk ¶
func (t *MessageOutputContentChunks_Item) MergeToolFileChunk(v ToolFileChunk) error
MergeToolFileChunk performs a merge with any union data inside the MessageOutputContentChunks_Item, using the provided ToolFileChunk
func (*MessageOutputContentChunks_Item) MergeToolReferenceChunk ¶
func (t *MessageOutputContentChunks_Item) MergeToolReferenceChunk(v ToolReferenceChunk) error
MergeToolReferenceChunk performs a merge with any union data inside the MessageOutputContentChunks_Item, using the provided ToolReferenceChunk
func (*MessageOutputContentChunks_Item) UnmarshalJSON ¶
func (t *MessageOutputContentChunks_Item) UnmarshalJSON(b []byte) error
type MessageOutputEntry ¶
type MessageOutputEntry struct {
AgentId *string `json:"agent_id,omitempty"`
CompletedAt *time.Time `json:"completed_at,omitempty"`
Content MessageOutputEntry_Content `json:"content"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Id *string `json:"id,omitempty"`
Model *string `json:"model,omitempty"`
Object *MessageOutputEntryObject `json:"object,omitempty"`
Role *MessageOutputEntryRole `json:"role,omitempty"`
Type *MessageOutputEntryType `json:"type,omitempty"`
}
MessageOutputEntry defines model for MessageOutputEntry.
type MessageOutputEntryContent0 ¶
type MessageOutputEntryContent0 = string
MessageOutputEntryContent0 defines model for MessageOutputEntry.Content.0.
type MessageOutputEntryObject ¶
type MessageOutputEntryObject string
MessageOutputEntryObject defines model for MessageOutputEntry.Object.
const (
MessageOutputEntryObjectEntry MessageOutputEntryObject = "entry"
)
Defines values for MessageOutputEntryObject.
func (MessageOutputEntryObject) Valid ¶
func (e MessageOutputEntryObject) Valid() bool
Valid indicates whether the value is a known member of the MessageOutputEntryObject enum.
type MessageOutputEntryRole ¶
type MessageOutputEntryRole string
MessageOutputEntryRole defines model for MessageOutputEntry.Role.
const (
MessageOutputEntryRoleAssistant MessageOutputEntryRole = "assistant"
)
Defines values for MessageOutputEntryRole.
func (MessageOutputEntryRole) Valid ¶
func (e MessageOutputEntryRole) Valid() bool
Valid indicates whether the value is a known member of the MessageOutputEntryRole enum.
type MessageOutputEntryType ¶
type MessageOutputEntryType string
MessageOutputEntryType defines model for MessageOutputEntry.Type.
const (
MessageOutputEntryTypeMessageOutput MessageOutputEntryType = "message.output"
)
Defines values for MessageOutputEntryType.
func (MessageOutputEntryType) Valid ¶
func (e MessageOutputEntryType) Valid() bool
Valid indicates whether the value is a known member of the MessageOutputEntryType enum.
type MessageOutputEntry_Content ¶
type MessageOutputEntry_Content struct {
// contains filtered or unexported fields
}
MessageOutputEntry_Content defines model for MessageOutputEntry.Content.
func (MessageOutputEntry_Content) AsMessageOutputContentChunks ¶
func (t MessageOutputEntry_Content) AsMessageOutputContentChunks() (MessageOutputContentChunks, error)
AsMessageOutputContentChunks returns the union data inside the MessageOutputEntry_Content as a MessageOutputContentChunks
func (MessageOutputEntry_Content) AsMessageOutputEntryContent0 ¶
func (t MessageOutputEntry_Content) AsMessageOutputEntryContent0() (MessageOutputEntryContent0, error)
AsMessageOutputEntryContent0 returns the union data inside the MessageOutputEntry_Content as a MessageOutputEntryContent0
func (*MessageOutputEntry_Content) FromMessageOutputContentChunks ¶
func (t *MessageOutputEntry_Content) FromMessageOutputContentChunks(v MessageOutputContentChunks) error
FromMessageOutputContentChunks overwrites any union data inside the MessageOutputEntry_Content as the provided MessageOutputContentChunks
func (*MessageOutputEntry_Content) FromMessageOutputEntryContent0 ¶
func (t *MessageOutputEntry_Content) FromMessageOutputEntryContent0(v MessageOutputEntryContent0) error
FromMessageOutputEntryContent0 overwrites any union data inside the MessageOutputEntry_Content as the provided MessageOutputEntryContent0
func (MessageOutputEntry_Content) MarshalJSON ¶
func (t MessageOutputEntry_Content) MarshalJSON() ([]byte, error)
func (*MessageOutputEntry_Content) MergeMessageOutputContentChunks ¶
func (t *MessageOutputEntry_Content) MergeMessageOutputContentChunks(v MessageOutputContentChunks) error
MergeMessageOutputContentChunks performs a merge with any union data inside the MessageOutputEntry_Content, using the provided MessageOutputContentChunks
func (*MessageOutputEntry_Content) MergeMessageOutputEntryContent0 ¶
func (t *MessageOutputEntry_Content) MergeMessageOutputEntryContent0(v MessageOutputEntryContent0) error
MergeMessageOutputEntryContent0 performs a merge with any union data inside the MessageOutputEntry_Content, using the provided MessageOutputEntryContent0
func (*MessageOutputEntry_Content) UnmarshalJSON ¶
func (t *MessageOutputEntry_Content) UnmarshalJSON(b []byte) error
type MessageOutputEvent ¶
type MessageOutputEvent struct {
AgentId *string `json:"agent_id,omitempty"`
Content MessageOutputEvent_Content `json:"content"`
ContentIndex *int `json:"content_index,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Id string `json:"id"`
Model *string `json:"model,omitempty"`
OutputIndex *int `json:"output_index,omitempty"`
Role *MessageOutputEventRole `json:"role,omitempty"`
Type *MessageOutputEventType `json:"type,omitempty"`
}
MessageOutputEvent defines model for MessageOutputEvent.
type MessageOutputEventContent0 ¶
type MessageOutputEventContent0 = string
MessageOutputEventContent0 defines model for MessageOutputEvent.Content.0.
type MessageOutputEventRole ¶
type MessageOutputEventRole string
MessageOutputEventRole defines model for MessageOutputEvent.Role.
const (
MessageOutputEventRoleAssistant MessageOutputEventRole = "assistant"
)
Defines values for MessageOutputEventRole.
func (MessageOutputEventRole) Valid ¶
func (e MessageOutputEventRole) Valid() bool
Valid indicates whether the value is a known member of the MessageOutputEventRole enum.
type MessageOutputEventType ¶
type MessageOutputEventType string
MessageOutputEventType defines model for MessageOutputEvent.Type.
const (
MessageOutputEventTypeMessageOutputDelta MessageOutputEventType = "message.output.delta"
)
Defines values for MessageOutputEventType.
func (MessageOutputEventType) Valid ¶
func (e MessageOutputEventType) Valid() bool
Valid indicates whether the value is a known member of the MessageOutputEventType enum.
type MessageOutputEvent_Content ¶
type MessageOutputEvent_Content struct {
// contains filtered or unexported fields
}
MessageOutputEvent_Content defines model for MessageOutputEvent.Content.
func (MessageOutputEvent_Content) AsMessageOutputEventContent0 ¶
func (t MessageOutputEvent_Content) AsMessageOutputEventContent0() (MessageOutputEventContent0, error)
AsMessageOutputEventContent0 returns the union data inside the MessageOutputEvent_Content as a MessageOutputEventContent0
func (MessageOutputEvent_Content) AsOutputContentChunks ¶
func (t MessageOutputEvent_Content) AsOutputContentChunks() (OutputContentChunks, error)
AsOutputContentChunks returns the union data inside the MessageOutputEvent_Content as a OutputContentChunks
func (*MessageOutputEvent_Content) FromMessageOutputEventContent0 ¶
func (t *MessageOutputEvent_Content) FromMessageOutputEventContent0(v MessageOutputEventContent0) error
FromMessageOutputEventContent0 overwrites any union data inside the MessageOutputEvent_Content as the provided MessageOutputEventContent0
func (*MessageOutputEvent_Content) FromOutputContentChunks ¶
func (t *MessageOutputEvent_Content) FromOutputContentChunks(v OutputContentChunks) error
FromOutputContentChunks overwrites any union data inside the MessageOutputEvent_Content as the provided OutputContentChunks
func (MessageOutputEvent_Content) MarshalJSON ¶
func (t MessageOutputEvent_Content) MarshalJSON() ([]byte, error)
func (*MessageOutputEvent_Content) MergeMessageOutputEventContent0 ¶
func (t *MessageOutputEvent_Content) MergeMessageOutputEventContent0(v MessageOutputEventContent0) error
MergeMessageOutputEventContent0 performs a merge with any union data inside the MessageOutputEvent_Content, using the provided MessageOutputEventContent0
func (*MessageOutputEvent_Content) MergeOutputContentChunks ¶
func (t *MessageOutputEvent_Content) MergeOutputContentChunks(v OutputContentChunks) error
MergeOutputContentChunks performs a merge with any union data inside the MessageOutputEvent_Content, using the provided OutputContentChunks
func (*MessageOutputEvent_Content) UnmarshalJSON ¶
func (t *MessageOutputEvent_Content) UnmarshalJSON(b []byte) error
type MessageResponse ¶
type MessageResponse struct {
Message string `json:"message"`
}
MessageResponse defines model for MessageResponse.
type MetadataDict ¶
type MetadataDict map[string]interface{}
MetadataDict Custom type for metadata with embedded validation.
type MetricOut ¶
type MetricOut struct {
TrainLoss *float32 `json:"train_loss,omitempty"`
ValidLoss *float32 `json:"valid_loss,omitempty"`
ValidMeanTokenAccuracy *float32 `json:"valid_mean_token_accuracy,omitempty"`
}
MetricOut Metrics at the step number during the fine-tuning job. Use these metrics to assess if the training is going smoothly (loss should decrease, token accuracy should increase).
type MistralPromptMode ¶
type MistralPromptMode string
MistralPromptMode Available options to the prompt_mode argument on the chat completion endpoint. Values represent high-level intent. Assignment to actual SPs is handled internally. System prompt may include knowledge cutoff date, model capabilities, tone to use, safety guidelines, etc.
const (
MistralPromptModeReasoning MistralPromptMode = "reasoning"
)
Defines values for MistralPromptMode.
func (MistralPromptMode) Valid ¶
func (e MistralPromptMode) Valid() bool
Valid indicates whether the value is a known member of the MistralPromptMode enum.
type ModelCapabilities ¶
type ModelCapabilities struct {
Audio *bool `json:"audio,omitempty"`
AudioTranscription *bool `json:"audio_transcription,omitempty"`
Classification *bool `json:"classification,omitempty"`
CompletionChat *bool `json:"completion_chat,omitempty"`
CompletionFim *bool `json:"completion_fim,omitempty"`
FineTuning *bool `json:"fine_tuning,omitempty"`
FunctionCalling *bool `json:"function_calling,omitempty"`
Moderation *bool `json:"moderation,omitempty"`
Ocr *bool `json:"ocr,omitempty"`
Vision *bool `json:"vision,omitempty"`
}
ModelCapabilities defines model for ModelCapabilities.
type ModelConversation ¶
type ModelConversation struct {
// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
CreatedAt time.Time `json:"created_at"`
// Description Description of the what the conversation is about.
Description *string `json:"description,omitempty"`
Guardrails *[]GuardrailConfig `json:"guardrails,omitempty"`
Id string `json:"id"`
// Instructions Instruction prompt the model will follow during the conversation.
Instructions *string `json:"instructions,omitempty"`
// Metadata Custom metadata for the conversation.
Metadata *MetadataDict `json:"metadata,omitempty"`
Model string `json:"model"`
// Name Name given to the conversation.
Name *string `json:"name,omitempty"`
Object *ModelConversationObject `json:"object,omitempty"`
// Tools List of tools which are available to the model during the conversation.
Tools *[]ModelConversation_Tools_Item `json:"tools,omitempty"`
UpdatedAt time.Time `json:"updated_at"`
}
ModelConversation defines model for ModelConversation.
type ModelConversationObject ¶
type ModelConversationObject string
ModelConversationObject defines model for ModelConversation.Object.
const (
ModelConversationObjectConversation ModelConversationObject = "conversation"
)
Defines values for ModelConversationObject.
func (ModelConversationObject) Valid ¶
func (e ModelConversationObject) Valid() bool
Valid indicates whether the value is a known member of the ModelConversationObject enum.
type ModelConversation_Tools_Item ¶
type ModelConversation_Tools_Item struct {
// contains filtered or unexported fields
}
ModelConversation_Tools_Item defines model for ModelConversation.tools.Item.
func (ModelConversation_Tools_Item) AsCodeInterpreterTool ¶
func (t ModelConversation_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)
AsCodeInterpreterTool returns the union data inside the ModelConversation_Tools_Item as a CodeInterpreterTool
func (ModelConversation_Tools_Item) AsCustomConnector ¶
func (t ModelConversation_Tools_Item) AsCustomConnector() (CustomConnector, error)
AsCustomConnector returns the union data inside the ModelConversation_Tools_Item as a CustomConnector
func (ModelConversation_Tools_Item) AsDocumentLibraryTool ¶
func (t ModelConversation_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)
AsDocumentLibraryTool returns the union data inside the ModelConversation_Tools_Item as a DocumentLibraryTool
func (ModelConversation_Tools_Item) AsFunctionTool ¶
func (t ModelConversation_Tools_Item) AsFunctionTool() (FunctionTool, error)
AsFunctionTool returns the union data inside the ModelConversation_Tools_Item as a FunctionTool
func (ModelConversation_Tools_Item) AsImageGenerationTool ¶
func (t ModelConversation_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)
AsImageGenerationTool returns the union data inside the ModelConversation_Tools_Item as a ImageGenerationTool
func (ModelConversation_Tools_Item) AsWebSearchPremiumTool ¶
func (t ModelConversation_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)
AsWebSearchPremiumTool returns the union data inside the ModelConversation_Tools_Item as a WebSearchPremiumTool
func (ModelConversation_Tools_Item) AsWebSearchTool ¶
func (t ModelConversation_Tools_Item) AsWebSearchTool() (WebSearchTool, error)
AsWebSearchTool returns the union data inside the ModelConversation_Tools_Item as a WebSearchTool
func (ModelConversation_Tools_Item) Discriminator ¶
func (t ModelConversation_Tools_Item) Discriminator() (string, error)
func (*ModelConversation_Tools_Item) FromCodeInterpreterTool ¶
func (t *ModelConversation_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error
FromCodeInterpreterTool overwrites any union data inside the ModelConversation_Tools_Item as the provided CodeInterpreterTool
func (*ModelConversation_Tools_Item) FromCustomConnector ¶
func (t *ModelConversation_Tools_Item) FromCustomConnector(v CustomConnector) error
FromCustomConnector overwrites any union data inside the ModelConversation_Tools_Item as the provided CustomConnector
func (*ModelConversation_Tools_Item) FromDocumentLibraryTool ¶
func (t *ModelConversation_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error
FromDocumentLibraryTool overwrites any union data inside the ModelConversation_Tools_Item as the provided DocumentLibraryTool
func (*ModelConversation_Tools_Item) FromFunctionTool ¶
func (t *ModelConversation_Tools_Item) FromFunctionTool(v FunctionTool) error
FromFunctionTool overwrites any union data inside the ModelConversation_Tools_Item as the provided FunctionTool
func (*ModelConversation_Tools_Item) FromImageGenerationTool ¶
func (t *ModelConversation_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error
FromImageGenerationTool overwrites any union data inside the ModelConversation_Tools_Item as the provided ImageGenerationTool
func (*ModelConversation_Tools_Item) FromWebSearchPremiumTool ¶
func (t *ModelConversation_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error
FromWebSearchPremiumTool overwrites any union data inside the ModelConversation_Tools_Item as the provided WebSearchPremiumTool
func (*ModelConversation_Tools_Item) FromWebSearchTool ¶
func (t *ModelConversation_Tools_Item) FromWebSearchTool(v WebSearchTool) error
FromWebSearchTool overwrites any union data inside the ModelConversation_Tools_Item as the provided WebSearchTool
func (ModelConversation_Tools_Item) MarshalJSON ¶
func (t ModelConversation_Tools_Item) MarshalJSON() ([]byte, error)
func (*ModelConversation_Tools_Item) MergeCodeInterpreterTool ¶
func (t *ModelConversation_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error
MergeCodeInterpreterTool performs a merge with any union data inside the ModelConversation_Tools_Item, using the provided CodeInterpreterTool
func (*ModelConversation_Tools_Item) MergeCustomConnector ¶
func (t *ModelConversation_Tools_Item) MergeCustomConnector(v CustomConnector) error
MergeCustomConnector performs a merge with any union data inside the ModelConversation_Tools_Item, using the provided CustomConnector
func (*ModelConversation_Tools_Item) MergeDocumentLibraryTool ¶
func (t *ModelConversation_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error
MergeDocumentLibraryTool performs a merge with any union data inside the ModelConversation_Tools_Item, using the provided DocumentLibraryTool
func (*ModelConversation_Tools_Item) MergeFunctionTool ¶
func (t *ModelConversation_Tools_Item) MergeFunctionTool(v FunctionTool) error
MergeFunctionTool performs a merge with any union data inside the ModelConversation_Tools_Item, using the provided FunctionTool
func (*ModelConversation_Tools_Item) MergeImageGenerationTool ¶
func (t *ModelConversation_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error
MergeImageGenerationTool performs a merge with any union data inside the ModelConversation_Tools_Item, using the provided ImageGenerationTool
func (*ModelConversation_Tools_Item) MergeWebSearchPremiumTool ¶
func (t *ModelConversation_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error
MergeWebSearchPremiumTool performs a merge with any union data inside the ModelConversation_Tools_Item, using the provided WebSearchPremiumTool
func (*ModelConversation_Tools_Item) MergeWebSearchTool ¶
func (t *ModelConversation_Tools_Item) MergeWebSearchTool(v WebSearchTool) error
MergeWebSearchTool performs a merge with any union data inside the ModelConversation_Tools_Item, using the provided WebSearchTool
func (*ModelConversation_Tools_Item) UnmarshalJSON ¶
func (t *ModelConversation_Tools_Item) UnmarshalJSON(b []byte) error
func (ModelConversation_Tools_Item) ValueByDiscriminator ¶
func (t ModelConversation_Tools_Item) ValueByDiscriminator() (interface{}, error)
type ModelList ¶
type ModelList struct {
Data *[]ModelList_Data_Item `json:"data,omitempty"`
Object *string `json:"object,omitempty"`
}
ModelList defines model for ModelList.
type ModelList_Data_Item ¶
type ModelList_Data_Item struct {
// contains filtered or unexported fields
}
ModelList_Data_Item defines model for ModelList.data.Item.
func (ModelList_Data_Item) AsBaseModelCard ¶
func (t ModelList_Data_Item) AsBaseModelCard() (BaseModelCard, error)
AsBaseModelCard returns the union data inside the ModelList_Data_Item as a BaseModelCard
func (ModelList_Data_Item) AsFTModelCard ¶
func (t ModelList_Data_Item) AsFTModelCard() (FTModelCard, error)
AsFTModelCard returns the union data inside the ModelList_Data_Item as a FTModelCard
func (ModelList_Data_Item) Discriminator ¶
func (t ModelList_Data_Item) Discriminator() (string, error)
func (*ModelList_Data_Item) FromBaseModelCard ¶
func (t *ModelList_Data_Item) FromBaseModelCard(v BaseModelCard) error
FromBaseModelCard overwrites any union data inside the ModelList_Data_Item as the provided BaseModelCard
func (*ModelList_Data_Item) FromFTModelCard ¶
func (t *ModelList_Data_Item) FromFTModelCard(v FTModelCard) error
FromFTModelCard overwrites any union data inside the ModelList_Data_Item as the provided FTModelCard
func (ModelList_Data_Item) MarshalJSON ¶
func (t ModelList_Data_Item) MarshalJSON() ([]byte, error)
func (*ModelList_Data_Item) MergeBaseModelCard ¶
func (t *ModelList_Data_Item) MergeBaseModelCard(v BaseModelCard) error
MergeBaseModelCard performs a merge with any union data inside the ModelList_Data_Item, using the provided BaseModelCard
func (*ModelList_Data_Item) MergeFTModelCard ¶
func (t *ModelList_Data_Item) MergeFTModelCard(v FTModelCard) error
MergeFTModelCard performs a merge with any union data inside the ModelList_Data_Item, using the provided FTModelCard
func (*ModelList_Data_Item) UnmarshalJSON ¶
func (t *ModelList_Data_Item) UnmarshalJSON(b []byte) error
func (ModelList_Data_Item) ValueByDiscriminator ¶
func (t ModelList_Data_Item) ValueByDiscriminator() (interface{}, error)
type ModerationLLMAction ¶
type ModerationLLMAction string
ModerationLLMAction defines model for ModerationLLMAction.
const ( ModerationLLMActionBlock ModerationLLMAction = "block" ModerationLLMActionNone ModerationLLMAction = "none" )
Defines values for ModerationLLMAction.
func (ModerationLLMAction) Valid ¶
func (e ModerationLLMAction) Valid() bool
Valid indicates whether the value is a known member of the ModerationLLMAction enum.
type ModerationLLMV1CategoryThresholds ¶
type ModerationLLMV1CategoryThresholds struct {
DangerousAndCriminalContent *float32 `json:"dangerous_and_criminal_content,omitempty"`
Financial *float32 `json:"financial,omitempty"`
HateAndDiscrimination *float32 `json:"hate_and_discrimination,omitempty"`
Health *float32 `json:"health,omitempty"`
Law *float32 `json:"law,omitempty"`
Pii *float32 `json:"pii,omitempty"`
Selfharm *float32 `json:"selfharm,omitempty"`
Sexual *float32 `json:"sexual,omitempty"`
ViolenceAndThreats *float32 `json:"violence_and_threats,omitempty"`
}
ModerationLLMV1CategoryThresholds defines model for ModerationLLMV1CategoryThresholds.
type ModerationLLMV1Config ¶
type ModerationLLMV1Config struct {
// Action Action to take if any score is above the threshold for any category.
Action *ModerationLLMAction `json:"action,omitempty"`
CustomCategoryThresholds *ModerationLLMV1CategoryThresholds `json:"custom_category_thresholds,omitempty"`
// IgnoreOtherCategories If true, only evaluate categories in custom_category_thresholds; others are ignored.
IgnoreOtherCategories *bool `json:"ignore_other_categories,omitempty"`
// ModelName Override model name. Should be omitted in general.
ModelName *string `json:"model_name,omitempty"`
}
ModerationLLMV1Config defines model for ModerationLLMV1Config.
type ModerationLLMV2CategoryThresholds ¶
type ModerationLLMV2CategoryThresholds struct {
Criminal *float32 `json:"criminal,omitempty"`
Dangerous *float32 `json:"dangerous,omitempty"`
Financial *float32 `json:"financial,omitempty"`
HateAndDiscrimination *float32 `json:"hate_and_discrimination,omitempty"`
Health *float32 `json:"health,omitempty"`
Jailbreaking *float32 `json:"jailbreaking,omitempty"`
Law *float32 `json:"law,omitempty"`
Pii *float32 `json:"pii,omitempty"`
Selfharm *float32 `json:"selfharm,omitempty"`
Sexual *float32 `json:"sexual,omitempty"`
ViolenceAndThreats *float32 `json:"violence_and_threats,omitempty"`
}
ModerationLLMV2CategoryThresholds defines model for ModerationLLMV2CategoryThresholds.
type ModerationLLMV2Config ¶
type ModerationLLMV2Config struct {
// Action Action to take if any score is above the threshold for any category.
Action *ModerationLLMAction `json:"action,omitempty"`
CustomCategoryThresholds *ModerationLLMV2CategoryThresholds `json:"custom_category_thresholds,omitempty"`
// IgnoreOtherCategories If true, only evaluate categories in custom_category_thresholds; others are ignored.
IgnoreOtherCategories *bool `json:"ignore_other_categories,omitempty"`
// ModelName Override model name. Should be omitted in general.
ModelName *string `json:"model_name,omitempty"`
}
ModerationLLMV2Config defines model for ModerationLLMV2Config.
type ModerationObject ¶
type ModerationObject struct {
// Categories Moderation result thresholds
Categories *map[string]bool `json:"categories,omitempty"`
// CategoryScores Moderation result
CategoryScores *map[string]float32 `json:"category_scores,omitempty"`
}
ModerationObject defines model for ModerationObject.
type ModerationResponse ¶
type ModerationResponse struct {
Id string `json:"id"`
Model string `json:"model"`
Results []ModerationObject `json:"results"`
}
ModerationResponse defines model for ModerationResponse.
type ModerationsV1ModerationsPostJSONRequestBody ¶
type ModerationsV1ModerationsPostJSONRequestBody = ClassificationRequest
ModerationsV1ModerationsPostJSONRequestBody defines body for ModerationsV1ModerationsPost for application/json ContentType.
type ModerationsV1ModerationsPostResponse ¶
type ModerationsV1ModerationsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ModerationResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseModerationsV1ModerationsPostResponse ¶
func ParseModerationsV1ModerationsPostResponse(rsp *http.Response) (*ModerationsV1ModerationsPostResponse, error)
ParseModerationsV1ModerationsPostResponse parses an HTTP response from a ModerationsV1ModerationsPostWithResponse call
func (ModerationsV1ModerationsPostResponse) ContentType ¶
func (r ModerationsV1ModerationsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ModerationsV1ModerationsPostResponse) GetBody ¶
func (r ModerationsV1ModerationsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ModerationsV1ModerationsPostResponse) GetJSON200 ¶
func (r ModerationsV1ModerationsPostResponse) GetJSON200() *ModerationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ModerationsV1ModerationsPostResponse) GetJSON422 ¶
func (r ModerationsV1ModerationsPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ModerationsV1ModerationsPostResponse) Status ¶
func (r ModerationsV1ModerationsPostResponse) Status() string
Status returns HTTPResponse.Status
func (ModerationsV1ModerationsPostResponse) StatusCode ¶
func (r ModerationsV1ModerationsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NetworkEncodedInput ¶
type NetworkEncodedInput struct {
// B64payload The encoded payload
B64payload string `json:"b64payload"`
// Empty Whether the payload is empty
Empty *bool `json:"empty,omitempty"`
// EncodingOptions The encoding of the payload
EncodingOptions *[]EncodedPayloadOptions `json:"encoding_options,omitempty"`
}
NetworkEncodedInput defines model for NetworkEncodedInput.
type OAuth2Token ¶
type OAuth2Token struct {
AccessToken string `json:"access_token"`
ExpiresAt *time.Time `json:"expires_at,omitempty"`
ExpiresIn *int `json:"expires_in,omitempty"`
RefreshToken *string `json:"refresh_token,omitempty"`
Scope *string `json:"scope,omitempty"`
TokenType *OAuth2TokenTokenType `json:"token_type,omitempty"`
}
OAuth2Token defines model for OAuth2Token.
type OAuth2TokenAuth ¶
type OAuth2TokenAuth struct {
Type *OAuth2TokenAuthType `json:"type,omitempty"`
Value string `json:"value"`
}
OAuth2TokenAuth defines model for OAuth2TokenAuth.
type OAuth2TokenAuthType ¶
type OAuth2TokenAuthType string
OAuth2TokenAuthType defines model for OAuth2TokenAuth.Type.
const (
OAuth2TokenAuthTypeOauth2Token OAuth2TokenAuthType = "oauth2-token"
)
Defines values for OAuth2TokenAuthType.
func (OAuth2TokenAuthType) Valid ¶
func (e OAuth2TokenAuthType) Valid() bool
Valid indicates whether the value is a known member of the OAuth2TokenAuthType enum.
type OAuth2TokenTokenType ¶
type OAuth2TokenTokenType string
OAuth2TokenTokenType defines model for OAuth2Token.TokenType.
const (
OAuth2TokenTokenTypeBearer OAuth2TokenTokenType = "Bearer"
)
Defines values for OAuth2TokenTokenType.
func (OAuth2TokenTokenType) Valid ¶
func (e OAuth2TokenTokenType) Valid() bool
Valid indicates whether the value is a known member of the OAuth2TokenTokenType enum.
type OCRAsideTextBlock ¶
type OCRAsideTextBlock struct {
BottomRightX int `json:"bottom_right_x"`
BottomRightY int `json:"bottom_right_y"`
// Content Text/markdown/html content of this block
Content string `json:"content"`
TopLeftX int `json:"top_left_x"`
TopLeftY int `json:"top_left_y"`
Type *OCRAsideTextBlockType `json:"type,omitempty"`
}
OCRAsideTextBlock defines model for OCRAsideTextBlock.
type OCRAsideTextBlockType ¶
type OCRAsideTextBlockType string
OCRAsideTextBlockType defines model for OCRAsideTextBlock.Type.
const (
OCRAsideTextBlockTypeAsideText OCRAsideTextBlockType = "aside_text"
)
Defines values for OCRAsideTextBlockType.
func (OCRAsideTextBlockType) Valid ¶
func (e OCRAsideTextBlockType) Valid() bool
Valid indicates whether the value is a known member of the OCRAsideTextBlockType enum.
type OCRCaptionBlock ¶
type OCRCaptionBlock struct {
BottomRightX int `json:"bottom_right_x"`
BottomRightY int `json:"bottom_right_y"`
// Content Text/markdown/html content of this block
Content string `json:"content"`
TopLeftX int `json:"top_left_x"`
TopLeftY int `json:"top_left_y"`
Type *OCRCaptionBlockType `json:"type,omitempty"`
}
OCRCaptionBlock defines model for OCRCaptionBlock.
type OCRCaptionBlockType ¶
type OCRCaptionBlockType string
OCRCaptionBlockType defines model for OCRCaptionBlock.Type.
const (
OCRCaptionBlockTypeCaption OCRCaptionBlockType = "caption"
)
Defines values for OCRCaptionBlockType.
func (OCRCaptionBlockType) Valid ¶
func (e OCRCaptionBlockType) Valid() bool
Valid indicates whether the value is a known member of the OCRCaptionBlockType enum.
type OCRCodeBlock ¶
type OCRCodeBlock struct {
BottomRightX int `json:"bottom_right_x"`
BottomRightY int `json:"bottom_right_y"`
// Content Text/markdown/html content of this block
Content string `json:"content"`
TopLeftX int `json:"top_left_x"`
TopLeftY int `json:"top_left_y"`
Type *OCRCodeBlockType `json:"type,omitempty"`
}
OCRCodeBlock defines model for OCRCodeBlock.
type OCRCodeBlockType ¶
type OCRCodeBlockType string
OCRCodeBlockType defines model for OCRCodeBlock.Type.
const (
OCRCodeBlockTypeCode OCRCodeBlockType = "code"
)
Defines values for OCRCodeBlockType.
func (OCRCodeBlockType) Valid ¶
func (e OCRCodeBlockType) Valid() bool
Valid indicates whether the value is a known member of the OCRCodeBlockType enum.
type OCRConfidenceScore ¶
type OCRConfidenceScore struct {
// Confidence Confidence score (0-1)
Confidence float32 `json:"confidence"`
// StartIndex Start index of the text in the page markdown string
StartIndex int `json:"start_index"`
// Text The word or text segment
Text string `json:"text"`
}
OCRConfidenceScore Confidence score for a token or word in OCR output.
type OCREquationBlock ¶
type OCREquationBlock struct {
BottomRightX int `json:"bottom_right_x"`
BottomRightY int `json:"bottom_right_y"`
// Content Text/markdown/html content of this block
Content string `json:"content"`
TopLeftX int `json:"top_left_x"`
TopLeftY int `json:"top_left_y"`
Type *OCREquationBlockType `json:"type,omitempty"`
}
OCREquationBlock defines model for OCREquationBlock.
type OCREquationBlockType ¶
type OCREquationBlockType string
OCREquationBlockType defines model for OCREquationBlock.Type.
const (
OCREquationBlockTypeEquation OCREquationBlockType = "equation"
)
Defines values for OCREquationBlockType.
func (OCREquationBlockType) Valid ¶
func (e OCREquationBlockType) Valid() bool
Valid indicates whether the value is a known member of the OCREquationBlockType enum.
type OCRFooterBlock ¶
type OCRFooterBlock struct {
// Content Text/markdown/html content of this block
}
OCRFooterBlock defines model for OCRFooterBlock.
type OCRFooterBlockType ¶
type OCRFooterBlockType string
OCRFooterBlockType defines model for OCRFooterBlock.Type.
const (
)
Defines values for OCRFooterBlockType.
func (OCRFooterBlockType) Valid ¶
func (e OCRFooterBlockType) Valid() bool
Valid indicates whether the value is a known member of the OCRFooterBlockType enum.
type OCRHeaderBlock ¶
type OCRHeaderBlock struct {
BottomRightX int `json:"bottom_right_x"`
BottomRightY int `json:"bottom_right_y"`
// Content Text/markdown/html content of this block
Content string `json:"content"`
TopLeftX int `json:"top_left_x"`
TopLeftY int `json:"top_left_y"`
Type *OCRHeaderBlockType `json:"type,omitempty"`
}
OCRHeaderBlock defines model for OCRHeaderBlock.
type OCRHeaderBlockType ¶
type OCRHeaderBlockType string
OCRHeaderBlockType defines model for OCRHeaderBlock.Type.
const (
OCRHeaderBlockTypeHeader OCRHeaderBlockType = "header"
)
Defines values for OCRHeaderBlockType.
func (OCRHeaderBlockType) Valid ¶
func (e OCRHeaderBlockType) Valid() bool
Valid indicates whether the value is a known member of the OCRHeaderBlockType enum.
type OCRImageBlock ¶
type OCRImageBlock struct {
BottomRightX int `json:"bottom_right_x"`
BottomRightY int `json:"bottom_right_y"`
// Content Text/markdown/html content of this block
Content string `json:"content"`
// ImageId References the corresponding entry in OCRPageObject.images
ImageId string `json:"image_id"`
TopLeftX int `json:"top_left_x"`
TopLeftY int `json:"top_left_y"`
Type *OCRImageBlockType `json:"type,omitempty"`
}
OCRImageBlock defines model for OCRImageBlock.
type OCRImageBlockType ¶
type OCRImageBlockType string
OCRImageBlockType defines model for OCRImageBlock.Type.
const (
OCRImageBlockTypeImage OCRImageBlockType = "image"
)
Defines values for OCRImageBlockType.
func (OCRImageBlockType) Valid ¶
func (e OCRImageBlockType) Valid() bool
Valid indicates whether the value is a known member of the OCRImageBlockType enum.
type OCRImageObject ¶
type OCRImageObject struct {
// BottomRightX X coordinate of bottom-right corner of the extracted image
BottomRightX *int `json:"bottom_right_x"`
// BottomRightY Y coordinate of bottom-right corner of the extracted image
BottomRightY *int `json:"bottom_right_y"`
// Id Image ID for extracted image in a page
Id string `json:"id"`
// ImageAnnotation Annotation of the extracted image in json str
ImageAnnotation *string `json:"image_annotation,omitempty"`
// ImageBase64 Base64 string of the extracted image
ImageBase64 *string `json:"image_base64,omitempty"`
// TopLeftX X coordinate of top-left corner of the extracted image
TopLeftX *int `json:"top_left_x"`
// TopLeftY Y coordinate of top-left corner of the extracted image
TopLeftY *int `json:"top_left_y"`
}
OCRImageObject defines model for OCRImageObject.
type OCRListBlock ¶
type OCRListBlock struct {
BottomRightX int `json:"bottom_right_x"`
BottomRightY int `json:"bottom_right_y"`
// Content Text/markdown/html content of this block
Content string `json:"content"`
TopLeftX int `json:"top_left_x"`
TopLeftY int `json:"top_left_y"`
Type *OCRListBlockType `json:"type,omitempty"`
}
OCRListBlock defines model for OCRListBlock.
type OCRListBlockType ¶
type OCRListBlockType string
OCRListBlockType defines model for OCRListBlock.Type.
const (
OCRListBlockTypeList OCRListBlockType = "list"
)
Defines values for OCRListBlockType.
func (OCRListBlockType) Valid ¶
func (e OCRListBlockType) Valid() bool
Valid indicates whether the value is a known member of the OCRListBlockType enum.
type OCRPageConfidenceScores ¶
type OCRPageConfidenceScores struct {
// AveragePageConfidenceScore Average confidence score for the page
AveragePageConfidenceScore float32 `json:"average_page_confidence_score"`
// MinimumPageConfidenceScore Minimum confidence score for the page
MinimumPageConfidenceScore float32 `json:"minimum_page_confidence_score"`
// WordConfidenceScores Word-level confidence scores (populated only for 'word' granularity)
WordConfidenceScores *[]OCRConfidenceScore `json:"word_confidence_scores,omitempty"`
}
OCRPageConfidenceScores Confidence scores for an OCR page at various granularities.
type OCRPageDimensions ¶
type OCRPageDimensions struct {
// Dpi Dots per inch of the page-image
Dpi int `json:"dpi"`
// Height Height of the image in pixels
Height int `json:"height"`
// Width Width of the image in pixels
Width int `json:"width"`
}
OCRPageDimensions defines model for OCRPageDimensions.
type OCRPageObject ¶
type OCRPageObject struct {
// Blocks Paragraph-level bounding boxes for all content blocks in reading order (populated when include_blocks is True)
Blocks *[]OCRPageObject_Blocks_Item `json:"blocks,omitempty"`
// ConfidenceScores Confidence scores for the OCR page (populated when confidence_scores_granularity is set)
ConfidenceScores *OCRPageConfidenceScores `json:"confidence_scores,omitempty"`
// Dimensions The dimensions of the PDF Page's screenshot image
Dimensions *OCRPageDimensions `json:"dimensions"`
Footer *string `json:"footer,omitempty"`
// Header Header of the page
Header *string `json:"header,omitempty"`
// Hyperlinks List of all hyperlinks in the page
Hyperlinks *[]string `json:"hyperlinks,omitempty"`
// Images List of all extracted images in the page
Images []OCRImageObject `json:"images"`
// Index The page index in a pdf document starting from 0
Index int `json:"index"`
// Markdown The markdown string response of the page
Markdown string `json:"markdown"`
// Tables List of all extracted tables in the page
Tables *[]OCRTableObject `json:"tables,omitempty"`
}
OCRPageObject defines model for OCRPageObject.
type OCRPageObject_Blocks_Item ¶
type OCRPageObject_Blocks_Item struct {
// contains filtered or unexported fields
}
OCRPageObject_Blocks_Item defines model for OCRPageObject.blocks.Item.
func (OCRPageObject_Blocks_Item) AsOCRAsideTextBlock ¶
func (t OCRPageObject_Blocks_Item) AsOCRAsideTextBlock() (OCRAsideTextBlock, error)
AsOCRAsideTextBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRAsideTextBlock
func (OCRPageObject_Blocks_Item) AsOCRCaptionBlock ¶
func (t OCRPageObject_Blocks_Item) AsOCRCaptionBlock() (OCRCaptionBlock, error)
AsOCRCaptionBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRCaptionBlock
func (OCRPageObject_Blocks_Item) AsOCRCodeBlock ¶
func (t OCRPageObject_Blocks_Item) AsOCRCodeBlock() (OCRCodeBlock, error)
AsOCRCodeBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRCodeBlock
func (OCRPageObject_Blocks_Item) AsOCREquationBlock ¶
func (t OCRPageObject_Blocks_Item) AsOCREquationBlock() (OCREquationBlock, error)
AsOCREquationBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCREquationBlock
func (OCRPageObject_Blocks_Item) AsOCRFooterBlock ¶
func (t OCRPageObject_Blocks_Item) AsOCRFooterBlock() (OCRFooterBlock, error)
AsOCRFooterBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRFooterBlock
func (OCRPageObject_Blocks_Item) AsOCRHeaderBlock ¶
func (t OCRPageObject_Blocks_Item) AsOCRHeaderBlock() (OCRHeaderBlock, error)
AsOCRHeaderBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRHeaderBlock
func (OCRPageObject_Blocks_Item) AsOCRImageBlock ¶
func (t OCRPageObject_Blocks_Item) AsOCRImageBlock() (OCRImageBlock, error)
AsOCRImageBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRImageBlock
func (OCRPageObject_Blocks_Item) AsOCRListBlock ¶
func (t OCRPageObject_Blocks_Item) AsOCRListBlock() (OCRListBlock, error)
AsOCRListBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRListBlock
func (OCRPageObject_Blocks_Item) AsOCRReferencesBlock ¶
func (t OCRPageObject_Blocks_Item) AsOCRReferencesBlock() (OCRReferencesBlock, error)
AsOCRReferencesBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRReferencesBlock
func (OCRPageObject_Blocks_Item) AsOCRSignatureBlock ¶
func (t OCRPageObject_Blocks_Item) AsOCRSignatureBlock() (OCRSignatureBlock, error)
AsOCRSignatureBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRSignatureBlock
func (OCRPageObject_Blocks_Item) AsOCRTableBlock ¶
func (t OCRPageObject_Blocks_Item) AsOCRTableBlock() (OCRTableBlock, error)
AsOCRTableBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRTableBlock
func (OCRPageObject_Blocks_Item) AsOCRTextBlock ¶
func (t OCRPageObject_Blocks_Item) AsOCRTextBlock() (OCRTextBlock, error)
AsOCRTextBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRTextBlock
func (OCRPageObject_Blocks_Item) AsOCRTitleBlock ¶
func (t OCRPageObject_Blocks_Item) AsOCRTitleBlock() (OCRTitleBlock, error)
AsOCRTitleBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRTitleBlock
func (OCRPageObject_Blocks_Item) Discriminator ¶
func (t OCRPageObject_Blocks_Item) Discriminator() (string, error)
func (*OCRPageObject_Blocks_Item) FromOCRAsideTextBlock ¶
func (t *OCRPageObject_Blocks_Item) FromOCRAsideTextBlock(v OCRAsideTextBlock) error
FromOCRAsideTextBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRAsideTextBlock
func (*OCRPageObject_Blocks_Item) FromOCRCaptionBlock ¶
func (t *OCRPageObject_Blocks_Item) FromOCRCaptionBlock(v OCRCaptionBlock) error
FromOCRCaptionBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRCaptionBlock
func (*OCRPageObject_Blocks_Item) FromOCRCodeBlock ¶
func (t *OCRPageObject_Blocks_Item) FromOCRCodeBlock(v OCRCodeBlock) error
FromOCRCodeBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRCodeBlock
func (*OCRPageObject_Blocks_Item) FromOCREquationBlock ¶
func (t *OCRPageObject_Blocks_Item) FromOCREquationBlock(v OCREquationBlock) error
FromOCREquationBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCREquationBlock
func (*OCRPageObject_Blocks_Item) FromOCRFooterBlock ¶
func (t *OCRPageObject_Blocks_Item) FromOCRFooterBlock(v OCRFooterBlock) error
FromOCRFooterBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRFooterBlock
func (*OCRPageObject_Blocks_Item) FromOCRHeaderBlock ¶
func (t *OCRPageObject_Blocks_Item) FromOCRHeaderBlock(v OCRHeaderBlock) error
FromOCRHeaderBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRHeaderBlock
func (*OCRPageObject_Blocks_Item) FromOCRImageBlock ¶
func (t *OCRPageObject_Blocks_Item) FromOCRImageBlock(v OCRImageBlock) error
FromOCRImageBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRImageBlock
func (*OCRPageObject_Blocks_Item) FromOCRListBlock ¶
func (t *OCRPageObject_Blocks_Item) FromOCRListBlock(v OCRListBlock) error
FromOCRListBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRListBlock
func (*OCRPageObject_Blocks_Item) FromOCRReferencesBlock ¶
func (t *OCRPageObject_Blocks_Item) FromOCRReferencesBlock(v OCRReferencesBlock) error
FromOCRReferencesBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRReferencesBlock
func (*OCRPageObject_Blocks_Item) FromOCRSignatureBlock ¶
func (t *OCRPageObject_Blocks_Item) FromOCRSignatureBlock(v OCRSignatureBlock) error
FromOCRSignatureBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRSignatureBlock
func (*OCRPageObject_Blocks_Item) FromOCRTableBlock ¶
func (t *OCRPageObject_Blocks_Item) FromOCRTableBlock(v OCRTableBlock) error
FromOCRTableBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRTableBlock
func (*OCRPageObject_Blocks_Item) FromOCRTextBlock ¶
func (t *OCRPageObject_Blocks_Item) FromOCRTextBlock(v OCRTextBlock) error
FromOCRTextBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRTextBlock
func (*OCRPageObject_Blocks_Item) FromOCRTitleBlock ¶
func (t *OCRPageObject_Blocks_Item) FromOCRTitleBlock(v OCRTitleBlock) error
FromOCRTitleBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRTitleBlock
func (OCRPageObject_Blocks_Item) MarshalJSON ¶
func (t OCRPageObject_Blocks_Item) MarshalJSON() ([]byte, error)
func (*OCRPageObject_Blocks_Item) MergeOCRAsideTextBlock ¶
func (t *OCRPageObject_Blocks_Item) MergeOCRAsideTextBlock(v OCRAsideTextBlock) error
MergeOCRAsideTextBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRAsideTextBlock
func (*OCRPageObject_Blocks_Item) MergeOCRCaptionBlock ¶
func (t *OCRPageObject_Blocks_Item) MergeOCRCaptionBlock(v OCRCaptionBlock) error
MergeOCRCaptionBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRCaptionBlock
func (*OCRPageObject_Blocks_Item) MergeOCRCodeBlock ¶
func (t *OCRPageObject_Blocks_Item) MergeOCRCodeBlock(v OCRCodeBlock) error
MergeOCRCodeBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRCodeBlock
func (*OCRPageObject_Blocks_Item) MergeOCREquationBlock ¶
func (t *OCRPageObject_Blocks_Item) MergeOCREquationBlock(v OCREquationBlock) error
MergeOCREquationBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCREquationBlock
func (*OCRPageObject_Blocks_Item) MergeOCRFooterBlock ¶
func (t *OCRPageObject_Blocks_Item) MergeOCRFooterBlock(v OCRFooterBlock) error
MergeOCRFooterBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRFooterBlock
func (*OCRPageObject_Blocks_Item) MergeOCRHeaderBlock ¶
func (t *OCRPageObject_Blocks_Item) MergeOCRHeaderBlock(v OCRHeaderBlock) error
MergeOCRHeaderBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRHeaderBlock
func (*OCRPageObject_Blocks_Item) MergeOCRImageBlock ¶
func (t *OCRPageObject_Blocks_Item) MergeOCRImageBlock(v OCRImageBlock) error
MergeOCRImageBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRImageBlock
func (*OCRPageObject_Blocks_Item) MergeOCRListBlock ¶
func (t *OCRPageObject_Blocks_Item) MergeOCRListBlock(v OCRListBlock) error
MergeOCRListBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRListBlock
func (*OCRPageObject_Blocks_Item) MergeOCRReferencesBlock ¶
func (t *OCRPageObject_Blocks_Item) MergeOCRReferencesBlock(v OCRReferencesBlock) error
MergeOCRReferencesBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRReferencesBlock
func (*OCRPageObject_Blocks_Item) MergeOCRSignatureBlock ¶
func (t *OCRPageObject_Blocks_Item) MergeOCRSignatureBlock(v OCRSignatureBlock) error
MergeOCRSignatureBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRSignatureBlock
func (*OCRPageObject_Blocks_Item) MergeOCRTableBlock ¶
func (t *OCRPageObject_Blocks_Item) MergeOCRTableBlock(v OCRTableBlock) error
MergeOCRTableBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRTableBlock
func (*OCRPageObject_Blocks_Item) MergeOCRTextBlock ¶
func (t *OCRPageObject_Blocks_Item) MergeOCRTextBlock(v OCRTextBlock) error
MergeOCRTextBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRTextBlock
func (*OCRPageObject_Blocks_Item) MergeOCRTitleBlock ¶
func (t *OCRPageObject_Blocks_Item) MergeOCRTitleBlock(v OCRTitleBlock) error
MergeOCRTitleBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRTitleBlock
func (*OCRPageObject_Blocks_Item) UnmarshalJSON ¶
func (t *OCRPageObject_Blocks_Item) UnmarshalJSON(b []byte) error
func (OCRPageObject_Blocks_Item) ValueByDiscriminator ¶
func (t OCRPageObject_Blocks_Item) ValueByDiscriminator() (interface{}, error)
type OCRReferencesBlock ¶
type OCRReferencesBlock struct {
BottomRightX int `json:"bottom_right_x"`
BottomRightY int `json:"bottom_right_y"`
// Content Text/markdown/html content of this block
Content string `json:"content"`
TopLeftX int `json:"top_left_x"`
TopLeftY int `json:"top_left_y"`
Type *OCRReferencesBlockType `json:"type,omitempty"`
}
OCRReferencesBlock defines model for OCRReferencesBlock.
type OCRReferencesBlockType ¶
type OCRReferencesBlockType string
OCRReferencesBlockType defines model for OCRReferencesBlock.Type.
const (
OCRReferencesBlockTypeReferences OCRReferencesBlockType = "references"
)
Defines values for OCRReferencesBlockType.
func (OCRReferencesBlockType) Valid ¶
func (e OCRReferencesBlockType) Valid() bool
Valid indicates whether the value is a known member of the OCRReferencesBlockType enum.
type OCRRequest ¶
type OCRRequest struct {
// BboxAnnotationFormat Structured output class for extracting useful information from each extracted bounding box / image from document. Only json_schema is valid for this field
BboxAnnotationFormat *ResponseFormat `json:"bbox_annotation_format,omitempty"`
// ConfidenceScoresGranularity Granularity for confidence scores: 'word' (per-word scores) or 'page' (aggregate only). Defaults to None (no confidence scores) to keep response payload small.
ConfidenceScoresGranularity *OCRRequestConfidenceScoresGranularity `json:"confidence_scores_granularity,omitempty"`
// Document Document to run OCR on
Document OCRRequest_Document `json:"document"`
// DocumentAnnotationFormat Structured output class for extracting useful information from the entire document. Only json_schema is valid for this field
DocumentAnnotationFormat *ResponseFormat `json:"document_annotation_format,omitempty"`
// DocumentAnnotationPrompt Optional prompt to guide the model in extracting structured output from the entire document. A document_annotation_format must be provided.
DocumentAnnotationPrompt *string `json:"document_annotation_prompt,omitempty"`
ExtractHeader *bool `json:"extract_header,omitempty"`
Id *string `json:"id,omitempty"`
// ImageLimit Max images to extract
ImageLimit *int `json:"image_limit,omitempty"`
// ImageMinSize Minimum height and width of image to extract
ImageMinSize *int `json:"image_min_size,omitempty"`
// IncludeBlocks Return paragraph-level bounding boxes for all content blocks in the response
IncludeBlocks *bool `json:"include_blocks,omitempty"`
// IncludeImageBase64 Include image URLs in response
IncludeImageBase64 *bool `json:"include_image_base64,omitempty"`
Model *string `json:"model"`
// Pages Specific pages to process. Accepts a list of integers or a string of comma-separated numbers and ranges (e.g. '0,1,2' or '0-5' or '0,2-4'). Page numbers start from 0.
Pages *OCRRequest_Pages `json:"pages,omitempty"`
TableFormat *OCRRequestTableFormat `json:"table_format,omitempty"`
}
OCRRequest defines model for OCRRequest.
type OCRRequestConfidenceScoresGranularity ¶
type OCRRequestConfidenceScoresGranularity string
OCRRequestConfidenceScoresGranularity defines model for OCRRequest.ConfidenceScoresGranularity.
const ( OCRRequestConfidenceScoresGranularityPage OCRRequestConfidenceScoresGranularity = "page" OCRRequestConfidenceScoresGranularityWord OCRRequestConfidenceScoresGranularity = "word" )
Defines values for OCRRequestConfidenceScoresGranularity.
func (OCRRequestConfidenceScoresGranularity) Valid ¶
func (e OCRRequestConfidenceScoresGranularity) Valid() bool
Valid indicates whether the value is a known member of the OCRRequestConfidenceScoresGranularity enum.
type OCRRequestPages0 ¶
type OCRRequestPages0 = string
OCRRequestPages0 defines model for OCRRequest.Pages.0.
type OCRRequestPages1 ¶
type OCRRequestPages1 = []int
OCRRequestPages1 defines model for OCRRequest.Pages.1.
type OCRRequestTableFormat ¶
type OCRRequestTableFormat string
OCRRequestTableFormat defines model for OCRRequest.TableFormat.
const ( OCRRequestTableFormatHtml OCRRequestTableFormat = "html" OCRRequestTableFormatMarkdown OCRRequestTableFormat = "markdown" )
Defines values for OCRRequestTableFormat.
func (OCRRequestTableFormat) Valid ¶
func (e OCRRequestTableFormat) Valid() bool
Valid indicates whether the value is a known member of the OCRRequestTableFormat enum.
type OCRRequest_Document ¶
type OCRRequest_Document struct {
// contains filtered or unexported fields
}
OCRRequest_Document Document to run OCR on
func (OCRRequest_Document) AsDocumentURLChunk ¶
func (t OCRRequest_Document) AsDocumentURLChunk() (DocumentURLChunk, error)
AsDocumentURLChunk returns the union data inside the OCRRequest_Document as a DocumentURLChunk
func (OCRRequest_Document) AsFileChunk ¶
func (t OCRRequest_Document) AsFileChunk() (FileChunk, error)
AsFileChunk returns the union data inside the OCRRequest_Document as a FileChunk
func (OCRRequest_Document) AsImageURLChunk ¶
func (t OCRRequest_Document) AsImageURLChunk() (ImageURLChunk, error)
AsImageURLChunk returns the union data inside the OCRRequest_Document as a ImageURLChunk
func (*OCRRequest_Document) FromDocumentURLChunk ¶
func (t *OCRRequest_Document) FromDocumentURLChunk(v DocumentURLChunk) error
FromDocumentURLChunk overwrites any union data inside the OCRRequest_Document as the provided DocumentURLChunk
func (*OCRRequest_Document) FromFileChunk ¶
func (t *OCRRequest_Document) FromFileChunk(v FileChunk) error
FromFileChunk overwrites any union data inside the OCRRequest_Document as the provided FileChunk
func (*OCRRequest_Document) FromImageURLChunk ¶
func (t *OCRRequest_Document) FromImageURLChunk(v ImageURLChunk) error
FromImageURLChunk overwrites any union data inside the OCRRequest_Document as the provided ImageURLChunk
func (OCRRequest_Document) MarshalJSON ¶
func (t OCRRequest_Document) MarshalJSON() ([]byte, error)
func (*OCRRequest_Document) MergeDocumentURLChunk ¶
func (t *OCRRequest_Document) MergeDocumentURLChunk(v DocumentURLChunk) error
MergeDocumentURLChunk performs a merge with any union data inside the OCRRequest_Document, using the provided DocumentURLChunk
func (*OCRRequest_Document) MergeFileChunk ¶
func (t *OCRRequest_Document) MergeFileChunk(v FileChunk) error
MergeFileChunk performs a merge with any union data inside the OCRRequest_Document, using the provided FileChunk
func (*OCRRequest_Document) MergeImageURLChunk ¶
func (t *OCRRequest_Document) MergeImageURLChunk(v ImageURLChunk) error
MergeImageURLChunk performs a merge with any union data inside the OCRRequest_Document, using the provided ImageURLChunk
func (*OCRRequest_Document) UnmarshalJSON ¶
func (t *OCRRequest_Document) UnmarshalJSON(b []byte) error
type OCRRequest_Pages ¶
type OCRRequest_Pages struct {
// contains filtered or unexported fields
}
OCRRequest_Pages Specific pages to process. Accepts a list of integers or a string of comma-separated numbers and ranges (e.g. '0,1,2' or '0-5' or '0,2-4'). Page numbers start from 0.
func (OCRRequest_Pages) AsOCRRequestPages0 ¶
func (t OCRRequest_Pages) AsOCRRequestPages0() (OCRRequestPages0, error)
AsOCRRequestPages0 returns the union data inside the OCRRequest_Pages as a OCRRequestPages0
func (OCRRequest_Pages) AsOCRRequestPages1 ¶
func (t OCRRequest_Pages) AsOCRRequestPages1() (OCRRequestPages1, error)
AsOCRRequestPages1 returns the union data inside the OCRRequest_Pages as a OCRRequestPages1
func (*OCRRequest_Pages) FromOCRRequestPages0 ¶
func (t *OCRRequest_Pages) FromOCRRequestPages0(v OCRRequestPages0) error
FromOCRRequestPages0 overwrites any union data inside the OCRRequest_Pages as the provided OCRRequestPages0
func (*OCRRequest_Pages) FromOCRRequestPages1 ¶
func (t *OCRRequest_Pages) FromOCRRequestPages1(v OCRRequestPages1) error
FromOCRRequestPages1 overwrites any union data inside the OCRRequest_Pages as the provided OCRRequestPages1
func (OCRRequest_Pages) MarshalJSON ¶
func (t OCRRequest_Pages) MarshalJSON() ([]byte, error)
func (*OCRRequest_Pages) MergeOCRRequestPages0 ¶
func (t *OCRRequest_Pages) MergeOCRRequestPages0(v OCRRequestPages0) error
MergeOCRRequestPages0 performs a merge with any union data inside the OCRRequest_Pages, using the provided OCRRequestPages0
func (*OCRRequest_Pages) MergeOCRRequestPages1 ¶
func (t *OCRRequest_Pages) MergeOCRRequestPages1(v OCRRequestPages1) error
MergeOCRRequestPages1 performs a merge with any union data inside the OCRRequest_Pages, using the provided OCRRequestPages1
func (*OCRRequest_Pages) UnmarshalJSON ¶
func (t *OCRRequest_Pages) UnmarshalJSON(b []byte) error
type OCRResponse ¶
type OCRResponse struct {
// DocumentAnnotation Formatted response in the request_format if provided in json str
DocumentAnnotation *string `json:"document_annotation,omitempty"`
// Model The model used to generate the OCR.
Model string `json:"model"`
// Pages List of OCR info for pages.
Pages []OCRPageObject `json:"pages"`
// UsageInfo Usage info for the OCR request.
UsageInfo OCRUsageInfo `json:"usage_info"`
}
OCRResponse defines model for OCRResponse.
type OCRSignatureBlock ¶
type OCRSignatureBlock struct {
BottomRightX int `json:"bottom_right_x"`
BottomRightY int `json:"bottom_right_y"`
// Content Text/markdown/html content of this block
Content string `json:"content"`
TopLeftX int `json:"top_left_x"`
TopLeftY int `json:"top_left_y"`
Type *OCRSignatureBlockType `json:"type,omitempty"`
}
OCRSignatureBlock Signature region. “content“ is the transcribed name when legible, else “""“.
type OCRSignatureBlockType ¶
type OCRSignatureBlockType string
OCRSignatureBlockType defines model for OCRSignatureBlock.Type.
const (
OCRSignatureBlockTypeSignature OCRSignatureBlockType = "signature"
)
Defines values for OCRSignatureBlockType.
func (OCRSignatureBlockType) Valid ¶
func (e OCRSignatureBlockType) Valid() bool
Valid indicates whether the value is a known member of the OCRSignatureBlockType enum.
type OCRTableBlock ¶
type OCRTableBlock struct {
BottomRightX int `json:"bottom_right_x"`
BottomRightY int `json:"bottom_right_y"`
// Content Text/markdown/html content of this block
Content string `json:"content"`
// TableId References the corresponding entry in OCRPageObject.tables, when tables are extracted
TableId *string `json:"table_id,omitempty"`
TopLeftX int `json:"top_left_x"`
TopLeftY int `json:"top_left_y"`
Type *OCRTableBlockType `json:"type,omitempty"`
}
OCRTableBlock defines model for OCRTableBlock.
type OCRTableBlockType ¶
type OCRTableBlockType string
OCRTableBlockType defines model for OCRTableBlock.Type.
const (
OCRTableBlockTypeTable OCRTableBlockType = "table"
)
Defines values for OCRTableBlockType.
func (OCRTableBlockType) Valid ¶
func (e OCRTableBlockType) Valid() bool
Valid indicates whether the value is a known member of the OCRTableBlockType enum.
type OCRTableObject ¶
type OCRTableObject struct {
// Content Content of the table in the given format
Content string `json:"content"`
// Format Format of the table
Format OCRTableObjectFormat `json:"format"`
// Id Table ID for extracted table in a page
Id string `json:"id"`
// WordConfidenceScores Per-word confidence scores for the table content. Returned when confidence_scores_granularity is set to 'word'.
WordConfidenceScores *[]OCRConfidenceScore `json:"word_confidence_scores,omitempty"`
}
OCRTableObject defines model for OCRTableObject.
type OCRTableObjectFormat ¶
type OCRTableObjectFormat string
OCRTableObjectFormat Format of the table
const ( OCRTableObjectFormatHtml OCRTableObjectFormat = "html" OCRTableObjectFormatMarkdown OCRTableObjectFormat = "markdown" )
Defines values for OCRTableObjectFormat.
func (OCRTableObjectFormat) Valid ¶
func (e OCRTableObjectFormat) Valid() bool
Valid indicates whether the value is a known member of the OCRTableObjectFormat enum.
type OCRTextBlock ¶
type OCRTextBlock struct {
BottomRightX int `json:"bottom_right_x"`
BottomRightY int `json:"bottom_right_y"`
// Content Text/markdown/html content of this block
Content string `json:"content"`
TopLeftX int `json:"top_left_x"`
TopLeftY int `json:"top_left_y"`
Type *OCRTextBlockType `json:"type,omitempty"`
}
OCRTextBlock defines model for OCRTextBlock.
type OCRTextBlockType ¶
type OCRTextBlockType string
OCRTextBlockType defines model for OCRTextBlock.Type.
const (
OCRTextBlockTypeText OCRTextBlockType = "text"
)
Defines values for OCRTextBlockType.
func (OCRTextBlockType) Valid ¶
func (e OCRTextBlockType) Valid() bool
Valid indicates whether the value is a known member of the OCRTextBlockType enum.
type OCRTitleBlock ¶
type OCRTitleBlock struct {
BottomRightX int `json:"bottom_right_x"`
BottomRightY int `json:"bottom_right_y"`
// Content Text/markdown/html content of this block
Content string `json:"content"`
TopLeftX int `json:"top_left_x"`
TopLeftY int `json:"top_left_y"`
Type *OCRTitleBlockType `json:"type,omitempty"`
}
OCRTitleBlock defines model for OCRTitleBlock.
type OCRTitleBlockType ¶
type OCRTitleBlockType string
OCRTitleBlockType defines model for OCRTitleBlock.Type.
const (
OCRTitleBlockTypeTitle OCRTitleBlockType = "title"
)
Defines values for OCRTitleBlockType.
func (OCRTitleBlockType) Valid ¶
func (e OCRTitleBlockType) Valid() bool
Valid indicates whether the value is a known member of the OCRTitleBlockType enum.
type OCRUsageInfo ¶
type OCRUsageInfo struct {
// DocSizeBytes Document size in bytes
DocSizeBytes *int `json:"doc_size_bytes,omitempty"`
// PagesProcessed Number of pages processed
PagesProcessed int `json:"pages_processed"`
}
OCRUsageInfo defines model for OCRUsageInfo.
type ObservabilityError ¶
type ObservabilityError struct {
Detail ObservabilityErrorDetail `json:"detail"`
}
ObservabilityError defines model for ObservabilityError.
type ObservabilityErrorCode ¶
type ObservabilityErrorCode string
ObservabilityErrorCode defines model for ObservabilityErrorCode.
const ( ObservabilityErrorCodeAGENTMISTRALAPIERROR ObservabilityErrorCode = "AGENT_MISTRAL_API_ERROR" ObservabilityErrorCodeAGENTNOTFOUND ObservabilityErrorCode = "AGENT_NOT_FOUND" ObservabilityErrorCodeAUTHFORBIDDEN ObservabilityErrorCode = "AUTH_FORBIDDEN" ObservabilityErrorCodeAUTHFORBIDDENNOTWORKSPACEADMIN ObservabilityErrorCode = "AUTH_FORBIDDEN_NOT_WORKSPACE_ADMIN" ObservabilityErrorCodeAUTHFORBIDDENORGNOTWHITELISTED ObservabilityErrorCode = "AUTH_FORBIDDEN_ORG_NOT_WHITELISTED" ObservabilityErrorCodeAUTHFORBIDDENROLENOTFOUND ObservabilityErrorCode = "AUTH_FORBIDDEN_ROLE_NOT_FOUND" ObservabilityErrorCodeAUTHFORBIDDENWORKSPACENOTFOUND ObservabilityErrorCode = "AUTH_FORBIDDEN_WORKSPACE_NOT_FOUND" ObservabilityErrorCodeAUTHUNAUTHORIZED ObservabilityErrorCode = "AUTH_UNAUTHORIZED" ObservabilityErrorCodeCAMPAIGNNOMATCHINGEVENTS ObservabilityErrorCode = "CAMPAIGN_NO_MATCHING_EVENTS" ObservabilityErrorCodeCAMPAIGNNOTFOUND ObservabilityErrorCode = "CAMPAIGN_NOT_FOUND" ObservabilityErrorCodeDATABASEERROR ObservabilityErrorCode = "DATABASE_ERROR" ObservabilityErrorCodeDATABASEQUERYERROR ObservabilityErrorCode = "DATABASE_QUERY_ERROR" ObservabilityErrorCodeDATABASETIMEOUT ObservabilityErrorCode = "DATABASE_TIMEOUT" ObservabilityErrorCodeDATABASEUNAVAILABLE ObservabilityErrorCode = "DATABASE_UNAVAILABLE" ObservabilityErrorCodeDATASETNOTFOUND ObservabilityErrorCode = "DATASET_NOT_FOUND" ObservabilityErrorCodeDATASETRECORDFORMATERROR ObservabilityErrorCode = "DATASET_RECORD_FORMAT_ERROR" ObservabilityErrorCodeDATASETRECORDNOTFOUND ObservabilityErrorCode = "DATASET_RECORD_NOT_FOUND" ObservabilityErrorCodeDATASETTASKNOTFOUND ObservabilityErrorCode = "DATASET_TASK_NOT_FOUND" ObservabilityErrorCodeEVALUATIONCURRENTLYRUNNING ObservabilityErrorCode = "EVALUATION_CURRENTLY_RUNNING" ObservabilityErrorCodeEVALUATIONNOTFOUND ObservabilityErrorCode = "EVALUATION_NOT_FOUND" ObservabilityErrorCodeEVALUATIONRECORDNOTFOUND ObservabilityErrorCode = "EVALUATION_RECORD_NOT_FOUND" ObservabilityErrorCodeEVALUATIONRUNNOTFOUND ObservabilityErrorCode = "EVALUATION_RUN_NOT_FOUND" ObservabilityErrorCodeEVALUATIONRUNTRANSITIONERROR ObservabilityErrorCode = "EVALUATION_RUN_TRANSITION_ERROR" ObservabilityErrorCodeEVALUATIONRUNTRANSITIONISINVALID ObservabilityErrorCode = "EVALUATION_RUN_TRANSITION_IS_INVALID" ObservabilityErrorCodeEVALUATIONRUNTRANSITIONISRUNNINGALREADY ObservabilityErrorCode = "EVALUATION_RUN_TRANSITION_IS_RUNNING_ALREADY" ObservabilityErrorCodeFEATURENOTSUPPORTED ObservabilityErrorCode = "FEATURE_NOT_SUPPORTED" ObservabilityErrorCodeFIELDSBADREQUEST ObservabilityErrorCode = "FIELDS_BAD_REQUEST" ObservabilityErrorCodeFIELDSNOTFOUND ObservabilityErrorCode = "FIELDS_NOT_FOUND" ObservabilityErrorCodeJUDGEALREADYHASNEWVERSION ObservabilityErrorCode = "JUDGE_ALREADY_HAS_NEW_VERSION" ObservabilityErrorCodeJUDGECONVERSATIONFORMATERROR ObservabilityErrorCode = "JUDGE_CONVERSATION_FORMAT_ERROR" ObservabilityErrorCodeJUDGEDIDNOTCHANGE ObservabilityErrorCode = "JUDGE_DID_NOT_CHANGE" ObservabilityErrorCodeJUDGEMISTRALAPIERROR ObservabilityErrorCode = "JUDGE_MISTRAL_API_ERROR" ObservabilityErrorCodeJUDGEMISTRALAPITIMEOUT ObservabilityErrorCode = "JUDGE_MISTRAL_API_TIMEOUT" ObservabilityErrorCodeJUDGENAMEALREADYEXISTS ObservabilityErrorCode = "JUDGE_NAME_ALREADY_EXISTS" ObservabilityErrorCodeJUDGENOTFOUND ObservabilityErrorCode = "JUDGE_NOT_FOUND" ObservabilityErrorCodeJUDGEUSEDINCAMPAIGNCANNOTBEUPDATED ObservabilityErrorCode = "JUDGE_USED_IN_CAMPAIGN_CANNOT_BE_UPDATED" ObservabilityErrorCodeSEARCHBADREQUEST ObservabilityErrorCode = "SEARCH_BAD_REQUEST" ObservabilityErrorCodeSEARCHFILTERTOSQLCONVERSIONERROR ObservabilityErrorCode = "SEARCH_FILTER_TO_SQL_CONVERSION_ERROR" ObservabilityErrorCodeSEARCHNOTFOUND ObservabilityErrorCode = "SEARCH_NOT_FOUND" ObservabilityErrorCodeSEARCHSERVICEUNAVAILABLE ObservabilityErrorCode = "SEARCH_SERVICE_UNAVAILABLE" ObservabilityErrorCodeTEMPLATESYNTAXERROR ObservabilityErrorCode = "TEMPLATE_SYNTAX_ERROR" ObservabilityErrorCodeUNKNOWNERROR ObservabilityErrorCode = "UNKNOWN_ERROR" ObservabilityErrorCodeVALIDATIONERROR ObservabilityErrorCode = "VALIDATION_ERROR" )
Defines values for ObservabilityErrorCode.
func (ObservabilityErrorCode) Valid ¶
func (e ObservabilityErrorCode) Valid() bool
Valid indicates whether the value is a known member of the ObservabilityErrorCode enum.
type ObservabilityErrorDetail ¶
type ObservabilityErrorDetail struct {
ErrorCode *ObservabilityErrorCode `json:"error_code"`
Message string `json:"message"`
}
ObservabilityErrorDetail defines model for ObservabilityErrorDetail.
type OcrV1OcrPostJSONRequestBody ¶
type OcrV1OcrPostJSONRequestBody = OCRRequest
OcrV1OcrPostJSONRequestBody defines body for OcrV1OcrPost for application/json ContentType.
type OcrV1OcrPostResponse ¶
type OcrV1OcrPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OCRResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseOcrV1OcrPostResponse ¶
func ParseOcrV1OcrPostResponse(rsp *http.Response) (*OcrV1OcrPostResponse, error)
ParseOcrV1OcrPostResponse parses an HTTP response from a OcrV1OcrPostWithResponse call
func (OcrV1OcrPostResponse) ContentType ¶
func (r OcrV1OcrPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OcrV1OcrPostResponse) GetBody ¶
func (r OcrV1OcrPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OcrV1OcrPostResponse) GetJSON200 ¶
func (r OcrV1OcrPostResponse) GetJSON200() *OCRResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (OcrV1OcrPostResponse) GetJSON422 ¶
func (r OcrV1OcrPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (OcrV1OcrPostResponse) Status ¶
func (r OcrV1OcrPostResponse) Status() string
Status returns HTTPResponse.Status
func (OcrV1OcrPostResponse) StatusCode ¶
func (r OcrV1OcrPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OutboundAuthenticationType ¶
type OutboundAuthenticationType string
OutboundAuthenticationType defines model for OutboundAuthenticationType.
const ( OutboundAuthenticationTypeBearer OutboundAuthenticationType = "bearer" OutboundAuthenticationTypeNone OutboundAuthenticationType = "none" OutboundAuthenticationTypeOauth2 OutboundAuthenticationType = "oauth2" )
Defines values for OutboundAuthenticationType.
func (OutboundAuthenticationType) Valid ¶
func (e OutboundAuthenticationType) Valid() bool
Valid indicates whether the value is a known member of the OutboundAuthenticationType enum.
type OutputContentChunks ¶
type OutputContentChunks struct {
// contains filtered or unexported fields
}
OutputContentChunks defines model for OutputContentChunks.
func (OutputContentChunks) AsDocumentURLChunk ¶
func (t OutputContentChunks) AsDocumentURLChunk() (DocumentURLChunk, error)
AsDocumentURLChunk returns the union data inside the OutputContentChunks as a DocumentURLChunk
func (OutputContentChunks) AsImageURLChunk ¶
func (t OutputContentChunks) AsImageURLChunk() (ImageURLChunk, error)
AsImageURLChunk returns the union data inside the OutputContentChunks as a ImageURLChunk
func (OutputContentChunks) AsTextChunk ¶
func (t OutputContentChunks) AsTextChunk() (TextChunk, error)
AsTextChunk returns the union data inside the OutputContentChunks as a TextChunk
func (OutputContentChunks) AsThinkChunk ¶
func (t OutputContentChunks) AsThinkChunk() (ThinkChunk, error)
AsThinkChunk returns the union data inside the OutputContentChunks as a ThinkChunk
func (OutputContentChunks) AsToolFileChunk ¶
func (t OutputContentChunks) AsToolFileChunk() (ToolFileChunk, error)
AsToolFileChunk returns the union data inside the OutputContentChunks as a ToolFileChunk
func (OutputContentChunks) AsToolReferenceChunk ¶
func (t OutputContentChunks) AsToolReferenceChunk() (ToolReferenceChunk, error)
AsToolReferenceChunk returns the union data inside the OutputContentChunks as a ToolReferenceChunk
func (*OutputContentChunks) FromDocumentURLChunk ¶
func (t *OutputContentChunks) FromDocumentURLChunk(v DocumentURLChunk) error
FromDocumentURLChunk overwrites any union data inside the OutputContentChunks as the provided DocumentURLChunk
func (*OutputContentChunks) FromImageURLChunk ¶
func (t *OutputContentChunks) FromImageURLChunk(v ImageURLChunk) error
FromImageURLChunk overwrites any union data inside the OutputContentChunks as the provided ImageURLChunk
func (*OutputContentChunks) FromTextChunk ¶
func (t *OutputContentChunks) FromTextChunk(v TextChunk) error
FromTextChunk overwrites any union data inside the OutputContentChunks as the provided TextChunk
func (*OutputContentChunks) FromThinkChunk ¶
func (t *OutputContentChunks) FromThinkChunk(v ThinkChunk) error
FromThinkChunk overwrites any union data inside the OutputContentChunks as the provided ThinkChunk
func (*OutputContentChunks) FromToolFileChunk ¶
func (t *OutputContentChunks) FromToolFileChunk(v ToolFileChunk) error
FromToolFileChunk overwrites any union data inside the OutputContentChunks as the provided ToolFileChunk
func (*OutputContentChunks) FromToolReferenceChunk ¶
func (t *OutputContentChunks) FromToolReferenceChunk(v ToolReferenceChunk) error
FromToolReferenceChunk overwrites any union data inside the OutputContentChunks as the provided ToolReferenceChunk
func (OutputContentChunks) MarshalJSON ¶
func (t OutputContentChunks) MarshalJSON() ([]byte, error)
func (*OutputContentChunks) MergeDocumentURLChunk ¶
func (t *OutputContentChunks) MergeDocumentURLChunk(v DocumentURLChunk) error
MergeDocumentURLChunk performs a merge with any union data inside the OutputContentChunks, using the provided DocumentURLChunk
func (*OutputContentChunks) MergeImageURLChunk ¶
func (t *OutputContentChunks) MergeImageURLChunk(v ImageURLChunk) error
MergeImageURLChunk performs a merge with any union data inside the OutputContentChunks, using the provided ImageURLChunk
func (*OutputContentChunks) MergeTextChunk ¶
func (t *OutputContentChunks) MergeTextChunk(v TextChunk) error
MergeTextChunk performs a merge with any union data inside the OutputContentChunks, using the provided TextChunk
func (*OutputContentChunks) MergeThinkChunk ¶
func (t *OutputContentChunks) MergeThinkChunk(v ThinkChunk) error
MergeThinkChunk performs a merge with any union data inside the OutputContentChunks, using the provided ThinkChunk
func (*OutputContentChunks) MergeToolFileChunk ¶
func (t *OutputContentChunks) MergeToolFileChunk(v ToolFileChunk) error
MergeToolFileChunk performs a merge with any union data inside the OutputContentChunks, using the provided ToolFileChunk
func (*OutputContentChunks) MergeToolReferenceChunk ¶
func (t *OutputContentChunks) MergeToolReferenceChunk(v ToolReferenceChunk) error
MergeToolReferenceChunk performs a merge with any union data inside the OutputContentChunks, using the provided ToolReferenceChunk
func (*OutputContentChunks) UnmarshalJSON ¶
func (t *OutputContentChunks) UnmarshalJSON(b []byte) error
type PaginatedConnectors ¶
type PaginatedConnectors struct {
Items []Connector `json:"items"`
Pagination PaginationResponse `json:"pagination"`
}
PaginatedConnectors defines model for PaginatedConnectors.
type PaginatedResultCampaignPreview ¶
type PaginatedResultCampaignPreview struct {
Count int `json:"count"`
Next *string `json:"next,omitempty"`
Previous *string `json:"previous,omitempty"`
Results *[]CampaignPreview `json:"results,omitempty"`
}
PaginatedResultCampaignPreview defines model for PaginatedResult_CampaignPreview_.
type PaginatedResultChatCompletionEventPreview ¶
type PaginatedResultChatCompletionEventPreview struct {
Count int `json:"count"`
Next *string `json:"next,omitempty"`
Previous *string `json:"previous,omitempty"`
Results *[]ChatCompletionEventPreview `json:"results,omitempty"`
}
PaginatedResultChatCompletionEventPreview defines model for PaginatedResult_ChatCompletionEventPreview_.
type PaginatedResultDatasetImportTask ¶
type PaginatedResultDatasetImportTask struct {
Count int `json:"count"`
Next *string `json:"next,omitempty"`
Previous *string `json:"previous,omitempty"`
Results *[]DatasetImportTask `json:"results,omitempty"`
}
PaginatedResultDatasetImportTask defines model for PaginatedResult_DatasetImportTask_.
type PaginatedResultDatasetPreview ¶
type PaginatedResultDatasetPreview struct {
Count int `json:"count"`
Next *string `json:"next,omitempty"`
Previous *string `json:"previous,omitempty"`
Results *[]DatasetPreview `json:"results,omitempty"`
}
PaginatedResultDatasetPreview defines model for PaginatedResult_DatasetPreview_.
type PaginatedResultDatasetRecord ¶
type PaginatedResultDatasetRecord struct {
Count int `json:"count"`
Next *string `json:"next,omitempty"`
Previous *string `json:"previous,omitempty"`
Results *[]DatasetRecord `json:"results,omitempty"`
}
PaginatedResultDatasetRecord defines model for PaginatedResult_DatasetRecord_.
type PaginatedResultJudgePreview ¶
type PaginatedResultJudgePreview struct {
Count int `json:"count"`
Next *string `json:"next,omitempty"`
Previous *string `json:"previous,omitempty"`
Results *[]JudgePreview `json:"results,omitempty"`
}
PaginatedResultJudgePreview defines model for PaginatedResult_JudgePreview_.
type PaginationInfo ¶
type PaginationInfo struct {
CurrentPage int `json:"current_page"`
HasMore bool `json:"has_more"`
PageSize int `json:"page_size"`
TotalItems int `json:"total_items"`
TotalPages int `json:"total_pages"`
}
PaginationInfo defines model for PaginationInfo.
type PaginationResponse ¶
type PaginationResponse struct {
NextCursor *string `json:"next_cursor,omitempty"`
PageSize int `json:"page_size"`
}
PaginationResponse defines model for PaginationResponse.
type PatchDatasetInSchema ¶
type PatchDatasetInSchema struct {
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
}
PatchDatasetInSchema defines model for PatchDatasetInSchema.
type PostCampaignInSchema ¶
type PostCampaignInSchema struct {
Description string `json:"description"`
JudgeId openapi_types.UUID `json:"judge_id"`
MaxNbEvents int `json:"max_nb_events"`
Name string `json:"name"`
SearchParams FilterPayload `json:"search_params"`
}
PostCampaignInSchema defines model for PostCampaignInSchema.
type PostChatCompletionEventJudgingInSchema ¶
type PostChatCompletionEventJudgingInSchema struct {
JudgeDefinition PostJudgeInSchema `json:"judge_definition"`
}
PostChatCompletionEventJudgingInSchema defines model for PostChatCompletionEventJudgingInSchema.
type PostDatasetImportFromCampaignInSchema ¶
type PostDatasetImportFromCampaignInSchema struct {
CampaignId openapi_types.UUID `json:"campaign_id"`
}
PostDatasetImportFromCampaignInSchema defines model for PostDatasetImportFromCampaignInSchema.
type PostDatasetImportFromDatasetInSchema ¶
type PostDatasetImportFromDatasetInSchema struct {
DatasetRecordIds []openapi_types.UUID `json:"dataset_record_ids"`
}
PostDatasetImportFromDatasetInSchema defines model for PostDatasetImportFromDatasetInSchema.
type PostDatasetImportFromExplorerInSchema ¶
type PostDatasetImportFromExplorerInSchema struct {
CompletionEventIds []string `json:"completion_event_ids"`
}
PostDatasetImportFromExplorerInSchema defines model for PostDatasetImportFromExplorerInSchema.
type PostDatasetImportFromFileInSchema ¶
type PostDatasetImportFromFileInSchema struct {
FileId string `json:"file_id"`
}
PostDatasetImportFromFileInSchema defines model for PostDatasetImportFromFileInSchema.
type PostDatasetImportFromPlaygroundInSchema ¶
type PostDatasetImportFromPlaygroundInSchema struct {
ConversationIds []string `json:"conversation_ids"`
}
PostDatasetImportFromPlaygroundInSchema defines model for PostDatasetImportFromPlaygroundInSchema.
type PostDatasetInSchema ¶
type PostDatasetInSchema struct {
Description string `json:"description"`
Name string `json:"name"`
}
PostDatasetInSchema defines model for PostDatasetInSchema.
type PostDatasetRecordInSchema ¶
type PostDatasetRecordInSchema struct {
Payload ConversationPayload `json:"payload"`
Properties map[string]interface{} `json:"properties"`
}
PostDatasetRecordInSchema defines model for PostDatasetRecordInSchema.
type PostDatasetRecordJudgingInSchema ¶
type PostDatasetRecordJudgingInSchema struct {
JudgeDefinition PostJudgeInSchema `json:"judge_definition"`
}
PostDatasetRecordJudgingInSchema defines model for PostDatasetRecordJudgingInSchema.
type PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostJSONRequestBody ¶
type PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostJSONRequestBody = PostDatasetImportFromCampaignInSchema
PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostJSONRequestBody defines body for PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost for application/json ContentType.
type PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse ¶
type PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *DatasetImportTask
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParsePostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse ¶
func ParsePostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse(rsp *http.Response) (*PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse, error)
ParsePostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse parses an HTTP response from a PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithResponse call
func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) ContentType ¶
func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetBody ¶
func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON202 ¶
func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON202() *DatasetImportTask
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON400 ¶
func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON404 ¶
func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON408 ¶
func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON409 ¶
func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON422 ¶
func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) Status ¶
func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) Status() string
Status returns HTTPResponse.Status
func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) StatusCode ¶
func (r PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostJSONRequestBody ¶
type PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostJSONRequestBody = PostDatasetImportFromDatasetInSchema
PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostJSONRequestBody defines body for PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost for application/json ContentType.
type PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse ¶
type PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *DatasetImportTask
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParsePostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse ¶
func ParsePostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse(rsp *http.Response) (*PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse, error)
ParsePostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse parses an HTTP response from a PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithResponse call
func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) ContentType ¶
func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetBody ¶
func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON202 ¶
func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON202() *DatasetImportTask
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON400 ¶
func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON404 ¶
func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON408 ¶
func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON409 ¶
func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON422 ¶
func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) Status ¶
func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) Status() string
Status returns HTTPResponse.Status
func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) StatusCode ¶
func (r PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostJSONRequestBody ¶
type PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostJSONRequestBody = PostDatasetImportFromExplorerInSchema
PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostJSONRequestBody defines body for PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost for application/json ContentType.
type PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse ¶
type PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *DatasetImportTask
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParsePostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse ¶
func ParsePostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse(rsp *http.Response) (*PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse, error)
ParsePostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse parses an HTTP response from a PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithResponse call
func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) ContentType ¶
func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetBody ¶
func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON202 ¶
func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON202() *DatasetImportTask
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON400 ¶
func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON404 ¶
func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON408 ¶
func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON409 ¶
func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON422 ¶
func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) Status ¶
func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) Status() string
Status returns HTTPResponse.Status
func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) StatusCode ¶
func (r PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostJSONRequestBody ¶
type PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostJSONRequestBody = PostDatasetImportFromFileInSchema
PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostJSONRequestBody defines body for PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost for application/json ContentType.
type PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse ¶
type PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *DatasetImportTask
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParsePostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse ¶
func ParsePostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse(rsp *http.Response) (*PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse, error)
ParsePostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse parses an HTTP response from a PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithResponse call
func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) ContentType ¶
func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetBody ¶
func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON202 ¶
func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON202() *DatasetImportTask
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON400 ¶
func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON404 ¶
func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON408 ¶
func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON409 ¶
func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON422 ¶
func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) Status ¶
func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) Status() string
Status returns HTTPResponse.Status
func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) StatusCode ¶
func (r PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostJSONRequestBody ¶
type PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostJSONRequestBody = PostDatasetImportFromPlaygroundInSchema
PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostJSONRequestBody defines body for PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost for application/json ContentType.
type PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse ¶
type PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *DatasetImportTask
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParsePostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse ¶
func ParsePostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse(rsp *http.Response) (*PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse, error)
ParsePostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse parses an HTTP response from a PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithResponse call
func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) ContentType ¶
func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetBody ¶
func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON202 ¶
func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON202() *DatasetImportTask
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON400 ¶
func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON404 ¶
func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON408 ¶
func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON409 ¶
func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON422 ¶
func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) Status ¶
func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) Status() string
Status returns HTTPResponse.Status
func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) StatusCode ¶
func (r PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostJudgeInSchema ¶
type PostJudgeInSchema struct {
Description string `json:"description"`
Instructions string `json:"instructions"`
ModelName string `json:"model_name"`
Name string `json:"name"`
Output PostJudgeInSchema_Output `json:"output"`
Tools []string `json:"tools"`
}
PostJudgeInSchema defines model for PostJudgeInSchema.
type PostJudgeInSchema_Output ¶
type PostJudgeInSchema_Output struct {
// contains filtered or unexported fields
}
PostJudgeInSchema_Output defines model for PostJudgeInSchema.Output.
func (PostJudgeInSchema_Output) AsJudgeClassificationOutput ¶
func (t PostJudgeInSchema_Output) AsJudgeClassificationOutput() (JudgeClassificationOutput, error)
AsJudgeClassificationOutput returns the union data inside the PostJudgeInSchema_Output as a JudgeClassificationOutput
func (PostJudgeInSchema_Output) AsJudgeRegressionOutput ¶
func (t PostJudgeInSchema_Output) AsJudgeRegressionOutput() (JudgeRegressionOutput, error)
AsJudgeRegressionOutput returns the union data inside the PostJudgeInSchema_Output as a JudgeRegressionOutput
func (PostJudgeInSchema_Output) Discriminator ¶
func (t PostJudgeInSchema_Output) Discriminator() (string, error)
func (*PostJudgeInSchema_Output) FromJudgeClassificationOutput ¶
func (t *PostJudgeInSchema_Output) FromJudgeClassificationOutput(v JudgeClassificationOutput) error
FromJudgeClassificationOutput overwrites any union data inside the PostJudgeInSchema_Output as the provided JudgeClassificationOutput
func (*PostJudgeInSchema_Output) FromJudgeRegressionOutput ¶
func (t *PostJudgeInSchema_Output) FromJudgeRegressionOutput(v JudgeRegressionOutput) error
FromJudgeRegressionOutput overwrites any union data inside the PostJudgeInSchema_Output as the provided JudgeRegressionOutput
func (PostJudgeInSchema_Output) MarshalJSON ¶
func (t PostJudgeInSchema_Output) MarshalJSON() ([]byte, error)
func (*PostJudgeInSchema_Output) MergeJudgeClassificationOutput ¶
func (t *PostJudgeInSchema_Output) MergeJudgeClassificationOutput(v JudgeClassificationOutput) error
MergeJudgeClassificationOutput performs a merge with any union data inside the PostJudgeInSchema_Output, using the provided JudgeClassificationOutput
func (*PostJudgeInSchema_Output) MergeJudgeRegressionOutput ¶
func (t *PostJudgeInSchema_Output) MergeJudgeRegressionOutput(v JudgeRegressionOutput) error
MergeJudgeRegressionOutput performs a merge with any union data inside the PostJudgeInSchema_Output, using the provided JudgeRegressionOutput
func (*PostJudgeInSchema_Output) UnmarshalJSON ¶
func (t *PostJudgeInSchema_Output) UnmarshalJSON(b []byte) error
func (PostJudgeInSchema_Output) ValueByDiscriminator ¶
func (t PostJudgeInSchema_Output) ValueByDiscriminator() (interface{}, error)
type Prediction ¶
type Prediction struct {
Content *string `json:"content,omitempty"`
Type *PredictionType `json:"type,omitempty"`
}
Prediction Enable users to specify an expected completion, optimizing response times by leveraging known or predictable content.
type PredictionType ¶
type PredictionType string
PredictionType defines model for Prediction.Type.
const (
PredictionTypeContent PredictionType = "content"
)
Defines values for PredictionType.
func (PredictionType) Valid ¶
func (e PredictionType) Valid() bool
Valid indicates whether the value is a known member of the PredictionType enum.
type ProcessStatus ¶
type ProcessStatus string
ProcessStatus defines model for ProcessStatus.
const ( ProcessStatusDone ProcessStatus = "done" ProcessStatusError ProcessStatus = "error" ProcessStatusInProgress ProcessStatus = "in_progress" ProcessStatusMissingContent ProcessStatus = "missing_content" ProcessStatusNoop ProcessStatus = "noop" ProcessStatusSelfManaged ProcessStatus = "self_managed" ProcessStatusTodo ProcessStatus = "todo" ProcessStatusWaitingForCapacity ProcessStatus = "waiting_for_capacity" )
Defines values for ProcessStatus.
func (ProcessStatus) Valid ¶
func (e ProcessStatus) Valid() bool
Valid indicates whether the value is a known member of the ProcessStatus enum.
type ProcessingStatusOut ¶
type ProcessingStatusOut struct {
DocumentId openapi_types.UUID `json:"document_id"`
ProcessStatus ProcessStatus `json:"process_status"`
ProcessingStatus *string `json:"processing_status,omitempty"`
}
ProcessingStatusOut defines model for ProcessingStatusOut.
type PromptTokensDetails ¶
type PromptTokensDetails struct {
CachedTokens *int `json:"cached_tokens,omitempty"`
}
PromptTokensDetails Token usage details for the prompt.
type PublicAuthenticationMethod ¶
type PublicAuthenticationMethod struct {
Headers *[]ConnectorAuthenticationHeader `json:"headers,omitempty"`
MethodType OutboundAuthenticationType `json:"method_type"`
}
PublicAuthenticationMethod Public view of an authentication method, without secrets.
type PutDatasetRecordPayloadInSchema ¶
type PutDatasetRecordPayloadInSchema struct {
Payload ConversationPayload `json:"payload"`
}
PutDatasetRecordPayloadInSchema defines model for PutDatasetRecordPayloadInSchema.
type PutDatasetRecordPropertiesInSchema ¶
type PutDatasetRecordPropertiesInSchema struct {
Properties map[string]interface{} `json:"properties"`
}
PutDatasetRecordPropertiesInSchema defines model for PutDatasetRecordPropertiesInSchema.
type PutJudgeInSchema ¶
type PutJudgeInSchema struct {
Description string `json:"description"`
Instructions string `json:"instructions"`
ModelName string `json:"model_name"`
Name string `json:"name"`
Output PutJudgeInSchema_Output `json:"output"`
Tools []string `json:"tools"`
}
PutJudgeInSchema defines model for PutJudgeInSchema.
type PutJudgeInSchema_Output ¶
type PutJudgeInSchema_Output struct {
// contains filtered or unexported fields
}
PutJudgeInSchema_Output defines model for PutJudgeInSchema.Output.
func (PutJudgeInSchema_Output) AsJudgeClassificationOutput ¶
func (t PutJudgeInSchema_Output) AsJudgeClassificationOutput() (JudgeClassificationOutput, error)
AsJudgeClassificationOutput returns the union data inside the PutJudgeInSchema_Output as a JudgeClassificationOutput
func (PutJudgeInSchema_Output) AsJudgeRegressionOutput ¶
func (t PutJudgeInSchema_Output) AsJudgeRegressionOutput() (JudgeRegressionOutput, error)
AsJudgeRegressionOutput returns the union data inside the PutJudgeInSchema_Output as a JudgeRegressionOutput
func (PutJudgeInSchema_Output) Discriminator ¶
func (t PutJudgeInSchema_Output) Discriminator() (string, error)
func (*PutJudgeInSchema_Output) FromJudgeClassificationOutput ¶
func (t *PutJudgeInSchema_Output) FromJudgeClassificationOutput(v JudgeClassificationOutput) error
FromJudgeClassificationOutput overwrites any union data inside the PutJudgeInSchema_Output as the provided JudgeClassificationOutput
func (*PutJudgeInSchema_Output) FromJudgeRegressionOutput ¶
func (t *PutJudgeInSchema_Output) FromJudgeRegressionOutput(v JudgeRegressionOutput) error
FromJudgeRegressionOutput overwrites any union data inside the PutJudgeInSchema_Output as the provided JudgeRegressionOutput
func (PutJudgeInSchema_Output) MarshalJSON ¶
func (t PutJudgeInSchema_Output) MarshalJSON() ([]byte, error)
func (*PutJudgeInSchema_Output) MergeJudgeClassificationOutput ¶
func (t *PutJudgeInSchema_Output) MergeJudgeClassificationOutput(v JudgeClassificationOutput) error
MergeJudgeClassificationOutput performs a merge with any union data inside the PutJudgeInSchema_Output, using the provided JudgeClassificationOutput
func (*PutJudgeInSchema_Output) MergeJudgeRegressionOutput ¶
func (t *PutJudgeInSchema_Output) MergeJudgeRegressionOutput(v JudgeRegressionOutput) error
MergeJudgeRegressionOutput performs a merge with any union data inside the PutJudgeInSchema_Output, using the provided JudgeRegressionOutput
func (*PutJudgeInSchema_Output) UnmarshalJSON ¶
func (t *PutJudgeInSchema_Output) UnmarshalJSON(b []byte) error
func (PutJudgeInSchema_Output) ValueByDiscriminator ¶
func (t PutJudgeInSchema_Output) ValueByDiscriminator() (interface{}, error)
type QueryDefinition ¶
type QueryDefinition struct {
// Description Description of the query
Description *string `json:"description,omitempty"`
// InputSchema Input JSON schema of the query's model
InputSchema map[string]interface{} `json:"input_schema"`
// Name Name of the query
Name string `json:"name"`
// OutputSchema Output JSON schema of the query's model
OutputSchema *map[string]interface{} `json:"output_schema,omitempty"`
}
QueryDefinition defines model for QueryDefinition.
type QueryInvocationBody ¶
type QueryInvocationBody struct {
// Input Input data for the query, matching its schema
Input *QueryInvocationBody_Input `json:"input,omitempty"`
// Name The name of the query to request
Name string `json:"name"`
}
QueryInvocationBody defines model for QueryInvocationBody.
type QueryInvocationBodyInput1 ¶
type QueryInvocationBodyInput1 map[string]interface{}
QueryInvocationBodyInput1 defines model for QueryInvocationBody.Input.1.
type QueryInvocationBody_Input ¶
type QueryInvocationBody_Input struct {
// contains filtered or unexported fields
}
QueryInvocationBody_Input Input data for the query, matching its schema
func (QueryInvocationBody_Input) AsNetworkEncodedInput ¶
func (t QueryInvocationBody_Input) AsNetworkEncodedInput() (NetworkEncodedInput, error)
AsNetworkEncodedInput returns the union data inside the QueryInvocationBody_Input as a NetworkEncodedInput
func (QueryInvocationBody_Input) AsQueryInvocationBodyInput1 ¶
func (t QueryInvocationBody_Input) AsQueryInvocationBodyInput1() (QueryInvocationBodyInput1, error)
AsQueryInvocationBodyInput1 returns the union data inside the QueryInvocationBody_Input as a QueryInvocationBodyInput1
func (*QueryInvocationBody_Input) FromNetworkEncodedInput ¶
func (t *QueryInvocationBody_Input) FromNetworkEncodedInput(v NetworkEncodedInput) error
FromNetworkEncodedInput overwrites any union data inside the QueryInvocationBody_Input as the provided NetworkEncodedInput
func (*QueryInvocationBody_Input) FromQueryInvocationBodyInput1 ¶
func (t *QueryInvocationBody_Input) FromQueryInvocationBodyInput1(v QueryInvocationBodyInput1) error
FromQueryInvocationBodyInput1 overwrites any union data inside the QueryInvocationBody_Input as the provided QueryInvocationBodyInput1
func (QueryInvocationBody_Input) MarshalJSON ¶
func (t QueryInvocationBody_Input) MarshalJSON() ([]byte, error)
func (*QueryInvocationBody_Input) MergeNetworkEncodedInput ¶
func (t *QueryInvocationBody_Input) MergeNetworkEncodedInput(v NetworkEncodedInput) error
MergeNetworkEncodedInput performs a merge with any union data inside the QueryInvocationBody_Input, using the provided NetworkEncodedInput
func (*QueryInvocationBody_Input) MergeQueryInvocationBodyInput1 ¶
func (t *QueryInvocationBody_Input) MergeQueryInvocationBodyInput1(v QueryInvocationBodyInput1) error
MergeQueryInvocationBodyInput1 performs a merge with any union data inside the QueryInvocationBody_Input, using the provided QueryInvocationBodyInput1
func (*QueryInvocationBody_Input) UnmarshalJSON ¶
func (t *QueryInvocationBody_Input) UnmarshalJSON(b []byte) error
type QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostJSONRequestBody ¶
type QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostJSONRequestBody = QueryInvocationBody
QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostJSONRequestBody defines body for QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost for application/json ContentType.
type QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse ¶
type QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *QueryWorkflowResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse ¶
func ParseQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse(rsp *http.Response) (*QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse, error)
ParseQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse parses an HTTP response from a QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithResponse call
func (QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) ContentType ¶
func (r QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) GetBody ¶
func (r QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) GetJSON200 ¶
func (r QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) GetJSON200() *QueryWorkflowResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) GetJSON422 ¶
func (r QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) Status ¶
Status returns HTTPResponse.Status
func (QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) StatusCode ¶
func (r QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type QueryWorkflowResponse ¶
type QueryWorkflowResponse struct {
QueryName string `json:"query_name"`
// Result The result of the Query workflow call
Result interface{} `json:"result"`
}
QueryWorkflowResponse defines model for QueryWorkflowResponse.
type ReferenceChunk ¶
type ReferenceChunk struct {
ReferenceIds []int `json:"reference_ids"`
Type *ReferenceChunkType `json:"type,omitempty"`
}
ReferenceChunk defines model for ReferenceChunk.
type ReferenceChunkType ¶
type ReferenceChunkType string
ReferenceChunkType defines model for ReferenceChunk.Type.
const (
ReferenceChunkTypeReference ReferenceChunkType = "reference"
)
Defines values for ReferenceChunkType.
func (ReferenceChunkType) Valid ¶
func (e ReferenceChunkType) Valid() bool
Valid indicates whether the value is a known member of the ReferenceChunkType enum.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RequestSource ¶
type RequestSource string
RequestSource defines model for RequestSource.
const ( RequestSourceAgentBuilderV1 RequestSource = "agent_builder_v1" RequestSourceApi RequestSource = "api" RequestSourcePlayground RequestSource = "playground" )
Defines values for RequestSource.
func (RequestSource) Valid ¶
func (e RequestSource) Valid() bool
Valid indicates whether the value is a known member of the RequestSource enum.
type ResetInvocationBody ¶
type ResetInvocationBody struct {
// EventId The event ID to reset the workflow execution to
EventId int `json:"event_id"`
// ExcludeSignals Whether to exclude signals that happened after the reset point
ExcludeSignals *bool `json:"exclude_signals,omitempty"`
// ExcludeUpdates Whether to exclude updates that happened after the reset point
ExcludeUpdates *bool `json:"exclude_updates,omitempty"`
// Reason Reason for resetting the workflow execution
Reason *string `json:"reason,omitempty"`
}
ResetInvocationBody defines model for ResetInvocationBody.
type ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostJSONRequestBody ¶
type ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostJSONRequestBody = ResetInvocationBody
ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostJSONRequestBody defines body for ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost for application/json ContentType.
type ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse ¶
type ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse ¶
func ParseResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse(rsp *http.Response) (*ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse, error)
ParseResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse parses an HTTP response from a ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithResponse call
func (ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) ContentType ¶
func (r ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) GetBody ¶
func (r ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) GetJSON422 ¶
func (r ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) Status ¶
func (r ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) Status() string
Status returns HTTPResponse.Status
func (ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) StatusCode ¶
func (r ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResourceLink ¶
type ResourceLink struct {
UnderscoreMeta *map[string]interface{} `json:"_meta,omitempty"`
Annotations *Annotations `json:"annotations,omitempty"`
Description *string `json:"description,omitempty"`
Icons *[]MCPServerIcon `json:"icons,omitempty"`
MimeType *string `json:"mimeType,omitempty"`
Name string `json:"name"`
Size *int `json:"size,omitempty"`
Title *string `json:"title,omitempty"`
Type ResourceLinkType `json:"type"`
Uri string `json:"uri"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ResourceLink A resource that the server is capable of reading, included in a prompt or tool call result.
Note: resource links returned by tools are not guaranteed to appear in the results of `resources/list` requests.
func (ResourceLink) Get ¶
func (a ResourceLink) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ResourceLink. Returns the specified element and whether it was found
func (ResourceLink) MarshalJSON ¶
func (a ResourceLink) MarshalJSON() ([]byte, error)
Override default JSON handling for ResourceLink to handle AdditionalProperties
func (*ResourceLink) Set ¶
func (a *ResourceLink) Set(fieldName string, value interface{})
Setter for additional properties for ResourceLink
func (*ResourceLink) UnmarshalJSON ¶
func (a *ResourceLink) UnmarshalJSON(b []byte) error
Override default JSON handling for ResourceLink to handle AdditionalProperties
type ResourceLinkType ¶
type ResourceLinkType string
ResourceLinkType defines model for ResourceLink.Type.
const (
ResourceLinkTypeResourceLink ResourceLinkType = "resource_link"
)
Defines values for ResourceLinkType.
func (ResourceLinkType) Valid ¶
func (e ResourceLinkType) Valid() bool
Valid indicates whether the value is a known member of the ResourceLinkType enum.
type ResourceVisibility ¶
type ResourceVisibility string
ResourceVisibility defines model for ResourceVisibility.
const ( ResourceVisibilityPrivate ResourceVisibility = "private" )
Defines values for ResourceVisibility.
func (ResourceVisibility) Valid ¶
func (e ResourceVisibility) Valid() bool
Valid indicates whether the value is a known member of the ResourceVisibility enum.
type ResponseBase ¶
type ResponseBase struct {
Id *string `json:"id,omitempty"`
Model *string `json:"model,omitempty"`
Object *string `json:"object,omitempty"`
Usage *UsageInfo `json:"usage,omitempty"`
}
ResponseBase defines model for ResponseBase.
type ResponseDoneEvent ¶
type ResponseDoneEvent struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
Type *ResponseDoneEventType `json:"type,omitempty"`
Usage ConversationUsageInfo `json:"usage"`
}
ResponseDoneEvent defines model for ResponseDoneEvent.
type ResponseDoneEventType ¶
type ResponseDoneEventType string
ResponseDoneEventType defines model for ResponseDoneEvent.Type.
const (
ResponseDoneEventTypeConversationResponseDone ResponseDoneEventType = "conversation.response.done"
)
Defines values for ResponseDoneEventType.
func (ResponseDoneEventType) Valid ¶
func (e ResponseDoneEventType) Valid() bool
Valid indicates whether the value is a known member of the ResponseDoneEventType enum.
type ResponseErrorEvent ¶
type ResponseErrorEvent struct {
Code int `json:"code"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Message string `json:"message"`
Type *ResponseErrorEventType `json:"type,omitempty"`
}
ResponseErrorEvent defines model for ResponseErrorEvent.
type ResponseErrorEventType ¶
type ResponseErrorEventType string
ResponseErrorEventType defines model for ResponseErrorEvent.Type.
const (
ResponseErrorEventTypeConversationResponseError ResponseErrorEventType = "conversation.response.error"
)
Defines values for ResponseErrorEventType.
func (ResponseErrorEventType) Valid ¶
func (e ResponseErrorEventType) Valid() bool
Valid indicates whether the value is a known member of the ResponseErrorEventType enum.
type ResponseFormat ¶
type ResponseFormat struct {
JsonSchema *JsonSchema `json:"json_schema,omitempty"`
Type *ResponseFormats `json:"type,omitempty"`
}
ResponseFormat Specify the format that the model must output. By default it will use `{ "type": "text" }`. Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is in JSON. When using JSON mode you MUST also instruct the model to produce JSON yourself with a system or a user message. Setting to `{ "type": "json_schema" }` enables JSON schema mode, which guarantees the message the model generates is in JSON and follows the schema you provide.
Examples: {"type":"text"}, {"type":"json_object"}, {"json_schema":{"name":"book","schema":{"additionalProperties":false,"properties":{"authors":{"items":{"type":"string"},"title":"Authors","type":"array"},"name":{"title":"Name","type":"string"}},"required":["name","authors"],"title":"Book","type":"object"},"strict":true},"type":"json_schema"}
type ResponseFormats ¶
type ResponseFormats string
ResponseFormats defines model for ResponseFormats.
const ( ResponseFormatsJsonObject ResponseFormats = "json_object" ResponseFormatsJsonSchema ResponseFormats = "json_schema" ResponseFormatsText ResponseFormats = "text" )
Defines values for ResponseFormats.
func (ResponseFormats) Valid ¶
func (e ResponseFormats) Valid() bool
Valid indicates whether the value is a known member of the ResponseFormats enum.
type ResponseStartedEvent ¶
type ResponseStartedEvent struct {
ConversationId string `json:"conversation_id"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Type *ResponseStartedEventType `json:"type,omitempty"`
}
ResponseStartedEvent defines model for ResponseStartedEvent.
type ResponseStartedEventType ¶
type ResponseStartedEventType string
ResponseStartedEventType defines model for ResponseStartedEvent.Type.
const (
ResponseStartedEventTypeConversationResponseStarted ResponseStartedEventType = "conversation.response.started"
)
Defines values for ResponseStartedEventType.
func (ResponseStartedEventType) Valid ¶
func (e ResponseStartedEventType) Valid() bool
Valid indicates whether the value is a known member of the ResponseStartedEventType enum.
type RetrieveFileOut ¶
type RetrieveFileOut struct {
// Bytes The size of the file, in bytes.
//
// Examples: 13000
Bytes int `json:"bytes"`
// CreatedAt The UNIX timestamp (in seconds) of the event.
//
// Examples: 1716963433
CreatedAt int `json:"created_at"`
Deleted bool `json:"deleted"`
ExpiresAt *int `json:"expires_at,omitempty"`
// Filename The name of the uploaded file.
//
// Examples: files_upload.jsonl
Filename string `json:"filename"`
// Id The unique identifier of the file.
//
// Examples: 497f6eca-6276-4993-bfeb-53cbbbba6f09
Id openapi_types.UUID `json:"id"`
Mimetype *string `json:"mimetype,omitempty"`
NumLines *int `json:"num_lines,omitempty"`
// Object The object type, which is always "file".
//
// Examples: file
Object string `json:"object"`
// Purpose The intended purpose of the uploaded file, currently supports fine-tuning (`fine-tune`), OCR (`ocr`), Audio/Transcription (`audio`) and batch inference (`batch`).
//
// Examples: fine-tune, ocr, batch, audio
Purpose FilePurpose `json:"purpose"`
SampleType SampleType `json:"sample_type"`
Signature *string `json:"signature,omitempty"`
Source Source `json:"source"`
Visibility *FileVisibility `json:"visibility,omitempty"`
}
RetrieveFileOut defines model for RetrieveFileOut.
type RetrieveModelV1ModelsModelIdGet200JSONResponseBody ¶
type RetrieveModelV1ModelsModelIdGet200JSONResponseBody struct {
// contains filtered or unexported fields
}
RetrieveModelV1ModelsModelIdGet200JSONResponseBody defines parameters for RetrieveModelV1ModelsModelIdGet.
func (RetrieveModelV1ModelsModelIdGet200JSONResponseBody) AsBaseModelCard ¶
func (t RetrieveModelV1ModelsModelIdGet200JSONResponseBody) AsBaseModelCard() (BaseModelCard, error)
AsBaseModelCard returns the union data inside the RetrieveModelV1ModelsModelIdGet200JSONResponseBody as a BaseModelCard
func (RetrieveModelV1ModelsModelIdGet200JSONResponseBody) AsFTModelCard ¶
func (t RetrieveModelV1ModelsModelIdGet200JSONResponseBody) AsFTModelCard() (FTModelCard, error)
AsFTModelCard returns the union data inside the RetrieveModelV1ModelsModelIdGet200JSONResponseBody as a FTModelCard
func (RetrieveModelV1ModelsModelIdGet200JSONResponseBody) Discriminator ¶
func (t RetrieveModelV1ModelsModelIdGet200JSONResponseBody) Discriminator() (string, error)
func (*RetrieveModelV1ModelsModelIdGet200JSONResponseBody) FromBaseModelCard ¶
func (t *RetrieveModelV1ModelsModelIdGet200JSONResponseBody) FromBaseModelCard(v BaseModelCard) error
FromBaseModelCard overwrites any union data inside the RetrieveModelV1ModelsModelIdGet200JSONResponseBody as the provided BaseModelCard
func (*RetrieveModelV1ModelsModelIdGet200JSONResponseBody) FromFTModelCard ¶
func (t *RetrieveModelV1ModelsModelIdGet200JSONResponseBody) FromFTModelCard(v FTModelCard) error
FromFTModelCard overwrites any union data inside the RetrieveModelV1ModelsModelIdGet200JSONResponseBody as the provided FTModelCard
func (RetrieveModelV1ModelsModelIdGet200JSONResponseBody) MarshalJSON ¶
func (t RetrieveModelV1ModelsModelIdGet200JSONResponseBody) MarshalJSON() ([]byte, error)
func (*RetrieveModelV1ModelsModelIdGet200JSONResponseBody) MergeBaseModelCard ¶
func (t *RetrieveModelV1ModelsModelIdGet200JSONResponseBody) MergeBaseModelCard(v BaseModelCard) error
MergeBaseModelCard performs a merge with any union data inside the RetrieveModelV1ModelsModelIdGet200JSONResponseBody, using the provided BaseModelCard
func (*RetrieveModelV1ModelsModelIdGet200JSONResponseBody) MergeFTModelCard ¶
func (t *RetrieveModelV1ModelsModelIdGet200JSONResponseBody) MergeFTModelCard(v FTModelCard) error
MergeFTModelCard performs a merge with any union data inside the RetrieveModelV1ModelsModelIdGet200JSONResponseBody, using the provided FTModelCard
func (*RetrieveModelV1ModelsModelIdGet200JSONResponseBody) UnmarshalJSON ¶
func (t *RetrieveModelV1ModelsModelIdGet200JSONResponseBody) UnmarshalJSON(b []byte) error
func (RetrieveModelV1ModelsModelIdGet200JSONResponseBody) ValueByDiscriminator ¶
func (t RetrieveModelV1ModelsModelIdGet200JSONResponseBody) ValueByDiscriminator() (interface{}, error)
type RetrieveModelV1ModelsModelIdGetResponse ¶
type RetrieveModelV1ModelsModelIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RetrieveModelV1ModelsModelIdGet200JSONResponseBody
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseRetrieveModelV1ModelsModelIdGetResponse ¶
func ParseRetrieveModelV1ModelsModelIdGetResponse(rsp *http.Response) (*RetrieveModelV1ModelsModelIdGetResponse, error)
ParseRetrieveModelV1ModelsModelIdGetResponse parses an HTTP response from a RetrieveModelV1ModelsModelIdGetWithResponse call
func (RetrieveModelV1ModelsModelIdGetResponse) ContentType ¶
func (r RetrieveModelV1ModelsModelIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RetrieveModelV1ModelsModelIdGetResponse) GetBody ¶
func (r RetrieveModelV1ModelsModelIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RetrieveModelV1ModelsModelIdGetResponse) GetJSON200 ¶
func (r RetrieveModelV1ModelsModelIdGetResponse) GetJSON200() *RetrieveModelV1ModelsModelIdGet200JSONResponseBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RetrieveModelV1ModelsModelIdGetResponse) GetJSON422 ¶
func (r RetrieveModelV1ModelsModelIdGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (RetrieveModelV1ModelsModelIdGetResponse) Status ¶
func (r RetrieveModelV1ModelsModelIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (RetrieveModelV1ModelsModelIdGetResponse) StatusCode ¶
func (r RetrieveModelV1ModelsModelIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SSETypes ¶
type SSETypes string
SSETypes Server side events sent when streaming a conversation response.
const ( SSETypesAgentHandoffDone SSETypes = "agent.handoff.done" SSETypesAgentHandoffStarted SSETypes = "agent.handoff.started" SSETypesConversationResponseDone SSETypes = "conversation.response.done" SSETypesConversationResponseError SSETypes = "conversation.response.error" SSETypesConversationResponseStarted SSETypes = "conversation.response.started" SSETypesFunctionCallDelta SSETypes = "function.call.delta" SSETypesMessageOutputDelta SSETypes = "message.output.delta" SSETypesToolExecutionDelta SSETypes = "tool.execution.delta" SSETypesToolExecutionDone SSETypes = "tool.execution.done" SSETypesToolExecutionStarted SSETypes = "tool.execution.started" )
Defines values for SSETypes.
type SampleType ¶
type SampleType string
SampleType defines model for SampleType.
const ( SampleTypeBatchError SampleType = "batch_error" SampleTypeBatchRequest SampleType = "batch_request" SampleTypeBatchResult SampleType = "batch_result" SampleTypeInstruct SampleType = "instruct" SampleTypePretrain SampleType = "pretrain" )
Defines values for SampleType.
func (SampleType) Valid ¶
func (e SampleType) Valid() bool
Valid indicates whether the value is a known member of the SampleType enum.
type ScalarMetric ¶
type ScalarMetric struct {
Value ScalarMetric_Value `json:"value"`
}
ScalarMetric Scalar metric with a single value.
type ScalarMetricValue0 ¶
type ScalarMetricValue0 = int
ScalarMetricValue0 defines model for ScalarMetric.Value.0.
type ScalarMetricValue1 ¶
type ScalarMetricValue1 = float32
ScalarMetricValue1 defines model for ScalarMetric.Value.1.
type ScalarMetric_Value ¶
type ScalarMetric_Value struct {
// contains filtered or unexported fields
}
ScalarMetric_Value defines model for ScalarMetric.Value.
func (ScalarMetric_Value) AsScalarMetricValue0 ¶
func (t ScalarMetric_Value) AsScalarMetricValue0() (ScalarMetricValue0, error)
AsScalarMetricValue0 returns the union data inside the ScalarMetric_Value as a ScalarMetricValue0
func (ScalarMetric_Value) AsScalarMetricValue1 ¶
func (t ScalarMetric_Value) AsScalarMetricValue1() (ScalarMetricValue1, error)
AsScalarMetricValue1 returns the union data inside the ScalarMetric_Value as a ScalarMetricValue1
func (*ScalarMetric_Value) FromScalarMetricValue0 ¶
func (t *ScalarMetric_Value) FromScalarMetricValue0(v ScalarMetricValue0) error
FromScalarMetricValue0 overwrites any union data inside the ScalarMetric_Value as the provided ScalarMetricValue0
func (*ScalarMetric_Value) FromScalarMetricValue1 ¶
func (t *ScalarMetric_Value) FromScalarMetricValue1(v ScalarMetricValue1) error
FromScalarMetricValue1 overwrites any union data inside the ScalarMetric_Value as the provided ScalarMetricValue1
func (ScalarMetric_Value) MarshalJSON ¶
func (t ScalarMetric_Value) MarshalJSON() ([]byte, error)
func (*ScalarMetric_Value) MergeScalarMetricValue0 ¶
func (t *ScalarMetric_Value) MergeScalarMetricValue0(v ScalarMetricValue0) error
MergeScalarMetricValue0 performs a merge with any union data inside the ScalarMetric_Value, using the provided ScalarMetricValue0
func (*ScalarMetric_Value) MergeScalarMetricValue1 ¶
func (t *ScalarMetric_Value) MergeScalarMetricValue1(v ScalarMetricValue1) error
MergeScalarMetricValue1 performs a merge with any union data inside the ScalarMetric_Value, using the provided ScalarMetricValue1
func (*ScalarMetric_Value) UnmarshalJSON ¶
func (t *ScalarMetric_Value) UnmarshalJSON(b []byte) error
type ScheduleCalendar ¶
type ScheduleCalendar struct {
Comment *string `json:"comment,omitempty"`
DayOfMonth *[]ScheduleRange `json:"day_of_month,omitempty"`
DayOfWeek *[]ScheduleRange `json:"day_of_week,omitempty"`
Hour *[]ScheduleRange `json:"hour,omitempty"`
Minute *[]ScheduleRange `json:"minute,omitempty"`
Month *[]ScheduleRange `json:"month,omitempty"`
Second *[]ScheduleRange `json:"second,omitempty"`
Year *[]ScheduleRange `json:"year,omitempty"`
}
ScheduleCalendar defines model for ScheduleCalendar.
type ScheduleDefinition ¶
type ScheduleDefinition struct {
// Calendars Calendar-based specification of times.
Calendars *[]ScheduleCalendar `json:"calendars,omitempty"`
// CronExpressions Cron-based specification of times.
CronExpressions *[]string `json:"cron_expressions,omitempty"`
// EndAt Time after which no more actions will be run.
EndAt *time.Time `json:"end_at,omitempty"`
// Input Input to provide to the workflow when starting it.
Input interface{} `json:"input"`
// Intervals Interval-based specification of times.
Intervals *[]ScheduleInterval `json:"intervals,omitempty"`
// Jitter Jitter to apply each action.
//
// An action's scheduled time will be incremented by a random value between 0
// and this value if present (but not past the next schedule).
Jitter *openapi_types.Duration `json:"jitter,omitempty"`
// Policy Policy for the schedule.
Policy *SchedulePolicy `json:"policy,omitempty"`
// ScheduleId Unique identifier for the schedule.
ScheduleId *string `json:"schedule_id,omitempty"`
// Skip Set of calendar times to skip.
Skip *[]ScheduleCalendar `json:"skip,omitempty"`
// StartAt Time after which the first action may be run.
StartAt *time.Time `json:"start_at,omitempty"`
// TimeZoneName IANA time zone name, for example “US/Central“.
TimeZoneName *string `json:"time_zone_name,omitempty"`
}
ScheduleDefinition Specification of the times scheduled actions may occur.
The times are the union of :py:attr:`calendars`, :py:attr:`intervals`, and :py:attr:`cron_expressions` excluding anything in :py:attr:`skip`.
Used for input where schedule_id is optional (can be provided or auto-generated).
type ScheduleDefinitionOutput ¶
type ScheduleDefinitionOutput struct {
// Calendars Calendar-based specification of times.
Calendars *[]ScheduleCalendar `json:"calendars,omitempty"`
// CronExpressions Cron-based specification of times.
CronExpressions *[]string `json:"cron_expressions,omitempty"`
// EndAt Time after which no more actions will be run.
EndAt *time.Time `json:"end_at,omitempty"`
// Input Input to provide to the workflow when starting it.
Input interface{} `json:"input"`
// Intervals Interval-based specification of times.
Intervals *[]ScheduleInterval `json:"intervals,omitempty"`
// Jitter Jitter to apply each action.
//
// An action's scheduled time will be incremented by a random value between 0
// and this value if present (but not past the next schedule).
Jitter *openapi_types.Duration `json:"jitter,omitempty"`
// Policy Policy for the schedule.
Policy *SchedulePolicy `json:"policy,omitempty"`
// ScheduleId Unique identifier for the schedule.
ScheduleId string `json:"schedule_id"`
// Skip Set of calendar times to skip.
Skip *[]ScheduleCalendar `json:"skip,omitempty"`
// StartAt Time after which the first action may be run.
StartAt *time.Time `json:"start_at,omitempty"`
// TimeZoneName IANA time zone name, for example “US/Central“.
TimeZoneName *string `json:"time_zone_name,omitempty"`
}
ScheduleDefinitionOutput Output representation of a schedule with required schedule_id.
Used when returning schedules from the API where schedule_id is always present.
type ScheduleInterval ¶
type ScheduleInterval struct {
Every openapi_types.Duration `json:"every"`
Offset *openapi_types.Duration `json:"offset,omitempty"`
}
ScheduleInterval defines model for ScheduleInterval.
type ScheduleOverlapPolicy ¶
type ScheduleOverlapPolicy int
ScheduleOverlapPolicy Controls what happens when a workflow would be started by a schedule but one is already running.
const ( ScheduleOverlapPolicyN1 ScheduleOverlapPolicy = 1 ScheduleOverlapPolicyN2 ScheduleOverlapPolicy = 2 ScheduleOverlapPolicyN3 ScheduleOverlapPolicy = 3 ScheduleOverlapPolicyN4 ScheduleOverlapPolicy = 4 ScheduleOverlapPolicyN5 ScheduleOverlapPolicy = 5 ScheduleOverlapPolicyN6 ScheduleOverlapPolicy = 6 )
Defines values for ScheduleOverlapPolicy.
func (ScheduleOverlapPolicy) Valid ¶
func (e ScheduleOverlapPolicy) Valid() bool
Valid indicates whether the value is a known member of the ScheduleOverlapPolicy enum.
type SchedulePolicy ¶
type SchedulePolicy struct {
// CatchupWindowSeconds After a Temporal server is unavailable, amount of time in seconds in the past to execute missed actions.
CatchupWindowSeconds *int `json:"catchup_window_seconds,omitempty"`
// Overlap Policy controlling what to do when a workflow is already running.
Overlap *ScheduleOverlapPolicy `json:"overlap,omitempty"`
// PauseOnFailure Whether to pause the schedule after a workflow failure.
PauseOnFailure *bool `json:"pause_on_failure,omitempty"`
}
SchedulePolicy defines model for SchedulePolicy.
type ScheduleRange ¶
type ScheduleRange struct {
End *int `json:"end,omitempty"`
Start int `json:"start"`
Step *int `json:"step,omitempty"`
}
ScheduleRange defines model for ScheduleRange.
type ScheduleWorkflowV1WorkflowsSchedulesPostJSONRequestBody ¶
type ScheduleWorkflowV1WorkflowsSchedulesPostJSONRequestBody = WorkflowScheduleRequest
ScheduleWorkflowV1WorkflowsSchedulesPostJSONRequestBody defines body for ScheduleWorkflowV1WorkflowsSchedulesPost for application/json ContentType.
type ScheduleWorkflowV1WorkflowsSchedulesPostResponse ¶
type ScheduleWorkflowV1WorkflowsSchedulesPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *WorkflowScheduleResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseScheduleWorkflowV1WorkflowsSchedulesPostResponse ¶
func ParseScheduleWorkflowV1WorkflowsSchedulesPostResponse(rsp *http.Response) (*ScheduleWorkflowV1WorkflowsSchedulesPostResponse, error)
ParseScheduleWorkflowV1WorkflowsSchedulesPostResponse parses an HTTP response from a ScheduleWorkflowV1WorkflowsSchedulesPostWithResponse call
func (ScheduleWorkflowV1WorkflowsSchedulesPostResponse) ContentType ¶
func (r ScheduleWorkflowV1WorkflowsSchedulesPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ScheduleWorkflowV1WorkflowsSchedulesPostResponse) GetBody ¶
func (r ScheduleWorkflowV1WorkflowsSchedulesPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ScheduleWorkflowV1WorkflowsSchedulesPostResponse) GetJSON201 ¶
func (r ScheduleWorkflowV1WorkflowsSchedulesPostResponse) GetJSON201() *WorkflowScheduleResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (ScheduleWorkflowV1WorkflowsSchedulesPostResponse) GetJSON422 ¶
func (r ScheduleWorkflowV1WorkflowsSchedulesPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ScheduleWorkflowV1WorkflowsSchedulesPostResponse) Status ¶
func (r ScheduleWorkflowV1WorkflowsSchedulesPostResponse) Status() string
Status returns HTTPResponse.Status
func (ScheduleWorkflowV1WorkflowsSchedulesPostResponse) StatusCode ¶
func (r ScheduleWorkflowV1WorkflowsSchedulesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ShareEnum ¶
type ShareEnum string
ShareEnum defines model for ShareEnum.
const ( )
Defines values for ShareEnum.
type SharingDelete ¶
type SharingDelete struct {
OrgId *openapi_types.UUID `json:"org_id,omitempty"`
ShareWithType EntityType `json:"share_with_type"`
ShareWithUuid openapi_types.UUID `json:"share_with_uuid"`
}
SharingDelete defines model for SharingDelete.
type SharingIn ¶
type SharingIn struct {
Level ShareEnum `json:"level"`
OrgId *openapi_types.UUID `json:"org_id,omitempty"`
ShareWithType EntityType `json:"share_with_type"`
ShareWithUuid openapi_types.UUID `json:"share_with_uuid"`
}
SharingIn defines model for SharingIn.
type SharingOut ¶
type SharingOut struct {
LibraryId openapi_types.UUID `json:"library_id"`
OrgId openapi_types.UUID `json:"org_id"`
Role string `json:"role"`
UserId *openapi_types.UUID `json:"user_id,omitempty"`
}
SharingOut defines model for SharingOut.
type SignalDefinition ¶
type SignalDefinition struct {
// Description Description of the signal
Description *string `json:"description,omitempty"`
// InputSchema Input JSON schema of the signal's model
InputSchema map[string]interface{} `json:"input_schema"`
// Name Name of the signal
Name string `json:"name"`
}
SignalDefinition defines model for SignalDefinition.
type SignalInvocationBody ¶
type SignalInvocationBody struct {
// Input Input data for the signal, matching its schema
Input *SignalInvocationBody_Input `json:"input,omitempty"`
// Name The name of the signal to send
Name string `json:"name"`
}
SignalInvocationBody defines model for SignalInvocationBody.
type SignalInvocationBodyInput1 ¶
type SignalInvocationBodyInput1 map[string]interface{}
SignalInvocationBodyInput1 defines model for SignalInvocationBody.Input.1.
type SignalInvocationBody_Input ¶
type SignalInvocationBody_Input struct {
AdditionalProperties map[string]interface{} `json:"-"`
// contains filtered or unexported fields
}
SignalInvocationBody_Input Input data for the signal, matching its schema
func (SignalInvocationBody_Input) AsNetworkEncodedInput ¶
func (t SignalInvocationBody_Input) AsNetworkEncodedInput() (NetworkEncodedInput, error)
AsNetworkEncodedInput returns the union data inside the SignalInvocationBody_Input as a NetworkEncodedInput
func (SignalInvocationBody_Input) AsSignalInvocationBodyInput1 ¶
func (t SignalInvocationBody_Input) AsSignalInvocationBodyInput1() (SignalInvocationBodyInput1, error)
AsSignalInvocationBodyInput1 returns the union data inside the SignalInvocationBody_Input as a SignalInvocationBodyInput1
func (*SignalInvocationBody_Input) FromNetworkEncodedInput ¶
func (t *SignalInvocationBody_Input) FromNetworkEncodedInput(v NetworkEncodedInput) error
FromNetworkEncodedInput overwrites any union data inside the SignalInvocationBody_Input as the provided NetworkEncodedInput
func (*SignalInvocationBody_Input) FromSignalInvocationBodyInput1 ¶
func (t *SignalInvocationBody_Input) FromSignalInvocationBodyInput1(v SignalInvocationBodyInput1) error
FromSignalInvocationBodyInput1 overwrites any union data inside the SignalInvocationBody_Input as the provided SignalInvocationBodyInput1
func (SignalInvocationBody_Input) Get ¶
func (a SignalInvocationBody_Input) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for SignalInvocationBody_Input. Returns the specified element and whether it was found
func (SignalInvocationBody_Input) MarshalJSON ¶
func (a SignalInvocationBody_Input) MarshalJSON() ([]byte, error)
Override default JSON handling for SignalInvocationBody_Input to handle AdditionalProperties and union
func (*SignalInvocationBody_Input) MergeNetworkEncodedInput ¶
func (t *SignalInvocationBody_Input) MergeNetworkEncodedInput(v NetworkEncodedInput) error
MergeNetworkEncodedInput performs a merge with any union data inside the SignalInvocationBody_Input, using the provided NetworkEncodedInput
func (*SignalInvocationBody_Input) MergeSignalInvocationBodyInput1 ¶
func (t *SignalInvocationBody_Input) MergeSignalInvocationBodyInput1(v SignalInvocationBodyInput1) error
MergeSignalInvocationBodyInput1 performs a merge with any union data inside the SignalInvocationBody_Input, using the provided SignalInvocationBodyInput1
func (*SignalInvocationBody_Input) Set ¶
func (a *SignalInvocationBody_Input) Set(fieldName string, value interface{})
Setter for additional properties for SignalInvocationBody_Input
func (*SignalInvocationBody_Input) UnmarshalJSON ¶
func (a *SignalInvocationBody_Input) UnmarshalJSON(b []byte) error
Override default JSON handling for SignalInvocationBody_Input to handle AdditionalProperties and union
type SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostJSONRequestBody ¶
type SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostJSONRequestBody = SignalInvocationBody
SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostJSONRequestBody defines body for SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost for application/json ContentType.
type SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse ¶
type SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *SignalWorkflowResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse ¶
func ParseSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse(rsp *http.Response) (*SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse, error)
ParseSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse parses an HTTP response from a SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithResponse call
func (SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) ContentType ¶
func (r SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) GetBody ¶
func (r SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) GetJSON202 ¶
func (r SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) GetJSON202() *SignalWorkflowResponse
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) GetJSON422 ¶
func (r SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) Status ¶
Status returns HTTPResponse.Status
func (SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) StatusCode ¶
func (r SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SignalWorkflowResponse ¶
type SignalWorkflowResponse struct {
Message *string `json:"message,omitempty"`
}
SignalWorkflowResponse defines model for SignalWorkflowResponse.
type Source ¶
type Source string
Source defines model for Source.
type SpeechOutputFormat ¶
type SpeechOutputFormat string
SpeechOutputFormat defines model for SpeechOutputFormat.
const ( SpeechOutputFormatFlac SpeechOutputFormat = "flac" SpeechOutputFormatMp3 SpeechOutputFormat = "mp3" SpeechOutputFormatOpus SpeechOutputFormat = "opus" SpeechOutputFormatPcm SpeechOutputFormat = "pcm" SpeechOutputFormatWav SpeechOutputFormat = "wav" )
Defines values for SpeechOutputFormat.
func (SpeechOutputFormat) Valid ¶
func (e SpeechOutputFormat) Valid() bool
Valid indicates whether the value is a known member of the SpeechOutputFormat enum.
type SpeechRequest ¶
type SpeechRequest struct {
// Input Text to generate speech from.
Input string `json:"input"`
Model *string `json:"model,omitempty"`
// RefAudio The base64-encoded audio reference for zero-shot voice cloning.
RefAudio *string `json:"ref_audio,omitempty"`
// ResponseFormat Output audio format. Defaults to mp3.
ResponseFormat *SpeechOutputFormat `json:"response_format,omitempty"`
Stream *bool `json:"stream,omitempty"`
// VoiceId The preset or custom voice to use for generating the speech.
VoiceId *string `json:"voice_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
SpeechRequest defines model for SpeechRequest.
func (SpeechRequest) Get ¶
func (a SpeechRequest) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for SpeechRequest. Returns the specified element and whether it was found
func (SpeechRequest) MarshalJSON ¶
func (a SpeechRequest) MarshalJSON() ([]byte, error)
Override default JSON handling for SpeechRequest to handle AdditionalProperties
func (*SpeechRequest) Set ¶
func (a *SpeechRequest) Set(fieldName string, value interface{})
Setter for additional properties for SpeechRequest
func (*SpeechRequest) UnmarshalJSON ¶
func (a *SpeechRequest) UnmarshalJSON(b []byte) error
Override default JSON handling for SpeechRequest to handle AdditionalProperties
type SpeechResponse ¶
type SpeechResponse struct {
// AudioData Base64 encoded audio data
AudioData string `json:"audio_data"`
}
SpeechResponse defines model for SpeechResponse.
type SpeechStreamAudioDelta ¶
type SpeechStreamAudioDelta struct {
AudioData string `json:"audio_data"`
Type *SpeechStreamAudioDeltaType `json:"type,omitempty"`
}
SpeechStreamAudioDelta defines model for SpeechStreamAudioDelta.
type SpeechStreamAudioDeltaType ¶
type SpeechStreamAudioDeltaType string
SpeechStreamAudioDeltaType defines model for SpeechStreamAudioDelta.Type.
const (
SpeechStreamAudioDeltaTypeSpeechAudioDelta SpeechStreamAudioDeltaType = "speech.audio.delta"
)
Defines values for SpeechStreamAudioDeltaType.
func (SpeechStreamAudioDeltaType) Valid ¶
func (e SpeechStreamAudioDeltaType) Valid() bool
Valid indicates whether the value is a known member of the SpeechStreamAudioDeltaType enum.
type SpeechStreamDone ¶
type SpeechStreamDone struct {
Type *SpeechStreamDoneType `json:"type,omitempty"`
Usage UsageInfo `json:"usage"`
}
SpeechStreamDone defines model for SpeechStreamDone.
type SpeechStreamDoneType ¶
type SpeechStreamDoneType string
SpeechStreamDoneType defines model for SpeechStreamDone.Type.
const (
SpeechStreamDoneTypeSpeechAudioDone SpeechStreamDoneType = "speech.audio.done"
)
Defines values for SpeechStreamDoneType.
func (SpeechStreamDoneType) Valid ¶
func (e SpeechStreamDoneType) Valid() bool
Valid indicates whether the value is a known member of the SpeechStreamDoneType enum.
type SpeechStreamEvents ¶
type SpeechStreamEvents struct {
Data SpeechStreamEvents_Data `json:"data"`
Event SpeechStreamEventsEvent `json:"event"`
}
SpeechStreamEvents defines model for SpeechStreamEvents.
type SpeechStreamEventsEvent ¶
type SpeechStreamEventsEvent string
SpeechStreamEventsEvent defines model for SpeechStreamEvents.Event.
const ( SpeechStreamEventsEventSpeechAudioDelta SpeechStreamEventsEvent = "speech.audio.delta" SpeechStreamEventsEventSpeechAudioDone SpeechStreamEventsEvent = "speech.audio.done" )
Defines values for SpeechStreamEventsEvent.
func (SpeechStreamEventsEvent) Valid ¶
func (e SpeechStreamEventsEvent) Valid() bool
Valid indicates whether the value is a known member of the SpeechStreamEventsEvent enum.
type SpeechStreamEvents_Data ¶
type SpeechStreamEvents_Data struct {
// contains filtered or unexported fields
}
SpeechStreamEvents_Data defines model for SpeechStreamEvents.Data.
func (SpeechStreamEvents_Data) AsSpeechStreamAudioDelta ¶
func (t SpeechStreamEvents_Data) AsSpeechStreamAudioDelta() (SpeechStreamAudioDelta, error)
AsSpeechStreamAudioDelta returns the union data inside the SpeechStreamEvents_Data as a SpeechStreamAudioDelta
func (SpeechStreamEvents_Data) AsSpeechStreamDone ¶
func (t SpeechStreamEvents_Data) AsSpeechStreamDone() (SpeechStreamDone, error)
AsSpeechStreamDone returns the union data inside the SpeechStreamEvents_Data as a SpeechStreamDone
func (SpeechStreamEvents_Data) Discriminator ¶
func (t SpeechStreamEvents_Data) Discriminator() (string, error)
func (*SpeechStreamEvents_Data) FromSpeechStreamAudioDelta ¶
func (t *SpeechStreamEvents_Data) FromSpeechStreamAudioDelta(v SpeechStreamAudioDelta) error
FromSpeechStreamAudioDelta overwrites any union data inside the SpeechStreamEvents_Data as the provided SpeechStreamAudioDelta
func (*SpeechStreamEvents_Data) FromSpeechStreamDone ¶
func (t *SpeechStreamEvents_Data) FromSpeechStreamDone(v SpeechStreamDone) error
FromSpeechStreamDone overwrites any union data inside the SpeechStreamEvents_Data as the provided SpeechStreamDone
func (SpeechStreamEvents_Data) MarshalJSON ¶
func (t SpeechStreamEvents_Data) MarshalJSON() ([]byte, error)
func (*SpeechStreamEvents_Data) MergeSpeechStreamAudioDelta ¶
func (t *SpeechStreamEvents_Data) MergeSpeechStreamAudioDelta(v SpeechStreamAudioDelta) error
MergeSpeechStreamAudioDelta performs a merge with any union data inside the SpeechStreamEvents_Data, using the provided SpeechStreamAudioDelta
func (*SpeechStreamEvents_Data) MergeSpeechStreamDone ¶
func (t *SpeechStreamEvents_Data) MergeSpeechStreamDone(v SpeechStreamDone) error
MergeSpeechStreamDone performs a merge with any union data inside the SpeechStreamEvents_Data, using the provided SpeechStreamDone
func (*SpeechStreamEvents_Data) UnmarshalJSON ¶
func (t *SpeechStreamEvents_Data) UnmarshalJSON(b []byte) error
func (SpeechStreamEvents_Data) ValueByDiscriminator ¶
func (t SpeechStreamEvents_Data) ValueByDiscriminator() (interface{}, error)
type SpeechV1AudioSpeechPostJSONRequestBody ¶
type SpeechV1AudioSpeechPostJSONRequestBody = SpeechRequest
SpeechV1AudioSpeechPostJSONRequestBody defines body for SpeechV1AudioSpeechPost for application/json ContentType.
type SpeechV1AudioSpeechPostResponse ¶
type SpeechV1AudioSpeechPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SpeechResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseSpeechV1AudioSpeechPostResponse ¶
func ParseSpeechV1AudioSpeechPostResponse(rsp *http.Response) (*SpeechV1AudioSpeechPostResponse, error)
ParseSpeechV1AudioSpeechPostResponse parses an HTTP response from a SpeechV1AudioSpeechPostWithResponse call
func (SpeechV1AudioSpeechPostResponse) ContentType ¶
func (r SpeechV1AudioSpeechPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SpeechV1AudioSpeechPostResponse) GetBody ¶
func (r SpeechV1AudioSpeechPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SpeechV1AudioSpeechPostResponse) GetJSON200 ¶
func (r SpeechV1AudioSpeechPostResponse) GetJSON200() *SpeechResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SpeechV1AudioSpeechPostResponse) GetJSON422 ¶
func (r SpeechV1AudioSpeechPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (SpeechV1AudioSpeechPostResponse) Status ¶
func (r SpeechV1AudioSpeechPostResponse) Status() string
Status returns HTTPResponse.Status
func (SpeechV1AudioSpeechPostResponse) StatusCode ¶
func (r SpeechV1AudioSpeechPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StreamEventSsePayload ¶
type StreamEventSsePayload struct {
BrokerSequence int `json:"broker_sequence"`
Data StreamEventSsePayload_Data `json:"data"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
Stream string `json:"stream"`
Timestamp *time.Time `json:"timestamp,omitempty"`
WorkflowContext StreamEventWorkflowContext `json:"workflow_context"`
}
StreamEventSsePayload defines model for StreamEventSsePayload.
type StreamEventSsePayload_Data ¶
type StreamEventSsePayload_Data struct {
// contains filtered or unexported fields
}
StreamEventSsePayload_Data defines model for StreamEventSsePayload.Data.
func (StreamEventSsePayload_Data) AsActivityTaskCompletedResponse ¶
func (t StreamEventSsePayload_Data) AsActivityTaskCompletedResponse() (ActivityTaskCompletedResponse, error)
AsActivityTaskCompletedResponse returns the union data inside the StreamEventSsePayload_Data as a ActivityTaskCompletedResponse
func (StreamEventSsePayload_Data) AsActivityTaskFailedResponse ¶
func (t StreamEventSsePayload_Data) AsActivityTaskFailedResponse() (ActivityTaskFailedResponse, error)
AsActivityTaskFailedResponse returns the union data inside the StreamEventSsePayload_Data as a ActivityTaskFailedResponse
func (StreamEventSsePayload_Data) AsActivityTaskRetryingResponse ¶
func (t StreamEventSsePayload_Data) AsActivityTaskRetryingResponse() (ActivityTaskRetryingResponse, error)
AsActivityTaskRetryingResponse returns the union data inside the StreamEventSsePayload_Data as a ActivityTaskRetryingResponse
func (StreamEventSsePayload_Data) AsActivityTaskStartedResponse ¶
func (t StreamEventSsePayload_Data) AsActivityTaskStartedResponse() (ActivityTaskStartedResponse, error)
AsActivityTaskStartedResponse returns the union data inside the StreamEventSsePayload_Data as a ActivityTaskStartedResponse
func (StreamEventSsePayload_Data) AsCustomTaskCanceledResponse ¶
func (t StreamEventSsePayload_Data) AsCustomTaskCanceledResponse() (CustomTaskCanceledResponse, error)
AsCustomTaskCanceledResponse returns the union data inside the StreamEventSsePayload_Data as a CustomTaskCanceledResponse
func (StreamEventSsePayload_Data) AsCustomTaskCompletedResponse ¶
func (t StreamEventSsePayload_Data) AsCustomTaskCompletedResponse() (CustomTaskCompletedResponse, error)
AsCustomTaskCompletedResponse returns the union data inside the StreamEventSsePayload_Data as a CustomTaskCompletedResponse
func (StreamEventSsePayload_Data) AsCustomTaskFailedResponse ¶
func (t StreamEventSsePayload_Data) AsCustomTaskFailedResponse() (CustomTaskFailedResponse, error)
AsCustomTaskFailedResponse returns the union data inside the StreamEventSsePayload_Data as a CustomTaskFailedResponse
func (StreamEventSsePayload_Data) AsCustomTaskInProgressResponse ¶
func (t StreamEventSsePayload_Data) AsCustomTaskInProgressResponse() (CustomTaskInProgressResponse, error)
AsCustomTaskInProgressResponse returns the union data inside the StreamEventSsePayload_Data as a CustomTaskInProgressResponse
func (StreamEventSsePayload_Data) AsCustomTaskStartedResponse ¶
func (t StreamEventSsePayload_Data) AsCustomTaskStartedResponse() (CustomTaskStartedResponse, error)
AsCustomTaskStartedResponse returns the union data inside the StreamEventSsePayload_Data as a CustomTaskStartedResponse
func (StreamEventSsePayload_Data) AsCustomTaskTimedOutResponse ¶
func (t StreamEventSsePayload_Data) AsCustomTaskTimedOutResponse() (CustomTaskTimedOutResponse, error)
AsCustomTaskTimedOutResponse returns the union data inside the StreamEventSsePayload_Data as a CustomTaskTimedOutResponse
func (StreamEventSsePayload_Data) AsWorkflowExecutionCanceledResponse ¶
func (t StreamEventSsePayload_Data) AsWorkflowExecutionCanceledResponse() (WorkflowExecutionCanceledResponse, error)
AsWorkflowExecutionCanceledResponse returns the union data inside the StreamEventSsePayload_Data as a WorkflowExecutionCanceledResponse
func (StreamEventSsePayload_Data) AsWorkflowExecutionCompletedResponse ¶
func (t StreamEventSsePayload_Data) AsWorkflowExecutionCompletedResponse() (WorkflowExecutionCompletedResponse, error)
AsWorkflowExecutionCompletedResponse returns the union data inside the StreamEventSsePayload_Data as a WorkflowExecutionCompletedResponse
func (StreamEventSsePayload_Data) AsWorkflowExecutionContinuedAsNewResponse ¶
func (t StreamEventSsePayload_Data) AsWorkflowExecutionContinuedAsNewResponse() (WorkflowExecutionContinuedAsNewResponse, error)
AsWorkflowExecutionContinuedAsNewResponse returns the union data inside the StreamEventSsePayload_Data as a WorkflowExecutionContinuedAsNewResponse
func (StreamEventSsePayload_Data) AsWorkflowExecutionFailedResponse ¶
func (t StreamEventSsePayload_Data) AsWorkflowExecutionFailedResponse() (WorkflowExecutionFailedResponse, error)
AsWorkflowExecutionFailedResponse returns the union data inside the StreamEventSsePayload_Data as a WorkflowExecutionFailedResponse
func (StreamEventSsePayload_Data) AsWorkflowExecutionStartedResponse ¶
func (t StreamEventSsePayload_Data) AsWorkflowExecutionStartedResponse() (WorkflowExecutionStartedResponse, error)
AsWorkflowExecutionStartedResponse returns the union data inside the StreamEventSsePayload_Data as a WorkflowExecutionStartedResponse
func (StreamEventSsePayload_Data) AsWorkflowTaskFailedResponse ¶
func (t StreamEventSsePayload_Data) AsWorkflowTaskFailedResponse() (WorkflowTaskFailedResponse, error)
AsWorkflowTaskFailedResponse returns the union data inside the StreamEventSsePayload_Data as a WorkflowTaskFailedResponse
func (StreamEventSsePayload_Data) AsWorkflowTaskTimedOutResponse ¶
func (t StreamEventSsePayload_Data) AsWorkflowTaskTimedOutResponse() (WorkflowTaskTimedOutResponse, error)
AsWorkflowTaskTimedOutResponse returns the union data inside the StreamEventSsePayload_Data as a WorkflowTaskTimedOutResponse
func (*StreamEventSsePayload_Data) FromActivityTaskCompletedResponse ¶
func (t *StreamEventSsePayload_Data) FromActivityTaskCompletedResponse(v ActivityTaskCompletedResponse) error
FromActivityTaskCompletedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided ActivityTaskCompletedResponse
func (*StreamEventSsePayload_Data) FromActivityTaskFailedResponse ¶
func (t *StreamEventSsePayload_Data) FromActivityTaskFailedResponse(v ActivityTaskFailedResponse) error
FromActivityTaskFailedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided ActivityTaskFailedResponse
func (*StreamEventSsePayload_Data) FromActivityTaskRetryingResponse ¶
func (t *StreamEventSsePayload_Data) FromActivityTaskRetryingResponse(v ActivityTaskRetryingResponse) error
FromActivityTaskRetryingResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided ActivityTaskRetryingResponse
func (*StreamEventSsePayload_Data) FromActivityTaskStartedResponse ¶
func (t *StreamEventSsePayload_Data) FromActivityTaskStartedResponse(v ActivityTaskStartedResponse) error
FromActivityTaskStartedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided ActivityTaskStartedResponse
func (*StreamEventSsePayload_Data) FromCustomTaskCanceledResponse ¶
func (t *StreamEventSsePayload_Data) FromCustomTaskCanceledResponse(v CustomTaskCanceledResponse) error
FromCustomTaskCanceledResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided CustomTaskCanceledResponse
func (*StreamEventSsePayload_Data) FromCustomTaskCompletedResponse ¶
func (t *StreamEventSsePayload_Data) FromCustomTaskCompletedResponse(v CustomTaskCompletedResponse) error
FromCustomTaskCompletedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided CustomTaskCompletedResponse
func (*StreamEventSsePayload_Data) FromCustomTaskFailedResponse ¶
func (t *StreamEventSsePayload_Data) FromCustomTaskFailedResponse(v CustomTaskFailedResponse) error
FromCustomTaskFailedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided CustomTaskFailedResponse
func (*StreamEventSsePayload_Data) FromCustomTaskInProgressResponse ¶
func (t *StreamEventSsePayload_Data) FromCustomTaskInProgressResponse(v CustomTaskInProgressResponse) error
FromCustomTaskInProgressResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided CustomTaskInProgressResponse
func (*StreamEventSsePayload_Data) FromCustomTaskStartedResponse ¶
func (t *StreamEventSsePayload_Data) FromCustomTaskStartedResponse(v CustomTaskStartedResponse) error
FromCustomTaskStartedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided CustomTaskStartedResponse
func (*StreamEventSsePayload_Data) FromCustomTaskTimedOutResponse ¶
func (t *StreamEventSsePayload_Data) FromCustomTaskTimedOutResponse(v CustomTaskTimedOutResponse) error
FromCustomTaskTimedOutResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided CustomTaskTimedOutResponse
func (*StreamEventSsePayload_Data) FromWorkflowExecutionCanceledResponse ¶
func (t *StreamEventSsePayload_Data) FromWorkflowExecutionCanceledResponse(v WorkflowExecutionCanceledResponse) error
FromWorkflowExecutionCanceledResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided WorkflowExecutionCanceledResponse
func (*StreamEventSsePayload_Data) FromWorkflowExecutionCompletedResponse ¶
func (t *StreamEventSsePayload_Data) FromWorkflowExecutionCompletedResponse(v WorkflowExecutionCompletedResponse) error
FromWorkflowExecutionCompletedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided WorkflowExecutionCompletedResponse
func (*StreamEventSsePayload_Data) FromWorkflowExecutionContinuedAsNewResponse ¶
func (t *StreamEventSsePayload_Data) FromWorkflowExecutionContinuedAsNewResponse(v WorkflowExecutionContinuedAsNewResponse) error
FromWorkflowExecutionContinuedAsNewResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided WorkflowExecutionContinuedAsNewResponse
func (*StreamEventSsePayload_Data) FromWorkflowExecutionFailedResponse ¶
func (t *StreamEventSsePayload_Data) FromWorkflowExecutionFailedResponse(v WorkflowExecutionFailedResponse) error
FromWorkflowExecutionFailedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided WorkflowExecutionFailedResponse
func (*StreamEventSsePayload_Data) FromWorkflowExecutionStartedResponse ¶
func (t *StreamEventSsePayload_Data) FromWorkflowExecutionStartedResponse(v WorkflowExecutionStartedResponse) error
FromWorkflowExecutionStartedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided WorkflowExecutionStartedResponse
func (*StreamEventSsePayload_Data) FromWorkflowTaskFailedResponse ¶
func (t *StreamEventSsePayload_Data) FromWorkflowTaskFailedResponse(v WorkflowTaskFailedResponse) error
FromWorkflowTaskFailedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided WorkflowTaskFailedResponse
func (*StreamEventSsePayload_Data) FromWorkflowTaskTimedOutResponse ¶
func (t *StreamEventSsePayload_Data) FromWorkflowTaskTimedOutResponse(v WorkflowTaskTimedOutResponse) error
FromWorkflowTaskTimedOutResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided WorkflowTaskTimedOutResponse
func (StreamEventSsePayload_Data) MarshalJSON ¶
func (t StreamEventSsePayload_Data) MarshalJSON() ([]byte, error)
func (*StreamEventSsePayload_Data) MergeActivityTaskCompletedResponse ¶
func (t *StreamEventSsePayload_Data) MergeActivityTaskCompletedResponse(v ActivityTaskCompletedResponse) error
MergeActivityTaskCompletedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided ActivityTaskCompletedResponse
func (*StreamEventSsePayload_Data) MergeActivityTaskFailedResponse ¶
func (t *StreamEventSsePayload_Data) MergeActivityTaskFailedResponse(v ActivityTaskFailedResponse) error
MergeActivityTaskFailedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided ActivityTaskFailedResponse
func (*StreamEventSsePayload_Data) MergeActivityTaskRetryingResponse ¶
func (t *StreamEventSsePayload_Data) MergeActivityTaskRetryingResponse(v ActivityTaskRetryingResponse) error
MergeActivityTaskRetryingResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided ActivityTaskRetryingResponse
func (*StreamEventSsePayload_Data) MergeActivityTaskStartedResponse ¶
func (t *StreamEventSsePayload_Data) MergeActivityTaskStartedResponse(v ActivityTaskStartedResponse) error
MergeActivityTaskStartedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided ActivityTaskStartedResponse
func (*StreamEventSsePayload_Data) MergeCustomTaskCanceledResponse ¶
func (t *StreamEventSsePayload_Data) MergeCustomTaskCanceledResponse(v CustomTaskCanceledResponse) error
MergeCustomTaskCanceledResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided CustomTaskCanceledResponse
func (*StreamEventSsePayload_Data) MergeCustomTaskCompletedResponse ¶
func (t *StreamEventSsePayload_Data) MergeCustomTaskCompletedResponse(v CustomTaskCompletedResponse) error
MergeCustomTaskCompletedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided CustomTaskCompletedResponse
func (*StreamEventSsePayload_Data) MergeCustomTaskFailedResponse ¶
func (t *StreamEventSsePayload_Data) MergeCustomTaskFailedResponse(v CustomTaskFailedResponse) error
MergeCustomTaskFailedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided CustomTaskFailedResponse
func (*StreamEventSsePayload_Data) MergeCustomTaskInProgressResponse ¶
func (t *StreamEventSsePayload_Data) MergeCustomTaskInProgressResponse(v CustomTaskInProgressResponse) error
MergeCustomTaskInProgressResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided CustomTaskInProgressResponse
func (*StreamEventSsePayload_Data) MergeCustomTaskStartedResponse ¶
func (t *StreamEventSsePayload_Data) MergeCustomTaskStartedResponse(v CustomTaskStartedResponse) error
MergeCustomTaskStartedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided CustomTaskStartedResponse
func (*StreamEventSsePayload_Data) MergeCustomTaskTimedOutResponse ¶
func (t *StreamEventSsePayload_Data) MergeCustomTaskTimedOutResponse(v CustomTaskTimedOutResponse) error
MergeCustomTaskTimedOutResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided CustomTaskTimedOutResponse
func (*StreamEventSsePayload_Data) MergeWorkflowExecutionCanceledResponse ¶
func (t *StreamEventSsePayload_Data) MergeWorkflowExecutionCanceledResponse(v WorkflowExecutionCanceledResponse) error
MergeWorkflowExecutionCanceledResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided WorkflowExecutionCanceledResponse
func (*StreamEventSsePayload_Data) MergeWorkflowExecutionCompletedResponse ¶
func (t *StreamEventSsePayload_Data) MergeWorkflowExecutionCompletedResponse(v WorkflowExecutionCompletedResponse) error
MergeWorkflowExecutionCompletedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided WorkflowExecutionCompletedResponse
func (*StreamEventSsePayload_Data) MergeWorkflowExecutionContinuedAsNewResponse ¶
func (t *StreamEventSsePayload_Data) MergeWorkflowExecutionContinuedAsNewResponse(v WorkflowExecutionContinuedAsNewResponse) error
MergeWorkflowExecutionContinuedAsNewResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided WorkflowExecutionContinuedAsNewResponse
func (*StreamEventSsePayload_Data) MergeWorkflowExecutionFailedResponse ¶
func (t *StreamEventSsePayload_Data) MergeWorkflowExecutionFailedResponse(v WorkflowExecutionFailedResponse) error
MergeWorkflowExecutionFailedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided WorkflowExecutionFailedResponse
func (*StreamEventSsePayload_Data) MergeWorkflowExecutionStartedResponse ¶
func (t *StreamEventSsePayload_Data) MergeWorkflowExecutionStartedResponse(v WorkflowExecutionStartedResponse) error
MergeWorkflowExecutionStartedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided WorkflowExecutionStartedResponse
func (*StreamEventSsePayload_Data) MergeWorkflowTaskFailedResponse ¶
func (t *StreamEventSsePayload_Data) MergeWorkflowTaskFailedResponse(v WorkflowTaskFailedResponse) error
MergeWorkflowTaskFailedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided WorkflowTaskFailedResponse
func (*StreamEventSsePayload_Data) MergeWorkflowTaskTimedOutResponse ¶
func (t *StreamEventSsePayload_Data) MergeWorkflowTaskTimedOutResponse(v WorkflowTaskTimedOutResponse) error
MergeWorkflowTaskTimedOutResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided WorkflowTaskTimedOutResponse
func (*StreamEventSsePayload_Data) UnmarshalJSON ¶
func (t *StreamEventSsePayload_Data) UnmarshalJSON(b []byte) error
type StreamEventWorkflowContext ¶
type StreamEventWorkflowContext struct {
Namespace string `json:"namespace"`
ParentWorkflowExecId *string `json:"parent_workflow_exec_id,omitempty"`
RootWorkflowExecId *string `json:"root_workflow_exec_id,omitempty"`
WorkflowExecId string `json:"workflow_exec_id"`
WorkflowName string `json:"workflow_name"`
}
StreamEventWorkflowContext defines model for StreamEventWorkflowContext.
type StreamV1WorkflowsExecutionsExecutionIdStreamGetParams ¶
type StreamV1WorkflowsExecutionsExecutionIdStreamGetParams struct {
EventSource *EventSource `form:"event_source,omitempty" json:"event_source,omitempty"`
LastEventId *string `form:"last_event_id,omitempty" json:"last_event_id,omitempty"`
}
StreamV1WorkflowsExecutionsExecutionIdStreamGetParams defines parameters for StreamV1WorkflowsExecutionsExecutionIdStreamGet.
type StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse ¶
type StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseStreamV1WorkflowsExecutionsExecutionIdStreamGetResponse ¶
func ParseStreamV1WorkflowsExecutionsExecutionIdStreamGetResponse(rsp *http.Response) (*StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse, error)
ParseStreamV1WorkflowsExecutionsExecutionIdStreamGetResponse parses an HTTP response from a StreamV1WorkflowsExecutionsExecutionIdStreamGetWithResponse call
func (StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) ContentType ¶
func (r StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) GetBody ¶
func (r StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) GetJSON422 ¶
func (r StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) Status ¶
func (r StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) Status() string
Status returns HTTPResponse.Status
func (StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) StatusCode ¶
func (r StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SystemMessage ¶
type SystemMessage struct {
Content SystemMessage_Content `json:"content"`
Role *SystemMessageRole `json:"role,omitempty"`
}
SystemMessage defines model for SystemMessage.
type SystemMessageContent0 ¶
type SystemMessageContent0 = string
SystemMessageContent0 defines model for SystemMessage.Content.0.
type SystemMessageContent1 ¶
type SystemMessageContent1 = []SystemMessageContentChunks
SystemMessageContent1 defines model for SystemMessage.Content.1.
type SystemMessageContentChunks ¶
type SystemMessageContentChunks struct {
// contains filtered or unexported fields
}
SystemMessageContentChunks defines model for SystemMessageContentChunks.
func (SystemMessageContentChunks) AsTextChunk ¶
func (t SystemMessageContentChunks) AsTextChunk() (TextChunk, error)
AsTextChunk returns the union data inside the SystemMessageContentChunks as a TextChunk
func (SystemMessageContentChunks) AsThinkChunk ¶
func (t SystemMessageContentChunks) AsThinkChunk() (ThinkChunk, error)
AsThinkChunk returns the union data inside the SystemMessageContentChunks as a ThinkChunk
func (SystemMessageContentChunks) Discriminator ¶
func (t SystemMessageContentChunks) Discriminator() (string, error)
func (*SystemMessageContentChunks) FromTextChunk ¶
func (t *SystemMessageContentChunks) FromTextChunk(v TextChunk) error
FromTextChunk overwrites any union data inside the SystemMessageContentChunks as the provided TextChunk
func (*SystemMessageContentChunks) FromThinkChunk ¶
func (t *SystemMessageContentChunks) FromThinkChunk(v ThinkChunk) error
FromThinkChunk overwrites any union data inside the SystemMessageContentChunks as the provided ThinkChunk
func (SystemMessageContentChunks) MarshalJSON ¶
func (t SystemMessageContentChunks) MarshalJSON() ([]byte, error)
func (*SystemMessageContentChunks) MergeTextChunk ¶
func (t *SystemMessageContentChunks) MergeTextChunk(v TextChunk) error
MergeTextChunk performs a merge with any union data inside the SystemMessageContentChunks, using the provided TextChunk
func (*SystemMessageContentChunks) MergeThinkChunk ¶
func (t *SystemMessageContentChunks) MergeThinkChunk(v ThinkChunk) error
MergeThinkChunk performs a merge with any union data inside the SystemMessageContentChunks, using the provided ThinkChunk
func (*SystemMessageContentChunks) UnmarshalJSON ¶
func (t *SystemMessageContentChunks) UnmarshalJSON(b []byte) error
func (SystemMessageContentChunks) ValueByDiscriminator ¶
func (t SystemMessageContentChunks) ValueByDiscriminator() (interface{}, error)
type SystemMessageRole ¶
type SystemMessageRole string
SystemMessageRole defines model for SystemMessage.Role.
const (
SystemMessageRoleSystem SystemMessageRole = "system"
)
Defines values for SystemMessageRole.
func (SystemMessageRole) Valid ¶
func (e SystemMessageRole) Valid() bool
Valid indicates whether the value is a known member of the SystemMessageRole enum.
type SystemMessage_Content ¶
type SystemMessage_Content struct {
// contains filtered or unexported fields
}
SystemMessage_Content defines model for SystemMessage.Content.
func (SystemMessage_Content) AsSystemMessageContent0 ¶
func (t SystemMessage_Content) AsSystemMessageContent0() (SystemMessageContent0, error)
AsSystemMessageContent0 returns the union data inside the SystemMessage_Content as a SystemMessageContent0
func (SystemMessage_Content) AsSystemMessageContent1 ¶
func (t SystemMessage_Content) AsSystemMessageContent1() (SystemMessageContent1, error)
AsSystemMessageContent1 returns the union data inside the SystemMessage_Content as a SystemMessageContent1
func (*SystemMessage_Content) FromSystemMessageContent0 ¶
func (t *SystemMessage_Content) FromSystemMessageContent0(v SystemMessageContent0) error
FromSystemMessageContent0 overwrites any union data inside the SystemMessage_Content as the provided SystemMessageContent0
func (*SystemMessage_Content) FromSystemMessageContent1 ¶
func (t *SystemMessage_Content) FromSystemMessageContent1(v SystemMessageContent1) error
FromSystemMessageContent1 overwrites any union data inside the SystemMessage_Content as the provided SystemMessageContent1
func (SystemMessage_Content) MarshalJSON ¶
func (t SystemMessage_Content) MarshalJSON() ([]byte, error)
func (*SystemMessage_Content) MergeSystemMessageContent0 ¶
func (t *SystemMessage_Content) MergeSystemMessageContent0(v SystemMessageContent0) error
MergeSystemMessageContent0 performs a merge with any union data inside the SystemMessage_Content, using the provided SystemMessageContent0
func (*SystemMessage_Content) MergeSystemMessageContent1 ¶
func (t *SystemMessage_Content) MergeSystemMessageContent1(v SystemMessageContent1) error
MergeSystemMessageContent1 performs a merge with any union data inside the SystemMessage_Content, using the provided SystemMessageContent1
func (*SystemMessage_Content) UnmarshalJSON ¶
func (t *SystemMessage_Content) UnmarshalJSON(b []byte) error
type TempoGetTraceResponse ¶
type TempoGetTraceResponse struct {
// Batches The batches of the trace
Batches *[]TempoTraceBatch `json:"batches,omitempty"`
}
TempoGetTraceResponse Trace response in OpenTelemetry format.
This is the unified trace format used across all trace providers (Tempo, ClickHouse, etc.). Regardless of the underlying backend, all trace data is normalized to this Tempo-compatible OpenTelemetry format to ensure consistency in the API response structure.
type TempoTraceAttribute ¶
type TempoTraceAttribute struct {
// Key The key of the attribute
Key string `json:"key"`
// Value The value of the attribute
Value TempoTraceAttribute_Value `json:"value"`
}
TempoTraceAttribute defines model for TempoTraceAttribute.
type TempoTraceAttributeBoolValue ¶
type TempoTraceAttributeBoolValue struct {
// BoolValue The boolean value of the attribute
BoolValue bool `json:"boolValue"`
}
TempoTraceAttributeBoolValue defines model for TempoTraceAttributeBoolValue.
type TempoTraceAttributeIntValue ¶
type TempoTraceAttributeIntValue struct {
// IntValue The integer value of the attribute
IntValue string `json:"intValue"`
}
TempoTraceAttributeIntValue defines model for TempoTraceAttributeIntValue.
type TempoTraceAttributeStringValue ¶
type TempoTraceAttributeStringValue struct {
// StringValue The string value of the attribute
StringValue string `json:"stringValue"`
}
TempoTraceAttributeStringValue defines model for TempoTraceAttributeStringValue.
type TempoTraceAttribute_Value ¶
type TempoTraceAttribute_Value struct {
// contains filtered or unexported fields
}
TempoTraceAttribute_Value The value of the attribute
func (TempoTraceAttribute_Value) AsTempoTraceAttributeBoolValue ¶
func (t TempoTraceAttribute_Value) AsTempoTraceAttributeBoolValue() (TempoTraceAttributeBoolValue, error)
AsTempoTraceAttributeBoolValue returns the union data inside the TempoTraceAttribute_Value as a TempoTraceAttributeBoolValue
func (TempoTraceAttribute_Value) AsTempoTraceAttributeIntValue ¶
func (t TempoTraceAttribute_Value) AsTempoTraceAttributeIntValue() (TempoTraceAttributeIntValue, error)
AsTempoTraceAttributeIntValue returns the union data inside the TempoTraceAttribute_Value as a TempoTraceAttributeIntValue
func (TempoTraceAttribute_Value) AsTempoTraceAttributeStringValue ¶
func (t TempoTraceAttribute_Value) AsTempoTraceAttributeStringValue() (TempoTraceAttributeStringValue, error)
AsTempoTraceAttributeStringValue returns the union data inside the TempoTraceAttribute_Value as a TempoTraceAttributeStringValue
func (*TempoTraceAttribute_Value) FromTempoTraceAttributeBoolValue ¶
func (t *TempoTraceAttribute_Value) FromTempoTraceAttributeBoolValue(v TempoTraceAttributeBoolValue) error
FromTempoTraceAttributeBoolValue overwrites any union data inside the TempoTraceAttribute_Value as the provided TempoTraceAttributeBoolValue
func (*TempoTraceAttribute_Value) FromTempoTraceAttributeIntValue ¶
func (t *TempoTraceAttribute_Value) FromTempoTraceAttributeIntValue(v TempoTraceAttributeIntValue) error
FromTempoTraceAttributeIntValue overwrites any union data inside the TempoTraceAttribute_Value as the provided TempoTraceAttributeIntValue
func (*TempoTraceAttribute_Value) FromTempoTraceAttributeStringValue ¶
func (t *TempoTraceAttribute_Value) FromTempoTraceAttributeStringValue(v TempoTraceAttributeStringValue) error
FromTempoTraceAttributeStringValue overwrites any union data inside the TempoTraceAttribute_Value as the provided TempoTraceAttributeStringValue
func (TempoTraceAttribute_Value) MarshalJSON ¶
func (t TempoTraceAttribute_Value) MarshalJSON() ([]byte, error)
func (*TempoTraceAttribute_Value) MergeTempoTraceAttributeBoolValue ¶
func (t *TempoTraceAttribute_Value) MergeTempoTraceAttributeBoolValue(v TempoTraceAttributeBoolValue) error
MergeTempoTraceAttributeBoolValue performs a merge with any union data inside the TempoTraceAttribute_Value, using the provided TempoTraceAttributeBoolValue
func (*TempoTraceAttribute_Value) MergeTempoTraceAttributeIntValue ¶
func (t *TempoTraceAttribute_Value) MergeTempoTraceAttributeIntValue(v TempoTraceAttributeIntValue) error
MergeTempoTraceAttributeIntValue performs a merge with any union data inside the TempoTraceAttribute_Value, using the provided TempoTraceAttributeIntValue
func (*TempoTraceAttribute_Value) MergeTempoTraceAttributeStringValue ¶
func (t *TempoTraceAttribute_Value) MergeTempoTraceAttributeStringValue(v TempoTraceAttributeStringValue) error
MergeTempoTraceAttributeStringValue performs a merge with any union data inside the TempoTraceAttribute_Value, using the provided TempoTraceAttributeStringValue
func (*TempoTraceAttribute_Value) UnmarshalJSON ¶
func (t *TempoTraceAttribute_Value) UnmarshalJSON(b []byte) error
type TempoTraceBatch ¶
type TempoTraceBatch struct {
// Resource The resource of the batch
Resource TempoTraceResource `json:"resource"`
// ScopeSpans The spans of the scope
ScopeSpans *[]TempoTraceScopeSpan `json:"scopeSpans,omitempty"`
}
TempoTraceBatch defines model for TempoTraceBatch.
type TempoTraceEvent ¶
type TempoTraceEvent struct {
// Attributes The attributes of the event
Attributes *[]TempoTraceAttribute `json:"attributes,omitempty"`
// Name The name of the event
Name string `json:"name"`
// TimeUnixNano The time of the event in Unix nano
TimeUnixNano string `json:"timeUnixNano"`
}
TempoTraceEvent defines model for TempoTraceEvent.
type TempoTraceResource ¶
type TempoTraceResource struct {
// Attributes The attributes of the resource
Attributes *[]TempoTraceAttribute `json:"attributes,omitempty"`
}
TempoTraceResource defines model for TempoTraceResource.
type TempoTraceScope ¶
type TempoTraceScope struct {
// Name The name of the span
Name string `json:"name"`
}
TempoTraceScope defines model for TempoTraceScope.
type TempoTraceScopeKind ¶
type TempoTraceScopeKind string
TempoTraceScopeKind defines model for TempoTraceScopeKind.
const ( TempoTraceScopeKindSPANKINDCLIENT TempoTraceScopeKind = "SPAN_KIND_CLIENT" TempoTraceScopeKindSPANKINDINTERNAL TempoTraceScopeKind = "SPAN_KIND_INTERNAL" TempoTraceScopeKindSPANKINDSERVER TempoTraceScopeKind = "SPAN_KIND_SERVER" )
Defines values for TempoTraceScopeKind.
func (TempoTraceScopeKind) Valid ¶
func (e TempoTraceScopeKind) Valid() bool
Valid indicates whether the value is a known member of the TempoTraceScopeKind enum.
type TempoTraceScopeSpan ¶
type TempoTraceScopeSpan struct {
// Scope The scope of the span
Scope TempoTraceScope `json:"scope"`
// Spans The spans of the scope
Spans *[]TempoTraceSpan `json:"spans,omitempty"`
}
TempoTraceScopeSpan defines model for TempoTraceScopeSpan.
type TempoTraceSpan ¶
type TempoTraceSpan struct {
// Attributes The attributes of the scope
Attributes *[]TempoTraceAttribute `json:"attributes,omitempty"`
// EndTimeUnixNano The end time of the scope in Unix nano
EndTimeUnixNano string `json:"endTimeUnixNano"`
// Events The events of the scope
Events *[]TempoTraceEvent `json:"events,omitempty"`
// Kind The kind of the scope
Kind TempoTraceScopeKind `json:"kind"`
// Name The name of the scope
Name string `json:"name"`
// ParentSpanId The parent span ID of the scope
ParentSpanId *string `json:"parentSpanId,omitempty"`
// SpanId The span ID of the scope
SpanId string `json:"spanId"`
// StartTimeUnixNano The start time of the scope in Unix nano
StartTimeUnixNano string `json:"startTimeUnixNano"`
// TraceId The trace ID of the scope
TraceId string `json:"traceId"`
}
TempoTraceSpan defines model for TempoTraceSpan.
type TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse ¶
type TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseTerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse ¶
func ParseTerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse(rsp *http.Response) (*TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse, error)
ParseTerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse parses an HTTP response from a TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostWithResponse call
func (TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) ContentType ¶
func (r TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) GetBody ¶
func (r TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) GetJSON422 ¶
func (r TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) Status ¶
func (r TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) Status() string
Status returns HTTPResponse.Status
func (TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) StatusCode ¶
func (r TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TextChunk ¶
type TextChunk struct {
Text string `json:"text"`
Type *TextChunkType `json:"type,omitempty"`
}
TextChunk defines model for TextChunk.
type TextChunkType ¶
type TextChunkType string
TextChunkType defines model for TextChunk.Type.
const (
TextChunkTypeText TextChunkType = "text"
)
Defines values for TextChunkType.
func (TextChunkType) Valid ¶
func (e TextChunkType) Valid() bool
Valid indicates whether the value is a known member of the TextChunkType enum.
type TextContent ¶
type TextContent struct {
UnderscoreMeta *map[string]interface{} `json:"_meta,omitempty"`
Annotations *Annotations `json:"annotations,omitempty"`
Text string `json:"text"`
Type TextContentType `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
TextContent Text content for a message.
func (TextContent) Get ¶
func (a TextContent) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for TextContent. Returns the specified element and whether it was found
func (TextContent) MarshalJSON ¶
func (a TextContent) MarshalJSON() ([]byte, error)
Override default JSON handling for TextContent to handle AdditionalProperties
func (*TextContent) Set ¶
func (a *TextContent) Set(fieldName string, value interface{})
Setter for additional properties for TextContent
func (*TextContent) UnmarshalJSON ¶
func (a *TextContent) UnmarshalJSON(b []byte) error
Override default JSON handling for TextContent to handle AdditionalProperties
type TextContentType ¶
type TextContentType string
TextContentType defines model for TextContent.Type.
const (
TextContentTypeText TextContentType = "text"
)
Defines values for TextContentType.
func (TextContentType) Valid ¶
func (e TextContentType) Valid() bool
Valid indicates whether the value is a known member of the TextContentType enum.
type TextResourceContents ¶
type TextResourceContents struct {
UnderscoreMeta *map[string]interface{} `json:"_meta,omitempty"`
MimeType *string `json:"mimeType,omitempty"`
Text string `json:"text"`
Uri string `json:"uri"`
AdditionalProperties map[string]interface{} `json:"-"`
}
TextResourceContents Text contents of a resource.
func (TextResourceContents) Get ¶
func (a TextResourceContents) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for TextResourceContents. Returns the specified element and whether it was found
func (TextResourceContents) MarshalJSON ¶
func (a TextResourceContents) MarshalJSON() ([]byte, error)
Override default JSON handling for TextResourceContents to handle AdditionalProperties
func (*TextResourceContents) Set ¶
func (a *TextResourceContents) Set(fieldName string, value interface{})
Setter for additional properties for TextResourceContents
func (*TextResourceContents) UnmarshalJSON ¶
func (a *TextResourceContents) UnmarshalJSON(b []byte) error
Override default JSON handling for TextResourceContents to handle AdditionalProperties
type ThinkChunk ¶
type ThinkChunk struct {
// Closed Whether the thinking chunk is closed or not. Currently only used for prefixing.
Closed *bool `json:"closed,omitempty"`
Thinking []ThinkChunk_Thinking_Item `json:"thinking"`
Type *ThinkChunkType `json:"type,omitempty"`
}
ThinkChunk defines model for ThinkChunk.
type ThinkChunkType ¶
type ThinkChunkType string
ThinkChunkType defines model for ThinkChunk.Type.
const (
ThinkChunkTypeThinking ThinkChunkType = "thinking"
)
Defines values for ThinkChunkType.
func (ThinkChunkType) Valid ¶
func (e ThinkChunkType) Valid() bool
Valid indicates whether the value is a known member of the ThinkChunkType enum.
type ThinkChunk_Thinking_Item ¶
type ThinkChunk_Thinking_Item struct {
// contains filtered or unexported fields
}
ThinkChunk_Thinking_Item defines model for ThinkChunk.thinking.Item.
func (ThinkChunk_Thinking_Item) AsReferenceChunk ¶
func (t ThinkChunk_Thinking_Item) AsReferenceChunk() (ReferenceChunk, error)
AsReferenceChunk returns the union data inside the ThinkChunk_Thinking_Item as a ReferenceChunk
func (ThinkChunk_Thinking_Item) AsTextChunk ¶
func (t ThinkChunk_Thinking_Item) AsTextChunk() (TextChunk, error)
AsTextChunk returns the union data inside the ThinkChunk_Thinking_Item as a TextChunk
func (ThinkChunk_Thinking_Item) AsToolReferenceChunk ¶
func (t ThinkChunk_Thinking_Item) AsToolReferenceChunk() (ToolReferenceChunk, error)
AsToolReferenceChunk returns the union data inside the ThinkChunk_Thinking_Item as a ToolReferenceChunk
func (*ThinkChunk_Thinking_Item) FromReferenceChunk ¶
func (t *ThinkChunk_Thinking_Item) FromReferenceChunk(v ReferenceChunk) error
FromReferenceChunk overwrites any union data inside the ThinkChunk_Thinking_Item as the provided ReferenceChunk
func (*ThinkChunk_Thinking_Item) FromTextChunk ¶
func (t *ThinkChunk_Thinking_Item) FromTextChunk(v TextChunk) error
FromTextChunk overwrites any union data inside the ThinkChunk_Thinking_Item as the provided TextChunk
func (*ThinkChunk_Thinking_Item) FromToolReferenceChunk ¶
func (t *ThinkChunk_Thinking_Item) FromToolReferenceChunk(v ToolReferenceChunk) error
FromToolReferenceChunk overwrites any union data inside the ThinkChunk_Thinking_Item as the provided ToolReferenceChunk
func (ThinkChunk_Thinking_Item) MarshalJSON ¶
func (t ThinkChunk_Thinking_Item) MarshalJSON() ([]byte, error)
func (*ThinkChunk_Thinking_Item) MergeReferenceChunk ¶
func (t *ThinkChunk_Thinking_Item) MergeReferenceChunk(v ReferenceChunk) error
MergeReferenceChunk performs a merge with any union data inside the ThinkChunk_Thinking_Item, using the provided ReferenceChunk
func (*ThinkChunk_Thinking_Item) MergeTextChunk ¶
func (t *ThinkChunk_Thinking_Item) MergeTextChunk(v TextChunk) error
MergeTextChunk performs a merge with any union data inside the ThinkChunk_Thinking_Item, using the provided TextChunk
func (*ThinkChunk_Thinking_Item) MergeToolReferenceChunk ¶
func (t *ThinkChunk_Thinking_Item) MergeToolReferenceChunk(v ToolReferenceChunk) error
MergeToolReferenceChunk performs a merge with any union data inside the ThinkChunk_Thinking_Item, using the provided ToolReferenceChunk
func (*ThinkChunk_Thinking_Item) UnmarshalJSON ¶
func (t *ThinkChunk_Thinking_Item) UnmarshalJSON(b []byte) error
type TimeSeriesMetric ¶
type TimeSeriesMetric struct {
Value [][]interface{} `json:"value"`
}
TimeSeriesMetric Time-series metric with timestamp-value pairs.
type TimestampGranularity ¶
type TimestampGranularity string
TimestampGranularity defines model for TimestampGranularity.
const ( TimestampGranularitySegment TimestampGranularity = "segment" TimestampGranularityWord TimestampGranularity = "word" )
Defines values for TimestampGranularity.
func (TimestampGranularity) Valid ¶
func (e TimestampGranularity) Valid() bool
Valid indicates whether the value is a known member of the TimestampGranularity enum.
type ToolAnnotations ¶
type ToolAnnotations struct {
DestructiveHint *bool `json:"destructiveHint,omitempty"`
IdempotentHint *bool `json:"idempotentHint,omitempty"`
OpenWorldHint *bool `json:"openWorldHint,omitempty"`
ReadOnlyHint *bool `json:"readOnlyHint,omitempty"`
Title *string `json:"title,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ToolAnnotations Additional properties describing a Tool to clients.
NOTE: all properties in ToolAnnotations are **hints**. They are not guaranteed to provide a faithful description of tool behavior (including descriptive properties like `title`).
Clients should never make tool use decisions based on ToolAnnotations received from untrusted servers.
func (ToolAnnotations) Get ¶
func (a ToolAnnotations) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ToolAnnotations. Returns the specified element and whether it was found
func (ToolAnnotations) MarshalJSON ¶
func (a ToolAnnotations) MarshalJSON() ([]byte, error)
Override default JSON handling for ToolAnnotations to handle AdditionalProperties
func (*ToolAnnotations) Set ¶
func (a *ToolAnnotations) Set(fieldName string, value interface{})
Setter for additional properties for ToolAnnotations
func (*ToolAnnotations) UnmarshalJSON ¶
func (a *ToolAnnotations) UnmarshalJSON(b []byte) error
Override default JSON handling for ToolAnnotations to handle AdditionalProperties
type ToolCall ¶
type ToolCall struct {
Function FunctionCall `json:"function"`
Id *string `json:"id,omitempty"`
Index *int `json:"index,omitempty"`
Type *ToolTypes `json:"type,omitempty"`
}
ToolCall defines model for ToolCall.
type ToolCallConfirmation ¶
type ToolCallConfirmation struct {
Confirmation ToolCallConfirmationConfirmation `json:"confirmation"`
ToolCallId string `json:"tool_call_id"`
}
ToolCallConfirmation defines model for ToolCallConfirmation.
type ToolCallConfirmationConfirmation ¶
type ToolCallConfirmationConfirmation string
ToolCallConfirmationConfirmation defines model for ToolCallConfirmation.Confirmation.
const ( ToolCallConfirmationConfirmationAllow ToolCallConfirmationConfirmation = "allow" ToolCallConfirmationConfirmationDeny ToolCallConfirmationConfirmation = "deny" )
Defines values for ToolCallConfirmationConfirmation.
func (ToolCallConfirmationConfirmation) Valid ¶
func (e ToolCallConfirmationConfirmation) Valid() bool
Valid indicates whether the value is a known member of the ToolCallConfirmationConfirmation enum.
type ToolChoice ¶
type ToolChoice struct {
// Function this restriction of `Function` is used to select a specific function to call
Function FunctionName `json:"function"`
Type *ToolTypes `json:"type,omitempty"`
}
ToolChoice ToolChoice is either a ToolChoiceEnum or a ToolChoice
type ToolChoiceEnum ¶
type ToolChoiceEnum string
ToolChoiceEnum defines model for ToolChoiceEnum.
const ( ToolChoiceEnumAny ToolChoiceEnum = "any" ToolChoiceEnumAuto ToolChoiceEnum = "auto" ToolChoiceEnumNone ToolChoiceEnum = "none" ToolChoiceEnumRequired ToolChoiceEnum = "required" )
Defines values for ToolChoiceEnum.
func (ToolChoiceEnum) Valid ¶
func (e ToolChoiceEnum) Valid() bool
Valid indicates whether the value is a known member of the ToolChoiceEnum enum.
type ToolConfiguration ¶
type ToolConfiguration struct {
Exclude *[]string `json:"exclude,omitempty"`
Include *[]string `json:"include,omitempty"`
RequiresConfirmation *[]string `json:"requires_confirmation,omitempty"`
}
ToolConfiguration defines model for ToolConfiguration.
type ToolExecution ¶
type ToolExecution struct {
TaskSupport *ToolExecutionTaskSupport `json:"taskSupport,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ToolExecution Execution-related properties for a tool.
func (ToolExecution) Get ¶
func (a ToolExecution) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ToolExecution. Returns the specified element and whether it was found
func (ToolExecution) MarshalJSON ¶
func (a ToolExecution) MarshalJSON() ([]byte, error)
Override default JSON handling for ToolExecution to handle AdditionalProperties
func (*ToolExecution) Set ¶
func (a *ToolExecution) Set(fieldName string, value interface{})
Setter for additional properties for ToolExecution
func (*ToolExecution) UnmarshalJSON ¶
func (a *ToolExecution) UnmarshalJSON(b []byte) error
Override default JSON handling for ToolExecution to handle AdditionalProperties
type ToolExecutionDeltaEvent ¶
type ToolExecutionDeltaEvent struct {
Arguments string `json:"arguments"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Id string `json:"id"`
Name ToolExecutionDeltaEvent_Name `json:"name"`
OutputIndex *int `json:"output_index,omitempty"`
Type *ToolExecutionDeltaEventType `json:"type,omitempty"`
}
ToolExecutionDeltaEvent defines model for ToolExecutionDeltaEvent.
type ToolExecutionDeltaEventName1 ¶
type ToolExecutionDeltaEventName1 = string
ToolExecutionDeltaEventName1 defines model for ToolExecutionDeltaEvent.Name.1.
type ToolExecutionDeltaEventType ¶
type ToolExecutionDeltaEventType string
ToolExecutionDeltaEventType defines model for ToolExecutionDeltaEvent.Type.
const (
ToolExecutionDeltaEventTypeToolExecutionDelta ToolExecutionDeltaEventType = "tool.execution.delta"
)
Defines values for ToolExecutionDeltaEventType.
func (ToolExecutionDeltaEventType) Valid ¶
func (e ToolExecutionDeltaEventType) Valid() bool
Valid indicates whether the value is a known member of the ToolExecutionDeltaEventType enum.
type ToolExecutionDeltaEvent_Name ¶
type ToolExecutionDeltaEvent_Name struct {
// contains filtered or unexported fields
}
ToolExecutionDeltaEvent_Name defines model for ToolExecutionDeltaEvent.Name.
func (ToolExecutionDeltaEvent_Name) AsBuiltInConnectors ¶
func (t ToolExecutionDeltaEvent_Name) AsBuiltInConnectors() (BuiltInConnectors, error)
AsBuiltInConnectors returns the union data inside the ToolExecutionDeltaEvent_Name as a BuiltInConnectors
func (ToolExecutionDeltaEvent_Name) AsToolExecutionDeltaEventName1 ¶
func (t ToolExecutionDeltaEvent_Name) AsToolExecutionDeltaEventName1() (ToolExecutionDeltaEventName1, error)
AsToolExecutionDeltaEventName1 returns the union data inside the ToolExecutionDeltaEvent_Name as a ToolExecutionDeltaEventName1
func (*ToolExecutionDeltaEvent_Name) FromBuiltInConnectors ¶
func (t *ToolExecutionDeltaEvent_Name) FromBuiltInConnectors(v BuiltInConnectors) error
FromBuiltInConnectors overwrites any union data inside the ToolExecutionDeltaEvent_Name as the provided BuiltInConnectors
func (*ToolExecutionDeltaEvent_Name) FromToolExecutionDeltaEventName1 ¶
func (t *ToolExecutionDeltaEvent_Name) FromToolExecutionDeltaEventName1(v ToolExecutionDeltaEventName1) error
FromToolExecutionDeltaEventName1 overwrites any union data inside the ToolExecutionDeltaEvent_Name as the provided ToolExecutionDeltaEventName1
func (ToolExecutionDeltaEvent_Name) MarshalJSON ¶
func (t ToolExecutionDeltaEvent_Name) MarshalJSON() ([]byte, error)
func (*ToolExecutionDeltaEvent_Name) MergeBuiltInConnectors ¶
func (t *ToolExecutionDeltaEvent_Name) MergeBuiltInConnectors(v BuiltInConnectors) error
MergeBuiltInConnectors performs a merge with any union data inside the ToolExecutionDeltaEvent_Name, using the provided BuiltInConnectors
func (*ToolExecutionDeltaEvent_Name) MergeToolExecutionDeltaEventName1 ¶
func (t *ToolExecutionDeltaEvent_Name) MergeToolExecutionDeltaEventName1(v ToolExecutionDeltaEventName1) error
MergeToolExecutionDeltaEventName1 performs a merge with any union data inside the ToolExecutionDeltaEvent_Name, using the provided ToolExecutionDeltaEventName1
func (*ToolExecutionDeltaEvent_Name) UnmarshalJSON ¶
func (t *ToolExecutionDeltaEvent_Name) UnmarshalJSON(b []byte) error
type ToolExecutionDoneEvent ¶
type ToolExecutionDoneEvent struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
Id string `json:"id"`
Info *ToolExecutionInfo `json:"info,omitempty"`
Name ToolExecutionDoneEvent_Name `json:"name"`
OutputIndex *int `json:"output_index,omitempty"`
Type *ToolExecutionDoneEventType `json:"type,omitempty"`
}
ToolExecutionDoneEvent defines model for ToolExecutionDoneEvent.
type ToolExecutionDoneEventName1 ¶
type ToolExecutionDoneEventName1 = string
ToolExecutionDoneEventName1 defines model for ToolExecutionDoneEvent.Name.1.
type ToolExecutionDoneEventType ¶
type ToolExecutionDoneEventType string
ToolExecutionDoneEventType defines model for ToolExecutionDoneEvent.Type.
const (
ToolExecutionDoneEventTypeToolExecutionDone ToolExecutionDoneEventType = "tool.execution.done"
)
Defines values for ToolExecutionDoneEventType.
func (ToolExecutionDoneEventType) Valid ¶
func (e ToolExecutionDoneEventType) Valid() bool
Valid indicates whether the value is a known member of the ToolExecutionDoneEventType enum.
type ToolExecutionDoneEvent_Name ¶
type ToolExecutionDoneEvent_Name struct {
// contains filtered or unexported fields
}
ToolExecutionDoneEvent_Name defines model for ToolExecutionDoneEvent.Name.
func (ToolExecutionDoneEvent_Name) AsBuiltInConnectors ¶
func (t ToolExecutionDoneEvent_Name) AsBuiltInConnectors() (BuiltInConnectors, error)
AsBuiltInConnectors returns the union data inside the ToolExecutionDoneEvent_Name as a BuiltInConnectors
func (ToolExecutionDoneEvent_Name) AsToolExecutionDoneEventName1 ¶
func (t ToolExecutionDoneEvent_Name) AsToolExecutionDoneEventName1() (ToolExecutionDoneEventName1, error)
AsToolExecutionDoneEventName1 returns the union data inside the ToolExecutionDoneEvent_Name as a ToolExecutionDoneEventName1
func (*ToolExecutionDoneEvent_Name) FromBuiltInConnectors ¶
func (t *ToolExecutionDoneEvent_Name) FromBuiltInConnectors(v BuiltInConnectors) error
FromBuiltInConnectors overwrites any union data inside the ToolExecutionDoneEvent_Name as the provided BuiltInConnectors
func (*ToolExecutionDoneEvent_Name) FromToolExecutionDoneEventName1 ¶
func (t *ToolExecutionDoneEvent_Name) FromToolExecutionDoneEventName1(v ToolExecutionDoneEventName1) error
FromToolExecutionDoneEventName1 overwrites any union data inside the ToolExecutionDoneEvent_Name as the provided ToolExecutionDoneEventName1
func (ToolExecutionDoneEvent_Name) MarshalJSON ¶
func (t ToolExecutionDoneEvent_Name) MarshalJSON() ([]byte, error)
func (*ToolExecutionDoneEvent_Name) MergeBuiltInConnectors ¶
func (t *ToolExecutionDoneEvent_Name) MergeBuiltInConnectors(v BuiltInConnectors) error
MergeBuiltInConnectors performs a merge with any union data inside the ToolExecutionDoneEvent_Name, using the provided BuiltInConnectors
func (*ToolExecutionDoneEvent_Name) MergeToolExecutionDoneEventName1 ¶
func (t *ToolExecutionDoneEvent_Name) MergeToolExecutionDoneEventName1(v ToolExecutionDoneEventName1) error
MergeToolExecutionDoneEventName1 performs a merge with any union data inside the ToolExecutionDoneEvent_Name, using the provided ToolExecutionDoneEventName1
func (*ToolExecutionDoneEvent_Name) UnmarshalJSON ¶
func (t *ToolExecutionDoneEvent_Name) UnmarshalJSON(b []byte) error
type ToolExecutionEntry ¶
type ToolExecutionEntry struct {
AgentId *string `json:"agent_id,omitempty"`
Arguments string `json:"arguments"`
CompletedAt *time.Time `json:"completed_at,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Id *string `json:"id,omitempty"`
Info *ToolExecutionInfo `json:"info,omitempty"`
Model *string `json:"model,omitempty"`
Name ToolExecutionEntry_Name `json:"name"`
Object *ToolExecutionEntryObject `json:"object,omitempty"`
Type *ToolExecutionEntryType `json:"type,omitempty"`
}
ToolExecutionEntry defines model for ToolExecutionEntry.
type ToolExecutionEntryName1 ¶
type ToolExecutionEntryName1 = string
ToolExecutionEntryName1 defines model for ToolExecutionEntry.Name.1.
type ToolExecutionEntryObject ¶
type ToolExecutionEntryObject string
ToolExecutionEntryObject defines model for ToolExecutionEntry.Object.
const (
ToolExecutionEntryObjectEntry ToolExecutionEntryObject = "entry"
)
Defines values for ToolExecutionEntryObject.
func (ToolExecutionEntryObject) Valid ¶
func (e ToolExecutionEntryObject) Valid() bool
Valid indicates whether the value is a known member of the ToolExecutionEntryObject enum.
type ToolExecutionEntryType ¶
type ToolExecutionEntryType string
ToolExecutionEntryType defines model for ToolExecutionEntry.Type.
const (
ToolExecutionEntryTypeToolExecution ToolExecutionEntryType = "tool.execution"
)
Defines values for ToolExecutionEntryType.
func (ToolExecutionEntryType) Valid ¶
func (e ToolExecutionEntryType) Valid() bool
Valid indicates whether the value is a known member of the ToolExecutionEntryType enum.
type ToolExecutionEntry_Name ¶
type ToolExecutionEntry_Name struct {
// contains filtered or unexported fields
}
ToolExecutionEntry_Name defines model for ToolExecutionEntry.Name.
func (ToolExecutionEntry_Name) AsBuiltInConnectors ¶
func (t ToolExecutionEntry_Name) AsBuiltInConnectors() (BuiltInConnectors, error)
AsBuiltInConnectors returns the union data inside the ToolExecutionEntry_Name as a BuiltInConnectors
func (ToolExecutionEntry_Name) AsToolExecutionEntryName1 ¶
func (t ToolExecutionEntry_Name) AsToolExecutionEntryName1() (ToolExecutionEntryName1, error)
AsToolExecutionEntryName1 returns the union data inside the ToolExecutionEntry_Name as a ToolExecutionEntryName1
func (*ToolExecutionEntry_Name) FromBuiltInConnectors ¶
func (t *ToolExecutionEntry_Name) FromBuiltInConnectors(v BuiltInConnectors) error
FromBuiltInConnectors overwrites any union data inside the ToolExecutionEntry_Name as the provided BuiltInConnectors
func (*ToolExecutionEntry_Name) FromToolExecutionEntryName1 ¶
func (t *ToolExecutionEntry_Name) FromToolExecutionEntryName1(v ToolExecutionEntryName1) error
FromToolExecutionEntryName1 overwrites any union data inside the ToolExecutionEntry_Name as the provided ToolExecutionEntryName1
func (ToolExecutionEntry_Name) MarshalJSON ¶
func (t ToolExecutionEntry_Name) MarshalJSON() ([]byte, error)
func (*ToolExecutionEntry_Name) MergeBuiltInConnectors ¶
func (t *ToolExecutionEntry_Name) MergeBuiltInConnectors(v BuiltInConnectors) error
MergeBuiltInConnectors performs a merge with any union data inside the ToolExecutionEntry_Name, using the provided BuiltInConnectors
func (*ToolExecutionEntry_Name) MergeToolExecutionEntryName1 ¶
func (t *ToolExecutionEntry_Name) MergeToolExecutionEntryName1(v ToolExecutionEntryName1) error
MergeToolExecutionEntryName1 performs a merge with any union data inside the ToolExecutionEntry_Name, using the provided ToolExecutionEntryName1
func (*ToolExecutionEntry_Name) UnmarshalJSON ¶
func (t *ToolExecutionEntry_Name) UnmarshalJSON(b []byte) error
type ToolExecutionInfo ¶
type ToolExecutionInfo map[string]interface{}
ToolExecutionInfo defines model for ToolExecutionInfo.
type ToolExecutionStartedEvent ¶
type ToolExecutionStartedEvent struct {
AgentId *string `json:"agent_id,omitempty"`
Arguments string `json:"arguments"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Id string `json:"id"`
Model *string `json:"model,omitempty"`
Name ToolExecutionStartedEvent_Name `json:"name"`
OutputIndex *int `json:"output_index,omitempty"`
Type *ToolExecutionStartedEventType `json:"type,omitempty"`
}
ToolExecutionStartedEvent defines model for ToolExecutionStartedEvent.
type ToolExecutionStartedEventName1 ¶
type ToolExecutionStartedEventName1 = string
ToolExecutionStartedEventName1 defines model for ToolExecutionStartedEvent.Name.1.
type ToolExecutionStartedEventType ¶
type ToolExecutionStartedEventType string
ToolExecutionStartedEventType defines model for ToolExecutionStartedEvent.Type.
const (
ToolExecutionStartedEventTypeToolExecutionStarted ToolExecutionStartedEventType = "tool.execution.started"
)
Defines values for ToolExecutionStartedEventType.
func (ToolExecutionStartedEventType) Valid ¶
func (e ToolExecutionStartedEventType) Valid() bool
Valid indicates whether the value is a known member of the ToolExecutionStartedEventType enum.
type ToolExecutionStartedEvent_Name ¶
type ToolExecutionStartedEvent_Name struct {
// contains filtered or unexported fields
}
ToolExecutionStartedEvent_Name defines model for ToolExecutionStartedEvent.Name.
func (ToolExecutionStartedEvent_Name) AsBuiltInConnectors ¶
func (t ToolExecutionStartedEvent_Name) AsBuiltInConnectors() (BuiltInConnectors, error)
AsBuiltInConnectors returns the union data inside the ToolExecutionStartedEvent_Name as a BuiltInConnectors
func (ToolExecutionStartedEvent_Name) AsToolExecutionStartedEventName1 ¶
func (t ToolExecutionStartedEvent_Name) AsToolExecutionStartedEventName1() (ToolExecutionStartedEventName1, error)
AsToolExecutionStartedEventName1 returns the union data inside the ToolExecutionStartedEvent_Name as a ToolExecutionStartedEventName1
func (*ToolExecutionStartedEvent_Name) FromBuiltInConnectors ¶
func (t *ToolExecutionStartedEvent_Name) FromBuiltInConnectors(v BuiltInConnectors) error
FromBuiltInConnectors overwrites any union data inside the ToolExecutionStartedEvent_Name as the provided BuiltInConnectors
func (*ToolExecutionStartedEvent_Name) FromToolExecutionStartedEventName1 ¶
func (t *ToolExecutionStartedEvent_Name) FromToolExecutionStartedEventName1(v ToolExecutionStartedEventName1) error
FromToolExecutionStartedEventName1 overwrites any union data inside the ToolExecutionStartedEvent_Name as the provided ToolExecutionStartedEventName1
func (ToolExecutionStartedEvent_Name) MarshalJSON ¶
func (t ToolExecutionStartedEvent_Name) MarshalJSON() ([]byte, error)
func (*ToolExecutionStartedEvent_Name) MergeBuiltInConnectors ¶
func (t *ToolExecutionStartedEvent_Name) MergeBuiltInConnectors(v BuiltInConnectors) error
MergeBuiltInConnectors performs a merge with any union data inside the ToolExecutionStartedEvent_Name, using the provided BuiltInConnectors
func (*ToolExecutionStartedEvent_Name) MergeToolExecutionStartedEventName1 ¶
func (t *ToolExecutionStartedEvent_Name) MergeToolExecutionStartedEventName1(v ToolExecutionStartedEventName1) error
MergeToolExecutionStartedEventName1 performs a merge with any union data inside the ToolExecutionStartedEvent_Name, using the provided ToolExecutionStartedEventName1
func (*ToolExecutionStartedEvent_Name) UnmarshalJSON ¶
func (t *ToolExecutionStartedEvent_Name) UnmarshalJSON(b []byte) error
type ToolExecutionTaskSupport ¶
type ToolExecutionTaskSupport string
ToolExecutionTaskSupport defines model for ToolExecution.TaskSupport.
const ( ToolExecutionTaskSupportForbidden ToolExecutionTaskSupport = "forbidden" ToolExecutionTaskSupportOptional ToolExecutionTaskSupport = "optional" ToolExecutionTaskSupportRequired ToolExecutionTaskSupport = "required" )
Defines values for ToolExecutionTaskSupport.
func (ToolExecutionTaskSupport) Valid ¶
func (e ToolExecutionTaskSupport) Valid() bool
Valid indicates whether the value is a known member of the ToolExecutionTaskSupport enum.
type ToolFileChunk ¶
type ToolFileChunk struct {
FileId string `json:"file_id"`
FileName *string `json:"file_name,omitempty"`
FileType *string `json:"file_type,omitempty"`
Tool ToolFileChunk_Tool `json:"tool"`
Type *ToolFileChunkType `json:"type,omitempty"`
}
ToolFileChunk defines model for ToolFileChunk.
type ToolFileChunkTool1 ¶
type ToolFileChunkTool1 = string
ToolFileChunkTool1 defines model for ToolFileChunk.Tool.1.
type ToolFileChunkType ¶
type ToolFileChunkType string
ToolFileChunkType defines model for ToolFileChunk.Type.
const (
ToolFileChunkTypeToolFile ToolFileChunkType = "tool_file"
)
Defines values for ToolFileChunkType.
func (ToolFileChunkType) Valid ¶
func (e ToolFileChunkType) Valid() bool
Valid indicates whether the value is a known member of the ToolFileChunkType enum.
type ToolFileChunk_Tool ¶
type ToolFileChunk_Tool struct {
// contains filtered or unexported fields
}
ToolFileChunk_Tool defines model for ToolFileChunk.Tool.
func (ToolFileChunk_Tool) AsBuiltInConnectors ¶
func (t ToolFileChunk_Tool) AsBuiltInConnectors() (BuiltInConnectors, error)
AsBuiltInConnectors returns the union data inside the ToolFileChunk_Tool as a BuiltInConnectors
func (ToolFileChunk_Tool) AsToolFileChunkTool1 ¶
func (t ToolFileChunk_Tool) AsToolFileChunkTool1() (ToolFileChunkTool1, error)
AsToolFileChunkTool1 returns the union data inside the ToolFileChunk_Tool as a ToolFileChunkTool1
func (*ToolFileChunk_Tool) FromBuiltInConnectors ¶
func (t *ToolFileChunk_Tool) FromBuiltInConnectors(v BuiltInConnectors) error
FromBuiltInConnectors overwrites any union data inside the ToolFileChunk_Tool as the provided BuiltInConnectors
func (*ToolFileChunk_Tool) FromToolFileChunkTool1 ¶
func (t *ToolFileChunk_Tool) FromToolFileChunkTool1(v ToolFileChunkTool1) error
FromToolFileChunkTool1 overwrites any union data inside the ToolFileChunk_Tool as the provided ToolFileChunkTool1
func (ToolFileChunk_Tool) MarshalJSON ¶
func (t ToolFileChunk_Tool) MarshalJSON() ([]byte, error)
func (*ToolFileChunk_Tool) MergeBuiltInConnectors ¶
func (t *ToolFileChunk_Tool) MergeBuiltInConnectors(v BuiltInConnectors) error
MergeBuiltInConnectors performs a merge with any union data inside the ToolFileChunk_Tool, using the provided BuiltInConnectors
func (*ToolFileChunk_Tool) MergeToolFileChunkTool1 ¶
func (t *ToolFileChunk_Tool) MergeToolFileChunkTool1(v ToolFileChunkTool1) error
MergeToolFileChunkTool1 performs a merge with any union data inside the ToolFileChunk_Tool, using the provided ToolFileChunkTool1
func (*ToolFileChunk_Tool) UnmarshalJSON ¶
func (t *ToolFileChunk_Tool) UnmarshalJSON(b []byte) error
type ToolMessage ¶
type ToolMessage struct {
Content *ToolMessage_Content `json:"content"`
Name *string `json:"name,omitempty"`
Role *ToolMessageRole `json:"role,omitempty"`
ToolCallId *string `json:"tool_call_id,omitempty"`
}
ToolMessage defines model for ToolMessage.
type ToolMessageContent0 ¶
type ToolMessageContent0 = string
ToolMessageContent0 defines model for ToolMessage.Content.0.
type ToolMessageContent2 ¶
type ToolMessageContent2 = []ContentChunk
ToolMessageContent2 defines model for ToolMessage.Content.2.
type ToolMessageRole ¶
type ToolMessageRole string
ToolMessageRole defines model for ToolMessage.Role.
const (
ToolMessageRoleTool ToolMessageRole = "tool"
)
Defines values for ToolMessageRole.
func (ToolMessageRole) Valid ¶
func (e ToolMessageRole) Valid() bool
Valid indicates whether the value is a known member of the ToolMessageRole enum.
type ToolMessage_Content ¶
type ToolMessage_Content struct {
// contains filtered or unexported fields
}
ToolMessage_Content defines model for ToolMessage.Content.
func (ToolMessage_Content) AsToolMessageContent0 ¶
func (t ToolMessage_Content) AsToolMessageContent0() (ToolMessageContent0, error)
AsToolMessageContent0 returns the union data inside the ToolMessage_Content as a ToolMessageContent0
func (ToolMessage_Content) AsToolMessageContent2 ¶
func (t ToolMessage_Content) AsToolMessageContent2() (ToolMessageContent2, error)
AsToolMessageContent2 returns the union data inside the ToolMessage_Content as a ToolMessageContent2
func (*ToolMessage_Content) FromToolMessageContent0 ¶
func (t *ToolMessage_Content) FromToolMessageContent0(v ToolMessageContent0) error
FromToolMessageContent0 overwrites any union data inside the ToolMessage_Content as the provided ToolMessageContent0
func (*ToolMessage_Content) FromToolMessageContent2 ¶
func (t *ToolMessage_Content) FromToolMessageContent2(v ToolMessageContent2) error
FromToolMessageContent2 overwrites any union data inside the ToolMessage_Content as the provided ToolMessageContent2
func (ToolMessage_Content) MarshalJSON ¶
func (t ToolMessage_Content) MarshalJSON() ([]byte, error)
func (*ToolMessage_Content) MergeToolMessageContent0 ¶
func (t *ToolMessage_Content) MergeToolMessageContent0(v ToolMessageContent0) error
MergeToolMessageContent0 performs a merge with any union data inside the ToolMessage_Content, using the provided ToolMessageContent0
func (*ToolMessage_Content) MergeToolMessageContent2 ¶
func (t *ToolMessage_Content) MergeToolMessageContent2(v ToolMessageContent2) error
MergeToolMessageContent2 performs a merge with any union data inside the ToolMessage_Content, using the provided ToolMessageContent2
func (*ToolMessage_Content) UnmarshalJSON ¶
func (t *ToolMessage_Content) UnmarshalJSON(b []byte) error
type ToolReferenceChunk ¶
type ToolReferenceChunk struct {
Description *string `json:"description,omitempty"`
Favicon *string `json:"favicon,omitempty"`
Title string `json:"title"`
Tool ToolReferenceChunk_Tool `json:"tool"`
Type *ToolReferenceChunkType `json:"type,omitempty"`
Url *string `json:"url,omitempty"`
}
ToolReferenceChunk defines model for ToolReferenceChunk.
type ToolReferenceChunkTool1 ¶
type ToolReferenceChunkTool1 = string
ToolReferenceChunkTool1 defines model for ToolReferenceChunk.Tool.1.
type ToolReferenceChunkType ¶
type ToolReferenceChunkType string
ToolReferenceChunkType defines model for ToolReferenceChunk.Type.
const (
ToolReferenceChunkTypeToolReference ToolReferenceChunkType = "tool_reference"
)
Defines values for ToolReferenceChunkType.
func (ToolReferenceChunkType) Valid ¶
func (e ToolReferenceChunkType) Valid() bool
Valid indicates whether the value is a known member of the ToolReferenceChunkType enum.
type ToolReferenceChunk_Tool ¶
type ToolReferenceChunk_Tool struct {
// contains filtered or unexported fields
}
ToolReferenceChunk_Tool defines model for ToolReferenceChunk.Tool.
func (ToolReferenceChunk_Tool) AsBuiltInConnectors ¶
func (t ToolReferenceChunk_Tool) AsBuiltInConnectors() (BuiltInConnectors, error)
AsBuiltInConnectors returns the union data inside the ToolReferenceChunk_Tool as a BuiltInConnectors
func (ToolReferenceChunk_Tool) AsToolReferenceChunkTool1 ¶
func (t ToolReferenceChunk_Tool) AsToolReferenceChunkTool1() (ToolReferenceChunkTool1, error)
AsToolReferenceChunkTool1 returns the union data inside the ToolReferenceChunk_Tool as a ToolReferenceChunkTool1
func (*ToolReferenceChunk_Tool) FromBuiltInConnectors ¶
func (t *ToolReferenceChunk_Tool) FromBuiltInConnectors(v BuiltInConnectors) error
FromBuiltInConnectors overwrites any union data inside the ToolReferenceChunk_Tool as the provided BuiltInConnectors
func (*ToolReferenceChunk_Tool) FromToolReferenceChunkTool1 ¶
func (t *ToolReferenceChunk_Tool) FromToolReferenceChunkTool1(v ToolReferenceChunkTool1) error
FromToolReferenceChunkTool1 overwrites any union data inside the ToolReferenceChunk_Tool as the provided ToolReferenceChunkTool1
func (ToolReferenceChunk_Tool) MarshalJSON ¶
func (t ToolReferenceChunk_Tool) MarshalJSON() ([]byte, error)
func (*ToolReferenceChunk_Tool) MergeBuiltInConnectors ¶
func (t *ToolReferenceChunk_Tool) MergeBuiltInConnectors(v BuiltInConnectors) error
MergeBuiltInConnectors performs a merge with any union data inside the ToolReferenceChunk_Tool, using the provided BuiltInConnectors
func (*ToolReferenceChunk_Tool) MergeToolReferenceChunkTool1 ¶
func (t *ToolReferenceChunk_Tool) MergeToolReferenceChunkTool1(v ToolReferenceChunkTool1) error
MergeToolReferenceChunkTool1 performs a merge with any union data inside the ToolReferenceChunk_Tool, using the provided ToolReferenceChunkTool1
func (*ToolReferenceChunk_Tool) UnmarshalJSON ¶
func (t *ToolReferenceChunk_Tool) UnmarshalJSON(b []byte) error
type ToolType ¶
type ToolType string
ToolType defines model for ToolType.
type ToolTypes ¶
type ToolTypes string
ToolTypes defines model for ToolTypes.
const (
ToolTypesFunction ToolTypes = "function"
)
Defines values for ToolTypes.
type TrainingFile ¶
type TrainingFile struct {
FileId openapi_types.UUID `json:"file_id"`
Weight *float32 `json:"weight,omitempty"`
}
TrainingFile defines model for TrainingFile.
type TranscriptionResponse ¶
type TranscriptionResponse struct {
Language *string `json:"language"`
Model string `json:"model"`
Segments *[]TranscriptionSegmentChunk `json:"segments,omitempty"`
Text string `json:"text"`
Usage UsageInfo `json:"usage"`
}
TranscriptionResponse defines model for TranscriptionResponse.
type TranscriptionSegmentChunk ¶
type TranscriptionSegmentChunk struct {
End float32 `json:"end"`
Score *float32 `json:"score,omitempty"`
SpeakerId *string `json:"speaker_id,omitempty"`
Start float32 `json:"start"`
Text string `json:"text"`
Type *TranscriptionSegmentChunkType `json:"type,omitempty"`
}
TranscriptionSegmentChunk defines model for TranscriptionSegmentChunk.
type TranscriptionSegmentChunkType ¶
type TranscriptionSegmentChunkType string
TranscriptionSegmentChunkType defines model for TranscriptionSegmentChunk.Type.
const (
TranscriptionSegmentChunkTypeTranscriptionSegment TranscriptionSegmentChunkType = "transcription_segment"
)
Defines values for TranscriptionSegmentChunkType.
func (TranscriptionSegmentChunkType) Valid ¶
func (e TranscriptionSegmentChunkType) Valid() bool
Valid indicates whether the value is a known member of the TranscriptionSegmentChunkType enum.
type TranscriptionStreamDone ¶
type TranscriptionStreamDone struct {
Language *string `json:"language"`
Model string `json:"model"`
Segments *[]TranscriptionSegmentChunk `json:"segments,omitempty"`
Text string `json:"text"`
Type *TranscriptionStreamDoneType `json:"type,omitempty"`
Usage UsageInfo `json:"usage"`
}
TranscriptionStreamDone defines model for TranscriptionStreamDone.
type TranscriptionStreamDoneType ¶
type TranscriptionStreamDoneType string
TranscriptionStreamDoneType defines model for TranscriptionStreamDone.Type.
const (
TranscriptionStreamDoneTypeTranscriptionDone TranscriptionStreamDoneType = "transcription.done"
)
Defines values for TranscriptionStreamDoneType.
func (TranscriptionStreamDoneType) Valid ¶
func (e TranscriptionStreamDoneType) Valid() bool
Valid indicates whether the value is a known member of the TranscriptionStreamDoneType enum.
type TranscriptionStreamEventTypes ¶
type TranscriptionStreamEventTypes string
TranscriptionStreamEventTypes defines model for TranscriptionStreamEventTypes.
const ( TranscriptionStreamEventTypesTranscriptionDone TranscriptionStreamEventTypes = "transcription.done" TranscriptionStreamEventTypesTranscriptionLanguage TranscriptionStreamEventTypes = "transcription.language" TranscriptionStreamEventTypesTranscriptionSegment TranscriptionStreamEventTypes = "transcription.segment" TranscriptionStreamEventTypesTranscriptionTextDelta TranscriptionStreamEventTypes = "transcription.text.delta" )
Defines values for TranscriptionStreamEventTypes.
func (TranscriptionStreamEventTypes) Valid ¶
func (e TranscriptionStreamEventTypes) Valid() bool
Valid indicates whether the value is a known member of the TranscriptionStreamEventTypes enum.
type TranscriptionStreamEvents ¶
type TranscriptionStreamEvents struct {
Data TranscriptionStreamEvents_Data `json:"data"`
Event TranscriptionStreamEventTypes `json:"event"`
}
TranscriptionStreamEvents defines model for TranscriptionStreamEvents.
type TranscriptionStreamEvents_Data ¶
type TranscriptionStreamEvents_Data struct {
// contains filtered or unexported fields
}
TranscriptionStreamEvents_Data defines model for TranscriptionStreamEvents.Data.
func (TranscriptionStreamEvents_Data) AsTranscriptionStreamDone ¶
func (t TranscriptionStreamEvents_Data) AsTranscriptionStreamDone() (TranscriptionStreamDone, error)
AsTranscriptionStreamDone returns the union data inside the TranscriptionStreamEvents_Data as a TranscriptionStreamDone
func (TranscriptionStreamEvents_Data) AsTranscriptionStreamLanguage ¶
func (t TranscriptionStreamEvents_Data) AsTranscriptionStreamLanguage() (TranscriptionStreamLanguage, error)
AsTranscriptionStreamLanguage returns the union data inside the TranscriptionStreamEvents_Data as a TranscriptionStreamLanguage
func (TranscriptionStreamEvents_Data) AsTranscriptionStreamSegmentDelta ¶
func (t TranscriptionStreamEvents_Data) AsTranscriptionStreamSegmentDelta() (TranscriptionStreamSegmentDelta, error)
AsTranscriptionStreamSegmentDelta returns the union data inside the TranscriptionStreamEvents_Data as a TranscriptionStreamSegmentDelta
func (TranscriptionStreamEvents_Data) AsTranscriptionStreamTextDelta ¶
func (t TranscriptionStreamEvents_Data) AsTranscriptionStreamTextDelta() (TranscriptionStreamTextDelta, error)
AsTranscriptionStreamTextDelta returns the union data inside the TranscriptionStreamEvents_Data as a TranscriptionStreamTextDelta
func (TranscriptionStreamEvents_Data) Discriminator ¶
func (t TranscriptionStreamEvents_Data) Discriminator() (string, error)
func (*TranscriptionStreamEvents_Data) FromTranscriptionStreamDone ¶
func (t *TranscriptionStreamEvents_Data) FromTranscriptionStreamDone(v TranscriptionStreamDone) error
FromTranscriptionStreamDone overwrites any union data inside the TranscriptionStreamEvents_Data as the provided TranscriptionStreamDone
func (*TranscriptionStreamEvents_Data) FromTranscriptionStreamLanguage ¶
func (t *TranscriptionStreamEvents_Data) FromTranscriptionStreamLanguage(v TranscriptionStreamLanguage) error
FromTranscriptionStreamLanguage overwrites any union data inside the TranscriptionStreamEvents_Data as the provided TranscriptionStreamLanguage
func (*TranscriptionStreamEvents_Data) FromTranscriptionStreamSegmentDelta ¶
func (t *TranscriptionStreamEvents_Data) FromTranscriptionStreamSegmentDelta(v TranscriptionStreamSegmentDelta) error
FromTranscriptionStreamSegmentDelta overwrites any union data inside the TranscriptionStreamEvents_Data as the provided TranscriptionStreamSegmentDelta
func (*TranscriptionStreamEvents_Data) FromTranscriptionStreamTextDelta ¶
func (t *TranscriptionStreamEvents_Data) FromTranscriptionStreamTextDelta(v TranscriptionStreamTextDelta) error
FromTranscriptionStreamTextDelta overwrites any union data inside the TranscriptionStreamEvents_Data as the provided TranscriptionStreamTextDelta
func (TranscriptionStreamEvents_Data) MarshalJSON ¶
func (t TranscriptionStreamEvents_Data) MarshalJSON() ([]byte, error)
func (*TranscriptionStreamEvents_Data) MergeTranscriptionStreamDone ¶
func (t *TranscriptionStreamEvents_Data) MergeTranscriptionStreamDone(v TranscriptionStreamDone) error
MergeTranscriptionStreamDone performs a merge with any union data inside the TranscriptionStreamEvents_Data, using the provided TranscriptionStreamDone
func (*TranscriptionStreamEvents_Data) MergeTranscriptionStreamLanguage ¶
func (t *TranscriptionStreamEvents_Data) MergeTranscriptionStreamLanguage(v TranscriptionStreamLanguage) error
MergeTranscriptionStreamLanguage performs a merge with any union data inside the TranscriptionStreamEvents_Data, using the provided TranscriptionStreamLanguage
func (*TranscriptionStreamEvents_Data) MergeTranscriptionStreamSegmentDelta ¶
func (t *TranscriptionStreamEvents_Data) MergeTranscriptionStreamSegmentDelta(v TranscriptionStreamSegmentDelta) error
MergeTranscriptionStreamSegmentDelta performs a merge with any union data inside the TranscriptionStreamEvents_Data, using the provided TranscriptionStreamSegmentDelta
func (*TranscriptionStreamEvents_Data) MergeTranscriptionStreamTextDelta ¶
func (t *TranscriptionStreamEvents_Data) MergeTranscriptionStreamTextDelta(v TranscriptionStreamTextDelta) error
MergeTranscriptionStreamTextDelta performs a merge with any union data inside the TranscriptionStreamEvents_Data, using the provided TranscriptionStreamTextDelta
func (*TranscriptionStreamEvents_Data) UnmarshalJSON ¶
func (t *TranscriptionStreamEvents_Data) UnmarshalJSON(b []byte) error
func (TranscriptionStreamEvents_Data) ValueByDiscriminator ¶
func (t TranscriptionStreamEvents_Data) ValueByDiscriminator() (interface{}, error)
type TranscriptionStreamLanguage ¶
type TranscriptionStreamLanguage struct {
AudioLanguage string `json:"audio_language"`
Type *TranscriptionStreamLanguageType `json:"type,omitempty"`
}
TranscriptionStreamLanguage defines model for TranscriptionStreamLanguage.
type TranscriptionStreamLanguageType ¶
type TranscriptionStreamLanguageType string
TranscriptionStreamLanguageType defines model for TranscriptionStreamLanguage.Type.
const (
TranscriptionStreamLanguageTypeTranscriptionLanguage TranscriptionStreamLanguageType = "transcription.language"
)
Defines values for TranscriptionStreamLanguageType.
func (TranscriptionStreamLanguageType) Valid ¶
func (e TranscriptionStreamLanguageType) Valid() bool
Valid indicates whether the value is a known member of the TranscriptionStreamLanguageType enum.
type TranscriptionStreamSegmentDelta ¶
type TranscriptionStreamSegmentDelta struct {
End float32 `json:"end"`
SpeakerId *string `json:"speaker_id,omitempty"`
Start float32 `json:"start"`
Text string `json:"text"`
Type *TranscriptionStreamSegmentDeltaType `json:"type,omitempty"`
}
TranscriptionStreamSegmentDelta defines model for TranscriptionStreamSegmentDelta.
type TranscriptionStreamSegmentDeltaType ¶
type TranscriptionStreamSegmentDeltaType string
TranscriptionStreamSegmentDeltaType defines model for TranscriptionStreamSegmentDelta.Type.
const (
TranscriptionStreamSegmentDeltaTypeTranscriptionSegment TranscriptionStreamSegmentDeltaType = "transcription.segment"
)
Defines values for TranscriptionStreamSegmentDeltaType.
func (TranscriptionStreamSegmentDeltaType) Valid ¶
func (e TranscriptionStreamSegmentDeltaType) Valid() bool
Valid indicates whether the value is a known member of the TranscriptionStreamSegmentDeltaType enum.
type TranscriptionStreamTextDelta ¶
type TranscriptionStreamTextDelta struct {
Text string `json:"text"`
Type *TranscriptionStreamTextDeltaType `json:"type,omitempty"`
}
TranscriptionStreamTextDelta defines model for TranscriptionStreamTextDelta.
type TranscriptionStreamTextDeltaType ¶
type TranscriptionStreamTextDeltaType string
TranscriptionStreamTextDeltaType defines model for TranscriptionStreamTextDelta.Type.
const (
TranscriptionStreamTextDeltaTypeTranscriptionTextDelta TranscriptionStreamTextDeltaType = "transcription.text.delta"
)
Defines values for TranscriptionStreamTextDeltaType.
func (TranscriptionStreamTextDeltaType) Valid ¶
func (e TranscriptionStreamTextDeltaType) Valid() bool
Valid indicates whether the value is a known member of the TranscriptionStreamTextDeltaType enum.
type TurbineToolLocale ¶
type TurbineToolLocale struct {
Description *map[string]string `json:"description,omitempty"`
DoneDescription *map[string]string `json:"done_description,omitempty"`
Name *map[string]string `json:"name,omitempty"`
UsageSentence *map[string]string `json:"usage_sentence,omitempty"`
WorkingDescription *map[string]string `json:"working_description,omitempty"`
}
TurbineToolLocale defines model for TurbineToolLocale.
type TurbineToolMeta ¶
type TurbineToolMeta struct {
Locale *TurbineToolLocale `json:"locale,omitempty"`
PrivateExecution *bool `json:"private_execution,omitempty"`
Timeout *float32 `json:"timeout,omitempty"`
ToolType *ToolType `json:"tool_type,omitempty"`
}
TurbineToolMeta defines model for TurbineToolMeta.
type UnarchiveFTModelOut ¶
type UnarchiveFTModelOut struct {
Archived *bool `json:"archived,omitempty"`
Id string `json:"id"`
Object *UnarchiveFTModelOutObject `json:"object,omitempty"`
}
UnarchiveFTModelOut defines model for UnarchiveFTModelOut.
type UnarchiveFTModelOutObject ¶
type UnarchiveFTModelOutObject string
UnarchiveFTModelOutObject defines model for UnarchiveFTModelOut.Object.
const (
UnarchiveFTModelOutObjectModel UnarchiveFTModelOutObject = "model"
)
Defines values for UnarchiveFTModelOutObject.
func (UnarchiveFTModelOutObject) Valid ¶
func (e UnarchiveFTModelOutObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveFTModelOutObject enum.
type UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse ¶
type UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkflowUnarchiveResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseUnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse ¶
func ParseUnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse(rsp *http.Response) (*UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse, error)
ParseUnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse parses an HTTP response from a UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutWithResponse call
func (UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) ContentType ¶
func (r UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) GetBody ¶
func (r UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) GetJSON200 ¶
func (r UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) GetJSON200() *WorkflowUnarchiveResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) GetJSON422 ¶
func (r UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) Status ¶
func (r UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) Status() string
Status returns HTTPResponse.Status
func (UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) StatusCode ¶
func (r UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse ¶
type UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseUnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse ¶
func ParseUnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse(rsp *http.Response) (*UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse, error)
ParseUnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse parses an HTTP response from a UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteWithResponse call
func (UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) ContentType ¶
func (r UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) GetBody ¶
func (r UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) GetJSON422 ¶
func (r UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) Status ¶
func (r UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) StatusCode ¶
func (r UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutJSONRequestBody ¶
type UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutJSONRequestBody = PutDatasetRecordPayloadInSchema
UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutJSONRequestBody defines body for UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut for application/json ContentType.
type UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse ¶
type UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse ¶
func ParseUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse(rsp *http.Response) (*UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse, error)
ParseUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse parses an HTTP response from a UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithResponse call
func (UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) ContentType ¶
func (r UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetBody ¶
func (r UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON400 ¶
func (r UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON404 ¶
func (r UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON408 ¶
func (r UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON409 ¶
func (r UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON422 ¶
func (r UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) Status ¶
func (r UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) StatusCode ¶
func (r UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutJSONRequestBody ¶
type UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutJSONRequestBody = PutDatasetRecordPropertiesInSchema
UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutJSONRequestBody defines body for UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut for application/json ContentType.
type UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse ¶
type UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse ¶
func ParseUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse(rsp *http.Response) (*UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse, error)
ParseUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse parses an HTTP response from a UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithResponse call
func (UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) ContentType ¶
func (r UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetBody ¶
func (r UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON400 ¶
func (r UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON404 ¶
func (r UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON408 ¶
func (r UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON409 ¶
func (r UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON422 ¶
func (r UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) Status ¶
func (r UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) StatusCode ¶
func (r UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchJSONRequestBody ¶
type UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchJSONRequestBody = PatchDatasetInSchema
UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchJSONRequestBody defines body for UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch for application/json ContentType.
type UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse ¶
type UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DatasetPreview
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse ¶
func ParseUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse(rsp *http.Response) (*UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse, error)
ParseUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse parses an HTTP response from a UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithResponse call
func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) ContentType ¶
func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetBody ¶
func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON200 ¶
func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON200() *DatasetPreview
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON400 ¶
func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON404 ¶
func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON408 ¶
func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON409 ¶
func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON422 ¶
func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) Status ¶
func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) StatusCode ¶
func (r UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDefinition ¶
type UpdateDefinition struct {
// Description Description of the update
Description *string `json:"description,omitempty"`
// InputSchema Input JSON schema of the update's model
InputSchema map[string]interface{} `json:"input_schema"`
// Name Name of the update
Name string `json:"name"`
// OutputSchema Output JSON schema of the update's model
OutputSchema *map[string]interface{} `json:"output_schema,omitempty"`
}
UpdateDefinition defines model for UpdateDefinition.
type UpdateFTModelIn ¶
type UpdateFTModelIn struct {
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
}
UpdateFTModelIn defines model for UpdateFTModelIn.
type UpdateInvocationBody ¶
type UpdateInvocationBody struct {
// Input Input data for the update, matching its schema
Input *UpdateInvocationBody_Input `json:"input,omitempty"`
// Name The name of the update to request
Name string `json:"name"`
}
UpdateInvocationBody defines model for UpdateInvocationBody.
type UpdateInvocationBodyInput1 ¶
type UpdateInvocationBodyInput1 map[string]interface{}
UpdateInvocationBodyInput1 defines model for UpdateInvocationBody.Input.1.
type UpdateInvocationBody_Input ¶
type UpdateInvocationBody_Input struct {
// contains filtered or unexported fields
}
UpdateInvocationBody_Input Input data for the update, matching its schema
func (UpdateInvocationBody_Input) AsNetworkEncodedInput ¶
func (t UpdateInvocationBody_Input) AsNetworkEncodedInput() (NetworkEncodedInput, error)
AsNetworkEncodedInput returns the union data inside the UpdateInvocationBody_Input as a NetworkEncodedInput
func (UpdateInvocationBody_Input) AsUpdateInvocationBodyInput1 ¶
func (t UpdateInvocationBody_Input) AsUpdateInvocationBodyInput1() (UpdateInvocationBodyInput1, error)
AsUpdateInvocationBodyInput1 returns the union data inside the UpdateInvocationBody_Input as a UpdateInvocationBodyInput1
func (*UpdateInvocationBody_Input) FromNetworkEncodedInput ¶
func (t *UpdateInvocationBody_Input) FromNetworkEncodedInput(v NetworkEncodedInput) error
FromNetworkEncodedInput overwrites any union data inside the UpdateInvocationBody_Input as the provided NetworkEncodedInput
func (*UpdateInvocationBody_Input) FromUpdateInvocationBodyInput1 ¶
func (t *UpdateInvocationBody_Input) FromUpdateInvocationBodyInput1(v UpdateInvocationBodyInput1) error
FromUpdateInvocationBodyInput1 overwrites any union data inside the UpdateInvocationBody_Input as the provided UpdateInvocationBodyInput1
func (UpdateInvocationBody_Input) MarshalJSON ¶
func (t UpdateInvocationBody_Input) MarshalJSON() ([]byte, error)
func (*UpdateInvocationBody_Input) MergeNetworkEncodedInput ¶
func (t *UpdateInvocationBody_Input) MergeNetworkEncodedInput(v NetworkEncodedInput) error
MergeNetworkEncodedInput performs a merge with any union data inside the UpdateInvocationBody_Input, using the provided NetworkEncodedInput
func (*UpdateInvocationBody_Input) MergeUpdateInvocationBodyInput1 ¶
func (t *UpdateInvocationBody_Input) MergeUpdateInvocationBodyInput1(v UpdateInvocationBodyInput1) error
MergeUpdateInvocationBodyInput1 performs a merge with any union data inside the UpdateInvocationBody_Input, using the provided UpdateInvocationBodyInput1
func (*UpdateInvocationBody_Input) UnmarshalJSON ¶
func (t *UpdateInvocationBody_Input) UnmarshalJSON(b []byte) error
type UpdateJudgeV1ObservabilityJudgesJudgeIdPutJSONRequestBody ¶
type UpdateJudgeV1ObservabilityJudgesJudgeIdPutJSONRequestBody = PutJudgeInSchema
UpdateJudgeV1ObservabilityJudgesJudgeIdPutJSONRequestBody defines body for UpdateJudgeV1ObservabilityJudgesJudgeIdPut for application/json ContentType.
type UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse ¶
type UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ObservabilityError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ObservabilityError
// JSON408 the response for an HTTP 408 `application/json` response
JSON408 *ObservabilityError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ObservabilityError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ObservabilityError
}
func ParseUpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse ¶
func ParseUpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse(rsp *http.Response) (*UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse, error)
ParseUpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse parses an HTTP response from a UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithResponse call
func (UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) ContentType ¶
func (r UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetBody ¶
func (r UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON400 ¶
func (r UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON400() *ObservabilityError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON404 ¶
func (r UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON404() *ObservabilityError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON408 ¶
func (r UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON408() *ObservabilityError
GetJSON408 returns the response for an HTTP 408 `application/json` response
func (UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON409 ¶
func (r UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON409() *ObservabilityError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON422 ¶
func (r UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON422() *ObservabilityError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) Status ¶
func (r UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) StatusCode ¶
func (r UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateVoiceV1AudioVoicesVoiceIdPatchJSONRequestBody ¶
type UpdateVoiceV1AudioVoicesVoiceIdPatchJSONRequestBody = VoiceUpdateRequest
UpdateVoiceV1AudioVoicesVoiceIdPatchJSONRequestBody defines body for UpdateVoiceV1AudioVoicesVoiceIdPatch for application/json ContentType.
type UpdateVoiceV1AudioVoicesVoiceIdPatchResponse ¶
type UpdateVoiceV1AudioVoicesVoiceIdPatchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *VoiceResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseUpdateVoiceV1AudioVoicesVoiceIdPatchResponse ¶
func ParseUpdateVoiceV1AudioVoicesVoiceIdPatchResponse(rsp *http.Response) (*UpdateVoiceV1AudioVoicesVoiceIdPatchResponse, error)
ParseUpdateVoiceV1AudioVoicesVoiceIdPatchResponse parses an HTTP response from a UpdateVoiceV1AudioVoicesVoiceIdPatchWithResponse call
func (UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) ContentType ¶
func (r UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) GetBody ¶
func (r UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) GetJSON200 ¶
func (r UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) GetJSON200() *VoiceResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) GetJSON422 ¶
func (r UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) Status ¶
func (r UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) StatusCode ¶
func (r UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostJSONRequestBody ¶
type UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostJSONRequestBody = UpdateInvocationBody
UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostJSONRequestBody defines body for UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost for application/json ContentType.
type UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse ¶
type UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UpdateWorkflowResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse ¶
func ParseUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse(rsp *http.Response) (*UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse, error)
ParseUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse parses an HTTP response from a UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithResponse call
func (UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) ContentType ¶
func (r UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) GetBody ¶
func (r UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) GetJSON200 ¶
func (r UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) GetJSON200() *UpdateWorkflowResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) GetJSON422 ¶
func (r UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) Status ¶
Status returns HTTPResponse.Status
func (UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) StatusCode ¶
func (r UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWorkflowResponse ¶
type UpdateWorkflowResponse struct {
// Result The result of the Update workflow call
Result interface{} `json:"result"`
UpdateName string `json:"update_name"`
}
UpdateWorkflowResponse defines model for UpdateWorkflowResponse.
type UpdateWorkflowV1WorkflowsWorkflowIdentifierPutJSONRequestBody ¶
type UpdateWorkflowV1WorkflowsWorkflowIdentifierPutJSONRequestBody = WorkflowUpdateRequest
UpdateWorkflowV1WorkflowsWorkflowIdentifierPutJSONRequestBody defines body for UpdateWorkflowV1WorkflowsWorkflowIdentifierPut for application/json ContentType.
type UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse ¶
type UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkflowUpdateResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseUpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse ¶
func ParseUpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse(rsp *http.Response) (*UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse, error)
ParseUpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse parses an HTTP response from a UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithResponse call
func (UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) ContentType ¶
func (r UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) GetBody ¶
func (r UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) GetJSON200 ¶
func (r UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) GetJSON200() *WorkflowUpdateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) GetJSON422 ¶
func (r UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) Status ¶
func (r UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) StatusCode ¶
func (r UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadFileOut ¶
type UploadFileOut struct {
// Bytes The size of the file, in bytes.
//
// Examples: 13000
Bytes int `json:"bytes"`
// CreatedAt The UNIX timestamp (in seconds) of the event.
//
// Examples: 1716963433
CreatedAt int `json:"created_at"`
ExpiresAt *int `json:"expires_at,omitempty"`
// Filename The name of the uploaded file.
//
// Examples: files_upload.jsonl
Filename string `json:"filename"`
// Id The unique identifier of the file.
//
// Examples: 497f6eca-6276-4993-bfeb-53cbbbba6f09
Id openapi_types.UUID `json:"id"`
Mimetype *string `json:"mimetype,omitempty"`
NumLines *int `json:"num_lines,omitempty"`
// Object The object type, which is always "file".
//
// Examples: file
Object string `json:"object"`
// Purpose The intended purpose of the uploaded file, currently supports fine-tuning (`fine-tune`), OCR (`ocr`), Audio/Transcription (`audio`) and batch inference (`batch`).
//
// Examples: fine-tune, ocr, batch, audio
Purpose FilePurpose `json:"purpose"`
SampleType SampleType `json:"sample_type"`
Signature *string `json:"signature,omitempty"`
Source Source `json:"source"`
Visibility *FileVisibility `json:"visibility,omitempty"`
}
UploadFileOut defines model for UploadFileOut.
type UsageInfo ¶
type UsageInfo struct {
CompletionTokens int `json:"completion_tokens"`
NumCachedTokens *int `json:"num_cached_tokens,omitempty"`
PromptAudioSeconds *int `json:"prompt_audio_seconds,omitempty"`
PromptTokenDetails *PromptTokensDetails `json:"prompt_token_details,omitempty"`
PromptTokens int `json:"prompt_tokens"`
PromptTokensDetails *PromptTokensDetails `json:"prompt_tokens_details,omitempty"`
TotalTokens int `json:"total_tokens"`
}
UsageInfo defines model for UsageInfo.
type UserMessage ¶
type UserMessage struct {
Content *UserMessage_Content `json:"content"`
Role *UserMessageRole `json:"role,omitempty"`
}
UserMessage defines model for UserMessage.
type UserMessageContent0 ¶
type UserMessageContent0 = string
UserMessageContent0 defines model for UserMessage.Content.0.
type UserMessageContent2 ¶
type UserMessageContent2 = []ContentChunk
UserMessageContent2 defines model for UserMessage.Content.2.
type UserMessageRole ¶
type UserMessageRole string
UserMessageRole defines model for UserMessage.Role.
const (
UserMessageRoleUser UserMessageRole = "user"
)
Defines values for UserMessageRole.
func (UserMessageRole) Valid ¶
func (e UserMessageRole) Valid() bool
Valid indicates whether the value is a known member of the UserMessageRole enum.
type UserMessage_Content ¶
type UserMessage_Content struct {
// contains filtered or unexported fields
}
UserMessage_Content defines model for UserMessage.Content.
func (UserMessage_Content) AsUserMessageContent0 ¶
func (t UserMessage_Content) AsUserMessageContent0() (UserMessageContent0, error)
AsUserMessageContent0 returns the union data inside the UserMessage_Content as a UserMessageContent0
func (UserMessage_Content) AsUserMessageContent2 ¶
func (t UserMessage_Content) AsUserMessageContent2() (UserMessageContent2, error)
AsUserMessageContent2 returns the union data inside the UserMessage_Content as a UserMessageContent2
func (*UserMessage_Content) FromUserMessageContent0 ¶
func (t *UserMessage_Content) FromUserMessageContent0(v UserMessageContent0) error
FromUserMessageContent0 overwrites any union data inside the UserMessage_Content as the provided UserMessageContent0
func (*UserMessage_Content) FromUserMessageContent2 ¶
func (t *UserMessage_Content) FromUserMessageContent2(v UserMessageContent2) error
FromUserMessageContent2 overwrites any union data inside the UserMessage_Content as the provided UserMessageContent2
func (UserMessage_Content) MarshalJSON ¶
func (t UserMessage_Content) MarshalJSON() ([]byte, error)
func (*UserMessage_Content) MergeUserMessageContent0 ¶
func (t *UserMessage_Content) MergeUserMessageContent0(v UserMessageContent0) error
MergeUserMessageContent0 performs a merge with any union data inside the UserMessage_Content, using the provided UserMessageContent0
func (*UserMessage_Content) MergeUserMessageContent2 ¶
func (t *UserMessage_Content) MergeUserMessageContent2(v UserMessageContent2) error
MergeUserMessageContent2 performs a merge with any union data inside the UserMessage_Content, using the provided UserMessageContent2
func (*UserMessage_Content) UnmarshalJSON ¶
func (t *UserMessage_Content) UnmarshalJSON(b []byte) error
type ValidationError ¶
type ValidationError struct {
Ctx *map[string]interface{} `json:"ctx,omitempty"`
Input interface{} `json:"input,omitempty"`
Loc []ValidationError_Loc_Item `json:"loc"`
Msg string `json:"msg"`
Type string `json:"type"`
}
ValidationError defines model for ValidationError.
type ValidationErrorLoc0 ¶
type ValidationErrorLoc0 = string
ValidationErrorLoc0 defines model for ValidationError.Loc.0.
type ValidationErrorLoc1 ¶
type ValidationErrorLoc1 = int
ValidationErrorLoc1 defines model for ValidationError.Loc.1.
type ValidationError_Loc_Item ¶
type ValidationError_Loc_Item struct {
// contains filtered or unexported fields
}
ValidationError_Loc_Item defines model for ValidationError.loc.Item.
func (ValidationError_Loc_Item) AsValidationErrorLoc0 ¶
func (t ValidationError_Loc_Item) AsValidationErrorLoc0() (ValidationErrorLoc0, error)
AsValidationErrorLoc0 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc0
func (ValidationError_Loc_Item) AsValidationErrorLoc1 ¶
func (t ValidationError_Loc_Item) AsValidationErrorLoc1() (ValidationErrorLoc1, error)
AsValidationErrorLoc1 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc1
func (*ValidationError_Loc_Item) FromValidationErrorLoc0 ¶
func (t *ValidationError_Loc_Item) FromValidationErrorLoc0(v ValidationErrorLoc0) error
FromValidationErrorLoc0 overwrites any union data inside the ValidationError_Loc_Item as the provided ValidationErrorLoc0
func (*ValidationError_Loc_Item) FromValidationErrorLoc1 ¶
func (t *ValidationError_Loc_Item) FromValidationErrorLoc1(v ValidationErrorLoc1) error
FromValidationErrorLoc1 overwrites any union data inside the ValidationError_Loc_Item as the provided ValidationErrorLoc1
func (ValidationError_Loc_Item) MarshalJSON ¶
func (t ValidationError_Loc_Item) MarshalJSON() ([]byte, error)
func (*ValidationError_Loc_Item) MergeValidationErrorLoc0 ¶
func (t *ValidationError_Loc_Item) MergeValidationErrorLoc0(v ValidationErrorLoc0) error
MergeValidationErrorLoc0 performs a merge with any union data inside the ValidationError_Loc_Item, using the provided ValidationErrorLoc0
func (*ValidationError_Loc_Item) MergeValidationErrorLoc1 ¶
func (t *ValidationError_Loc_Item) MergeValidationErrorLoc1(v ValidationErrorLoc1) error
MergeValidationErrorLoc1 performs a merge with any union data inside the ValidationError_Loc_Item, using the provided ValidationErrorLoc1
func (*ValidationError_Loc_Item) UnmarshalJSON ¶
func (t *ValidationError_Loc_Item) UnmarshalJSON(b []byte) error
type VoiceCreateRequest ¶
type VoiceCreateRequest struct {
Age *int `json:"age,omitempty"`
Color *string `json:"color,omitempty"`
Gender *string `json:"gender,omitempty"`
Languages *[]string `json:"languages,omitempty"`
Name string `json:"name"`
RetentionNotice *int `json:"retention_notice,omitempty"`
// SampleAudio Base64-encoded audio file
SampleAudio string `json:"sample_audio"`
// SampleFilename Original filename for extension detection
SampleFilename *string `json:"sample_filename,omitempty"`
Slug *string `json:"slug,omitempty"`
Tags *[]string `json:"tags,omitempty"`
}
VoiceCreateRequest Request model for creating a new voice with base64 audio.
type VoiceListResponse ¶
type VoiceListResponse struct {
Items []VoiceResponse `json:"items"`
Page int `json:"page"`
PageSize int `json:"page_size"`
Total int `json:"total"`
TotalPages int `json:"total_pages"`
}
VoiceListResponse Schema for voice list response
type VoiceResponse ¶
type VoiceResponse struct {
Age *int `json:"age,omitempty"`
Color *string `json:"color,omitempty"`
CreatedAt time.Time `json:"created_at"`
Gender *string `json:"gender,omitempty"`
Id openapi_types.UUID `json:"id"`
Languages *[]string `json:"languages,omitempty"`
Name string `json:"name"`
RetentionNotice *int `json:"retention_notice,omitempty"`
Slug *string `json:"slug,omitempty"`
Tags *[]string `json:"tags,omitempty"`
UserId *string `json:"user_id"`
}
VoiceResponse Schema for voice response
type VoiceUpdateRequest ¶
type VoiceUpdateRequest struct {
Age *int `json:"age,omitempty"`
Gender *string `json:"gender,omitempty"`
Languages *[]string `json:"languages,omitempty"`
Name *string `json:"name,omitempty"`
Tags *[]string `json:"tags,omitempty"`
}
VoiceUpdateRequest Request model for partially updating voice metadata.
type WandbIntegration ¶
type WandbIntegration struct {
// ApiKey The WandB API key to use for authentication.
ApiKey string `json:"api_key"`
// Name A display name to set for the run. If not set, will use the job ID as the name.
Name *string `json:"name,omitempty"`
// Project The name of the project that the new run will be created under.
Project string `json:"project"`
RunName *string `json:"run_name,omitempty"`
Type *WandbIntegrationType `json:"type,omitempty"`
}
WandbIntegration defines model for WandbIntegration.
type WandbIntegrationOut ¶
type WandbIntegrationOut struct {
// Name A display name to set for the run. If not set, will use the job ID as the name.
Name *string `json:"name,omitempty"`
// Project The name of the project that the new run will be created under.
Project string `json:"project"`
RunName *string `json:"run_name,omitempty"`
Type *WandbIntegrationOutType `json:"type,omitempty"`
Url *string `json:"url,omitempty"`
}
WandbIntegrationOut defines model for WandbIntegrationOut.
type WandbIntegrationOutType ¶
type WandbIntegrationOutType string
WandbIntegrationOutType defines model for WandbIntegrationOut.Type.
const (
WandbIntegrationOutTypeWandb WandbIntegrationOutType = "wandb"
)
Defines values for WandbIntegrationOutType.
func (WandbIntegrationOutType) Valid ¶
func (e WandbIntegrationOutType) Valid() bool
Valid indicates whether the value is a known member of the WandbIntegrationOutType enum.
type WandbIntegrationType ¶
type WandbIntegrationType string
WandbIntegrationType defines model for WandbIntegration.Type.
const (
WandbIntegrationTypeWandb WandbIntegrationType = "wandb"
)
Defines values for WandbIntegrationType.
func (WandbIntegrationType) Valid ¶
func (e WandbIntegrationType) Valid() bool
Valid indicates whether the value is a known member of the WandbIntegrationType enum.
type WebSearchPremiumTool ¶
type WebSearchPremiumTool struct {
ToolConfiguration *ToolConfiguration `json:"tool_configuration,omitempty"`
Type *WebSearchPremiumToolType `json:"type,omitempty"`
}
WebSearchPremiumTool defines model for WebSearchPremiumTool.
type WebSearchPremiumToolType ¶
type WebSearchPremiumToolType string
WebSearchPremiumToolType defines model for WebSearchPremiumTool.Type.
const (
WebSearchPremiumToolTypeWebSearchPremium WebSearchPremiumToolType = "web_search_premium"
)
Defines values for WebSearchPremiumToolType.
func (WebSearchPremiumToolType) Valid ¶
func (e WebSearchPremiumToolType) Valid() bool
Valid indicates whether the value is a known member of the WebSearchPremiumToolType enum.
type WebSearchTool ¶
type WebSearchTool struct {
ToolConfiguration *ToolConfiguration `json:"tool_configuration,omitempty"`
Type *WebSearchToolType `json:"type,omitempty"`
}
WebSearchTool defines model for WebSearchTool.
type WebSearchToolType ¶
type WebSearchToolType string
WebSearchToolType defines model for WebSearchTool.Type.
const (
WebSearchToolTypeWebSearch WebSearchToolType = "web_search"
)
Defines values for WebSearchToolType.
func (WebSearchToolType) Valid ¶
func (e WebSearchToolType) Valid() bool
Valid indicates whether the value is a known member of the WebSearchToolType enum.
type WorkerInfo ¶
type WorkerInfo struct {
Namespace string `json:"namespace"`
SchedulerUrl string `json:"scheduler_url"`
Tls *bool `json:"tls,omitempty"`
}
WorkerInfo defines model for WorkerInfo.
type Workflow ¶
type Workflow struct {
// Archived Whether the workflow is archived
Archived *bool `json:"archived,omitempty"`
// AvailableInChatAssistant Whether the workflow is available in chat assistant
AvailableInChatAssistant *bool `json:"available_in_chat_assistant,omitempty"`
// CustomerId Customer ID of the workflow
CustomerId openapi_types.UUID `json:"customer_id"`
// Description Description of the workflow
Description *string `json:"description,omitempty"`
// DisplayName Display name of the workflow
DisplayName string `json:"display_name"`
// Id Unique identifier of the workflow
Id openapi_types.UUID `json:"id"`
// IsTechnical Whether the workflow is technical (e.g. SDK-managed)
IsTechnical *bool `json:"is_technical,omitempty"`
// Name Name of the workflow
Name string `json:"name"`
SharedNamespace *string `json:"shared_namespace,omitempty"`
// Type Type of the workflow
Type WorkflowType `json:"type"`
// WorkspaceId Workspace ID of the workflow
WorkspaceId openapi_types.UUID `json:"workspace_id"`
}
Workflow defines model for Workflow.
type WorkflowArchiveResponse ¶
type WorkflowArchiveResponse struct {
// Workflow The workflow spec
Workflow Workflow `json:"workflow"`
}
WorkflowArchiveResponse defines model for WorkflowArchiveResponse.
type WorkflowCodeDefinition ¶
type WorkflowCodeDefinition struct {
// EnforceDeterminism Whether the workflow enforces deterministic execution
EnforceDeterminism *bool `json:"enforce_determinism,omitempty"`
// ExecutionTimeout Maximum total execution time including retries and continue-as-new
ExecutionTimeout *float32 `json:"execution_timeout,omitempty"`
// InputSchema Input schema of the workflow's run method
InputSchema map[string]interface{} `json:"input_schema"`
// OutputSchema Output schema of the workflow's run method
OutputSchema *map[string]interface{} `json:"output_schema,omitempty"`
// Queries Query handlers defined by the workflow
Queries *[]QueryDefinition `json:"queries,omitempty"`
// Signals Signal handlers defined by the workflow
Signals *[]SignalDefinition `json:"signals,omitempty"`
// Updates Update handlers defined by the workflow
Updates *[]UpdateDefinition `json:"updates,omitempty"`
}
WorkflowCodeDefinition defines model for WorkflowCodeDefinition.
type WorkflowEventType ¶
type WorkflowEventType string
WorkflowEventType defines model for WorkflowEventType.
const ( WorkflowEventTypeACTIVITYTASKCOMPLETED WorkflowEventType = "ACTIVITY_TASK_COMPLETED" WorkflowEventTypeACTIVITYTASKFAILED WorkflowEventType = "ACTIVITY_TASK_FAILED" WorkflowEventTypeACTIVITYTASKRETRYING WorkflowEventType = "ACTIVITY_TASK_RETRYING" WorkflowEventTypeACTIVITYTASKSTARTED WorkflowEventType = "ACTIVITY_TASK_STARTED" WorkflowEventTypeCUSTOMTASKCANCELED WorkflowEventType = "CUSTOM_TASK_CANCELED" WorkflowEventTypeCUSTOMTASKCOMPLETED WorkflowEventType = "CUSTOM_TASK_COMPLETED" WorkflowEventTypeCUSTOMTASKFAILED WorkflowEventType = "CUSTOM_TASK_FAILED" WorkflowEventTypeCUSTOMTASKINPROGRESS WorkflowEventType = "CUSTOM_TASK_IN_PROGRESS" WorkflowEventTypeCUSTOMTASKSTARTED WorkflowEventType = "CUSTOM_TASK_STARTED" WorkflowEventTypeCUSTOMTASKTIMEDOUT WorkflowEventType = "CUSTOM_TASK_TIMED_OUT" WorkflowEventTypeWORKFLOWEXECUTIONCANCELED WorkflowEventType = "WORKFLOW_EXECUTION_CANCELED" WorkflowEventTypeWORKFLOWEXECUTIONCOMPLETED WorkflowEventType = "WORKFLOW_EXECUTION_COMPLETED" WorkflowEventTypeWORKFLOWEXECUTIONCONTINUEDASNEW WorkflowEventType = "WORKFLOW_EXECUTION_CONTINUED_AS_NEW" WorkflowEventTypeWORKFLOWEXECUTIONFAILED WorkflowEventType = "WORKFLOW_EXECUTION_FAILED" WorkflowEventTypeWORKFLOWEXECUTIONSTARTED WorkflowEventType = "WORKFLOW_EXECUTION_STARTED" WorkflowEventTypeWORKFLOWTASKFAILED WorkflowEventType = "WORKFLOW_TASK_FAILED" WorkflowEventTypeWORKFLOWTASKTIMEDOUT WorkflowEventType = "WORKFLOW_TASK_TIMED_OUT" )
Defines values for WorkflowEventType.
func (WorkflowEventType) Valid ¶
func (e WorkflowEventType) Valid() bool
Valid indicates whether the value is a known member of the WorkflowEventType enum.
type WorkflowExecutionCanceledAttributes ¶
type WorkflowExecutionCanceledAttributes struct {
// Reason Optional reason provided for the cancellation.
Reason *string `json:"reason,omitempty"`
// TaskId Unique identifier for the task within the workflow execution.
TaskId string `json:"task_id"`
}
WorkflowExecutionCanceledAttributes Attributes for workflow execution canceled events.
type WorkflowExecutionCanceledResponse ¶
type WorkflowExecutionCanceledResponse struct {
// Attributes Event-specific attributes.
Attributes WorkflowExecutionCanceledAttributes `json:"attributes"`
// EventId Unique identifier for this event instance.
EventId string `json:"event_id"`
// EventTimestamp Unix timestamp in nanoseconds when the event was created.
EventTimestamp int `json:"event_timestamp"`
// EventType Event type discriminator.
EventType WorkflowExecutionCanceledResponseEventType `json:"event_type"`
// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`
// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
RootWorkflowExecId string `json:"root_workflow_exec_id"`
// WorkflowExecId Execution ID of the workflow that emitted this event.
WorkflowExecId string `json:"workflow_exec_id"`
// WorkflowName The registered name of the workflow that emitted this event.
WorkflowName string `json:"workflow_name"`
// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
WorkflowRunId string `json:"workflow_run_id"`
}
WorkflowExecutionCanceledResponse Emitted when a workflow execution is canceled.
This is a terminal event indicating the workflow was explicitly canceled.
type WorkflowExecutionCanceledResponseEventType ¶
type WorkflowExecutionCanceledResponseEventType string
WorkflowExecutionCanceledResponseEventType Event type discriminator.
const (
WorkflowExecutionCanceledResponseEventTypeWORKFLOWEXECUTIONCANCELED WorkflowExecutionCanceledResponseEventType = "WORKFLOW_EXECUTION_CANCELED"
)
Defines values for WorkflowExecutionCanceledResponseEventType.
func (WorkflowExecutionCanceledResponseEventType) Valid ¶
func (e WorkflowExecutionCanceledResponseEventType) Valid() bool
Valid indicates whether the value is a known member of the WorkflowExecutionCanceledResponseEventType enum.
type WorkflowExecutionCompletedAttributesResponse ¶
type WorkflowExecutionCompletedAttributesResponse struct {
// Result The final result returned by the workflow.
Result JSONPayloadResponse `json:"result"`
// TaskId Unique identifier for the task within the workflow execution.
TaskId string `json:"task_id"`
}
WorkflowExecutionCompletedAttributesResponse Attributes for workflow execution completed events.
type WorkflowExecutionCompletedResponse ¶
type WorkflowExecutionCompletedResponse struct {
// Attributes Event-specific attributes.
Attributes WorkflowExecutionCompletedAttributesResponse `json:"attributes"`
// EventId Unique identifier for this event instance.
EventId string `json:"event_id"`
// EventTimestamp Unix timestamp in nanoseconds when the event was created.
EventTimestamp int `json:"event_timestamp"`
// EventType Event type discriminator.
EventType WorkflowExecutionCompletedResponseEventType `json:"event_type"`
// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`
// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
RootWorkflowExecId string `json:"root_workflow_exec_id"`
// WorkflowExecId Execution ID of the workflow that emitted this event.
WorkflowExecId string `json:"workflow_exec_id"`
// WorkflowName The registered name of the workflow that emitted this event.
WorkflowName string `json:"workflow_name"`
// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
WorkflowRunId string `json:"workflow_run_id"`
}
WorkflowExecutionCompletedResponse Emitted when a workflow execution completes successfully.
This is a terminal event indicating the workflow finished without errors.
type WorkflowExecutionCompletedResponseEventType ¶
type WorkflowExecutionCompletedResponseEventType string
WorkflowExecutionCompletedResponseEventType Event type discriminator.
const (
WorkflowExecutionCompletedResponseEventTypeWORKFLOWEXECUTIONCOMPLETED WorkflowExecutionCompletedResponseEventType = "WORKFLOW_EXECUTION_COMPLETED"
)
Defines values for WorkflowExecutionCompletedResponseEventType.
func (WorkflowExecutionCompletedResponseEventType) Valid ¶
func (e WorkflowExecutionCompletedResponseEventType) Valid() bool
Valid indicates whether the value is a known member of the WorkflowExecutionCompletedResponseEventType enum.
type WorkflowExecutionContinuedAsNewAttributesResponse ¶
type WorkflowExecutionContinuedAsNewAttributesResponse struct {
// Input The input arguments passed to the new workflow execution.
Input JSONPayloadResponse `json:"input"`
// NewExecutionRunId The run ID of the new workflow execution that continues this workflow.
NewExecutionRunId string `json:"new_execution_run_id"`
// TaskId Unique identifier for the task within the workflow execution.
TaskId string `json:"task_id"`
// WorkflowName The registered name of the continued workflow.
WorkflowName string `json:"workflow_name"`
}
WorkflowExecutionContinuedAsNewAttributesResponse Attributes for workflow execution continued-as-new events.
type WorkflowExecutionContinuedAsNewResponse ¶
type WorkflowExecutionContinuedAsNewResponse struct {
// Attributes Event-specific attributes.
Attributes WorkflowExecutionContinuedAsNewAttributesResponse `json:"attributes"`
// EventId Unique identifier for this event instance.
EventId string `json:"event_id"`
// EventTimestamp Unix timestamp in nanoseconds when the event was created.
EventTimestamp int `json:"event_timestamp"`
// EventType Event type discriminator.
EventType WorkflowExecutionContinuedAsNewResponseEventType `json:"event_type"`
// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`
// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
RootWorkflowExecId string `json:"root_workflow_exec_id"`
// WorkflowExecId Execution ID of the workflow that emitted this event.
WorkflowExecId string `json:"workflow_exec_id"`
// WorkflowName The registered name of the workflow that emitted this event.
WorkflowName string `json:"workflow_name"`
// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
WorkflowRunId string `json:"workflow_run_id"`
}
WorkflowExecutionContinuedAsNewResponse Emitted when a workflow continues as a new execution.
This occurs when a workflow uses continue-as-new to reset its history while maintaining logical continuity.
type WorkflowExecutionContinuedAsNewResponseEventType ¶
type WorkflowExecutionContinuedAsNewResponseEventType string
WorkflowExecutionContinuedAsNewResponseEventType Event type discriminator.
const (
WorkflowExecutionContinuedAsNewResponseEventTypeWORKFLOWEXECUTIONCONTINUEDASNEW WorkflowExecutionContinuedAsNewResponseEventType = "WORKFLOW_EXECUTION_CONTINUED_AS_NEW"
)
Defines values for WorkflowExecutionContinuedAsNewResponseEventType.
func (WorkflowExecutionContinuedAsNewResponseEventType) Valid ¶
func (e WorkflowExecutionContinuedAsNewResponseEventType) Valid() bool
Valid indicates whether the value is a known member of the WorkflowExecutionContinuedAsNewResponseEventType enum.
type WorkflowExecutionFailedAttributes ¶
type WorkflowExecutionFailedAttributes struct {
// Failure Details about the failure that caused the workflow to fail.
Failure Failure `json:"failure"`
// TaskId Unique identifier for the task within the workflow execution.
TaskId string `json:"task_id"`
}
WorkflowExecutionFailedAttributes Attributes for workflow execution failed events.
type WorkflowExecutionFailedResponse ¶
type WorkflowExecutionFailedResponse struct {
// Attributes Event-specific attributes.
Attributes WorkflowExecutionFailedAttributes `json:"attributes"`
// EventId Unique identifier for this event instance.
EventId string `json:"event_id"`
// EventTimestamp Unix timestamp in nanoseconds when the event was created.
EventTimestamp int `json:"event_timestamp"`
// EventType Event type discriminator.
EventType WorkflowExecutionFailedResponseEventType `json:"event_type"`
// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`
// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
RootWorkflowExecId string `json:"root_workflow_exec_id"`
// WorkflowExecId Execution ID of the workflow that emitted this event.
WorkflowExecId string `json:"workflow_exec_id"`
// WorkflowName The registered name of the workflow that emitted this event.
WorkflowName string `json:"workflow_name"`
// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
WorkflowRunId string `json:"workflow_run_id"`
}
WorkflowExecutionFailedResponse Emitted when a workflow execution fails due to an unhandled exception.
This is a terminal event indicating the workflow ended with an error.
type WorkflowExecutionFailedResponseEventType ¶
type WorkflowExecutionFailedResponseEventType string
WorkflowExecutionFailedResponseEventType Event type discriminator.
const (
WorkflowExecutionFailedResponseEventTypeWORKFLOWEXECUTIONFAILED WorkflowExecutionFailedResponseEventType = "WORKFLOW_EXECUTION_FAILED"
)
Defines values for WorkflowExecutionFailedResponseEventType.
func (WorkflowExecutionFailedResponseEventType) Valid ¶
func (e WorkflowExecutionFailedResponseEventType) Valid() bool
Valid indicates whether the value is a known member of the WorkflowExecutionFailedResponseEventType enum.
type WorkflowExecutionListResponse ¶
type WorkflowExecutionListResponse struct {
// Executions A list of workflow executions
Executions []WorkflowExecutionWithoutResultResponse `json:"executions"`
// NextPageToken Token to use for fetching the next page of results. Null if this is the last page.
NextPageToken *string `json:"next_page_token,omitempty"`
}
WorkflowExecutionListResponse defines model for WorkflowExecutionListResponse.
type WorkflowExecutionProgressTraceEvent ¶
type WorkflowExecutionProgressTraceEvent struct {
// Attributes The attributes of the event
Attributes map[string]*WorkflowExecutionTraceSummaryAttributesValues `json:"attributes"`
// EndTimeUnixMs The end time of the event in milliseconds since the Unix epoch
EndTimeUnixMs *int `json:"end_time_unix_ms,omitempty"`
// Error The error message, if any
Error *string `json:"error,omitempty"`
// Id The ID of the event
Id string `json:"id"`
// Internal Whether the event is internal
Internal *bool `json:"internal,omitempty"`
// Name Name of the event
Name string `json:"name"`
// StartTimeUnixMs The start time of the event in milliseconds since the Unix epoch
StartTimeUnixMs int `json:"start_time_unix_ms"`
// Status The progress message
Status *EventProgressStatus `json:"status,omitempty"`
// TimestampUnixNano The timestamp of the event in nanoseconds since the Unix epoch
TimestampUnixNano int `json:"timestamp_unix_nano"`
Type *EventType `json:"type,omitempty"`
}
WorkflowExecutionProgressTraceEvent defines model for WorkflowExecutionProgressTraceEvent.
type WorkflowExecutionRequest ¶
type WorkflowExecutionRequest struct {
CustomTracingAttributes *map[string]string `json:"custom_tracing_attributes,omitempty"`
// DeploymentName Name of the deployment to route this execution to
DeploymentName *string `json:"deployment_name,omitempty"`
// EncodedInput Encoded input to the workflow, used when payload encoding is enabled.
EncodedInput *NetworkEncodedInput `json:"encoded_input,omitempty"`
// ExecutionId Allows you to specify a custom execution ID. If not provided, a random ID will be generated.
ExecutionId *string `json:"execution_id,omitempty"`
// Input The input to the workflow. This should be a dictionary that matches the workflow's input schema.
Input *map[string]interface{} `json:"input,omitempty"`
// TaskQueue Deprecated. Use deployment_name instead.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
TaskQueue *string `json:"task_queue,omitempty"`
// TimeoutSeconds Maximum time to wait for completion when wait_for_result is true.
TimeoutSeconds *float32 `json:"timeout_seconds,omitempty"`
// WaitForResult If true, wait for the workflow to complete and return the result directly.
WaitForResult *bool `json:"wait_for_result,omitempty"`
}
WorkflowExecutionRequest defines model for WorkflowExecutionRequest.
type WorkflowExecutionResponse ¶
type WorkflowExecutionResponse struct {
// EndTime The end time of the workflow execution, if available
EndTime *time.Time `json:"end_time"`
// ExecutionId The ID of the workflow execution
ExecutionId string `json:"execution_id"`
// ParentExecutionId The parent execution ID of the workflow execution
ParentExecutionId *string `json:"parent_execution_id,omitempty"`
// Result The result of the workflow execution, if available
Result interface{} `json:"result"`
// RootExecutionId The root execution ID of the workflow execution
RootExecutionId string `json:"root_execution_id"`
// StartTime The start time of the workflow execution
StartTime time.Time `json:"start_time"`
// Status The status of the workflow execution
Status *WorkflowExecutionStatus `json:"status"`
// TotalDurationMs The total duration of the trace in milliseconds
TotalDurationMs *int `json:"total_duration_ms,omitempty"`
// WorkflowName The name of the workflow
WorkflowName string `json:"workflow_name"`
}
WorkflowExecutionResponse defines model for WorkflowExecutionResponse.
type WorkflowExecutionStartedAttributesResponse ¶
type WorkflowExecutionStartedAttributesResponse struct {
// Input The input arguments passed to the workflow.
Input JSONPayloadResponse `json:"input"`
// TaskId Unique identifier for the task within the workflow execution.
TaskId string `json:"task_id"`
// WorkflowName The registered name of the workflow being executed.
WorkflowName string `json:"workflow_name"`
}
WorkflowExecutionStartedAttributesResponse Attributes for workflow execution started events.
type WorkflowExecutionStartedResponse ¶
type WorkflowExecutionStartedResponse struct {
// Attributes Event-specific attributes.
Attributes WorkflowExecutionStartedAttributesResponse `json:"attributes"`
// EventId Unique identifier for this event instance.
EventId string `json:"event_id"`
// EventTimestamp Unix timestamp in nanoseconds when the event was created.
EventTimestamp int `json:"event_timestamp"`
// EventType Event type discriminator.
EventType WorkflowExecutionStartedResponseEventType `json:"event_type"`
// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`
// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
RootWorkflowExecId string `json:"root_workflow_exec_id"`
// WorkflowExecId Execution ID of the workflow that emitted this event.
WorkflowExecId string `json:"workflow_exec_id"`
// WorkflowName The registered name of the workflow that emitted this event.
WorkflowName string `json:"workflow_name"`
// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
WorkflowRunId string `json:"workflow_run_id"`
}
WorkflowExecutionStartedResponse Emitted when a workflow execution begins.
This is the first event in any workflow execution lifecycle.
type WorkflowExecutionStartedResponseEventType ¶
type WorkflowExecutionStartedResponseEventType string
WorkflowExecutionStartedResponseEventType Event type discriminator.
const (
WorkflowExecutionStartedResponseEventTypeWORKFLOWEXECUTIONSTARTED WorkflowExecutionStartedResponseEventType = "WORKFLOW_EXECUTION_STARTED"
)
Defines values for WorkflowExecutionStartedResponseEventType.
func (WorkflowExecutionStartedResponseEventType) Valid ¶
func (e WorkflowExecutionStartedResponseEventType) Valid() bool
Valid indicates whether the value is a known member of the WorkflowExecutionStartedResponseEventType enum.
type WorkflowExecutionStatus ¶
type WorkflowExecutionStatus string
WorkflowExecutionStatus defines model for WorkflowExecutionStatus.
const ( WorkflowExecutionStatusCANCELED WorkflowExecutionStatus = "CANCELED" WorkflowExecutionStatusCOMPLETED WorkflowExecutionStatus = "COMPLETED" WorkflowExecutionStatusCONTINUEDASNEW WorkflowExecutionStatus = "CONTINUED_AS_NEW" WorkflowExecutionStatusFAILED WorkflowExecutionStatus = "FAILED" WorkflowExecutionStatusRETRYINGAFTERERROR WorkflowExecutionStatus = "RETRYING_AFTER_ERROR" WorkflowExecutionStatusRUNNING WorkflowExecutionStatus = "RUNNING" WorkflowExecutionStatusTERMINATED WorkflowExecutionStatus = "TERMINATED" WorkflowExecutionStatusTIMEDOUT WorkflowExecutionStatus = "TIMED_OUT" )
Defines values for WorkflowExecutionStatus.
func (WorkflowExecutionStatus) Valid ¶
func (e WorkflowExecutionStatus) Valid() bool
Valid indicates whether the value is a known member of the WorkflowExecutionStatus enum.
type WorkflowExecutionSyncResponse ¶
type WorkflowExecutionSyncResponse struct {
// ExecutionId ID of the workflow execution
ExecutionId string `json:"execution_id"`
// Result The result of the workflow execution
Result interface{} `json:"result"`
// WorkflowName Name of the workflow that was executed
WorkflowName string `json:"workflow_name"`
}
WorkflowExecutionSyncResponse Response model for synchronous workflow execution
type WorkflowExecutionTraceEvent ¶
type WorkflowExecutionTraceEvent struct {
// Attributes The attributes of the event
Attributes map[string]*WorkflowExecutionTraceSummaryAttributesValues `json:"attributes"`
// Id The ID of the event
Id string `json:"id"`
// Internal Whether the event is internal
Internal *bool `json:"internal,omitempty"`
// Name Name of the event
Name string `json:"name"`
// TimestampUnixNano The timestamp of the event in nanoseconds since the Unix epoch
TimestampUnixNano int `json:"timestamp_unix_nano"`
Type *EventType `json:"type,omitempty"`
}
WorkflowExecutionTraceEvent defines model for WorkflowExecutionTraceEvent.
type WorkflowExecutionTraceEventsResponse ¶
type WorkflowExecutionTraceEventsResponse struct {
// EndTime The end time of the workflow execution, if available
EndTime *time.Time `json:"end_time"`
// Events The events of the workflow execution
Events *[]WorkflowExecutionTraceEventsResponse_Events_Item `json:"events,omitempty"`
// ExecutionId The ID of the workflow execution
ExecutionId string `json:"execution_id"`
// ParentExecutionId The parent execution ID of the workflow execution
ParentExecutionId *string `json:"parent_execution_id,omitempty"`
// Result The result of the workflow execution, if available
Result interface{} `json:"result"`
// RootExecutionId The root execution ID of the workflow execution
RootExecutionId string `json:"root_execution_id"`
// StartTime The start time of the workflow execution
StartTime time.Time `json:"start_time"`
// Status The status of the workflow execution
Status *WorkflowExecutionStatus `json:"status"`
// TotalDurationMs The total duration of the trace in milliseconds
TotalDurationMs *int `json:"total_duration_ms,omitempty"`
// WorkflowName The name of the workflow
WorkflowName string `json:"workflow_name"`
}
WorkflowExecutionTraceEventsResponse defines model for WorkflowExecutionTraceEventsResponse.
type WorkflowExecutionTraceEventsResponse_Events_Item ¶
type WorkflowExecutionTraceEventsResponse_Events_Item struct {
// contains filtered or unexported fields
}
WorkflowExecutionTraceEventsResponse_Events_Item defines model for WorkflowExecutionTraceEventsResponse.events.Item.
func (WorkflowExecutionTraceEventsResponse_Events_Item) AsWorkflowExecutionProgressTraceEvent ¶
func (t WorkflowExecutionTraceEventsResponse_Events_Item) AsWorkflowExecutionProgressTraceEvent() (WorkflowExecutionProgressTraceEvent, error)
AsWorkflowExecutionProgressTraceEvent returns the union data inside the WorkflowExecutionTraceEventsResponse_Events_Item as a WorkflowExecutionProgressTraceEvent
func (WorkflowExecutionTraceEventsResponse_Events_Item) AsWorkflowExecutionTraceEvent ¶
func (t WorkflowExecutionTraceEventsResponse_Events_Item) AsWorkflowExecutionTraceEvent() (WorkflowExecutionTraceEvent, error)
AsWorkflowExecutionTraceEvent returns the union data inside the WorkflowExecutionTraceEventsResponse_Events_Item as a WorkflowExecutionTraceEvent
func (*WorkflowExecutionTraceEventsResponse_Events_Item) FromWorkflowExecutionProgressTraceEvent ¶
func (t *WorkflowExecutionTraceEventsResponse_Events_Item) FromWorkflowExecutionProgressTraceEvent(v WorkflowExecutionProgressTraceEvent) error
FromWorkflowExecutionProgressTraceEvent overwrites any union data inside the WorkflowExecutionTraceEventsResponse_Events_Item as the provided WorkflowExecutionProgressTraceEvent
func (*WorkflowExecutionTraceEventsResponse_Events_Item) FromWorkflowExecutionTraceEvent ¶
func (t *WorkflowExecutionTraceEventsResponse_Events_Item) FromWorkflowExecutionTraceEvent(v WorkflowExecutionTraceEvent) error
FromWorkflowExecutionTraceEvent overwrites any union data inside the WorkflowExecutionTraceEventsResponse_Events_Item as the provided WorkflowExecutionTraceEvent
func (WorkflowExecutionTraceEventsResponse_Events_Item) MarshalJSON ¶
func (t WorkflowExecutionTraceEventsResponse_Events_Item) MarshalJSON() ([]byte, error)
func (*WorkflowExecutionTraceEventsResponse_Events_Item) MergeWorkflowExecutionProgressTraceEvent ¶
func (t *WorkflowExecutionTraceEventsResponse_Events_Item) MergeWorkflowExecutionProgressTraceEvent(v WorkflowExecutionProgressTraceEvent) error
MergeWorkflowExecutionProgressTraceEvent performs a merge with any union data inside the WorkflowExecutionTraceEventsResponse_Events_Item, using the provided WorkflowExecutionProgressTraceEvent
func (*WorkflowExecutionTraceEventsResponse_Events_Item) MergeWorkflowExecutionTraceEvent ¶
func (t *WorkflowExecutionTraceEventsResponse_Events_Item) MergeWorkflowExecutionTraceEvent(v WorkflowExecutionTraceEvent) error
MergeWorkflowExecutionTraceEvent performs a merge with any union data inside the WorkflowExecutionTraceEventsResponse_Events_Item, using the provided WorkflowExecutionTraceEvent
func (*WorkflowExecutionTraceEventsResponse_Events_Item) UnmarshalJSON ¶
func (t *WorkflowExecutionTraceEventsResponse_Events_Item) UnmarshalJSON(b []byte) error
type WorkflowExecutionTraceOTelResponse ¶
type WorkflowExecutionTraceOTelResponse struct {
// DataSource The data source of the trace
DataSource string `json:"data_source"`
// EndTime The end time of the workflow execution, if available
EndTime *time.Time `json:"end_time"`
// ExecutionId The ID of the workflow execution
ExecutionId string `json:"execution_id"`
// OtelTraceData The raw OpenTelemetry trace data
OtelTraceData *TempoGetTraceResponse `json:"otel_trace_data,omitempty"`
// OtelTraceId The ID of the trace
OtelTraceId *string `json:"otel_trace_id,omitempty"`
// ParentExecutionId The parent execution ID of the workflow execution
ParentExecutionId *string `json:"parent_execution_id,omitempty"`
// Result The result of the workflow execution, if available
Result interface{} `json:"result"`
// RootExecutionId The root execution ID of the workflow execution
RootExecutionId string `json:"root_execution_id"`
// StartTime The start time of the workflow execution
StartTime time.Time `json:"start_time"`
// Status The status of the workflow execution
Status *WorkflowExecutionStatus `json:"status"`
// TotalDurationMs The total duration of the trace in milliseconds
TotalDurationMs *int `json:"total_duration_ms,omitempty"`
// WorkflowName The name of the workflow
WorkflowName string `json:"workflow_name"`
}
WorkflowExecutionTraceOTelResponse defines model for WorkflowExecutionTraceOTelResponse.
type WorkflowExecutionTraceSummaryAttributesValues ¶
type WorkflowExecutionTraceSummaryAttributesValues struct {
// contains filtered or unexported fields
}
WorkflowExecutionTraceSummaryAttributesValues defines model for WorkflowExecutionTraceSummaryAttributesValues.
func (WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues0 ¶
func (t WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues0() (WorkflowExecutionTraceSummaryAttributesValues0, error)
AsWorkflowExecutionTraceSummaryAttributesValues0 returns the union data inside the WorkflowExecutionTraceSummaryAttributesValues as a WorkflowExecutionTraceSummaryAttributesValues0
func (WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues1 ¶
func (t WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues1() (WorkflowExecutionTraceSummaryAttributesValues1, error)
AsWorkflowExecutionTraceSummaryAttributesValues1 returns the union data inside the WorkflowExecutionTraceSummaryAttributesValues as a WorkflowExecutionTraceSummaryAttributesValues1
func (WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues2 ¶
func (t WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues2() (WorkflowExecutionTraceSummaryAttributesValues2, error)
AsWorkflowExecutionTraceSummaryAttributesValues2 returns the union data inside the WorkflowExecutionTraceSummaryAttributesValues as a WorkflowExecutionTraceSummaryAttributesValues2
func (WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues3 ¶
func (t WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues3() (WorkflowExecutionTraceSummaryAttributesValues3, error)
AsWorkflowExecutionTraceSummaryAttributesValues3 returns the union data inside the WorkflowExecutionTraceSummaryAttributesValues as a WorkflowExecutionTraceSummaryAttributesValues3
func (*WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues0 ¶
func (t *WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues0(v WorkflowExecutionTraceSummaryAttributesValues0) error
FromWorkflowExecutionTraceSummaryAttributesValues0 overwrites any union data inside the WorkflowExecutionTraceSummaryAttributesValues as the provided WorkflowExecutionTraceSummaryAttributesValues0
func (*WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues1 ¶
func (t *WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues1(v WorkflowExecutionTraceSummaryAttributesValues1) error
FromWorkflowExecutionTraceSummaryAttributesValues1 overwrites any union data inside the WorkflowExecutionTraceSummaryAttributesValues as the provided WorkflowExecutionTraceSummaryAttributesValues1
func (*WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues2 ¶
func (t *WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues2(v WorkflowExecutionTraceSummaryAttributesValues2) error
FromWorkflowExecutionTraceSummaryAttributesValues2 overwrites any union data inside the WorkflowExecutionTraceSummaryAttributesValues as the provided WorkflowExecutionTraceSummaryAttributesValues2
func (*WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues3 ¶
func (t *WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues3(v WorkflowExecutionTraceSummaryAttributesValues3) error
FromWorkflowExecutionTraceSummaryAttributesValues3 overwrites any union data inside the WorkflowExecutionTraceSummaryAttributesValues as the provided WorkflowExecutionTraceSummaryAttributesValues3
func (WorkflowExecutionTraceSummaryAttributesValues) MarshalJSON ¶
func (t WorkflowExecutionTraceSummaryAttributesValues) MarshalJSON() ([]byte, error)
func (*WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues0 ¶
func (t *WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues0(v WorkflowExecutionTraceSummaryAttributesValues0) error
MergeWorkflowExecutionTraceSummaryAttributesValues0 performs a merge with any union data inside the WorkflowExecutionTraceSummaryAttributesValues, using the provided WorkflowExecutionTraceSummaryAttributesValues0
func (*WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues1 ¶
func (t *WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues1(v WorkflowExecutionTraceSummaryAttributesValues1) error
MergeWorkflowExecutionTraceSummaryAttributesValues1 performs a merge with any union data inside the WorkflowExecutionTraceSummaryAttributesValues, using the provided WorkflowExecutionTraceSummaryAttributesValues1
func (*WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues2 ¶
func (t *WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues2(v WorkflowExecutionTraceSummaryAttributesValues2) error
MergeWorkflowExecutionTraceSummaryAttributesValues2 performs a merge with any union data inside the WorkflowExecutionTraceSummaryAttributesValues, using the provided WorkflowExecutionTraceSummaryAttributesValues2
func (*WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues3 ¶
func (t *WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues3(v WorkflowExecutionTraceSummaryAttributesValues3) error
MergeWorkflowExecutionTraceSummaryAttributesValues3 performs a merge with any union data inside the WorkflowExecutionTraceSummaryAttributesValues, using the provided WorkflowExecutionTraceSummaryAttributesValues3
func (*WorkflowExecutionTraceSummaryAttributesValues) UnmarshalJSON ¶
func (t *WorkflowExecutionTraceSummaryAttributesValues) UnmarshalJSON(b []byte) error
type WorkflowExecutionTraceSummaryAttributesValues0 ¶
type WorkflowExecutionTraceSummaryAttributesValues0 = string
WorkflowExecutionTraceSummaryAttributesValues0 defines model for WorkflowExecutionTraceSummaryAttributesValues.0.
type WorkflowExecutionTraceSummaryAttributesValues1 ¶
type WorkflowExecutionTraceSummaryAttributesValues1 = int
WorkflowExecutionTraceSummaryAttributesValues1 defines model for WorkflowExecutionTraceSummaryAttributesValues.1.
type WorkflowExecutionTraceSummaryAttributesValues2 ¶
type WorkflowExecutionTraceSummaryAttributesValues2 = float32
WorkflowExecutionTraceSummaryAttributesValues2 defines model for WorkflowExecutionTraceSummaryAttributesValues.2.
type WorkflowExecutionTraceSummaryAttributesValues3 ¶
type WorkflowExecutionTraceSummaryAttributesValues3 = bool
WorkflowExecutionTraceSummaryAttributesValues3 defines model for WorkflowExecutionTraceSummaryAttributesValues.3.
type WorkflowExecutionTraceSummaryResponse ¶
type WorkflowExecutionTraceSummaryResponse struct {
// EndTime The end time of the workflow execution, if available
EndTime *time.Time `json:"end_time"`
// ExecutionId The ID of the workflow execution
ExecutionId string `json:"execution_id"`
// ParentExecutionId The parent execution ID of the workflow execution
ParentExecutionId *string `json:"parent_execution_id,omitempty"`
// Result The result of the workflow execution, if available
Result interface{} `json:"result"`
// RootExecutionId The root execution ID of the workflow execution
RootExecutionId string `json:"root_execution_id"`
// SpanTree The root span of the trace
SpanTree *WorkflowExecutionTraceSummarySpan `json:"span_tree,omitempty"`
// StartTime The start time of the workflow execution
StartTime time.Time `json:"start_time"`
// Status The status of the workflow execution
Status *WorkflowExecutionStatus `json:"status"`
// TotalDurationMs The total duration of the trace in milliseconds
TotalDurationMs *int `json:"total_duration_ms,omitempty"`
// WorkflowName The name of the workflow
WorkflowName string `json:"workflow_name"`
}
WorkflowExecutionTraceSummaryResponse defines model for WorkflowExecutionTraceSummaryResponse.
type WorkflowExecutionTraceSummarySpan ¶
type WorkflowExecutionTraceSummarySpan struct {
// Attributes The attributes of the span
Attributes map[string]*WorkflowExecutionTraceSummaryAttributesValues `json:"attributes"`
// Children The child spans of the span
Children *[]WorkflowExecutionTraceSummarySpan `json:"children,omitempty"`
// EndTimeUnixNano The end time of the span in nanoseconds since the Unix epoch
EndTimeUnixNano *int `json:"end_time_unix_nano"`
// Events The events of the span
Events []WorkflowExecutionTraceEvent `json:"events"`
// Name The name of the span
Name string `json:"name"`
// SpanId The ID of the span
SpanId string `json:"span_id"`
// StartTimeUnixNano The start time of the span in nanoseconds since the Unix epoch
StartTimeUnixNano int `json:"start_time_unix_nano"`
}
WorkflowExecutionTraceSummarySpan defines model for WorkflowExecutionTraceSummarySpan.
type WorkflowExecutionWithoutResultResponse ¶
type WorkflowExecutionWithoutResultResponse struct {
// EndTime The end time of the workflow execution, if available
EndTime *time.Time `json:"end_time"`
// ExecutionId The ID of the workflow execution
ExecutionId string `json:"execution_id"`
// ParentExecutionId The parent execution ID of the workflow execution
ParentExecutionId *string `json:"parent_execution_id,omitempty"`
// RootExecutionId The root execution ID of the workflow execution
RootExecutionId string `json:"root_execution_id"`
// StartTime The start time of the workflow execution
StartTime time.Time `json:"start_time"`
// Status The status of the workflow execution
Status *WorkflowExecutionStatus `json:"status"`
// TotalDurationMs The total duration of the trace in milliseconds
TotalDurationMs *int `json:"total_duration_ms,omitempty"`
// WorkflowName The name of the workflow
WorkflowName string `json:"workflow_name"`
}
WorkflowExecutionWithoutResultResponse defines model for WorkflowExecutionWithoutResultResponse.
type WorkflowGetResponse ¶
type WorkflowGetResponse struct {
// Workflow The workflow spec
Workflow WorkflowWithWorkerStatus `json:"workflow"`
}
WorkflowGetResponse defines model for WorkflowGetResponse.
type WorkflowMetrics ¶
type WorkflowMetrics struct {
// AverageLatencyMs Scalar metric with a single value.
AverageLatencyMs ScalarMetric `json:"average_latency_ms"`
// ErrorCount Scalar metric with a single value.
ErrorCount ScalarMetric `json:"error_count"`
// ExecutionCount Scalar metric with a single value.
ExecutionCount ScalarMetric `json:"execution_count"`
// LatencyOverTime Time-series metric with timestamp-value pairs.
LatencyOverTime TimeSeriesMetric `json:"latency_over_time"`
// RetryRate Scalar metric with a single value.
RetryRate ScalarMetric `json:"retry_rate"`
// SuccessCount Scalar metric with a single value.
SuccessCount ScalarMetric `json:"success_count"`
}
WorkflowMetrics Complete metrics for a specific workflow.
This type combines all metric categories.
type WorkflowRegistration ¶
type WorkflowRegistration struct {
// CompatibleWithChatAssistant Whether the workflow is compatible with chat assistant
CompatibleWithChatAssistant *bool `json:"compatible_with_chat_assistant,omitempty"`
Definition WorkflowCodeDefinition `json:"definition"`
// Id Unique identifier of the workflow registration
Id openapi_types.UUID `json:"id"`
// TaskQueue Project name of the workflow
TaskQueue string `json:"task_queue"`
// Workflow Workflow of the workflow registration
Workflow *Workflow `json:"workflow,omitempty"`
// WorkflowId Workflow ID of the workflow
WorkflowId openapi_types.UUID `json:"workflow_id"`
}
WorkflowRegistration defines model for WorkflowRegistration.
type WorkflowRegistrationGetResponse ¶
type WorkflowRegistrationGetResponse struct {
// WorkflowRegistration The workflow registration
WorkflowRegistration WorkflowRegistrationWithWorkerStatus `json:"workflow_registration"`
// WorkflowVersion Deprecated: use workflow_registration
WorkflowVersion *WorkflowRegistrationWithWorkerStatus `json:"workflow_version,omitempty"`
}
WorkflowRegistrationGetResponse defines model for WorkflowRegistrationGetResponse.
type WorkflowRegistrationListResponse ¶
type WorkflowRegistrationListResponse struct {
NextCursor *openapi_types.UUID `json:"next_cursor"`
// WorkflowRegistrations A list of workflow registrations
WorkflowRegistrations []WorkflowRegistration `json:"workflow_registrations"`
// WorkflowVersions Deprecated: use workflow_registrations
WorkflowVersions *[]WorkflowRegistration `json:"workflow_versions,omitempty"`
}
WorkflowRegistrationListResponse defines model for WorkflowRegistrationListResponse.
type WorkflowRegistrationWithWorkerStatus ¶
type WorkflowRegistrationWithWorkerStatus struct {
// Active Whether the workflow registration is active
Active bool `json:"active"`
// CompatibleWithChatAssistant Whether the workflow is compatible with chat assistant
CompatibleWithChatAssistant *bool `json:"compatible_with_chat_assistant,omitempty"`
Definition WorkflowCodeDefinition `json:"definition"`
// Id Unique identifier of the workflow registration
Id openapi_types.UUID `json:"id"`
// TaskQueue Project name of the workflow
TaskQueue string `json:"task_queue"`
// Workflow Workflow of the workflow registration
Workflow *Workflow `json:"workflow,omitempty"`
// WorkflowId Workflow ID of the workflow
WorkflowId openapi_types.UUID `json:"workflow_id"`
}
WorkflowRegistrationWithWorkerStatus defines model for WorkflowRegistrationWithWorkerStatus.
type WorkflowScheduleListResponse ¶
type WorkflowScheduleListResponse struct {
// Schedules A list of workflow schedules
Schedules []ScheduleDefinitionOutput `json:"schedules"`
}
WorkflowScheduleListResponse defines model for WorkflowScheduleListResponse.
type WorkflowScheduleRequest ¶
type WorkflowScheduleRequest struct {
// DeploymentName Name of the deployment to route this schedule to
DeploymentName *string `json:"deployment_name,omitempty"`
// Schedule The schedule definition
Schedule ScheduleDefinition `json:"schedule"`
// ScheduleId Allows you to specify a custom schedule ID. If not provided, a random ID will be generated.
ScheduleId *string `json:"schedule_id,omitempty"`
// WorkflowIdentifier The name or ID of the workflow to schedule
WorkflowIdentifier *string `json:"workflow_identifier,omitempty"`
// WorkflowRegistrationId The ID of the workflow registration to schedule
WorkflowRegistrationId *openapi_types.UUID `json:"workflow_registration_id,omitempty"`
// WorkflowTaskQueue Deprecated. Use deployment_name instead.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
WorkflowTaskQueue *string `json:"workflow_task_queue,omitempty"`
// WorkflowVersionId Deprecated: use workflow_registration_id
WorkflowVersionId *openapi_types.UUID `json:"workflow_version_id,omitempty"`
}
WorkflowScheduleRequest defines model for WorkflowScheduleRequest.
type WorkflowScheduleResponse ¶
type WorkflowScheduleResponse struct {
// ScheduleId The ID of the schedule
ScheduleId string `json:"schedule_id"`
}
WorkflowScheduleResponse defines model for WorkflowScheduleResponse.
type WorkflowTaskFailedAttributes ¶
type WorkflowTaskFailedAttributes struct {
// Failure Details about the failure that caused the task to fail.
Failure Failure `json:"failure"`
// TaskId Unique identifier for the task within the workflow execution.
TaskId string `json:"task_id"`
}
WorkflowTaskFailedAttributes Attributes for workflow task failed events.
type WorkflowTaskFailedResponse ¶
type WorkflowTaskFailedResponse struct {
// Attributes Event-specific attributes.
Attributes WorkflowTaskFailedAttributes `json:"attributes"`
// EventId Unique identifier for this event instance.
EventId string `json:"event_id"`
// EventTimestamp Unix timestamp in nanoseconds when the event was created.
EventTimestamp int `json:"event_timestamp"`
// EventType Event type discriminator.
EventType WorkflowTaskFailedResponseEventType `json:"event_type"`
// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`
// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
RootWorkflowExecId string `json:"root_workflow_exec_id"`
// WorkflowExecId Execution ID of the workflow that emitted this event.
WorkflowExecId string `json:"workflow_exec_id"`
// WorkflowName The registered name of the workflow that emitted this event.
WorkflowName string `json:"workflow_name"`
// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
WorkflowRunId string `json:"workflow_run_id"`
}
WorkflowTaskFailedResponse Emitted when a workflow task fails.
This indicates an error occurred during workflow task execution, which may trigger a retry depending on configuration.
type WorkflowTaskFailedResponseEventType ¶
type WorkflowTaskFailedResponseEventType string
WorkflowTaskFailedResponseEventType Event type discriminator.
const (
WorkflowTaskFailedResponseEventTypeWORKFLOWTASKFAILED WorkflowTaskFailedResponseEventType = "WORKFLOW_TASK_FAILED"
)
Defines values for WorkflowTaskFailedResponseEventType.
func (WorkflowTaskFailedResponseEventType) Valid ¶
func (e WorkflowTaskFailedResponseEventType) Valid() bool
Valid indicates whether the value is a known member of the WorkflowTaskFailedResponseEventType enum.
type WorkflowTaskTimedOutAttributes ¶
type WorkflowTaskTimedOutAttributes struct {
// TaskId Unique identifier for the task within the workflow execution.
TaskId string `json:"task_id"`
// TimeoutType The type of timeout that occurred (e.g., 'START_TO_CLOSE', 'SCHEDULE_TO_START').
TimeoutType *string `json:"timeout_type,omitempty"`
}
WorkflowTaskTimedOutAttributes Attributes for workflow task timed out events.
type WorkflowTaskTimedOutResponse ¶
type WorkflowTaskTimedOutResponse struct {
// Attributes Event-specific attributes.
Attributes WorkflowTaskTimedOutAttributes `json:"attributes"`
// EventId Unique identifier for this event instance.
EventId string `json:"event_id"`
// EventTimestamp Unix timestamp in nanoseconds when the event was created.
EventTimestamp int `json:"event_timestamp"`
// EventType Event type discriminator.
EventType WorkflowTaskTimedOutResponseEventType `json:"event_type"`
// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`
// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
RootWorkflowExecId string `json:"root_workflow_exec_id"`
// WorkflowExecId Execution ID of the workflow that emitted this event.
WorkflowExecId string `json:"workflow_exec_id"`
// WorkflowName The registered name of the workflow that emitted this event.
WorkflowName string `json:"workflow_name"`
// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
WorkflowRunId string `json:"workflow_run_id"`
}
WorkflowTaskTimedOutResponse Emitted when a workflow task times out.
This indicates the workflow task (a unit of workflow execution) exceeded its configured timeout.
type WorkflowTaskTimedOutResponseEventType ¶
type WorkflowTaskTimedOutResponseEventType string
WorkflowTaskTimedOutResponseEventType Event type discriminator.
const (
WorkflowTaskTimedOutResponseEventTypeWORKFLOWTASKTIMEDOUT WorkflowTaskTimedOutResponseEventType = "WORKFLOW_TASK_TIMED_OUT"
)
Defines values for WorkflowTaskTimedOutResponseEventType.
func (WorkflowTaskTimedOutResponseEventType) Valid ¶
func (e WorkflowTaskTimedOutResponseEventType) Valid() bool
Valid indicates whether the value is a known member of the WorkflowTaskTimedOutResponseEventType enum.
type WorkflowType ¶
type WorkflowType string
WorkflowType defines model for WorkflowType.
const (
WorkflowTypeCode WorkflowType = "code"
)
Defines values for WorkflowType.
func (WorkflowType) Valid ¶
func (e WorkflowType) Valid() bool
Valid indicates whether the value is a known member of the WorkflowType enum.
type WorkflowUnarchiveResponse ¶
type WorkflowUnarchiveResponse struct {
// Workflow The workflow spec
Workflow Workflow `json:"workflow"`
}
WorkflowUnarchiveResponse defines model for WorkflowUnarchiveResponse.
type WorkflowUpdateRequest ¶
type WorkflowUpdateRequest struct {
// AvailableInChatAssistant Whether to make the workflow available in the chat assistant
AvailableInChatAssistant *bool `json:"available_in_chat_assistant,omitempty"`
// Description New description value
Description *string `json:"description,omitempty"`
// DisplayName New display name value
DisplayName *string `json:"display_name,omitempty"`
}
WorkflowUpdateRequest defines model for WorkflowUpdateRequest.
type WorkflowUpdateResponse ¶
type WorkflowUpdateResponse struct {
// Workflow Updated workflow
Workflow Workflow `json:"workflow"`
}
WorkflowUpdateResponse defines model for WorkflowUpdateResponse.
type WorkflowWithWorkerStatus ¶
type WorkflowWithWorkerStatus struct {
// Active Whether the workflow is active
Active bool `json:"active"`
// Archived Whether the workflow is archived
Archived *bool `json:"archived,omitempty"`
// AvailableInChatAssistant Whether the workflow is available in chat assistant
AvailableInChatAssistant *bool `json:"available_in_chat_assistant,omitempty"`
// CustomerId Customer ID of the workflow
CustomerId openapi_types.UUID `json:"customer_id"`
// Description Description of the workflow
Description *string `json:"description,omitempty"`
// DisplayName Display name of the workflow
DisplayName string `json:"display_name"`
// Id Unique identifier of the workflow
Id openapi_types.UUID `json:"id"`
// IsTechnical Whether the workflow is technical (e.g. SDK-managed)
IsTechnical *bool `json:"is_technical,omitempty"`
// Name Name of the workflow
Name string `json:"name"`
SharedNamespace *string `json:"shared_namespace,omitempty"`
// Type Type of the workflow
Type WorkflowType `json:"type"`
// WorkspaceId Workspace ID of the workflow
WorkspaceId openapi_types.UUID `json:"workspace_id"`
}
WorkflowWithWorkerStatus defines model for WorkflowWithWorkerStatus.