graphlit-client 1.0.20250219001 → 1.0.20250220002
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,6 +66,7 @@ export declare const Prompt: import("graphql").DocumentNode;
|
|
66
66
|
export declare const PromptConversation: import("graphql").DocumentNode;
|
67
67
|
export declare const PublishConversation: import("graphql").DocumentNode;
|
68
68
|
export declare const QueryConversations: import("graphql").DocumentNode;
|
69
|
+
export declare const RetrieveSources: import("graphql").DocumentNode;
|
69
70
|
export declare const ReviseContent: import("graphql").DocumentNode;
|
70
71
|
export declare const ReviseEncodedImage: import("graphql").DocumentNode;
|
71
72
|
export declare const ReviseImage: import("graphql").DocumentNode;
|
@@ -4,11 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.SummarizeContents = exports.ScreenshotPage = exports.QueryContentsGraph = exports.QueryContentsFacets = exports.QueryContents = exports.PublishText = exports.PublishContents = exports.IsContentDone = exports.IngestUri = exports.IngestTextBatch = exports.IngestText = exports.IngestEncodedFile = exports.IngestBatch = exports.GetContent = exports.ExtractText = exports.ExtractContents = exports.DescribeImage = exports.DescribeEncodedImage = exports.DeleteContents = exports.DeleteContent = exports.DeleteAllContents = exports.CountContents = exports.UpdateCollection = exports.RemoveContentsFromCollection = exports.QueryCollections = exports.GetCollection = exports.DeleteCollections = exports.DeleteCollection = exports.DeleteAllCollections = exports.CreateCollection = exports.CountCollections = exports.AddContentsToCollections = exports.UpdateCategory = exports.QueryCategories = exports.GetCategory = exports.DeleteCategory = exports.DeleteCategories = exports.DeleteAllCategories = exports.CreateCategory = exports.CountCategories = exports.UpdateAlert = exports.QueryAlerts = exports.GetAlert = exports.EnableAlert = exports.DisableAlert = exports.DeleteAllAlerts = exports.DeleteAlerts = exports.DeleteAlert = exports.CreateAlert = exports.CountAlerts = void 0;
|
7
|
-
exports.
|
8
|
-
exports.
|
9
|
-
exports.
|
10
|
-
exports.
|
11
|
-
exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.CountWorkflows = exports.UpdateUser = exports.QueryUsers = exports.GetUser = exports.EnableUser = exports.DisableUser = exports.DeleteUser = exports.CreateUser = exports.CountUsers = exports.UpdateSpecification = exports.QuerySpecifications = exports.QueryModels = exports.PromptSpecifications = exports.GetSpecification = exports.DeleteSpecifications = exports.DeleteSpecification = exports.DeleteAllSpecifications = exports.CreateSpecification = exports.CountSpecifications = exports.UpdateSoftware = exports.QuerySoftwares = exports.GetSoftware = exports.DeleteSoftwares = void 0;
|
7
|
+
exports.UpdateFeed = exports.QuerySharePointLibraries = exports.QuerySharePointFolders = exports.QueryOneDriveFolders = exports.QueryMicrosoftTeamsTeams = exports.QueryMicrosoftTeamsChannels = exports.QueryFeeds = exports.IsFeedDone = exports.GetSharePointConsentUri = exports.GetFeed = exports.EnableFeed = exports.DisableFeed = exports.DeleteFeeds = exports.DeleteFeed = exports.DeleteAllFeeds = exports.CreateFeed = exports.CountFeeds = exports.UpdateEvent = exports.QueryEvents = exports.GetEvent = exports.DeleteEvents = exports.DeleteEvent = exports.DeleteAllEvents = exports.CreateEvent = exports.CountEvents = exports.UpdateConversation = exports.SuggestConversation = exports.ReviseText = exports.ReviseImage = exports.ReviseEncodedImage = exports.ReviseContent = exports.RetrieveSources = exports.QueryConversations = exports.PublishConversation = exports.PromptConversation = exports.Prompt = exports.GetConversation = exports.FormatConversation = exports.DeleteConversations = exports.DeleteConversation = exports.DeleteAllConversations = exports.CreateConversation = exports.CountConversations = exports.ContinueConversation = exports.CompleteConversation = exports.CloseConversation = exports.ClearConversation = exports.AskGraphlit = exports.UpdateContent = exports.SummarizeText = void 0;
|
8
|
+
exports.CreateMedicalGuideline = exports.CountMedicalGuidelines = exports.UpdateMedicalDrugClass = exports.QueryMedicalDrugClasses = exports.GetMedicalDrugClass = exports.DeleteMedicalDrugClasses = exports.DeleteMedicalDrugClass = exports.DeleteAllMedicalDrugClasses = exports.CreateMedicalDrugClass = exports.CountMedicalDrugClasses = exports.UpdateMedicalDrug = exports.QueryMedicalDrugs = exports.GetMedicalDrug = exports.DeleteMedicalDrugs = exports.DeleteMedicalDrug = exports.DeleteAllMedicalDrugs = exports.CreateMedicalDrug = exports.CountMedicalDrugs = exports.UpdateMedicalDevice = exports.QueryMedicalDevices = exports.GetMedicalDevice = exports.DeleteMedicalDevices = exports.DeleteMedicalDevice = exports.DeleteAllMedicalDevices = exports.CreateMedicalDevice = exports.CountMedicalDevices = exports.UpdateMedicalContraindication = exports.QueryMedicalContraindications = exports.GetMedicalContraindication = exports.DeleteMedicalContraindications = exports.DeleteMedicalContraindication = exports.DeleteAllMedicalContraindications = exports.CreateMedicalContraindication = exports.CountMedicalContraindications = exports.UpdateMedicalCondition = exports.QueryMedicalConditions = exports.GetMedicalCondition = exports.DeleteMedicalConditions = exports.DeleteMedicalCondition = exports.DeleteAllMedicalConditions = exports.CreateMedicalCondition = exports.CountMedicalConditions = exports.UpdateLabel = exports.QueryLabels = exports.GetLabel = exports.DeleteLabels = exports.DeleteLabel = exports.DeleteAllLabels = exports.CreateLabel = exports.CountLabels = void 0;
|
9
|
+
exports.CountOrganizations = exports.UpdateObservation = exports.DeleteObservation = exports.CreateObservation = exports.UpdateMedicalTherapy = exports.QueryMedicalTherapies = exports.GetMedicalTherapy = exports.DeleteMedicalTherapy = exports.DeleteMedicalTherapies = exports.DeleteAllMedicalTherapies = exports.CreateMedicalTherapy = exports.CountMedicalTherapies = exports.UpdateMedicalTest = exports.QueryMedicalTests = exports.GetMedicalTest = exports.DeleteMedicalTests = exports.DeleteMedicalTest = exports.DeleteAllMedicalTests = exports.CreateMedicalTest = exports.CountMedicalTests = exports.UpdateMedicalStudy = exports.QueryMedicalStudies = exports.GetMedicalStudy = exports.DeleteMedicalStudy = exports.DeleteMedicalStudies = exports.DeleteAllMedicalStudies = exports.CreateMedicalStudy = exports.CountMedicalStudies = exports.UpdateMedicalProcedure = exports.QueryMedicalProcedures = exports.GetMedicalProcedure = exports.DeleteMedicalProcedures = exports.DeleteMedicalProcedure = exports.DeleteAllMedicalProcedures = exports.CreateMedicalProcedure = exports.CountMedicalProcedures = exports.UpdateMedicalIndication = exports.QueryMedicalIndications = exports.GetMedicalIndication = exports.DeleteMedicalIndications = exports.DeleteMedicalIndication = exports.DeleteAllMedicalIndications = exports.CreateMedicalIndication = exports.CountMedicalIndications = exports.UpdateMedicalGuideline = exports.QueryMedicalGuidelines = exports.GetMedicalGuideline = exports.DeleteMedicalGuidelines = exports.DeleteMedicalGuideline = exports.DeleteAllMedicalGuidelines = void 0;
|
10
|
+
exports.DeleteAllSoftwares = exports.CreateSoftware = exports.CountSoftwares = exports.SearchWeb = exports.MapWeb = exports.UpdateRepo = exports.QueryRepos = exports.GetRepo = exports.DeleteRepos = exports.DeleteRepo = exports.DeleteAllRepos = exports.CreateRepo = exports.CountRepos = exports.UpdateProject = exports.QueryUsage = exports.QueryCredits = exports.LookupUsage = exports.LookupCredits = exports.GetProject = exports.UpdateProduct = exports.QueryProducts = exports.GetProduct = exports.DeleteProducts = exports.DeleteProduct = exports.DeleteAllProducts = exports.CreateProduct = exports.CountProducts = exports.UpdatePlace = exports.QueryPlaces = exports.GetPlace = exports.DeletePlaces = exports.DeletePlace = exports.DeleteAllPlaces = exports.CreatePlace = exports.CountPlaces = exports.UpdatePerson = exports.QueryPersons = exports.GetPerson = exports.DeletePersons = exports.DeletePerson = exports.DeleteAllPersons = exports.CreatePerson = exports.CountPersons = exports.UpdateOrganization = exports.QueryOrganizations = exports.GetOrganization = exports.DeleteOrganizations = exports.DeleteOrganization = exports.DeleteAllOrganizations = exports.CreateOrganization = void 0;
|
11
|
+
exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.CountWorkflows = exports.UpdateUser = exports.QueryUsers = exports.GetUser = exports.EnableUser = exports.DisableUser = exports.DeleteUser = exports.CreateUser = exports.CountUsers = exports.UpdateSpecification = exports.QuerySpecifications = exports.QueryModels = exports.PromptSpecifications = exports.GetSpecification = exports.DeleteSpecifications = exports.DeleteSpecification = exports.DeleteAllSpecifications = exports.CreateSpecification = exports.CountSpecifications = exports.UpdateSoftware = exports.QuerySoftwares = exports.GetSoftware = exports.DeleteSoftwares = exports.DeleteSoftware = void 0;
|
12
12
|
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
13
13
|
exports.CountAlerts = (0, graphql_tag_1.default) `
|
14
14
|
query CountAlerts($filter: AlertFilter, $correlationId: String) {
|
@@ -4622,6 +4622,27 @@ exports.QueryConversations = (0, graphql_tag_1.default) `
|
|
4622
4622
|
}
|
4623
4623
|
}
|
4624
4624
|
`;
|
4625
|
+
exports.RetrieveSources = (0, graphql_tag_1.default) `
|
4626
|
+
mutation RetrieveSources($prompt: String!, $filter: ContentFilter, $augmentedFilter: ContentFilter, $retrievalStrategy: RetrievalStrategyInput, $rerankingStrategy: RerankingStrategyInput, $correlationId: String) {
|
4627
|
+
retrieveSources(
|
4628
|
+
prompt: $prompt
|
4629
|
+
filter: $filter
|
4630
|
+
augmentedFilter: $augmentedFilter
|
4631
|
+
retrievalStrategy: $retrievalStrategy
|
4632
|
+
rerankingStrategy: $rerankingStrategy
|
4633
|
+
correlationId: $correlationId
|
4634
|
+
) {
|
4635
|
+
results {
|
4636
|
+
content {
|
4637
|
+
id
|
4638
|
+
}
|
4639
|
+
text
|
4640
|
+
metadata
|
4641
|
+
relevance
|
4642
|
+
}
|
4643
|
+
}
|
4644
|
+
}
|
4645
|
+
`;
|
4625
4646
|
exports.ReviseContent = (0, graphql_tag_1.default) `
|
4626
4647
|
mutation ReviseContent($prompt: String!, $content: EntityReferenceInput!, $id: ID, $specification: EntityReferenceInput, $correlationId: String) {
|
4627
4648
|
reviseContent(
|
@@ -1891,6 +1891,40 @@ export type ContentResults = {
|
|
1891
1891
|
/** The content results. */
|
1892
1892
|
results?: Maybe<Array<Maybe<Content>>>;
|
1893
1893
|
};
|
1894
|
+
/** Represents a content source. */
|
1895
|
+
export type ContentSource = {
|
1896
|
+
__typename?: 'ContentSource';
|
1897
|
+
/** The content source. */
|
1898
|
+
content: EntityReference;
|
1899
|
+
/** The end time of the audio transcript segment. */
|
1900
|
+
endTime?: Maybe<Scalars['TimeSpan']['output']>;
|
1901
|
+
/** The frame number of the image sequence. */
|
1902
|
+
frameNumber?: Maybe<Scalars['Int']['output']>;
|
1903
|
+
/** The content source metadata, in XML format. */
|
1904
|
+
metadata?: Maybe<Scalars['String']['output']>;
|
1905
|
+
/** The page number of the text document. */
|
1906
|
+
pageNumber?: Maybe<Scalars['Int']['output']>;
|
1907
|
+
/** The relevance score of the content source. */
|
1908
|
+
relevance: Scalars['Float']['output'];
|
1909
|
+
/** The start time of the audio transcript segment. */
|
1910
|
+
startTime?: Maybe<Scalars['TimeSpan']['output']>;
|
1911
|
+
/** The content source text. */
|
1912
|
+
text: Scalars['String']['output'];
|
1913
|
+
/** The content source type. Determines which of the index properties are assigned, i.e. startTime, pageNumber. */
|
1914
|
+
type?: Maybe<ContentSourceTypes>;
|
1915
|
+
};
|
1916
|
+
/** Represents content source results. */
|
1917
|
+
export type ContentSourceResults = {
|
1918
|
+
__typename?: 'ContentSourceResults';
|
1919
|
+
/** The retrieved content sources. */
|
1920
|
+
results?: Maybe<Array<Maybe<ContentSource>>>;
|
1921
|
+
};
|
1922
|
+
/** Content Source Types */
|
1923
|
+
export declare enum ContentSourceTypes {
|
1924
|
+
Document = "DOCUMENT",
|
1925
|
+
Frame = "FRAME",
|
1926
|
+
Transcript = "TRANSCRIPT"
|
1927
|
+
}
|
1894
1928
|
/** Content type */
|
1895
1929
|
export declare enum ContentTypes {
|
1896
1930
|
/** Email */
|
@@ -7525,6 +7559,8 @@ export type Mutation = {
|
|
7525
7559
|
restartAllContents?: Maybe<Array<Maybe<Content>>>;
|
7526
7560
|
/** Restarts workflow on content. */
|
7527
7561
|
restartContent?: Maybe<Content>;
|
7562
|
+
/** Retrieve content sources. */
|
7563
|
+
retrieveSources?: Maybe<ContentSourceResults>;
|
7528
7564
|
/** Revise content via prompted conversation. */
|
7529
7565
|
reviseContent?: Maybe<ReviseContent>;
|
7530
7566
|
/** Revise encoded image via prompted conversation. */
|
@@ -8258,6 +8294,14 @@ export type MutationRestartAllContentsArgs = {
|
|
8258
8294
|
export type MutationRestartContentArgs = {
|
8259
8295
|
id: Scalars['ID']['input'];
|
8260
8296
|
};
|
8297
|
+
export type MutationRetrieveSourcesArgs = {
|
8298
|
+
augmentedFilter?: InputMaybe<ContentFilter>;
|
8299
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
8300
|
+
filter?: InputMaybe<ContentFilter>;
|
8301
|
+
prompt: Scalars['String']['input'];
|
8302
|
+
rerankingStrategy?: InputMaybe<RerankingStrategyInput>;
|
8303
|
+
retrievalStrategy?: InputMaybe<RetrievalStrategyInput>;
|
8304
|
+
};
|
8261
8305
|
export type MutationReviseContentArgs = {
|
8262
8306
|
content: EntityReferenceInput;
|
8263
8307
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
@@ -18248,6 +18292,30 @@ export type QueryConversationsQuery = {
|
|
18248
18292
|
} | null> | null;
|
18249
18293
|
} | null;
|
18250
18294
|
};
|
18295
|
+
export type RetrieveSourcesMutationVariables = Exact<{
|
18296
|
+
prompt: Scalars['String']['input'];
|
18297
|
+
filter?: InputMaybe<ContentFilter>;
|
18298
|
+
augmentedFilter?: InputMaybe<ContentFilter>;
|
18299
|
+
retrievalStrategy?: InputMaybe<RetrievalStrategyInput>;
|
18300
|
+
rerankingStrategy?: InputMaybe<RerankingStrategyInput>;
|
18301
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
18302
|
+
}>;
|
18303
|
+
export type RetrieveSourcesMutation = {
|
18304
|
+
__typename?: 'Mutation';
|
18305
|
+
retrieveSources?: {
|
18306
|
+
__typename?: 'ContentSourceResults';
|
18307
|
+
results?: Array<{
|
18308
|
+
__typename?: 'ContentSource';
|
18309
|
+
text: string;
|
18310
|
+
metadata?: string | null;
|
18311
|
+
relevance: number;
|
18312
|
+
content: {
|
18313
|
+
__typename?: 'EntityReference';
|
18314
|
+
id: string;
|
18315
|
+
};
|
18316
|
+
} | null> | null;
|
18317
|
+
} | null;
|
18318
|
+
};
|
18251
18319
|
export type ReviseContentMutationVariables = Exact<{
|
18252
18320
|
prompt: Scalars['String']['input'];
|
18253
18321
|
content: EntityReferenceInput;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
exports.
|
5
|
-
exports.YouTubeTypes = exports.VoyageModels = exports.UserTypes = exports.UnitTypes = exports.TrelloTypes = exports.TimedPolicyRecurrenceTypes = exports.TimeIntervalTypes = exports.TextTypes = exports.TextRoles = exports.SummarizationTypes = void 0;
|
3
|
+
exports.LabelFacetTypes = exports.JinaModels = exports.IntegrationServiceTypes = exports.ImageProjectionTypes = exports.H3ResolutionTypes = exports.GroqModels = exports.GraphStrategyTypes = exports.GoogleModels = exports.FileTypes = exports.FilePreparationServiceTypes = exports.FeedTypes = exports.FeedServiceTypes = exports.FeedListingTypes = exports.FeedConnectorTypes = exports.FacetValueTypes = exports.EventFacetTypes = exports.EnvironmentTypes = exports.EntityTypes = exports.EntityState = exports.EntityExtractionServiceTypes = exports.EntityEnrichmentServiceTypes = exports.EmailListingTypes = exports.ElevenLabsModels = exports.DeviceTypes = exports.DeepseekModels = exports.DeepgramModels = exports.ConversationTypes = exports.ConversationStrategyTypes = exports.ConversationSearchTypes = exports.ConversationRoleTypes = exports.ContentTypes = exports.ContentSourceTypes = exports.ContentPublishingServiceTypes = exports.ContentPublishingFormats = exports.ContentIndexingServiceTypes = exports.ContentFacetTypes = exports.ConnectorTypes = exports.CollectionTypes = exports.CohereModels = exports.CerebrasModels = exports.CategoryFacetTypes = exports.BillableMetrics = exports.AzureOpenAiModels = exports.AzureDocumentIntelligenceVersions = exports.AzureDocumentIntelligenceModels = exports.AuthenticationServiceTypes = exports.AssemblyAiModels = exports.ApplyPolicy = exports.AnthropicModels = exports.AlertTypes = void 0;
|
4
|
+
exports.SpecificationTypes = exports.SoftwareFacetTypes = exports.SiteTypes = exports.SharePointAuthenticationTypes = exports.SearchTypes = exports.SearchServiceTypes = exports.SearchQueryTypes = exports.SdkTypes = exports.RevisionStrategyTypes = exports.RetrievalStrategyTypes = exports.ResourceConnectorTypes = exports.RerankingModelServiceTypes = exports.RepoFacetTypes = exports.ReplicateModels = exports.RenditionTypes = exports.PromptStrategyTypes = exports.ProductFacetTypes = exports.PolicyTimeTypes = exports.PlaceFacetTypes = exports.PersonFacetTypes = exports.OrientationTypes = exports.OrganizationFacetTypes = exports.OrderDirectionTypes = exports.OrderByTypes = exports.OperationTypes = exports.OpenAiVisionDetailLevels = exports.OpenAiReasoningEffortLevels = exports.OpenAiModels = exports.OccurrenceTypes = exports.ObservableTypes = exports.NotionTypes = exports.ModelTypes = exports.ModelServiceTypes = exports.MistralModels = exports.MetadataTypes = exports.MedicalTherapyFacetTypes = exports.MedicalTestFacetTypes = exports.MedicalStudyFacetTypes = exports.MedicalProcedureFacetTypes = exports.MedicalIndicationFacetTypes = exports.MedicalGuidelineFacetTypes = exports.MedicalDrugFacetTypes = exports.MedicalDrugClassFacetTypes = exports.MedicalDeviceFacetTypes = exports.MedicalContraindicationFacetTypes = exports.MedicalConditionFacetTypes = exports.MailSensitivity = exports.MailPriority = exports.MailImportance = exports.LinkTypes = void 0;
|
5
|
+
exports.YouTubeTypes = exports.VoyageModels = exports.UserTypes = exports.UnitTypes = exports.TrelloTypes = exports.TimedPolicyRecurrenceTypes = exports.TimeIntervalTypes = exports.TextTypes = exports.TextRoles = exports.SummarizationTypes = exports.StoragePolicyTypes = void 0;
|
6
6
|
/** Alert type */
|
7
7
|
var AlertTypes;
|
8
8
|
(function (AlertTypes) {
|
@@ -299,6 +299,13 @@ var ContentPublishingServiceTypes;
|
|
299
299
|
/** Text publishing */
|
300
300
|
ContentPublishingServiceTypes["Text"] = "TEXT";
|
301
301
|
})(ContentPublishingServiceTypes || (exports.ContentPublishingServiceTypes = ContentPublishingServiceTypes = {}));
|
302
|
+
/** Content Source Types */
|
303
|
+
var ContentSourceTypes;
|
304
|
+
(function (ContentSourceTypes) {
|
305
|
+
ContentSourceTypes["Document"] = "DOCUMENT";
|
306
|
+
ContentSourceTypes["Frame"] = "FRAME";
|
307
|
+
ContentSourceTypes["Transcript"] = "TRANSCRIPT";
|
308
|
+
})(ContentSourceTypes || (exports.ContentSourceTypes = ContentSourceTypes = {}));
|
302
309
|
/** Content type */
|
303
310
|
var ContentTypes;
|
304
311
|
(function (ContentTypes) {
|