import * as types from './graphql';
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
/**
 * Map of all GraphQL operations in the project.
 *
 * This map has several performance disadvantages:
 * 1. It is not tree-shakeable, so it will include all operations in the project.
 * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.
 * 3. It does not support dead code elimination, so it will add unused operations.
 *
 * Therefore it is highly recommended to use the babel or swc plugin for production.
 */
declare const documents: {
    "\n            query ListDatasets ($where: DatasetWhereInput, $skip: Int, $take: Int, $cursor: DatasetWhereUniqueInput, $distinct: [DatasetScalarFieldEnum!]) {\n                datasets(where: $where, skip: $skip, take: $take, orderBy: { createdAt: desc }, cursor: $cursor, distinct: $distinct) {\n                    id\n                    name\n                    createdAt\n                    updatedAt\n                    _count {\n                        predictions\n                        trainingPredictions\n                    }\n                }\n            }\n        ": DocumentNode<types.ListDatasetsQuery, types.Exact<{
        where?: types.InputMaybe<types.DatasetWhereInput> | undefined;
        skip?: types.InputMaybe<number> | undefined;
        take?: types.InputMaybe<number> | undefined;
        cursor?: types.InputMaybe<types.DatasetWhereUniqueInput> | undefined;
        distinct?: types.InputMaybe<types.DatasetScalarFieldEnum | types.DatasetScalarFieldEnum[]> | undefined;
    }>>;
    "\n            query GetDataset($datasetId: Int!) {\n                dataset(where: { id: $datasetId }) {\n                _count {\n                    predictions\n                    trainingPredictions\n                }\n                name\n                id\n                updatedAt\n                createdAt\n                }\n            }\n        ": DocumentNode<types.GetDatasetQuery, types.Exact<{
        datasetId: number;
    }>>;
    "\n            mutation CreateDataset($data: DatasetCreateInput!) {\n                createOneDataset(data: $data) {\n                id\n                name\n                }\n            }\n        ": DocumentNode<types.CreateDatasetMutation, types.Exact<{
        data: types.DatasetCreateInput;
    }>>;
    "\n            query GetDatasetCSV($datasetId: Float!) {\n                datasetCSV(datasetId: $datasetId)\n            }\n        ": DocumentNode<types.GetDatasetCsvQuery, types.Exact<{
        datasetId: number;
    }>>;
    "\n      query ListFeedback(\n        $where: FeedbackWhereInput\n        $cursor: FeedbackWhereUniqueInput\n        $orderBy: [FeedbackOrderByWithRelationInput!]\n        $take: Int\n        $skip: Int\n        $distinct: [FeedbackScalarFieldEnum!]\n      ) {\n        feedbacks(\n          where: $where\n          cursor: $cursor\n          orderBy: $orderBy\n          take: $take\n          skip: $skip\n          distinct: $distinct\n        ) {\n          content\n          createdAt\n          id\n          labelId\n          updatedAt\n          upvote\n          userId\n        }\n      }\n    ": DocumentNode<types.ListFeedbackQuery, types.Exact<{
        where?: types.InputMaybe<types.FeedbackWhereInput> | undefined;
        cursor?: types.InputMaybe<types.FeedbackWhereUniqueInput> | undefined;
        orderBy?: types.InputMaybe<types.FeedbackOrderByWithRelationInput | types.FeedbackOrderByWithRelationInput[]> | undefined;
        take?: types.InputMaybe<number> | undefined;
        skip?: types.InputMaybe<number> | undefined;
        distinct?: types.InputMaybe<types.FeedbackScalarFieldEnum | types.FeedbackScalarFieldEnum[]> | undefined;
    }>>;
    "\n      query GetFeedback($where: FeedbackWhereUniqueInput!) {\n        feedback(where: $where) {\n          id\n          userId\n          upvote\n          content\n          labelId\n        }\n      }\n    ": DocumentNode<types.GetFeedbackQuery, types.Exact<{
        where: types.FeedbackWhereUniqueInput;
    }>>;
    "\n      mutation CreateFeedback($data: FeedbackCreateInput!) {\n        createOneFeedback(data: $data) {\n          id\n          userId\n          upvote\n          content\n          labelId\n        }\n      }\n    ": DocumentNode<types.CreateFeedbackMutation, types.Exact<{
        data: types.FeedbackCreateInput;
    }>>;
    "\n      mutation CreateManyFeedbacks($data: [FeedbackCreateManyInput!]!) {\n        createManyFeedback(data: $data) {\n          count\n        }\n      }\n    ": DocumentNode<types.CreateManyFeedbacksMutation, types.Exact<{
        data: types.FeedbackCreateManyInput | types.FeedbackCreateManyInput[];
    }>>;
    "\n      mutation UpdateFeedback($where: FeedbackWhereUniqueInput!, $data: FeedbackUpdateInput!) {\n        updateOneFeedback(where: $where, data: $data) {\n          id\n          userId\n          upvote\n          content\n          labelId\n        }\n      }\n    ": DocumentNode<types.UpdateFeedbackMutation, types.Exact<{
        where: types.FeedbackWhereUniqueInput;
        data: types.FeedbackUpdateInput;
    }>>;
    "\n      mutation DeleteFeedback($where: FeedbackWhereUniqueInput!) {\n        deleteOneFeedback(where: $where) {\n          id\n        }\n      }\n    ": DocumentNode<types.DeleteFeedbackMutation, types.Exact<{
        where: types.FeedbackWhereUniqueInput;
    }>>;
    "\n      query ListInferenceBackends($where: InferenceBackendWhereInput, $skip: Int, $take: Int, $cursor: InferenceBackendWhereUniqueInput, $distinct: [InferenceBackendScalarFieldEnum!]) {\n        inferenceBackends(where: $where, skip: $skip, take: $take, orderBy: { createdAt: desc }, cursor: $cursor, distinct: $distinct) {\n          id\n          name\n          active\n          urls\n          apiKey\n        }\n      }\n    ": DocumentNode<types.ListInferenceBackendsQuery, types.Exact<{
        where?: types.InputMaybe<types.InferenceBackendWhereInput> | undefined;
        skip?: types.InputMaybe<number> | undefined;
        take?: types.InputMaybe<number> | undefined;
        cursor?: types.InputMaybe<types.InferenceBackendWhereUniqueInput> | undefined;
        distinct?: types.InputMaybe<types.InferenceBackendScalarFieldEnum | types.InferenceBackendScalarFieldEnum[]> | undefined;
    }>>;
    "\n      query GetInferenceBackend($where: InferenceBackendWhereUniqueInput!) {\n        inferenceBackend(where: $where) {\n          id\n          name\n          active\n          urls\n          apiKey\n        }\n      }\n    ": DocumentNode<types.GetInferenceBackendQuery, types.Exact<{
        where: types.InferenceBackendWhereUniqueInput;
    }>>;
    "\n      mutation CreateInferenceBackend($data: InferenceBackendCreateInput!) {\n        createOneInferenceBackend(data: $data) {\n          id\n          name\n          active\n          urls\n          apiKey\n        }\n      }\n    ": DocumentNode<types.CreateInferenceBackendMutation, types.Exact<{
        data: types.InferenceBackendCreateInput;
    }>>;
    "\n      mutation UpdateInferenceBackend(\n        $where: InferenceBackendWhereUniqueInput!\n        $data: InferenceBackendUpdateInput!\n      ) {\n        updateOneInferenceBackend(where: $where, data: $data) {\n          id\n          name\n          active\n          urls\n          apiKey\n        }\n      }\n    ": DocumentNode<types.UpdateInferenceBackendMutation, types.Exact<{
        where: types.InferenceBackendWhereUniqueInput;
        data: types.InferenceBackendUpdateInput;
    }>>;
    "\n      mutation DeleteInferenceBackend($where: InferenceBackendWhereUniqueInput!) {\n        deleteOneInferenceBackend(where: $where) {\n          id\n        }\n      }\n    ": DocumentNode<types.DeleteInferenceBackendMutation, types.Exact<{
        where: types.InferenceBackendWhereUniqueInput;
    }>>;
    "\n      query ListLabels(\n        $where: LabelWhereInput\n        $skip: Int\n        $take: Int\n        $cursor: LabelWhereUniqueInput\n        $distinct: [LabelScalarFieldEnum!]\n        $orderBy: [LabelOrderByWithRelationInput!]\n      ) {\n        labels(\n          where: $where\n          skip: $skip\n          take: $take\n          orderBy: $orderBy\n          cursor: $cursor\n          distinct: $distinct\n        ) {\n          id\n          value\n          confidence\n          predictionId\n          createdAt\n          name\n          trainingPredictionId\n          updatedAt\n        }\n      }\n    ": DocumentNode<types.ListLabelsQuery, types.Exact<{
        where?: types.InputMaybe<types.LabelWhereInput> | undefined;
        skip?: types.InputMaybe<number> | undefined;
        take?: types.InputMaybe<number> | undefined;
        cursor?: types.InputMaybe<types.LabelWhereUniqueInput> | undefined;
        distinct?: types.InputMaybe<types.LabelScalarFieldEnum | types.LabelScalarFieldEnum[]> | undefined;
        orderBy?: types.InputMaybe<types.LabelOrderByWithRelationInput | types.LabelOrderByWithRelationInput[]> | undefined;
    }>>;
    "\n      query GetLabel($where: LabelWhereUniqueInput!) {\n        label(where: $where) {\n          id\n          value\n          confidence\n          predictionId\n        }\n      }\n    ": DocumentNode<types.GetLabelQuery, types.Exact<{
        where: types.LabelWhereUniqueInput;
    }>>;
    "\n      mutation CreateLabel($data: LabelCreateInput!) {\n        createOneLabel(data: $data) {\n          id\n          value\n          confidence\n          predictionId\n        }\n      }\n    ": DocumentNode<types.CreateLabelMutation, types.Exact<{
        data: types.LabelCreateInput;
    }>>;
    "\n      mutation UpdateLabel($where: LabelWhereUniqueInput!, $data: LabelUpdateInput!) {\n        updateOneLabel(where: $where, data: $data) {\n          id\n          value\n          confidence\n          predictionId\n        }\n      }\n    ": DocumentNode<types.UpdateLabelMutation, types.Exact<{
        where: types.LabelWhereUniqueInput;
        data: types.LabelUpdateInput;
    }>>;
    "\n      mutation DeleteLabel($where: LabelWhereUniqueInput!) {\n        deleteOneLabel(where: $where) {\n          id\n        }\n      }\n    ": DocumentNode<types.DeleteLabelMutation, types.Exact<{
        where: types.LabelWhereUniqueInput;
    }>>;
    "\n      query Prediction($openaiKwargs: OpenAIKwargs!, $prompt: String!, $modelBackendName: String!, $useCache: Boolean!, $labelParser: String, $metadata: [MetadataInput!]) {\n        prediction(openaiKwargs: $openaiKwargs, prompt: $prompt, modelBackendName: $modelBackendName, useCache: $useCache, labelParser: $labelParser, metadata: $metadata) {\n          completion\n          id\n          labels {\n            id\n            confidence\n            name\n            value\n          }\n          prompt\n          labelParser\n          metadata {\n            key\n            value\n          }\n        }\n      }\n    ": DocumentNode<types.PredictionQuery, types.Exact<{
        openaiKwargs: types.OpenAiKwargs;
        prompt: string;
        modelBackendName: string;
        useCache: boolean;
        labelParser?: types.InputMaybe<string> | undefined;
        metadata?: types.InputMaybe<types.MetadataInput | types.MetadataInput[]> | undefined;
    }>>;
    "\n      query CountPredictions($where: PredictionWhereInput) {\n        aggregatePrediction(where: $where) {\n          _count {\n            _all\n          }\n        }\n      }\n    ": DocumentNode<types.CountPredictionsQuery, types.Exact<{
        where?: types.InputMaybe<types.PredictionWhereInput> | undefined;
    }>>;
    "\n      query GetLabelsForPrediction($where: LabelWhereInput) {\n        labels(where: $where) {\n          id\n          value\n          confidence\n          predictionId\n        }\n      }\n    ": DocumentNode<types.GetLabelsForPredictionQuery, types.Exact<{
        where?: types.InputMaybe<types.LabelWhereInput> | undefined;
    }>>;
    "\n    query ListPredictions($where: PredictionWhereInput, $orderBy: [PredictionOrderByWithRelationInput!], $cursor: PredictionWhereUniqueInput, $take: Int, $skip: Int, $distinct: [PredictionScalarFieldEnum!]) {\n      predictions(where: $where, orderBy: $orderBy, cursor: $cursor, take: $take, skip: $skip, distinct: $distinct) {\n        id\n        completion\n        createdAt\n        _count {\n          labels\n          datasets\n        }\n        labels {\n          id\n          name\n          value\n          confidence\n        }\n        prompt\n        requestArgs\n        response\n        updatedAt\n        userId\n        modelId\n      }\n    }\n    ": DocumentNode<types.ListPredictionsQuery, types.Exact<{
        where?: types.InputMaybe<types.PredictionWhereInput> | undefined;
        orderBy?: types.InputMaybe<types.PredictionOrderByWithRelationInput | types.PredictionOrderByWithRelationInput[]> | undefined;
        cursor?: types.InputMaybe<types.PredictionWhereUniqueInput> | undefined;
        take?: types.InputMaybe<number> | undefined;
        skip?: types.InputMaybe<number> | undefined;
        distinct?: types.InputMaybe<types.PredictionScalarFieldEnum | types.PredictionScalarFieldEnum[]> | undefined;
    }>>;
    "\n        query GetPrediction($id: Int!) {\n          getPrediction(where: { id: $id }) {\n            completion\n            createdAt\n            id\n            _count {\n              labels\n              datasets\n            }\n            model {\n              name\n            }\n            prompt\n          }\n        }\n      ": DocumentNode<types.GetPredictionQuery, types.Exact<{
        id: number;
    }>>;
    "\n      mutation UpdateOnePrediction($predictionId: Int!, $datasetId: Int!) {\n        updateOnePrediction(where: { id: $predictionId }, data: { datasets: { connect: { id: $datasetId } } }) {\n          id\n          _count {\n            datasets\n          }\n        }\n      }\n    ": DocumentNode<types.UpdateOnePredictionMutation, types.Exact<{
        predictionId: number;
        datasetId: number;
    }>>;
    "\n      mutation Mutation($datasetId: Int!, $predictionIds: [PredictionWhereUniqueInput!]!) {\n        updateOneDataset(where: { id: $datasetId }, data: { predictions: { connect: $predictionIds } }) {\n          id\n          _count {\n            predictions\n          }\n        }\n      }\n    ": DocumentNode<types.MutationMutation, types.Exact<{
        datasetId: number;
        predictionIds: types.PredictionWhereUniqueInput | types.PredictionWhereUniqueInput[];
    }>>;
    "\n      query GetUser($where: UserWhereUniqueInput!) {\n        user(where: $where) {\n          id\n          name\n          role\n          apiKey\n          email\n        }\n      }\n    ": DocumentNode<types.GetUserQuery, types.Exact<{
        where: types.UserWhereUniqueInput;
    }>>;
    "\n      mutation CreateUser($data: UserCreateInput!) {\n        createOneUser(data: $data) {\n          id\n          name\n          role\n          apiKey\n          email\n        }\n      }\n    ": DocumentNode<types.CreateUserMutation, types.Exact<{
        data: types.UserCreateInput;
    }>>;
    "\n      mutation UpdateUser($where: UserWhereUniqueInput!, $data: UserUpdateInput!) {\n        updateOneUser(where: $where, data: $data) {\n          id\n          name\n          role\n          apiKey\n          email\n        }\n      }\n    ": DocumentNode<types.UpdateUserMutation, types.Exact<{
        where: types.UserWhereUniqueInput;
        data: types.UserUpdateInput;
    }>>;
    "\n      mutation DeleteUser($where: UserWhereUniqueInput!) {\n        deleteOneUser(where: $where) {\n          id\n        }\n      }\n    ": DocumentNode<types.DeleteUserMutation, types.Exact<{
        where: types.UserWhereUniqueInput;
    }>>;
};
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 *
 *
 * @example
 * ```ts
 * const query = graphql(`query GetUser($id: ID!) { user(id: $id) { name } }`);
 * ```
 *
 * The query argument is unknown!
 * Please regenerate the types.
 */
