UNPKG

@datadog/datadog-api-client

Version:
893 lines 89 kB
import { BaseAPIRequestFactory } from "../../datadog-api-client-common/baseapi"; import { Configuration } from "../../datadog-api-client-common/configuration"; import { RequestContext, ResponseContext, HttpFile } from "../../datadog-api-client-common/http/http"; import { LLMObsAnnotatedInteractionsByTraceResponse } from "../models/LLMObsAnnotatedInteractionsByTraceResponse"; import { LLMObsAnnotatedInteractionsResponse } from "../models/LLMObsAnnotatedInteractionsResponse"; import { LLMObsAnnotationQueueInteractionsRequest } from "../models/LLMObsAnnotationQueueInteractionsRequest"; import { LLMObsAnnotationQueueInteractionsResponse } from "../models/LLMObsAnnotationQueueInteractionsResponse"; import { LLMObsAnnotationQueueLabelSchemaResponse } from "../models/LLMObsAnnotationQueueLabelSchemaResponse"; import { LLMObsAnnotationQueueLabelSchemaUpdateRequest } from "../models/LLMObsAnnotationQueueLabelSchemaUpdateRequest"; import { LLMObsAnnotationQueueRequest } from "../models/LLMObsAnnotationQueueRequest"; import { LLMObsAnnotationQueueResponse } from "../models/LLMObsAnnotationQueueResponse"; import { LLMObsAnnotationQueuesResponse } from "../models/LLMObsAnnotationQueuesResponse"; import { LLMObsAnnotationQueueUpdateRequest } from "../models/LLMObsAnnotationQueueUpdateRequest"; import { LLMObsAnnotationsRequest } from "../models/LLMObsAnnotationsRequest"; import { LLMObsAnnotationsResponse } from "../models/LLMObsAnnotationsResponse"; import { LLMObsCustomEvalConfigResponse } from "../models/LLMObsCustomEvalConfigResponse"; import { LLMObsCustomEvalConfigUpdateRequest } from "../models/LLMObsCustomEvalConfigUpdateRequest"; import { LLMObsDataDeletionRequest } from "../models/LLMObsDataDeletionRequest"; import { LLMObsDataDeletionResponse } from "../models/LLMObsDataDeletionResponse"; import { LLMObsDatasetBatchUpdateRequest } from "../models/LLMObsDatasetBatchUpdateRequest"; import { LLMObsDatasetCloneRequest } from "../models/LLMObsDatasetCloneRequest"; import { LLMObsDatasetDraftStateResponse } from "../models/LLMObsDatasetDraftStateResponse"; import { LLMObsDatasetExportFormat } from "../models/LLMObsDatasetExportFormat"; import { LLMObsDatasetRecordsListResponse } from "../models/LLMObsDatasetRecordsListResponse"; import { LLMObsDatasetRecordsMutationResponse } from "../models/LLMObsDatasetRecordsMutationResponse"; import { LLMObsDatasetRecordsRequest } from "../models/LLMObsDatasetRecordsRequest"; import { LLMObsDatasetRecordsUpdateRequest } from "../models/LLMObsDatasetRecordsUpdateRequest"; import { LLMObsDatasetRequest } from "../models/LLMObsDatasetRequest"; import { LLMObsDatasetResponse } from "../models/LLMObsDatasetResponse"; import { LLMObsDatasetRestoreVersionRequest } from "../models/LLMObsDatasetRestoreVersionRequest"; import { LLMObsDatasetsResponse } from "../models/LLMObsDatasetsResponse"; import { LLMObsDatasetUpdateRequest } from "../models/LLMObsDatasetUpdateRequest"; import { LLMObsDatasetVersionsResponse } from "../models/LLMObsDatasetVersionsResponse"; import { LLMObsDeleteAnnotationQueueInteractionsRequest } from "../models/LLMObsDeleteAnnotationQueueInteractionsRequest"; import { LLMObsDeleteAnnotationsRequest } from "../models/LLMObsDeleteAnnotationsRequest"; import { LLMObsDeleteAnnotationsResponse } from "../models/LLMObsDeleteAnnotationsResponse"; import { LLMObsDeleteDatasetRecordsRequest } from "../models/LLMObsDeleteDatasetRecordsRequest"; import { LLMObsDeleteDatasetsRequest } from "../models/LLMObsDeleteDatasetsRequest"; import { LLMObsDeleteExperimentsRequest } from "../models/LLMObsDeleteExperimentsRequest"; import { LLMObsDeleteProjectsRequest } from "../models/LLMObsDeleteProjectsRequest"; import { LLMObsExperimentationAnalyticsRequest } from "../models/LLMObsExperimentationAnalyticsRequest"; import { LLMObsExperimentationAnalyticsResponse } from "../models/LLMObsExperimentationAnalyticsResponse"; import { LLMObsExperimentationSearchRequest } from "../models/LLMObsExperimentationSearchRequest"; import { LLMObsExperimentationSearchResponse } from "../models/LLMObsExperimentationSearchResponse"; import { LLMObsExperimentationSimpleSearchRequest } from "../models/LLMObsExperimentationSimpleSearchRequest"; import { LLMObsExperimentationSimpleSearchResponse } from "../models/LLMObsExperimentationSimpleSearchResponse"; import { LLMObsExperimentEventsRequest } from "../models/LLMObsExperimentEventsRequest"; import { LLMObsExperimentEventsV2Response } from "../models/LLMObsExperimentEventsV2Response"; import { LLMObsExperimentRequest } from "../models/LLMObsExperimentRequest"; import { LLMObsExperimentResponse } from "../models/LLMObsExperimentResponse"; import { LLMObsExperimentSpansResponse } from "../models/LLMObsExperimentSpansResponse"; import { LLMObsExperimentsResponse } from "../models/LLMObsExperimentsResponse"; import { LLMObsExperimentUpdateRequest } from "../models/LLMObsExperimentUpdateRequest"; import { LLMObsIntegrationAccount } from "../models/LLMObsIntegrationAccount"; import { LLMObsIntegrationInferenceRequest } from "../models/LLMObsIntegrationInferenceRequest"; import { LLMObsIntegrationInferenceResponse } from "../models/LLMObsIntegrationInferenceResponse"; import { LLMObsIntegrationModel } from "../models/LLMObsIntegrationModel"; import { LLMObsIntegrationName } from "../models/LLMObsIntegrationName"; import { LLMObsPatternsClusteredPointsResponse } from "../models/LLMObsPatternsClusteredPointsResponse"; import { LLMObsPatternsConfigResponse } from "../models/LLMObsPatternsConfigResponse"; import { LLMObsPatternsConfigsResponse } from "../models/LLMObsPatternsConfigsResponse"; import { LLMObsPatternsConfigUpsertRequest } from "../models/LLMObsPatternsConfigUpsertRequest"; import { LLMObsPatternsRunsResponse } from "../models/LLMObsPatternsRunsResponse"; import { LLMObsPatternsRunStatusResponse } from "../models/LLMObsPatternsRunStatusResponse"; import { LLMObsPatternsTopicsResponse } from "../models/LLMObsPatternsTopicsResponse"; import { LLMObsPatternsTopicsWithClusteredPointsResponse } from "../models/LLMObsPatternsTopicsWithClusteredPointsResponse"; import { LLMObsPatternsTriggerRequest } from "../models/LLMObsPatternsTriggerRequest"; import { LLMObsPatternsTriggerResponse } from "../models/LLMObsPatternsTriggerResponse"; import { LLMObsProjectRequest } from "../models/LLMObsProjectRequest"; import { LLMObsProjectResponse } from "../models/LLMObsProjectResponse"; import { LLMObsProjectsResponse } from "../models/LLMObsProjectsResponse"; import { LLMObsProjectUpdateRequest } from "../models/LLMObsProjectUpdateRequest"; import { LLMObsSearchSpansRequest } from "../models/LLMObsSearchSpansRequest"; import { LLMObsSpansResponse } from "../models/LLMObsSpansResponse"; export declare class LLMObservabilityApiRequestFactory extends BaseAPIRequestFactory { aggregateLLMObsExperimentation(body: LLMObsExperimentationAnalyticsRequest, _options?: Configuration): Promise<RequestContext>; batchUpdateLLMObsDataset(projectId: string, datasetId: string, body: LLMObsDatasetBatchUpdateRequest, _options?: Configuration): Promise<RequestContext>; cloneLLMObsDataset(projectId: string, datasetId: string, body: LLMObsDatasetCloneRequest, _options?: Configuration): Promise<RequestContext>; createLLMObsAnnotationQueue(body: LLMObsAnnotationQueueRequest, _options?: Configuration): Promise<RequestContext>; createLLMObsAnnotationQueueInteractions(queueId: string, body: LLMObsAnnotationQueueInteractionsRequest, _options?: Configuration): Promise<RequestContext>; createLLMObsDataset(projectId: string, body: LLMObsDatasetRequest, _options?: Configuration): Promise<RequestContext>; createLLMObsDatasetRecords(projectId: string, datasetId: string, body: LLMObsDatasetRecordsRequest, _options?: Configuration): Promise<RequestContext>; createLLMObsExperiment(body: LLMObsExperimentRequest, _options?: Configuration): Promise<RequestContext>; createLLMObsExperimentEvents(experimentId: string, body: LLMObsExperimentEventsRequest, _options?: Configuration): Promise<RequestContext>; createLLMObsIntegrationInference(integration: LLMObsIntegrationName, accountId: string, body: LLMObsIntegrationInferenceRequest, _options?: Configuration): Promise<RequestContext>; createLLMObsProject(body: LLMObsProjectRequest, _options?: Configuration): Promise<RequestContext>; deleteLLMObsAnnotationQueue(queueId: string, _options?: Configuration): Promise<RequestContext>; deleteLLMObsAnnotationQueueInteractions(queueId: string, body: LLMObsDeleteAnnotationQueueInteractionsRequest, _options?: Configuration): Promise<RequestContext>; deleteLLMObsAnnotations(queueId: string, body: LLMObsDeleteAnnotationsRequest, _options?: Configuration): Promise<RequestContext>; deleteLLMObsCustomEvalConfig(evalName: string, _options?: Configuration): Promise<RequestContext>; deleteLLMObsData(body: LLMObsDataDeletionRequest, _options?: Configuration): Promise<RequestContext>; deleteLLMObsDatasetRecords(projectId: string, datasetId: string, body: LLMObsDeleteDatasetRecordsRequest, _options?: Configuration): Promise<RequestContext>; deleteLLMObsDatasets(projectId: string, body: LLMObsDeleteDatasetsRequest, _options?: Configuration): Promise<RequestContext>; deleteLLMObsExperiments(body: LLMObsDeleteExperimentsRequest, _options?: Configuration): Promise<RequestContext>; deleteLLMObsPatternsConfig(configId: string, _options?: Configuration): Promise<RequestContext>; deleteLLMObsProjects(body: LLMObsDeleteProjectsRequest, _options?: Configuration): Promise<RequestContext>; exportLLMObsDataset(projectId: string, datasetId: string, format?: LLMObsDatasetExportFormat, version?: number, _options?: Configuration): Promise<RequestContext>; getLLMObsAnnotatedInteractions(queueId: string, _options?: Configuration): Promise<RequestContext>; getLLMObsAnnotatedInteractionsByTraceIDs(contentIds: Array<string>, offset?: number, limit?: number, _options?: Configuration): Promise<RequestContext>; getLLMObsAnnotationQueueLabelSchema(queueId: string, _options?: Configuration): Promise<RequestContext>; getLLMObsCustomEvalConfig(evalName: string, _options?: Configuration): Promise<RequestContext>; getLLMObsDatasetDraftState(projectId: string, datasetId: string, _options?: Configuration): Promise<RequestContext>; getLLMObsPatternsConfig(_options?: Configuration): Promise<RequestContext>; getLLMObsPatternsRunStatus(configId: string, _options?: Configuration): Promise<RequestContext>; listLLMObsAnnotationQueues(projectId?: string, queueIds?: Array<string>, _options?: Configuration): Promise<RequestContext>; listLLMObsDatasetRecords(projectId: string, datasetId: string, filterVersion?: number, pageCursor?: string, pageLimit?: number, _options?: Configuration): Promise<RequestContext>; listLLMObsDatasets(projectId: string, filterName?: string, filterId?: string, pageCursor?: string, pageLimit?: number, _options?: Configuration): Promise<RequestContext>; listLLMObsDatasetVersions(projectId: string, datasetId: string, _options?: Configuration): Promise<RequestContext>; listLLMObsExperimentEvents(experimentId: string, pageLimit?: number, pageCursor?: string, _options?: Configuration): Promise<RequestContext>; listLLMObsExperimentEventsV1(experimentId: string, _options?: Configuration): Promise<RequestContext>; listLLMObsExperimentEventsV2(experimentId: string, _options?: Configuration): Promise<RequestContext>; listLLMObsExperiments(filterProjectId?: string, filterDatasetId?: string, filterId?: string, filterName?: string, filterExperiment?: string, filterMetadata?: string, filterParentExperimentId?: string, filterIsDeleted?: boolean, includeUserData?: boolean, includeDatasetNames?: boolean, pageCursor?: string, pageLimit?: number, _options?: Configuration): Promise<RequestContext>; listLLMObsIntegrationAccounts(integration: LLMObsIntegrationName, _options?: Configuration): Promise<RequestContext>; listLLMObsIntegrationModels(integration: LLMObsIntegrationName, accountId: string, _options?: Configuration): Promise<RequestContext>; listLLMObsPatternsClusteredPoints(topicId: string, pageSize?: number, pageToken?: string, _options?: Configuration): Promise<RequestContext>; listLLMObsPatternsConfigs(_options?: Configuration): Promise<RequestContext>; listLLMObsPatternsRuns(configId: string, _options?: Configuration): Promise<RequestContext>; listLLMObsPatternsTopics(configId: string, runId?: string, _options?: Configuration): Promise<RequestContext>; listLLMObsPatternsTopicsWithClusteredPoints(configId: string, runId?: string, includeMetrics?: boolean, _options?: Configuration): Promise<RequestContext>; listLLMObsProjects(filterId?: string, filterName?: string, pageCursor?: string, pageLimit?: number, _options?: Configuration): Promise<RequestContext>; listLLMObsSpans(filterFrom?: string, filterTo?: string, filterQuery?: string, filterSpanId?: string, filterTraceId?: string, filterSpanKind?: string, filterSpanName?: string, filterMlApp?: string, pageLimit?: number, pageCursor?: string, sort?: string, includeAttachments?: boolean, _options?: Configuration): Promise<RequestContext>; lockLLMObsDatasetDraftState(projectId: string, datasetId: string, _options?: Configuration): Promise<RequestContext>; restoreLLMObsDatasetVersion(projectId: string, datasetId: string, body: LLMObsDatasetRestoreVersionRequest, _options?: Configuration): Promise<RequestContext>; searchLLMObsExperimentation(body: LLMObsExperimentationSearchRequest, _options?: Configuration): Promise<RequestContext>; searchLLMObsSpans(body: LLMObsSearchSpansRequest, _options?: Configuration): Promise<RequestContext>; simpleSearchLLMObsExperimentation(body: LLMObsExperimentationSimpleSearchRequest, _options?: Configuration): Promise<RequestContext>; triggerLLMObsPatterns(body: LLMObsPatternsTriggerRequest, _options?: Configuration): Promise<RequestContext>; unlockLLMObsDatasetDraftState(projectId: string, datasetId: string, _options?: Configuration): Promise<RequestContext>; updateLLMObsAnnotationQueue(queueId: string, body: LLMObsAnnotationQueueUpdateRequest, _options?: Configuration): Promise<RequestContext>; updateLLMObsAnnotationQueueLabelSchema(queueId: string, body: LLMObsAnnotationQueueLabelSchemaUpdateRequest, _options?: Configuration): Promise<RequestContext>; updateLLMObsCustomEvalConfig(evalName: string, body: LLMObsCustomEvalConfigUpdateRequest, _options?: Configuration): Promise<RequestContext>; updateLLMObsDataset(projectId: string, datasetId: string, body: LLMObsDatasetUpdateRequest, _options?: Configuration): Promise<RequestContext>; updateLLMObsDatasetRecords(projectId: string, datasetId: string, body: LLMObsDatasetRecordsUpdateRequest, _options?: Configuration): Promise<RequestContext>; updateLLMObsExperiment(experimentId: string, body: LLMObsExperimentUpdateRequest, _options?: Configuration): Promise<RequestContext>; updateLLMObsProject(projectId: string, body: LLMObsProjectUpdateRequest, _options?: Configuration): Promise<RequestContext>; uploadLLMObsDatasetRecordsFile(projectId: string, datasetId: string, deduplicate?: boolean, overwrite?: boolean, tags?: Array<string>, includeUserData?: boolean, file?: HttpFile, _options?: Configuration): Promise<RequestContext>; upsertLLMObsAnnotations(queueId: string, body: LLMObsAnnotationsRequest, _options?: Configuration): Promise<RequestContext>; upsertLLMObsPatternsConfig(body: LLMObsPatternsConfigUpsertRequest, _options?: Configuration): Promise<RequestContext>; } export declare class LLMObservabilityApiResponseProcessor { /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to aggregateLLMObsExperimentation * @throws ApiException if the response code was not in [200, 299] */ aggregateLLMObsExperimentation(response: ResponseContext): Promise<LLMObsExperimentationAnalyticsResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to batchUpdateLLMObsDataset * @throws ApiException if the response code was not in [200, 299] */ batchUpdateLLMObsDataset(response: ResponseContext): Promise<LLMObsDatasetRecordsMutationResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to cloneLLMObsDataset * @throws ApiException if the response code was not in [200, 299] */ cloneLLMObsDataset(response: ResponseContext): Promise<LLMObsDatasetResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to createLLMObsAnnotationQueue * @throws ApiException if the response code was not in [200, 299] */ createLLMObsAnnotationQueue(response: ResponseContext): Promise<LLMObsAnnotationQueueResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to createLLMObsAnnotationQueueInteractions * @throws ApiException if the response code was not in [200, 299] */ createLLMObsAnnotationQueueInteractions(response: ResponseContext): Promise<LLMObsAnnotationQueueInteractionsResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to createLLMObsDataset * @throws ApiException if the response code was not in [200, 299] */ createLLMObsDataset(response: ResponseContext): Promise<LLMObsDatasetResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to createLLMObsDatasetRecords * @throws ApiException if the response code was not in [200, 299] */ createLLMObsDatasetRecords(response: ResponseContext): Promise<LLMObsDatasetRecordsMutationResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to createLLMObsExperiment * @throws ApiException if the response code was not in [200, 299] */ createLLMObsExperiment(response: ResponseContext): Promise<LLMObsExperimentResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to createLLMObsExperimentEvents * @throws ApiException if the response code was not in [200, 299] */ createLLMObsExperimentEvents(response: ResponseContext): Promise<void>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to createLLMObsIntegrationInference * @throws ApiException if the response code was not in [200, 299] */ createLLMObsIntegrationInference(response: ResponseContext): Promise<LLMObsIntegrationInferenceResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to createLLMObsProject * @throws ApiException if the response code was not in [200, 299] */ createLLMObsProject(response: ResponseContext): Promise<LLMObsProjectResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to deleteLLMObsAnnotationQueue * @throws ApiException if the response code was not in [200, 299] */ deleteLLMObsAnnotationQueue(response: ResponseContext): Promise<void>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to deleteLLMObsAnnotationQueueInteractions * @throws ApiException if the response code was not in [200, 299] */ deleteLLMObsAnnotationQueueInteractions(response: ResponseContext): Promise<void>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to deleteLLMObsAnnotations * @throws ApiException if the response code was not in [200, 299] */ deleteLLMObsAnnotations(response: ResponseContext): Promise<LLMObsDeleteAnnotationsResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to deleteLLMObsCustomEvalConfig * @throws ApiException if the response code was not in [200, 299] */ deleteLLMObsCustomEvalConfig(response: ResponseContext): Promise<void>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to deleteLLMObsData * @throws ApiException if the response code was not in [200, 299] */ deleteLLMObsData(response: ResponseContext): Promise<LLMObsDataDeletionResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to deleteLLMObsDatasetRecords * @throws ApiException if the response code was not in [200, 299] */ deleteLLMObsDatasetRecords(response: ResponseContext): Promise<void>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to deleteLLMObsDatasets * @throws ApiException if the response code was not in [200, 299] */ deleteLLMObsDatasets(response: ResponseContext): Promise<void>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to deleteLLMObsExperiments * @throws ApiException if the response code was not in [200, 299] */ deleteLLMObsExperiments(response: ResponseContext): Promise<void>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to deleteLLMObsPatternsConfig * @throws ApiException if the response code was not in [200, 299] */ deleteLLMObsPatternsConfig(response: ResponseContext): Promise<void>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to deleteLLMObsProjects * @throws ApiException if the response code was not in [200, 299] */ deleteLLMObsProjects(response: ResponseContext): Promise<void>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to exportLLMObsDataset * @throws ApiException if the response code was not in [200, 299] */ exportLLMObsDataset(response: ResponseContext): Promise<string>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to getLLMObsAnnotatedInteractions * @throws ApiException if the response code was not in [200, 299] */ getLLMObsAnnotatedInteractions(response: ResponseContext): Promise<LLMObsAnnotatedInteractionsResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to getLLMObsAnnotatedInteractionsByTraceIDs * @throws ApiException if the response code was not in [200, 299] */ getLLMObsAnnotatedInteractionsByTraceIDs(response: ResponseContext): Promise<LLMObsAnnotatedInteractionsByTraceResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to getLLMObsAnnotationQueueLabelSchema * @throws ApiException if the response code was not in [200, 299] */ getLLMObsAnnotationQueueLabelSchema(response: ResponseContext): Promise<LLMObsAnnotationQueueLabelSchemaResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to getLLMObsCustomEvalConfig * @throws ApiException if the response code was not in [200, 299] */ getLLMObsCustomEvalConfig(response: ResponseContext): Promise<LLMObsCustomEvalConfigResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to getLLMObsDatasetDraftState * @throws ApiException if the response code was not in [200, 299] */ getLLMObsDatasetDraftState(response: ResponseContext): Promise<LLMObsDatasetDraftStateResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to getLLMObsPatternsConfig * @throws ApiException if the response code was not in [200, 299] */ getLLMObsPatternsConfig(response: ResponseContext): Promise<LLMObsPatternsConfigResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to getLLMObsPatternsRunStatus * @throws ApiException if the response code was not in [200, 299] */ getLLMObsPatternsRunStatus(response: ResponseContext): Promise<LLMObsPatternsRunStatusResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listLLMObsAnnotationQueues * @throws ApiException if the response code was not in [200, 299] */ listLLMObsAnnotationQueues(response: ResponseContext): Promise<LLMObsAnnotationQueuesResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listLLMObsDatasetRecords * @throws ApiException if the response code was not in [200, 299] */ listLLMObsDatasetRecords(response: ResponseContext): Promise<LLMObsDatasetRecordsListResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listLLMObsDatasets * @throws ApiException if the response code was not in [200, 299] */ listLLMObsDatasets(response: ResponseContext): Promise<LLMObsDatasetsResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listLLMObsDatasetVersions * @throws ApiException if the response code was not in [200, 299] */ listLLMObsDatasetVersions(response: ResponseContext): Promise<LLMObsDatasetVersionsResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listLLMObsExperimentEvents * @throws ApiException if the response code was not in [200, 299] */ listLLMObsExperimentEvents(response: ResponseContext): Promise<LLMObsExperimentEventsV2Response>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listLLMObsExperimentEventsV1 * @throws ApiException if the response code was not in [200, 299] */ listLLMObsExperimentEventsV1(response: ResponseContext): Promise<LLMObsExperimentSpansResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listLLMObsExperimentEventsV2 * @throws ApiException if the response code was not in [200, 299] */ listLLMObsExperimentEventsV2(response: ResponseContext): Promise<LLMObsExperimentEventsV2Response>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listLLMObsExperiments * @throws ApiException if the response code was not in [200, 299] */ listLLMObsExperiments(response: ResponseContext): Promise<LLMObsExperimentsResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listLLMObsIntegrationAccounts * @throws ApiException if the response code was not in [200, 299] */ listLLMObsIntegrationAccounts(response: ResponseContext): Promise<Array<LLMObsIntegrationAccount>>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listLLMObsIntegrationModels * @throws ApiException if the response code was not in [200, 299] */ listLLMObsIntegrationModels(response: ResponseContext): Promise<Array<LLMObsIntegrationModel>>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listLLMObsPatternsClusteredPoints * @throws ApiException if the response code was not in [200, 299] */ listLLMObsPatternsClusteredPoints(response: ResponseContext): Promise<LLMObsPatternsClusteredPointsResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listLLMObsPatternsConfigs * @throws ApiException if the response code was not in [200, 299] */ listLLMObsPatternsConfigs(response: ResponseContext): Promise<LLMObsPatternsConfigsResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listLLMObsPatternsRuns * @throws ApiException if the response code was not in [200, 299] */ listLLMObsPatternsRuns(response: ResponseContext): Promise<LLMObsPatternsRunsResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listLLMObsPatternsTopics * @throws ApiException if the response code was not in [200, 299] */ listLLMObsPatternsTopics(response: ResponseContext): Promise<LLMObsPatternsTopicsResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listLLMObsPatternsTopicsWithClusteredPoints * @throws ApiException if the response code was not in [200, 299] */ listLLMObsPatternsTopicsWithClusteredPoints(response: ResponseContext): Promise<LLMObsPatternsTopicsWithClusteredPointsResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listLLMObsProjects * @throws ApiException if the response code was not in [200, 299] */ listLLMObsProjects(response: ResponseContext): Promise<LLMObsProjectsResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to listLLMObsSpans * @throws ApiException if the response code was not in [200, 299] */ listLLMObsSpans(response: ResponseContext): Promise<LLMObsSpansResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to lockLLMObsDatasetDraftState * @throws ApiException if the response code was not in [200, 299] */ lockLLMObsDatasetDraftState(response: ResponseContext): Promise<LLMObsDatasetDraftStateResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to restoreLLMObsDatasetVersion * @throws ApiException if the response code was not in [200, 299] */ restoreLLMObsDatasetVersion(response: ResponseContext): Promise<void>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to searchLLMObsExperimentation * @throws ApiException if the response code was not in [200, 299] */ searchLLMObsExperimentation(response: ResponseContext): Promise<LLMObsExperimentationSearchResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to searchLLMObsSpans * @throws ApiException if the response code was not in [200, 299] */ searchLLMObsSpans(response: ResponseContext): Promise<LLMObsSpansResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to simpleSearchLLMObsExperimentation * @throws ApiException if the response code was not in [200, 299] */ simpleSearchLLMObsExperimentation(response: ResponseContext): Promise<LLMObsExperimentationSimpleSearchResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to triggerLLMObsPatterns * @throws ApiException if the response code was not in [200, 299] */ triggerLLMObsPatterns(response: ResponseContext): Promise<LLMObsPatternsTriggerResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to unlockLLMObsDatasetDraftState * @throws ApiException if the response code was not in [200, 299] */ unlockLLMObsDatasetDraftState(response: ResponseContext): Promise<void>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to updateLLMObsAnnotationQueue * @throws ApiException if the response code was not in [200, 299] */ updateLLMObsAnnotationQueue(response: ResponseContext): Promise<LLMObsAnnotationQueueResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to updateLLMObsAnnotationQueueLabelSchema * @throws ApiException if the response code was not in [200, 299] */ updateLLMObsAnnotationQueueLabelSchema(response: ResponseContext): Promise<LLMObsAnnotationQueueLabelSchemaResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to updateLLMObsCustomEvalConfig * @throws ApiException if the response code was not in [200, 299] */ updateLLMObsCustomEvalConfig(response: ResponseContext): Promise<void>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to updateLLMObsDataset * @throws ApiException if the response code was not in [200, 299] */ updateLLMObsDataset(response: ResponseContext): Promise<LLMObsDatasetResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to updateLLMObsDatasetRecords * @throws ApiException if the response code was not in [200, 299] */ updateLLMObsDatasetRecords(response: ResponseContext): Promise<LLMObsDatasetRecordsMutationResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to updateLLMObsExperiment * @throws ApiException if the response code was not in [200, 299] */ updateLLMObsExperiment(response: ResponseContext): Promise<LLMObsExperimentResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to updateLLMObsProject * @throws ApiException if the response code was not in [200, 299] */ updateLLMObsProject(response: ResponseContext): Promise<LLMObsProjectResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to uploadLLMObsDatasetRecordsFile * @throws ApiException if the response code was not in [200, 299] */ uploadLLMObsDatasetRecordsFile(response: ResponseContext): Promise<void>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to upsertLLMObsAnnotations * @throws ApiException if the response code was not in [200, 299] */ upsertLLMObsAnnotations(response: ResponseContext): Promise<LLMObsAnnotationsResponse>; /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to upsertLLMObsPatternsConfig * @throws ApiException if the response code was not in [200, 299] */ upsertLLMObsPatternsConfig(response: ResponseContext): Promise<LLMObsPatternsConfigResponse>; } export interface LLMObservabilityApiAggregateLLMObsExperimentationRequest { /** * Analytics payload. * @type LLMObsExperimentationAnalyticsRequest */ body: LLMObsExperimentationAnalyticsRequest; } export interface LLMObservabilityApiBatchUpdateLLMObsDatasetRequest { /** * The ID of the LLM Observability project. * @type string */ projectId: string; /** * The ID of the LLM Observability dataset. * @type string */ datasetId: string; /** * Batch update payload. * @type LLMObsDatasetBatchUpdateRequest */ body: LLMObsDatasetBatchUpdateRequest; } export interface LLMObservabilityApiCloneLLMObsDatasetRequest { /** * The ID of the LLM Observability project. * @type string */ projectId: string; /** * The ID of the source LLM Observability dataset to clone. * @type string */ datasetId: string; /** * Clone dataset payload. * @type LLMObsDatasetCloneRequest */ body: LLMObsDatasetCloneRequest; } export interface LLMObservabilityApiCreateLLMObsAnnotationQueueRequest { /** * Create annotation queue payload. * @type LLMObsAnnotationQueueRequest */ body: LLMObsAnnotationQueueRequest; } export interface LLMObservabilityApiCreateLLMObsAnnotationQueueInteractionsRequest { /** * The ID of the LLM Observability annotation queue. * @type string */ queueId: string; /** * Add interactions payload. * @type LLMObsAnnotationQueueInteractionsRequest */ body: LLMObsAnnotationQueueInteractionsRequest; } export interface LLMObservabilityApiCreateLLMObsDatasetRequest { /** * The ID of the LLM Observability project. * @type string */ projectId: string; /** * Create dataset payload. * @type LLMObsDatasetRequest */ body: LLMObsDatasetRequest; } export interface LLMObservabilityApiCreateLLMObsDatasetRecordsRequest { /** * The ID of the LLM Observability project. * @type string */ projectId: string; /** * The ID of the LLM Observability dataset. * @type string */ datasetId: string; /** * Append records payload. * @type LLMObsDatasetRecordsRequest */ body: LLMObsDatasetRecordsRequest; } export interface LLMObservabilityApiCreateLLMObsExperimentRequest { /** * Create experiment payload. * @type LLMObsExperimentRequest */ body: LLMObsExperimentRequest; } export interface LLMObservabilityApiCreateLLMObsExperimentEventsRequest { /** * The ID of the LLM Observability experiment. * @type string */ experimentId: string; /** * Experiment events payload. * @type LLMObsExperimentEventsRequest */ body: LLMObsExperimentEventsRequest; } export interface LLMObservabilityApiCreateLLMObsIntegrationInferenceRequest { /** * The name of the LLM integration. * @type LLMObsIntegrationName */ integration: LLMObsIntegrationName; /** * The ID of the integration account. * @type string */ accountId: string; /** * Inference request parameters. * @type LLMObsIntegrationInferenceRequest */ body: LLMObsIntegrationInferenceRequest; } export interface LLMObservabilityApiCreateLLMObsProjectRequest { /** * Create project payload. * @type LLMObsProjectRequest */ body: LLMObsProjectRequest; } export interface LLMObservabilityApiDeleteLLMObsAnnotationQueueRequest { /** * The ID of the LLM Observability annotation queue. * @type string */ queueId: string; } export interface LLMObservabilityApiDeleteLLMObsAnnotationQueueInteractionsRequest { /** * The ID of the LLM Observability annotation queue. * @type string */ queueId: string; /** * Delete interactions payload. * @type LLMObsDeleteAnnotationQueueInteractionsRequest */ body: LLMObsDeleteAnnotationQueueInteractionsRequest; } export interface LLMObservabilityApiDeleteLLMObsAnnotationsRequest { /** * The ID of the LLM Observability annotation queue. * @type string */ queueId: string; /** * Delete annotations payload. * @type LLMObsDeleteAnnotationsRequest */ body: LLMObsDeleteAnnotationsRequest; } export interface LLMObservabilityApiDeleteLLMObsCustomEvalConfigRequest { /** * The name of the custom LLM Observability evaluator configuration. * @type string */ evalName: string; } export interface LLMObservabilityApiDeleteLLMObsDataRequest { /** * Data deletion request payload. * @type LLMObsDataDeletionRequest */ body: LLMObsDataDeletionRequest; } export interface LLMObservabilityApiDeleteLLMObsDatasetRecordsRequest { /** * The ID of the LLM Observability project. * @type string */ projectId: string; /** * The ID of the LLM Observability dataset. * @type string */ datasetId: string; /** * Delete records payload. * @type LLMObsDeleteDatasetRecordsRequest */ body: LLMObsDeleteDatasetRecordsRequest; } export interface LLMObservabilityApiDeleteLLMObsDatasetsRequest { /** * The ID of the LLM Observability project. * @type string */ projectId: string; /** * Delete datasets payload. * @type LLMObsDeleteDatasetsRequest */ body: LLMObsDeleteDatasetsRequest; } export interface LLMObservabilityApiDeleteLLMObsExperimentsRequest { /** * Delete experiments payload. * @type LLMObsDeleteExperimentsRequest */ body: LLMObsDeleteExperimentsRequest; } export interface LLMObservabilityApiDeleteLLMObsPatternsConfigRequest { /** * The ID of the patterns configuration. * @type string */ configId: string; } export interface LLMObservabilityApiDeleteLLMObsProjectsRequest { /** * Delete projects payload. * @type LLMObsDeleteProjectsRequest */ body: LLMObsDeleteProjectsRequest; } export interface LLMObservabilityApiExportLLMObsDatasetRequest { /** * The ID of the LLM Observability project. * @type string */ projectId: string; /** * The ID of the LLM Observability dataset. * @type string */ datasetId: string; /** * Export format for the dataset contents. Only `csv` is currently supported. * @type LLMObsDatasetExportFormat */ format?: LLMObsDatasetExportFormat; /** * Version of the dataset to export. If omitted, the current version is used. Must be between 0 and the current version of the dataset, inclusive. * @type number */ version?: numbe