graphlit-client 1.0.20250219001 → 1.0.20250220001
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,24 @@ 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?: Maybe<EntityReference>;
|
1899
|
+
/** The content source metadata. */
|
1900
|
+
metadata?: Maybe<Scalars['String']['output']>;
|
1901
|
+
/** The relevance score of the content source. */
|
1902
|
+
relevance?: Maybe<Scalars['Float']['output']>;
|
1903
|
+
/** The content source text. */
|
1904
|
+
text?: Maybe<Scalars['String']['output']>;
|
1905
|
+
};
|
1906
|
+
/** Represents content source results. */
|
1907
|
+
export type ContentSourceResults = {
|
1908
|
+
__typename?: 'ContentSourceResults';
|
1909
|
+
/** The retrieved content sources. */
|
1910
|
+
results?: Maybe<Array<Maybe<ContentSource>>>;
|
1911
|
+
};
|
1894
1912
|
/** Content type */
|
1895
1913
|
export declare enum ContentTypes {
|
1896
1914
|
/** Email */
|
@@ -7525,6 +7543,8 @@ export type Mutation = {
|
|
7525
7543
|
restartAllContents?: Maybe<Array<Maybe<Content>>>;
|
7526
7544
|
/** Restarts workflow on content. */
|
7527
7545
|
restartContent?: Maybe<Content>;
|
7546
|
+
/** Retrieve content sources. */
|
7547
|
+
retrieveSources?: Maybe<ContentSourceResults>;
|
7528
7548
|
/** Revise content via prompted conversation. */
|
7529
7549
|
reviseContent?: Maybe<ReviseContent>;
|
7530
7550
|
/** Revise encoded image via prompted conversation. */
|
@@ -8258,6 +8278,14 @@ export type MutationRestartAllContentsArgs = {
|
|
8258
8278
|
export type MutationRestartContentArgs = {
|
8259
8279
|
id: Scalars['ID']['input'];
|
8260
8280
|
};
|
8281
|
+
export type MutationRetrieveSourcesArgs = {
|
8282
|
+
augmentedFilter?: InputMaybe<ContentFilter>;
|
8283
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
8284
|
+
filter?: InputMaybe<ContentFilter>;
|
8285
|
+
prompt: Scalars['String']['input'];
|
8286
|
+
rerankingStrategy?: InputMaybe<RerankingStrategyInput>;
|
8287
|
+
retrievalStrategy?: InputMaybe<RetrievalStrategyInput>;
|
8288
|
+
};
|
8261
8289
|
export type MutationReviseContentArgs = {
|
8262
8290
|
content: EntityReferenceInput;
|
8263
8291
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
@@ -18248,6 +18276,30 @@ export type QueryConversationsQuery = {
|
|
18248
18276
|
} | null> | null;
|
18249
18277
|
} | null;
|
18250
18278
|
};
|
18279
|
+
export type RetrieveSourcesMutationVariables = Exact<{
|
18280
|
+
prompt: Scalars['String']['input'];
|
18281
|
+
filter?: InputMaybe<ContentFilter>;
|
18282
|
+
augmentedFilter?: InputMaybe<ContentFilter>;
|
18283
|
+
retrievalStrategy?: InputMaybe<RetrievalStrategyInput>;
|
18284
|
+
rerankingStrategy?: InputMaybe<RerankingStrategyInput>;
|
18285
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
18286
|
+
}>;
|
18287
|
+
export type RetrieveSourcesMutation = {
|
18288
|
+
__typename?: 'Mutation';
|
18289
|
+
retrieveSources?: {
|
18290
|
+
__typename?: 'ContentSourceResults';
|
18291
|
+
results?: Array<{
|
18292
|
+
__typename?: 'ContentSource';
|
18293
|
+
text?: string | null;
|
18294
|
+
metadata?: string | null;
|
18295
|
+
relevance?: number | null;
|
18296
|
+
content?: {
|
18297
|
+
__typename?: 'EntityReference';
|
18298
|
+
id: string;
|
18299
|
+
} | null;
|
18300
|
+
} | null> | null;
|
18301
|
+
} | null;
|
18302
|
+
};
|
18251
18303
|
export type ReviseContentMutationVariables = Exact<{
|
18252
18304
|
prompt: Scalars['String']['input'];
|
18253
18305
|
content: EntityReferenceInput;
|