export declare function graphql(source: string): unknown;
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n            query ListDatasets ($where: DatasetWhereInput, $skip: Int, $take: Int, $cursor: DatasetWhereUniqueInput, $distinct: [DatasetScalarFieldEnum!]) {\n                datasets(where: $where, skip: $skip, take: $take, orderBy: { createdAt: desc }, cursor: $cursor, distinct: $distinct) {\n                    id\n                    name\n                    createdAt\n                    updatedAt\n                    _count {\n                        predictions\n                        trainingPredictions\n                    }\n                }\n            }\n        "): (typeof documents)["\n            query ListDatasets ($where: DatasetWhereInput, $skip: Int, $take: Int, $cursor: DatasetWhereUniqueInput, $distinct: [DatasetScalarFieldEnum!]) {\n                datasets(where: $where, skip: $skip, take: $take, orderBy: { createdAt: desc }, cursor: $cursor, distinct: $distinct) {\n                    id\n                    name\n                    createdAt\n                    updatedAt\n                    _count {\n                        predictions\n                        trainingPredictions\n                    }\n                }\n            }\n        "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n            query GetDataset($datasetId: Int!) {\n                dataset(where: { id: $datasetId }) {\n                _count {\n                    predictions\n                    trainingPredictions\n                }\n                name\n                id\n                updatedAt\n                createdAt\n                }\n            }\n        "): (typeof documents)["\n            query GetDataset($datasetId: Int!) {\n                dataset(where: { id: $datasetId }) {\n                _count {\n                    predictions\n                    trainingPredictions\n                }\n                name\n                id\n                updatedAt\n                createdAt\n                }\n            }\n        "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n            mutation CreateDataset($data: DatasetCreateInput!) {\n                createOneDataset(data: $data) {\n                id\n                name\n                }\n            }\n        "): (typeof documents)["\n            mutation CreateDataset($data: DatasetCreateInput!) {\n                createOneDataset(data: $data) {\n                id\n                name\n                }\n            }\n        "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n            query GetDatasetCSV($datasetId: Float!) {\n                datasetCSV(datasetId: $datasetId)\n            }\n        "): (typeof documents)["\n            query GetDatasetCSV($datasetId: Float!) {\n                datasetCSV(datasetId: $datasetId)\n            }\n        "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      query ListFeedback(\n        $where: FeedbackWhereInput\n        $cursor: FeedbackWhereUniqueInput\n        $orderBy: [FeedbackOrderByWithRelationInput!]\n        $take: Int\n        $skip: Int\n        $distinct: [FeedbackScalarFieldEnum!]\n      ) {\n        feedbacks(\n          where: $where\n          cursor: $cursor\n          orderBy: $orderBy\n          take: $take\n          skip: $skip\n          distinct: $distinct\n        ) {\n          content\n          createdAt\n          id\n          labelId\n          updatedAt\n          upvote\n          userId\n        }\n      }\n    "): (typeof documents)["\n      query ListFeedback(\n        $where: FeedbackWhereInput\n        $cursor: FeedbackWhereUniqueInput\n        $orderBy: [FeedbackOrderByWithRelationInput!]\n        $take: Int\n        $skip: Int\n        $distinct: [FeedbackScalarFieldEnum!]\n      ) {\n        feedbacks(\n          where: $where\n          cursor: $cursor\n          orderBy: $orderBy\n          take: $take\n          skip: $skip\n          distinct: $distinct\n        ) {\n          content\n          createdAt\n          id\n          labelId\n          updatedAt\n          upvote\n          userId\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      query GetFeedback($where: FeedbackWhereUniqueInput!) {\n        feedback(where: $where) {\n          id\n          userId\n          upvote\n          content\n          labelId\n        }\n      }\n    "): (typeof documents)["\n      query GetFeedback($where: FeedbackWhereUniqueInput!) {\n        feedback(where: $where) {\n          id\n          userId\n          upvote\n          content\n          labelId\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      mutation CreateFeedback($data: FeedbackCreateInput!) {\n        createOneFeedback(data: $data) {\n          id\n          userId\n          upvote\n          content\n          labelId\n        }\n      }\n    "): (typeof documents)["\n      mutation CreateFeedback($data: FeedbackCreateInput!) {\n        createOneFeedback(data: $data) {\n          id\n          userId\n          upvote\n          content\n          labelId\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      mutation CreateManyFeedbacks($data: [FeedbackCreateManyInput!]!) {\n        createManyFeedback(data: $data) {\n          count\n        }\n      }\n    "): (typeof documents)["\n      mutation CreateManyFeedbacks($data: [FeedbackCreateManyInput!]!) {\n        createManyFeedback(data: $data) {\n          count\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      mutation UpdateFeedback($where: FeedbackWhereUniqueInput!, $data: FeedbackUpdateInput!) {\n        updateOneFeedback(where: $where, data: $data) {\n          id\n          userId\n          upvote\n          content\n          labelId\n        }\n      }\n    "): (typeof documents)["\n      mutation UpdateFeedback($where: FeedbackWhereUniqueInput!, $data: FeedbackUpdateInput!) {\n        updateOneFeedback(where: $where, data: $data) {\n          id\n          userId\n          upvote\n          content\n          labelId\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      mutation DeleteFeedback($where: FeedbackWhereUniqueInput!) {\n        deleteOneFeedback(where: $where) {\n          id\n        }\n      }\n    "): (typeof documents)["\n      mutation DeleteFeedback($where: FeedbackWhereUniqueInput!) {\n        deleteOneFeedback(where: $where) {\n          id\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      query ListInferenceBackends($where: InferenceBackendWhereInput, $skip: Int, $take: Int, $cursor: InferenceBackendWhereUniqueInput, $distinct: [InferenceBackendScalarFieldEnum!]) {\n        inferenceBackends(where: $where, skip: $skip, take: $take, orderBy: { createdAt: desc }, cursor: $cursor, distinct: $distinct) {\n          id\n          name\n          active\n          urls\n          apiKey\n        }\n      }\n    "): (typeof documents)["\n      query ListInferenceBackends($where: InferenceBackendWhereInput, $skip: Int, $take: Int, $cursor: InferenceBackendWhereUniqueInput, $distinct: [InferenceBackendScalarFieldEnum!]) {\n        inferenceBackends(where: $where, skip: $skip, take: $take, orderBy: { createdAt: desc }, cursor: $cursor, distinct: $distinct) {\n          id\n          name\n          active\n          urls\n          apiKey\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      query GetInferenceBackend($where: InferenceBackendWhereUniqueInput!) {\n        inferenceBackend(where: $where) {\n          id\n          name\n          active\n          urls\n          apiKey\n        }\n      }\n    "): (typeof documents)["\n      query GetInferenceBackend($where: InferenceBackendWhereUniqueInput!) {\n        inferenceBackend(where: $where) {\n          id\n          name\n          active\n          urls\n          apiKey\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      mutation CreateInferenceBackend($data: InferenceBackendCreateInput!) {\n        createOneInferenceBackend(data: $data) {\n          id\n          name\n          active\n          urls\n          apiKey\n        }\n      }\n    "): (typeof documents)["\n      mutation CreateInferenceBackend($data: InferenceBackendCreateInput!) {\n        createOneInferenceBackend(data: $data) {\n          id\n          name\n          active\n          urls\n          apiKey\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      mutation UpdateInferenceBackend(\n        $where: InferenceBackendWhereUniqueInput!\n        $data: InferenceBackendUpdateInput!\n      ) {\n        updateOneInferenceBackend(where: $where, data: $data) {\n          id\n          name\n          active\n          urls\n          apiKey\n        }\n      }\n    "): (typeof documents)["\n      mutation UpdateInferenceBackend(\n        $where: InferenceBackendWhereUniqueInput!\n        $data: InferenceBackendUpdateInput!\n      ) {\n        updateOneInferenceBackend(where: $where, data: $data) {\n          id\n          name\n          active\n          urls\n          apiKey\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      mutation DeleteInferenceBackend($where: InferenceBackendWhereUniqueInput!) {\n        deleteOneInferenceBackend(where: $where) {\n          id\n        }\n      }\n    "): (typeof documents)["\n      mutation DeleteInferenceBackend($where: InferenceBackendWhereUniqueInput!) {\n        deleteOneInferenceBackend(where: $where) {\n          id\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      query ListLabels(\n        $where: LabelWhereInput\n        $skip: Int\n        $take: Int\n        $cursor: LabelWhereUniqueInput\n        $distinct: [LabelScalarFieldEnum!]\n        $orderBy: [LabelOrderByWithRelationInput!]\n      ) {\n        labels(\n          where: $where\n          skip: $skip\n          take: $take\n          orderBy: $orderBy\n          cursor: $cursor\n          distinct: $distinct\n        ) {\n          id\n          value\n          confidence\n          predictionId\n          createdAt\n          name\n          trainingPredictionId\n          updatedAt\n        }\n      }\n    "): (typeof documents)["\n      query ListLabels(\n        $where: LabelWhereInput\n        $skip: Int\n        $take: Int\n        $cursor: LabelWhereUniqueInput\n        $distinct: [LabelScalarFieldEnum!]\n        $orderBy: [LabelOrderByWithRelationInput!]\n      ) {\n        labels(\n          where: $where\n          skip: $skip\n          take: $take\n          orderBy: $orderBy\n          cursor: $cursor\n          distinct: $distinct\n        ) {\n          id\n          value\n          confidence\n          predictionId\n          createdAt\n          name\n          trainingPredictionId\n          updatedAt\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      query GetLabel($where: LabelWhereUniqueInput!) {\n        label(where: $where) {\n          id\n          value\n          confidence\n          predictionId\n        }\n      }\n    "): (typeof documents)["\n      query GetLabel($where: LabelWhereUniqueInput!) {\n        label(where: $where) {\n          id\n          value\n          confidence\n          predictionId\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      mutation CreateLabel($data: LabelCreateInput!) {\n        createOneLabel(data: $data) {\n          id\n          value\n          confidence\n          predictionId\n        }\n      }\n    "): (typeof documents)["\n      mutation CreateLabel($data: LabelCreateInput!) {\n        createOneLabel(data: $data) {\n          id\n          value\n          confidence\n          predictionId\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      mutation UpdateLabel($where: LabelWhereUniqueInput!, $data: LabelUpdateInput!) {\n        updateOneLabel(where: $where, data: $data) {\n          id\n          value\n          confidence\n          predictionId\n        }\n      }\n    "): (typeof documents)["\n      mutation UpdateLabel($where: LabelWhereUniqueInput!, $data: LabelUpdateInput!) {\n        updateOneLabel(where: $where, data: $data) {\n          id\n          value\n          confidence\n          predictionId\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      mutation DeleteLabel($where: LabelWhereUniqueInput!) {\n        deleteOneLabel(where: $where) {\n          id\n        }\n      }\n    "): (typeof documents)["\n      mutation DeleteLabel($where: LabelWhereUniqueInput!) {\n        deleteOneLabel(where: $where) {\n          id\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      query Prediction($openaiKwargs: OpenAIKwargs!, $prompt: String!, $modelBackendName: String!, $useCache: Boolean!, $labelParser: String, $metadata: [MetadataInput!]) {\n        prediction(openaiKwargs: $openaiKwargs, prompt: $prompt, modelBackendName: $modelBackendName, useCache: $useCache, labelParser: $labelParser, metadata: $metadata) {\n          completion\n          id\n          labels {\n            id\n            confidence\n            name\n            value\n          }\n          prompt\n          labelParser\n          metadata {\n            key\n            value\n          }\n        }\n      }\n    "): (typeof documents)["\n      query Prediction($openaiKwargs: OpenAIKwargs!, $prompt: String!, $modelBackendName: String!, $useCache: Boolean!, $labelParser: String, $metadata: [MetadataInput!]) {\n        prediction(openaiKwargs: $openaiKwargs, prompt: $prompt, modelBackendName: $modelBackendName, useCache: $useCache, labelParser: $labelParser, metadata: $metadata) {\n          completion\n          id\n          labels {\n            id\n            confidence\n            name\n            value\n          }\n          prompt\n          labelParser\n          metadata {\n            key\n            value\n          }\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      query CountPredictions($where: PredictionWhereInput) {\n        aggregatePrediction(where: $where) {\n          _count {\n            _all\n          }\n        }\n      }\n    "): (typeof documents)["\n      query CountPredictions($where: PredictionWhereInput) {\n        aggregatePrediction(where: $where) {\n          _count {\n            _all\n          }\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      query GetLabelsForPrediction($where: LabelWhereInput) {\n        labels(where: $where) {\n          id\n          value\n          confidence\n          predictionId\n        }\n      }\n    "): (typeof documents)["\n      query GetLabelsForPrediction($where: LabelWhereInput) {\n        labels(where: $where) {\n          id\n          value\n          confidence\n          predictionId\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n    query ListPredictions($where: PredictionWhereInput, $orderBy: [PredictionOrderByWithRelationInput!], $cursor: PredictionWhereUniqueInput, $take: Int, $skip: Int, $distinct: [PredictionScalarFieldEnum!]) {\n      predictions(where: $where, orderBy: $orderBy, cursor: $cursor, take: $take, skip: $skip, distinct: $distinct) {\n        id\n        completion\n        createdAt\n        _count {\n          labels\n          datasets\n        }\n        labels {\n          id\n          name\n          value\n          confidence\n        }\n        prompt\n        requestArgs\n        response\n        updatedAt\n        userId\n        modelId\n      }\n    }\n    "): (typeof documents)["\n    query ListPredictions($where: PredictionWhereInput, $orderBy: [PredictionOrderByWithRelationInput!], $cursor: PredictionWhereUniqueInput, $take: Int, $skip: Int, $distinct: [PredictionScalarFieldEnum!]) {\n      predictions(where: $where, orderBy: $orderBy, cursor: $cursor, take: $take, skip: $skip, distinct: $distinct) {\n        id\n        completion\n        createdAt\n        _count {\n          labels\n          datasets\n        }\n        labels {\n          id\n          name\n          value\n          confidence\n        }\n        prompt\n        requestArgs\n        response\n        updatedAt\n        userId\n        modelId\n      }\n    }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n        query GetPrediction($id: Int!) {\n          getPrediction(where: { id: $id }) {\n            completion\n            createdAt\n            id\n            _count {\n              labels\n              datasets\n            }\n            model {\n              name\n            }\n            prompt\n          }\n        }\n      "): (typeof documents)["\n        query GetPrediction($id: Int!) {\n          getPrediction(where: { id: $id }) {\n            completion\n            createdAt\n            id\n            _count {\n              labels\n              datasets\n            }\n            model {\n              name\n            }\n            prompt\n          }\n        }\n      "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      mutation UpdateOnePrediction($predictionId: Int!, $datasetId: Int!) {\n        updateOnePrediction(where: { id: $predictionId }, data: { datasets: { connect: { id: $datasetId } } }) {\n          id\n          _count {\n            datasets\n          }\n        }\n      }\n    "): (typeof documents)["\n      mutation UpdateOnePrediction($predictionId: Int!, $datasetId: Int!) {\n        updateOnePrediction(where: { id: $predictionId }, data: { datasets: { connect: { id: $datasetId } } }) {\n          id\n          _count {\n            datasets\n          }\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      mutation Mutation($datasetId: Int!, $predictionIds: [PredictionWhereUniqueInput!]!) {\n        updateOneDataset(where: { id: $datasetId }, data: { predictions: { connect: $predictionIds } }) {\n          id\n          _count {\n            predictions\n          }\n        }\n      }\n    "): (typeof documents)["\n      mutation Mutation($datasetId: Int!, $predictionIds: [PredictionWhereUniqueInput!]!) {\n        updateOneDataset(where: { id: $datasetId }, data: { predictions: { connect: $predictionIds } }) {\n          id\n          _count {\n            predictions\n          }\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      query GetUser($where: UserWhereUniqueInput!) {\n        user(where: $where) {\n          id\n          name\n          role\n          apiKey\n          email\n        }\n      }\n    "): (typeof documents)["\n      query GetUser($where: UserWhereUniqueInput!) {\n        user(where: $where) {\n          id\n          name\n          role\n          apiKey\n          email\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      mutation CreateUser($data: UserCreateInput!) {\n        createOneUser(data: $data) {\n          id\n          name\n          role\n          apiKey\n          email\n        }\n      }\n    "): (typeof documents)["\n      mutation CreateUser($data: UserCreateInput!) {\n        createOneUser(data: $data) {\n          id\n          name\n          role\n          apiKey\n          email\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      mutation UpdateUser($where: UserWhereUniqueInput!, $data: UserUpdateInput!) {\n        updateOneUser(where: $where, data: $data) {\n          id\n          name\n          role\n          apiKey\n          email\n        }\n      }\n    "): (typeof documents)["\n      mutation UpdateUser($where: UserWhereUniqueInput!, $data: UserUpdateInput!) {\n        updateOneUser(where: $where, data: $data) {\n          id\n          name\n          role\n          apiKey\n          email\n        }\n      }\n    "];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export declare function graphql(source: "\n      mutation DeleteUser($where: UserWhereUniqueInput!) {\n        deleteOneUser(where: $where) {\n          id\n        }\n      }\n    "): (typeof documents)["\n      mutation DeleteUser($where: UserWhereUniqueInput!) {\n        deleteOneUser(where: $where) {\n          id\n        }\n      }\n    "];
export type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode<infer TType, any> ? TType : never;
export {};
