graphlit-client 1.0.20241210001 → 1.0.20241212002

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.
@@ -615,6 +615,10 @@ export declare enum AzureDocumentIntelligenceModels {
615
615
  ReadOcr = "READ_OCR",
616
616
  /** Receipt */
617
617
  Receipt = "RECEIPT",
618
+ /** Bank Check (US) */
619
+ UsBankCheck = "US_BANK_CHECK",
620
+ /** Bank Statement (US) */
621
+ UsBankStatement = "US_BANK_STATEMENT",
618
622
  /** Health Insurance Card (US) */
619
623
  UsHealthInsuranceCard = "US_HEALTH_INSURANCE_CARD",
620
624
  /** Marriage Certificate (US) */
@@ -625,6 +629,8 @@ export declare enum AzureDocumentIntelligenceModels {
625
629
  UsMortgage1008 = "US_MORTGAGE1008",
626
630
  /** Mortgage closing disclosure (US) */
627
631
  UsMortgageDisclosure = "US_MORTGAGE_DISCLOSURE",
632
+ /** Pay Stub (US) */
633
+ UsPayStub = "US_PAY_STUB",
628
634
  /** 1098 Form (US) */
629
635
  UsTaxForm1098 = "US_TAX_FORM1098",
630
636
  /** 1098E Form (US) */
@@ -1773,6 +1779,52 @@ export type ConversationCitation = {
1773
1779
  /** The citation text. */
1774
1780
  text: Scalars['String']['output'];
1775
1781
  };
1782
+ /** Represents the RAG pipeline details for a prompted conversation. */
1783
+ export type ConversationDetails = {
1784
+ __typename?: 'ConversationDetails';
1785
+ /** The LLM assistant message, prior to parsing JSON guardrails. */
1786
+ assistantMessage?: Maybe<Scalars['String']['output']>;
1787
+ /** The LLM completion token limit. */
1788
+ completionTokenLimit?: Maybe<Scalars['Int']['output']>;
1789
+ /** The formatted RAG instructions. */
1790
+ formattedInstructions?: Maybe<Scalars['String']['output']>;
1791
+ /** The formatted observed entities. */
1792
+ formattedObservables?: Maybe<Scalars['String']['output']>;
1793
+ /** The formatted sources. */
1794
+ formattedSources?: Maybe<Scalars['String']['output']>;
1795
+ /** The formatted LLM tools. */
1796
+ formattedTools?: Maybe<Scalars['String']['output']>;
1797
+ /** The LLM conversation messages. */
1798
+ messages?: Maybe<Array<Maybe<ConversationMessage>>>;
1799
+ /** The LLM model description. */
1800
+ model?: Maybe<Scalars['String']['output']>;
1801
+ /** The LLM service type. */
1802
+ modelService?: Maybe<ModelServiceTypes>;
1803
+ /** The number of observable entities after retrieval. */
1804
+ observableCount?: Maybe<Scalars['Int']['output']>;
1805
+ /** The number of observable entities after reranking. */
1806
+ rankedObservableCount?: Maybe<Scalars['Int']['output']>;
1807
+ /** The number of content sources after reranking. */
1808
+ rankedSourceCount?: Maybe<Scalars['Int']['output']>;
1809
+ /** The number of tools after reranking. */
1810
+ rankedToolCount?: Maybe<Scalars['Int']['output']>;
1811
+ /** The number of observable entities after rendering. */
1812
+ renderedObservableCount?: Maybe<Scalars['Int']['output']>;
1813
+ /** The number of content sources after rendering. */
1814
+ renderedSourceCount?: Maybe<Scalars['Int']['output']>;
1815
+ /** The number of tools after rendering. */
1816
+ renderedToolCount?: Maybe<Scalars['Int']['output']>;
1817
+ /** The number of content sources after retrieval. */
1818
+ sourceCount?: Maybe<Scalars['Int']['output']>;
1819
+ /** JSON representation of the source to content mapping. */
1820
+ sources?: Maybe<Scalars['String']['output']>;
1821
+ /** Whether the LLM supports tool calling. */
1822
+ supportsToolCalling?: Maybe<Scalars['Boolean']['output']>;
1823
+ /** The LLM prompt token limit. */
1824
+ tokenLimit?: Maybe<Scalars['Int']['output']>;
1825
+ /** The number of tools. */
1826
+ toolCount?: Maybe<Scalars['Int']['output']>;
1827
+ };
1776
1828
  /** Represents a filter for conversations. */
1777
1829
  export type ConversationFilter = {
1778
1830
  /** Filter by similar conversations. */
@@ -1830,7 +1882,7 @@ export type ConversationMessage = {
1830
1882
  completionTime?: Maybe<Scalars['TimeSpan']['output']>;
1831
1883
  /** The conversation message. */
1832
1884
  message?: Maybe<Scalars['String']['output']>;
1833
- /** The LLM description, only provided with assistant role. */
1885
+ /** The LLM model description, only provided with assistant role. */
1834
1886
  model?: Maybe<Scalars['String']['output']>;
1835
1887
  /** The LLM service type, only provided with assistant role. */
1836
1888
  modelService?: Maybe<ModelServiceTypes>;
@@ -1881,6 +1933,8 @@ export type ConversationStrategy = {
1881
1933
  __typename?: 'ConversationStrategy';
1882
1934
  /** The weight of contents within prompt context, in range [0.0 - 1.0]. */
1883
1935
  contentsWeight?: Maybe<Scalars['Float']['output']>;
1936
+ /** Disable JSON guardrails, if system prompt asks for non-JSON output format. */
1937
+ disableGuardrails?: Maybe<Scalars['Boolean']['output']>;
1884
1938
  /** Embed content citations into completed converation messages. */
1885
1939
  embedCitations?: Maybe<Scalars['Boolean']['output']>;
1886
1940
  /** Provide content facets with completed conversation. */
@@ -1898,6 +1952,8 @@ export type ConversationStrategy = {
1898
1952
  export type ConversationStrategyInput = {
1899
1953
  /** The weight of contents within prompt context, in range [0.0 - 1.0]. */
1900
1954
  contentsWeight?: InputMaybe<Scalars['Float']['input']>;
1955
+ /** Disable JSON guardrails, if system prompt asks for non-JSON output format. */
1956
+ disableGuardrails?: InputMaybe<Scalars['Boolean']['input']>;
1901
1957
  /** Embed content citations into completed converation messages. */
1902
1958
  embedCitations?: InputMaybe<Scalars['Boolean']['input']>;
1903
1959
  /** Provide content facets with completed conversation. */
@@ -1922,6 +1978,8 @@ export declare enum ConversationStrategyTypes {
1922
1978
  export type ConversationStrategyUpdateInput = {
1923
1979
  /** The weight of contents within prompt context, in range [0.0 - 1.0]. */
1924
1980
  contentsWeight?: InputMaybe<Scalars['Float']['input']>;
1981
+ /** Disable JSON guardrails, if system prompt asks for non-JSON output format. */
1982
+ disableGuardrails?: InputMaybe<Scalars['Boolean']['input']>;
1925
1983
  /** Embed content citations into completed converation messages. */
1926
1984
  embedCitations?: InputMaybe<Scalars['Boolean']['input']>;
1927
1985
  /** Provide content facets with completed conversation. */
@@ -3688,7 +3746,9 @@ export declare enum GoogleModels {
3688
3746
  /** Gemini 1.5 Pro (001 version) */
3689
3747
  Gemini_1_5Pro_001 = "GEMINI_1_5_PRO_001",
3690
3748
  /** Gemini 1.5 Pro (002 version) */
3691
- Gemini_1_5Pro_002 = "GEMINI_1_5_PRO_002"
3749
+ Gemini_1_5Pro_002 = "GEMINI_1_5_PRO_002",
3750
+ /** Gemini 2.0 Flash (Experimental) */
3751
+ Gemini_2_0FlashExperimental = "GEMINI_2_0_FLASH_EXPERIMENTAL"
3692
3752
  }
3693
3753
  /** Represents a knowledge graph. */
3694
3754
  export type Graph = {
@@ -6951,6 +7011,7 @@ export type MutationCompleteConversationArgs = {
6951
7011
  export type MutationContinueConversationArgs = {
6952
7012
  correlationId?: InputMaybe<Scalars['String']['input']>;
6953
7013
  id: Scalars['ID']['input'];
7014
+ includeDetails?: InputMaybe<Scalars['Boolean']['input']>;
6954
7015
  responses: Array<ConversationToolResponseInput>;
6955
7016
  };
6956
7017
  export type MutationCreateAlertArgs = {
@@ -7407,6 +7468,7 @@ export type MutationExtractTextArgs = {
7407
7468
  export type MutationFormatConversationArgs = {
7408
7469
  correlationId?: InputMaybe<Scalars['String']['input']>;
7409
7470
  id?: InputMaybe<Scalars['ID']['input']>;
7471
+ includeDetails?: InputMaybe<Scalars['Boolean']['input']>;
7410
7472
  prompt: Scalars['String']['input'];
7411
7473
  specification?: InputMaybe<EntityReferenceInput>;
7412
7474
  };
@@ -7486,6 +7548,7 @@ export type MutationPromptArgs = {
7486
7548
  export type MutationPromptConversationArgs = {
7487
7549
  correlationId?: InputMaybe<Scalars['String']['input']>;
7488
7550
  id?: InputMaybe<Scalars['ID']['input']>;
7551
+ includeDetails?: InputMaybe<Scalars['Boolean']['input']>;
7489
7552
  prompt: Scalars['String']['input'];
7490
7553
  requireTool?: InputMaybe<Scalars['Boolean']['input']>;
7491
7554
  specification?: InputMaybe<EntityReferenceInput>;
@@ -9424,6 +9487,8 @@ export type PromptConversation = {
9424
9487
  __typename?: 'PromptConversation';
9425
9488
  /** The completed conversation. */
9426
9489
  conversation?: Maybe<EntityReference>;
9490
+ /** The RAG pipeline details for debugging purposes. */
9491
+ details?: Maybe<ConversationDetails>;
9427
9492
  /** The content facets referenced by the completed conversation message. */
9428
9493
  facets?: Maybe<Array<Maybe<ContentFacet>>>;
9429
9494
  /** The knowledge graph generated from the retrieved contents. */
@@ -14286,6 +14351,158 @@ export type CompleteConversationMutation = {
14286
14351
  relation?: string | null;
14287
14352
  } | null> | null;
14288
14353
  } | null;
14354
+ details?: {
14355
+ __typename?: 'ConversationDetails';
14356
+ modelService?: ModelServiceTypes | null;
14357
+ model?: string | null;
14358
+ supportsToolCalling?: boolean | null;
14359
+ sourceCount?: number | null;
14360
+ observableCount?: number | null;
14361
+ toolCount?: number | null;
14362
+ renderedSourceCount?: number | null;
14363
+ renderedObservableCount?: number | null;
14364
+ renderedToolCount?: number | null;
14365
+ rankedSourceCount?: number | null;
14366
+ rankedObservableCount?: number | null;
14367
+ rankedToolCount?: number | null;
14368
+ tokenLimit?: number | null;
14369
+ completionTokenLimit?: number | null;
14370
+ sources?: string | null;
14371
+ formattedSources?: string | null;
14372
+ formattedObservables?: string | null;
14373
+ formattedInstructions?: string | null;
14374
+ formattedTools?: string | null;
14375
+ assistantMessage?: string | null;
14376
+ messages?: Array<{
14377
+ __typename?: 'ConversationMessage';
14378
+ role: ConversationRoleTypes;
14379
+ author?: string | null;
14380
+ message?: string | null;
14381
+ tokens?: number | null;
14382
+ throughput?: number | null;
14383
+ completionTime?: any | null;
14384
+ timestamp?: any | null;
14385
+ modelService?: ModelServiceTypes | null;
14386
+ model?: string | null;
14387
+ citations?: Array<{
14388
+ __typename?: 'ConversationCitation';
14389
+ index?: number | null;
14390
+ text: string;
14391
+ startTime?: any | null;
14392
+ endTime?: any | null;
14393
+ pageNumber?: number | null;
14394
+ frameNumber?: number | null;
14395
+ content?: {
14396
+ __typename?: 'Content';
14397
+ id: string;
14398
+ name: string;
14399
+ state: EntityState;
14400
+ originalDate?: any | null;
14401
+ identifier?: string | null;
14402
+ uri?: any | null;
14403
+ type?: ContentTypes | null;
14404
+ fileType?: FileTypes | null;
14405
+ mimeType?: string | null;
14406
+ format?: string | null;
14407
+ formatName?: string | null;
14408
+ fileExtension?: string | null;
14409
+ fileName?: string | null;
14410
+ fileSize?: any | null;
14411
+ masterUri?: any | null;
14412
+ imageUri?: any | null;
14413
+ textUri?: any | null;
14414
+ audioUri?: any | null;
14415
+ transcriptUri?: any | null;
14416
+ summary?: string | null;
14417
+ customSummary?: string | null;
14418
+ keywords?: Array<string> | null;
14419
+ bullets?: Array<string> | null;
14420
+ headlines?: Array<string> | null;
14421
+ posts?: Array<string> | null;
14422
+ chapters?: Array<string> | null;
14423
+ questions?: Array<string> | null;
14424
+ video?: {
14425
+ __typename?: 'VideoMetadata';
14426
+ width?: number | null;
14427
+ height?: number | null;
14428
+ duration?: any | null;
14429
+ make?: string | null;
14430
+ model?: string | null;
14431
+ software?: string | null;
14432
+ title?: string | null;
14433
+ description?: string | null;
14434
+ keywords?: Array<string | null> | null;
14435
+ author?: string | null;
14436
+ } | null;
14437
+ audio?: {
14438
+ __typename?: 'AudioMetadata';
14439
+ keywords?: Array<string | null> | null;
14440
+ author?: string | null;
14441
+ series?: string | null;
14442
+ episode?: string | null;
14443
+ episodeType?: string | null;
14444
+ season?: string | null;
14445
+ publisher?: string | null;
14446
+ copyright?: string | null;
14447
+ genre?: string | null;
14448
+ title?: string | null;
14449
+ description?: string | null;
14450
+ bitrate?: number | null;
14451
+ channels?: number | null;
14452
+ sampleRate?: number | null;
14453
+ bitsPerSample?: number | null;
14454
+ duration?: any | null;
14455
+ } | null;
14456
+ image?: {
14457
+ __typename?: 'ImageMetadata';
14458
+ width?: number | null;
14459
+ height?: number | null;
14460
+ resolutionX?: number | null;
14461
+ resolutionY?: number | null;
14462
+ bitsPerComponent?: number | null;
14463
+ components?: number | null;
14464
+ projectionType?: ImageProjectionTypes | null;
14465
+ orientation?: OrientationTypes | null;
14466
+ description?: string | null;
14467
+ make?: string | null;
14468
+ model?: string | null;
14469
+ software?: string | null;
14470
+ lens?: string | null;
14471
+ focalLength?: number | null;
14472
+ exposureTime?: string | null;
14473
+ fNumber?: string | null;
14474
+ iso?: string | null;
14475
+ heading?: number | null;
14476
+ pitch?: number | null;
14477
+ } | null;
14478
+ document?: {
14479
+ __typename?: 'DocumentMetadata';
14480
+ title?: string | null;
14481
+ subject?: string | null;
14482
+ summary?: string | null;
14483
+ author?: string | null;
14484
+ publisher?: string | null;
14485
+ description?: string | null;
14486
+ keywords?: Array<string | null> | null;
14487
+ pageCount?: number | null;
14488
+ worksheetCount?: number | null;
14489
+ slideCount?: number | null;
14490
+ wordCount?: number | null;
14491
+ lineCount?: number | null;
14492
+ paragraphCount?: number | null;
14493
+ isEncrypted?: boolean | null;
14494
+ hasDigitalSignature?: boolean | null;
14495
+ } | null;
14496
+ } | null;
14497
+ } | null> | null;
14498
+ toolCalls?: Array<{
14499
+ __typename?: 'ConversationToolCall';
14500
+ id: string;
14501
+ name: string;
14502
+ arguments: string;
14503
+ } | null> | null;
14504
+ } | null> | null;
14505
+ } | null;
14289
14506
  } | null;
14290
14507
  };
14291
14508
  export type ContinueConversationMutationVariables = Exact<{
@@ -14468,123 +14685,276 @@ export type ContinueConversationMutation = {
14468
14685
  relation?: string | null;
14469
14686
  } | null> | null;
14470
14687
  } | null;
14471
- } | null;
14472
- };
14473
- export type CountConversationsQueryVariables = Exact<{
14474
- filter?: InputMaybe<ConversationFilter>;
14475
- }>;
14476
- export type CountConversationsQuery = {
14477
- __typename?: 'Query';
14478
- countConversations?: {
14479
- __typename?: 'CountResult';
14480
- count?: any | null;
14481
- } | null;
14482
- };
14483
- export type CreateConversationMutationVariables = Exact<{
14484
- conversation: ConversationInput;
14485
- correlationId?: InputMaybe<Scalars['String']['input']>;
14486
- }>;
14487
- export type CreateConversationMutation = {
14488
- __typename?: 'Mutation';
14489
- createConversation?: {
14490
- __typename?: 'Conversation';
14491
- id: string;
14492
- name: string;
14493
- state: EntityState;
14494
- type?: ConversationTypes | null;
14495
- } | null;
14496
- };
14497
- export type DeleteAllConversationsMutationVariables = Exact<{
14498
- filter?: InputMaybe<ConversationFilter>;
14499
- isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
14500
- correlationId?: InputMaybe<Scalars['String']['input']>;
14501
- }>;
14502
- export type DeleteAllConversationsMutation = {
14503
- __typename?: 'Mutation';
14504
- deleteAllConversations?: Array<{
14505
- __typename?: 'Conversation';
14506
- id: string;
14507
- state: EntityState;
14508
- } | null> | null;
14509
- };
14510
- export type DeleteConversationMutationVariables = Exact<{
14511
- id: Scalars['ID']['input'];
14512
- }>;
14513
- export type DeleteConversationMutation = {
14514
- __typename?: 'Mutation';
14515
- deleteConversation?: {
14516
- __typename?: 'Conversation';
14517
- id: string;
14518
- state: EntityState;
14519
- } | null;
14520
- };
14521
- export type DeleteConversationsMutationVariables = Exact<{
14522
- ids: Array<Scalars['ID']['input']> | Scalars['ID']['input'];
14523
- isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
14524
- }>;
14525
- export type DeleteConversationsMutation = {
14526
- __typename?: 'Mutation';
14527
- deleteConversations?: Array<{
14528
- __typename?: 'Conversation';
14529
- id: string;
14530
- state: EntityState;
14531
- } | null> | null;
14532
- };
14533
- export type FormatConversationMutationVariables = Exact<{
14534
- prompt: Scalars['String']['input'];
14535
- id?: InputMaybe<Scalars['ID']['input']>;
14536
- specification?: InputMaybe<EntityReferenceInput>;
14537
- correlationId?: InputMaybe<Scalars['String']['input']>;
14538
- }>;
14539
- export type FormatConversationMutation = {
14540
- __typename?: 'Mutation';
14541
- formatConversation?: {
14542
- __typename?: 'PromptConversation';
14543
- messageCount?: number | null;
14544
- conversation?: {
14545
- __typename?: 'EntityReference';
14546
- id: string;
14547
- } | null;
14548
- message?: {
14549
- __typename?: 'ConversationMessage';
14550
- role: ConversationRoleTypes;
14551
- author?: string | null;
14552
- message?: string | null;
14553
- tokens?: number | null;
14554
- throughput?: number | null;
14555
- completionTime?: any | null;
14556
- timestamp?: any | null;
14688
+ details?: {
14689
+ __typename?: 'ConversationDetails';
14557
14690
  modelService?: ModelServiceTypes | null;
14558
14691
  model?: string | null;
14559
- citations?: Array<{
14560
- __typename?: 'ConversationCitation';
14561
- index?: number | null;
14562
- text: string;
14563
- startTime?: any | null;
14564
- endTime?: any | null;
14565
- pageNumber?: number | null;
14566
- frameNumber?: number | null;
14567
- content?: {
14568
- __typename?: 'Content';
14569
- id: string;
14570
- name: string;
14571
- state: EntityState;
14572
- originalDate?: any | null;
14573
- identifier?: string | null;
14574
- uri?: any | null;
14575
- type?: ContentTypes | null;
14576
- fileType?: FileTypes | null;
14577
- mimeType?: string | null;
14578
- format?: string | null;
14579
- formatName?: string | null;
14580
- fileExtension?: string | null;
14581
- fileName?: string | null;
14582
- fileSize?: any | null;
14583
- masterUri?: any | null;
14584
- imageUri?: any | null;
14585
- textUri?: any | null;
14586
- audioUri?: any | null;
14587
- transcriptUri?: any | null;
14692
+ supportsToolCalling?: boolean | null;
14693
+ sourceCount?: number | null;
14694
+ observableCount?: number | null;
14695
+ toolCount?: number | null;
14696
+ renderedSourceCount?: number | null;
14697
+ renderedObservableCount?: number | null;
14698
+ renderedToolCount?: number | null;
14699
+ rankedSourceCount?: number | null;
14700
+ rankedObservableCount?: number | null;
14701
+ rankedToolCount?: number | null;
14702
+ tokenLimit?: number | null;
14703
+ completionTokenLimit?: number | null;
14704
+ sources?: string | null;
14705
+ formattedSources?: string | null;
14706
+ formattedObservables?: string | null;
14707
+ formattedInstructions?: string | null;
14708
+ formattedTools?: string | null;
14709
+ assistantMessage?: string | null;
14710
+ messages?: Array<{
14711
+ __typename?: 'ConversationMessage';
14712
+ role: ConversationRoleTypes;
14713
+ author?: string | null;
14714
+ message?: string | null;
14715
+ tokens?: number | null;
14716
+ throughput?: number | null;
14717
+ completionTime?: any | null;
14718
+ timestamp?: any | null;
14719
+ modelService?: ModelServiceTypes | null;
14720
+ model?: string | null;
14721
+ citations?: Array<{
14722
+ __typename?: 'ConversationCitation';
14723
+ index?: number | null;
14724
+ text: string;
14725
+ startTime?: any | null;
14726
+ endTime?: any | null;
14727
+ pageNumber?: number | null;
14728
+ frameNumber?: number | null;
14729
+ content?: {
14730
+ __typename?: 'Content';
14731
+ id: string;
14732
+ name: string;
14733
+ state: EntityState;
14734
+ originalDate?: any | null;
14735
+ identifier?: string | null;
14736
+ uri?: any | null;
14737
+ type?: ContentTypes | null;
14738
+ fileType?: FileTypes | null;
14739
+ mimeType?: string | null;
14740
+ format?: string | null;
14741
+ formatName?: string | null;
14742
+ fileExtension?: string | null;
14743
+ fileName?: string | null;
14744
+ fileSize?: any | null;
14745
+ masterUri?: any | null;
14746
+ imageUri?: any | null;
14747
+ textUri?: any | null;
14748
+ audioUri?: any | null;
14749
+ transcriptUri?: any | null;
14750
+ summary?: string | null;
14751
+ customSummary?: string | null;
14752
+ keywords?: Array<string> | null;
14753
+ bullets?: Array<string> | null;
14754
+ headlines?: Array<string> | null;
14755
+ posts?: Array<string> | null;
14756
+ chapters?: Array<string> | null;
14757
+ questions?: Array<string> | null;
14758
+ video?: {
14759
+ __typename?: 'VideoMetadata';
14760
+ width?: number | null;
14761
+ height?: number | null;
14762
+ duration?: any | null;
14763
+ make?: string | null;
14764
+ model?: string | null;
14765
+ software?: string | null;
14766
+ title?: string | null;
14767
+ description?: string | null;
14768
+ keywords?: Array<string | null> | null;
14769
+ author?: string | null;
14770
+ } | null;
14771
+ audio?: {
14772
+ __typename?: 'AudioMetadata';
14773
+ keywords?: Array<string | null> | null;
14774
+ author?: string | null;
14775
+ series?: string | null;
14776
+ episode?: string | null;
14777
+ episodeType?: string | null;
14778
+ season?: string | null;
14779
+ publisher?: string | null;
14780
+ copyright?: string | null;
14781
+ genre?: string | null;
14782
+ title?: string | null;
14783
+ description?: string | null;
14784
+ bitrate?: number | null;
14785
+ channels?: number | null;
14786
+ sampleRate?: number | null;
14787
+ bitsPerSample?: number | null;
14788
+ duration?: any | null;
14789
+ } | null;
14790
+ image?: {
14791
+ __typename?: 'ImageMetadata';
14792
+ width?: number | null;
14793
+ height?: number | null;
14794
+ resolutionX?: number | null;
14795
+ resolutionY?: number | null;
14796
+ bitsPerComponent?: number | null;
14797
+ components?: number | null;
14798
+ projectionType?: ImageProjectionTypes | null;
14799
+ orientation?: OrientationTypes | null;
14800
+ description?: string | null;
14801
+ make?: string | null;
14802
+ model?: string | null;
14803
+ software?: string | null;
14804
+ lens?: string | null;
14805
+ focalLength?: number | null;
14806
+ exposureTime?: string | null;
14807
+ fNumber?: string | null;
14808
+ iso?: string | null;
14809
+ heading?: number | null;
14810
+ pitch?: number | null;
14811
+ } | null;
14812
+ document?: {
14813
+ __typename?: 'DocumentMetadata';
14814
+ title?: string | null;
14815
+ subject?: string | null;
14816
+ summary?: string | null;
14817
+ author?: string | null;
14818
+ publisher?: string | null;
14819
+ description?: string | null;
14820
+ keywords?: Array<string | null> | null;
14821
+ pageCount?: number | null;
14822
+ worksheetCount?: number | null;
14823
+ slideCount?: number | null;
14824
+ wordCount?: number | null;
14825
+ lineCount?: number | null;
14826
+ paragraphCount?: number | null;
14827
+ isEncrypted?: boolean | null;
14828
+ hasDigitalSignature?: boolean | null;
14829
+ } | null;
14830
+ } | null;
14831
+ } | null> | null;
14832
+ toolCalls?: Array<{
14833
+ __typename?: 'ConversationToolCall';
14834
+ id: string;
14835
+ name: string;
14836
+ arguments: string;
14837
+ } | null> | null;
14838
+ } | null> | null;
14839
+ } | null;
14840
+ } | null;
14841
+ };
14842
+ export type CountConversationsQueryVariables = Exact<{
14843
+ filter?: InputMaybe<ConversationFilter>;
14844
+ }>;
14845
+ export type CountConversationsQuery = {
14846
+ __typename?: 'Query';
14847
+ countConversations?: {
14848
+ __typename?: 'CountResult';
14849
+ count?: any | null;
14850
+ } | null;
14851
+ };
14852
+ export type CreateConversationMutationVariables = Exact<{
14853
+ conversation: ConversationInput;
14854
+ correlationId?: InputMaybe<Scalars['String']['input']>;
14855
+ }>;
14856
+ export type CreateConversationMutation = {
14857
+ __typename?: 'Mutation';
14858
+ createConversation?: {
14859
+ __typename?: 'Conversation';
14860
+ id: string;
14861
+ name: string;
14862
+ state: EntityState;
14863
+ type?: ConversationTypes | null;
14864
+ } | null;
14865
+ };
14866
+ export type DeleteAllConversationsMutationVariables = Exact<{
14867
+ filter?: InputMaybe<ConversationFilter>;
14868
+ isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
14869
+ correlationId?: InputMaybe<Scalars['String']['input']>;
14870
+ }>;
14871
+ export type DeleteAllConversationsMutation = {
14872
+ __typename?: 'Mutation';
14873
+ deleteAllConversations?: Array<{
14874
+ __typename?: 'Conversation';
14875
+ id: string;
14876
+ state: EntityState;
14877
+ } | null> | null;
14878
+ };
14879
+ export type DeleteConversationMutationVariables = Exact<{
14880
+ id: Scalars['ID']['input'];
14881
+ }>;
14882
+ export type DeleteConversationMutation = {
14883
+ __typename?: 'Mutation';
14884
+ deleteConversation?: {
14885
+ __typename?: 'Conversation';
14886
+ id: string;
14887
+ state: EntityState;
14888
+ } | null;
14889
+ };
14890
+ export type DeleteConversationsMutationVariables = Exact<{
14891
+ ids: Array<Scalars['ID']['input']> | Scalars['ID']['input'];
14892
+ isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
14893
+ }>;
14894
+ export type DeleteConversationsMutation = {
14895
+ __typename?: 'Mutation';
14896
+ deleteConversations?: Array<{
14897
+ __typename?: 'Conversation';
14898
+ id: string;
14899
+ state: EntityState;
14900
+ } | null> | null;
14901
+ };
14902
+ export type FormatConversationMutationVariables = Exact<{
14903
+ prompt: Scalars['String']['input'];
14904
+ id?: InputMaybe<Scalars['ID']['input']>;
14905
+ specification?: InputMaybe<EntityReferenceInput>;
14906
+ includeDetails?: InputMaybe<Scalars['Boolean']['input']>;
14907
+ correlationId?: InputMaybe<Scalars['String']['input']>;
14908
+ }>;
14909
+ export type FormatConversationMutation = {
14910
+ __typename?: 'Mutation';
14911
+ formatConversation?: {
14912
+ __typename?: 'PromptConversation';
14913
+ messageCount?: number | null;
14914
+ conversation?: {
14915
+ __typename?: 'EntityReference';
14916
+ id: string;
14917
+ } | null;
14918
+ message?: {
14919
+ __typename?: 'ConversationMessage';
14920
+ role: ConversationRoleTypes;
14921
+ author?: string | null;
14922
+ message?: string | null;
14923
+ tokens?: number | null;
14924
+ throughput?: number | null;
14925
+ completionTime?: any | null;
14926
+ timestamp?: any | null;
14927
+ modelService?: ModelServiceTypes | null;
14928
+ model?: string | null;
14929
+ citations?: Array<{
14930
+ __typename?: 'ConversationCitation';
14931
+ index?: number | null;
14932
+ text: string;
14933
+ startTime?: any | null;
14934
+ endTime?: any | null;
14935
+ pageNumber?: number | null;
14936
+ frameNumber?: number | null;
14937
+ content?: {
14938
+ __typename?: 'Content';
14939
+ id: string;
14940
+ name: string;
14941
+ state: EntityState;
14942
+ originalDate?: any | null;
14943
+ identifier?: string | null;
14944
+ uri?: any | null;
14945
+ type?: ContentTypes | null;
14946
+ fileType?: FileTypes | null;
14947
+ mimeType?: string | null;
14948
+ format?: string | null;
14949
+ formatName?: string | null;
14950
+ fileExtension?: string | null;
14951
+ fileName?: string | null;
14952
+ fileSize?: any | null;
14953
+ masterUri?: any | null;
14954
+ imageUri?: any | null;
14955
+ textUri?: any | null;
14956
+ audioUri?: any | null;
14957
+ transcriptUri?: any | null;
14588
14958
  summary?: string | null;
14589
14959
  customSummary?: string | null;
14590
14960
  keywords?: Array<string> | null;
@@ -14665,50 +15035,202 @@ export type FormatConversationMutation = {
14665
15035
  isEncrypted?: boolean | null;
14666
15036
  hasDigitalSignature?: boolean | null;
14667
15037
  } | null;
14668
- } | null;
14669
- } | null> | null;
14670
- toolCalls?: Array<{
14671
- __typename?: 'ConversationToolCall';
14672
- id: string;
14673
- name: string;
14674
- arguments: string;
14675
- } | null> | null;
14676
- } | null;
14677
- facets?: Array<{
14678
- __typename?: 'ContentFacet';
14679
- type?: FacetValueTypes | null;
14680
- value?: string | null;
14681
- count?: any | null;
14682
- facet?: ContentFacetTypes | null;
14683
- range?: {
14684
- __typename?: 'StringRange';
14685
- from?: string | null;
14686
- to?: string | null;
14687
- } | null;
14688
- observable?: {
14689
- __typename?: 'ObservableFacet';
14690
- type?: ObservableTypes | null;
14691
- observable?: {
14692
- __typename?: 'NamedEntityReference';
15038
+ } | null;
15039
+ } | null> | null;
15040
+ toolCalls?: Array<{
15041
+ __typename?: 'ConversationToolCall';
15042
+ id: string;
15043
+ name: string;
15044
+ arguments: string;
15045
+ } | null> | null;
15046
+ } | null;
15047
+ facets?: Array<{
15048
+ __typename?: 'ContentFacet';
15049
+ type?: FacetValueTypes | null;
15050
+ value?: string | null;
15051
+ count?: any | null;
15052
+ facet?: ContentFacetTypes | null;
15053
+ range?: {
15054
+ __typename?: 'StringRange';
15055
+ from?: string | null;
15056
+ to?: string | null;
15057
+ } | null;
15058
+ observable?: {
15059
+ __typename?: 'ObservableFacet';
15060
+ type?: ObservableTypes | null;
15061
+ observable?: {
15062
+ __typename?: 'NamedEntityReference';
15063
+ id: string;
15064
+ name?: string | null;
15065
+ } | null;
15066
+ } | null;
15067
+ } | null> | null;
15068
+ graph?: {
15069
+ __typename?: 'Graph';
15070
+ nodes?: Array<{
15071
+ __typename?: 'GraphNode';
15072
+ id: string;
15073
+ name: string;
15074
+ type: EntityTypes;
15075
+ metadata?: string | null;
15076
+ } | null> | null;
15077
+ edges?: Array<{
15078
+ __typename?: 'GraphEdge';
15079
+ from: string;
15080
+ to: string;
15081
+ relation?: string | null;
15082
+ } | null> | null;
15083
+ } | null;
15084
+ details?: {
15085
+ __typename?: 'ConversationDetails';
15086
+ modelService?: ModelServiceTypes | null;
15087
+ model?: string | null;
15088
+ supportsToolCalling?: boolean | null;
15089
+ sourceCount?: number | null;
15090
+ observableCount?: number | null;
15091
+ toolCount?: number | null;
15092
+ renderedSourceCount?: number | null;
15093
+ renderedObservableCount?: number | null;
15094
+ renderedToolCount?: number | null;
15095
+ rankedSourceCount?: number | null;
15096
+ rankedObservableCount?: number | null;
15097
+ rankedToolCount?: number | null;
15098
+ tokenLimit?: number | null;
15099
+ completionTokenLimit?: number | null;
15100
+ sources?: string | null;
15101
+ formattedSources?: string | null;
15102
+ formattedObservables?: string | null;
15103
+ formattedInstructions?: string | null;
15104
+ formattedTools?: string | null;
15105
+ assistantMessage?: string | null;
15106
+ messages?: Array<{
15107
+ __typename?: 'ConversationMessage';
15108
+ role: ConversationRoleTypes;
15109
+ author?: string | null;
15110
+ message?: string | null;
15111
+ tokens?: number | null;
15112
+ throughput?: number | null;
15113
+ completionTime?: any | null;
15114
+ timestamp?: any | null;
15115
+ modelService?: ModelServiceTypes | null;
15116
+ model?: string | null;
15117
+ citations?: Array<{
15118
+ __typename?: 'ConversationCitation';
15119
+ index?: number | null;
15120
+ text: string;
15121
+ startTime?: any | null;
15122
+ endTime?: any | null;
15123
+ pageNumber?: number | null;
15124
+ frameNumber?: number | null;
15125
+ content?: {
15126
+ __typename?: 'Content';
15127
+ id: string;
15128
+ name: string;
15129
+ state: EntityState;
15130
+ originalDate?: any | null;
15131
+ identifier?: string | null;
15132
+ uri?: any | null;
15133
+ type?: ContentTypes | null;
15134
+ fileType?: FileTypes | null;
15135
+ mimeType?: string | null;
15136
+ format?: string | null;
15137
+ formatName?: string | null;
15138
+ fileExtension?: string | null;
15139
+ fileName?: string | null;
15140
+ fileSize?: any | null;
15141
+ masterUri?: any | null;
15142
+ imageUri?: any | null;
15143
+ textUri?: any | null;
15144
+ audioUri?: any | null;
15145
+ transcriptUri?: any | null;
15146
+ summary?: string | null;
15147
+ customSummary?: string | null;
15148
+ keywords?: Array<string> | null;
15149
+ bullets?: Array<string> | null;
15150
+ headlines?: Array<string> | null;
15151
+ posts?: Array<string> | null;
15152
+ chapters?: Array<string> | null;
15153
+ questions?: Array<string> | null;
15154
+ video?: {
15155
+ __typename?: 'VideoMetadata';
15156
+ width?: number | null;
15157
+ height?: number | null;
15158
+ duration?: any | null;
15159
+ make?: string | null;
15160
+ model?: string | null;
15161
+ software?: string | null;
15162
+ title?: string | null;
15163
+ description?: string | null;
15164
+ keywords?: Array<string | null> | null;
15165
+ author?: string | null;
15166
+ } | null;
15167
+ audio?: {
15168
+ __typename?: 'AudioMetadata';
15169
+ keywords?: Array<string | null> | null;
15170
+ author?: string | null;
15171
+ series?: string | null;
15172
+ episode?: string | null;
15173
+ episodeType?: string | null;
15174
+ season?: string | null;
15175
+ publisher?: string | null;
15176
+ copyright?: string | null;
15177
+ genre?: string | null;
15178
+ title?: string | null;
15179
+ description?: string | null;
15180
+ bitrate?: number | null;
15181
+ channels?: number | null;
15182
+ sampleRate?: number | null;
15183
+ bitsPerSample?: number | null;
15184
+ duration?: any | null;
15185
+ } | null;
15186
+ image?: {
15187
+ __typename?: 'ImageMetadata';
15188
+ width?: number | null;
15189
+ height?: number | null;
15190
+ resolutionX?: number | null;
15191
+ resolutionY?: number | null;
15192
+ bitsPerComponent?: number | null;
15193
+ components?: number | null;
15194
+ projectionType?: ImageProjectionTypes | null;
15195
+ orientation?: OrientationTypes | null;
15196
+ description?: string | null;
15197
+ make?: string | null;
15198
+ model?: string | null;
15199
+ software?: string | null;
15200
+ lens?: string | null;
15201
+ focalLength?: number | null;
15202
+ exposureTime?: string | null;
15203
+ fNumber?: string | null;
15204
+ iso?: string | null;
15205
+ heading?: number | null;
15206
+ pitch?: number | null;
15207
+ } | null;
15208
+ document?: {
15209
+ __typename?: 'DocumentMetadata';
15210
+ title?: string | null;
15211
+ subject?: string | null;
15212
+ summary?: string | null;
15213
+ author?: string | null;
15214
+ publisher?: string | null;
15215
+ description?: string | null;
15216
+ keywords?: Array<string | null> | null;
15217
+ pageCount?: number | null;
15218
+ worksheetCount?: number | null;
15219
+ slideCount?: number | null;
15220
+ wordCount?: number | null;
15221
+ lineCount?: number | null;
15222
+ paragraphCount?: number | null;
15223
+ isEncrypted?: boolean | null;
15224
+ hasDigitalSignature?: boolean | null;
15225
+ } | null;
15226
+ } | null;
15227
+ } | null> | null;
15228
+ toolCalls?: Array<{
15229
+ __typename?: 'ConversationToolCall';
14693
15230
  id: string;
14694
- name?: string | null;
14695
- } | null;
14696
- } | null;
14697
- } | null> | null;
14698
- graph?: {
14699
- __typename?: 'Graph';
14700
- nodes?: Array<{
14701
- __typename?: 'GraphNode';
14702
- id: string;
14703
- name: string;
14704
- type: EntityTypes;
14705
- metadata?: string | null;
14706
- } | null> | null;
14707
- edges?: Array<{
14708
- __typename?: 'GraphEdge';
14709
- from: string;
14710
- to: string;
14711
- relation?: string | null;
15231
+ name: string;
15232
+ arguments: string;
15233
+ } | null> | null;
14712
15234
  } | null> | null;
14713
15235
  } | null;
14714
15236
  } | null;
@@ -15195,6 +15717,7 @@ export type PromptConversationMutationVariables = Exact<{
15195
15717
  specification?: InputMaybe<EntityReferenceInput>;
15196
15718
  tools?: InputMaybe<Array<ToolDefinitionInput> | ToolDefinitionInput>;
15197
15719
  requireTool?: InputMaybe<Scalars['Boolean']['input']>;
15720
+ includeDetails?: InputMaybe<Scalars['Boolean']['input']>;
15198
15721
  correlationId?: InputMaybe<Scalars['String']['input']>;
15199
15722
  }>;
15200
15723
  export type PromptConversationMutation = {
@@ -15372,6 +15895,158 @@ export type PromptConversationMutation = {
15372
15895
  relation?: string | null;
15373
15896
  } | null> | null;
15374
15897
  } | null;
15898
+ details?: {
15899
+ __typename?: 'ConversationDetails';
15900
+ modelService?: ModelServiceTypes | null;
15901
+ model?: string | null;
15902
+ supportsToolCalling?: boolean | null;
15903
+ sourceCount?: number | null;
15904
+ observableCount?: number | null;
15905
+ toolCount?: number | null;
15906
+ renderedSourceCount?: number | null;
15907
+ renderedObservableCount?: number | null;
15908
+ renderedToolCount?: number | null;
15909
+ rankedSourceCount?: number | null;
15910
+ rankedObservableCount?: number | null;
15911
+ rankedToolCount?: number | null;
15912
+ tokenLimit?: number | null;
15913
+ completionTokenLimit?: number | null;
15914
+ sources?: string | null;
15915
+ formattedSources?: string | null;
15916
+ formattedObservables?: string | null;
15917
+ formattedInstructions?: string | null;
15918
+ formattedTools?: string | null;
15919
+ assistantMessage?: string | null;
15920
+ messages?: Array<{
15921
+ __typename?: 'ConversationMessage';
15922
+ role: ConversationRoleTypes;
15923
+ author?: string | null;
15924
+ message?: string | null;
15925
+ tokens?: number | null;
15926
+ throughput?: number | null;
15927
+ completionTime?: any | null;
15928
+ timestamp?: any | null;
15929
+ modelService?: ModelServiceTypes | null;
15930
+ model?: string | null;
15931
+ citations?: Array<{
15932
+ __typename?: 'ConversationCitation';
15933
+ index?: number | null;
15934
+ text: string;
15935
+ startTime?: any | null;
15936
+ endTime?: any | null;
15937
+ pageNumber?: number | null;
15938
+ frameNumber?: number | null;
15939
+ content?: {
15940
+ __typename?: 'Content';
15941
+ id: string;
15942
+ name: string;
15943
+ state: EntityState;
15944
+ originalDate?: any | null;
15945
+ identifier?: string | null;
15946
+ uri?: any | null;
15947
+ type?: ContentTypes | null;
15948
+ fileType?: FileTypes | null;
15949
+ mimeType?: string | null;
15950
+ format?: string | null;
15951
+ formatName?: string | null;
15952
+ fileExtension?: string | null;
15953
+ fileName?: string | null;
15954
+ fileSize?: any | null;
15955
+ masterUri?: any | null;
15956
+ imageUri?: any | null;
15957
+ textUri?: any | null;
15958
+ audioUri?: any | null;
15959
+ transcriptUri?: any | null;
15960
+ summary?: string | null;
15961
+ customSummary?: string | null;
15962
+ keywords?: Array<string> | null;
15963
+ bullets?: Array<string> | null;
15964
+ headlines?: Array<string> | null;
15965
+ posts?: Array<string> | null;
15966
+ chapters?: Array<string> | null;
15967
+ questions?: Array<string> | null;
15968
+ video?: {
15969
+ __typename?: 'VideoMetadata';
15970
+ width?: number | null;
15971
+ height?: number | null;
15972
+ duration?: any | null;
15973
+ make?: string | null;
15974
+ model?: string | null;
15975
+ software?: string | null;
15976
+ title?: string | null;
15977
+ description?: string | null;
15978
+ keywords?: Array<string | null> | null;
15979
+ author?: string | null;
15980
+ } | null;
15981
+ audio?: {
15982
+ __typename?: 'AudioMetadata';
15983
+ keywords?: Array<string | null> | null;
15984
+ author?: string | null;
15985
+ series?: string | null;
15986
+ episode?: string | null;
15987
+ episodeType?: string | null;
15988
+ season?: string | null;
15989
+ publisher?: string | null;
15990
+ copyright?: string | null;
15991
+ genre?: string | null;
15992
+ title?: string | null;
15993
+ description?: string | null;
15994
+ bitrate?: number | null;
15995
+ channels?: number | null;
15996
+ sampleRate?: number | null;
15997
+ bitsPerSample?: number | null;
15998
+ duration?: any | null;
15999
+ } | null;
16000
+ image?: {
16001
+ __typename?: 'ImageMetadata';
16002
+ width?: number | null;
16003
+ height?: number | null;
16004
+ resolutionX?: number | null;
16005
+ resolutionY?: number | null;
16006
+ bitsPerComponent?: number | null;
16007
+ components?: number | null;
16008
+ projectionType?: ImageProjectionTypes | null;
16009
+ orientation?: OrientationTypes | null;
16010
+ description?: string | null;
16011
+ make?: string | null;
16012
+ model?: string | null;
16013
+ software?: string | null;
16014
+ lens?: string | null;
16015
+ focalLength?: number | null;
16016
+ exposureTime?: string | null;
16017
+ fNumber?: string | null;
16018
+ iso?: string | null;
16019
+ heading?: number | null;
16020
+ pitch?: number | null;
16021
+ } | null;
16022
+ document?: {
16023
+ __typename?: 'DocumentMetadata';
16024
+ title?: string | null;
16025
+ subject?: string | null;
16026
+ summary?: string | null;
16027
+ author?: string | null;
16028
+ publisher?: string | null;
16029
+ description?: string | null;
16030
+ keywords?: Array<string | null> | null;
16031
+ pageCount?: number | null;
16032
+ worksheetCount?: number | null;
16033
+ slideCount?: number | null;
16034
+ wordCount?: number | null;
16035
+ lineCount?: number | null;
16036
+ paragraphCount?: number | null;
16037
+ isEncrypted?: boolean | null;
16038
+ hasDigitalSignature?: boolean | null;
16039
+ } | null;
16040
+ } | null;
16041
+ } | null> | null;
16042
+ toolCalls?: Array<{
16043
+ __typename?: 'ConversationToolCall';
16044
+ id: string;
16045
+ name: string;
16046
+ arguments: string;
16047
+ } | null> | null;
16048
+ } | null> | null;
16049
+ } | null;
15375
16050
  } | null;
15376
16051
  };
15377
16052
  export type PublishConversationMutationVariables = Exact<{
@@ -19511,6 +20186,7 @@ export type GetSpecificationQuery = {
19511
20186
  embedCitations?: boolean | null;
19512
20187
  flattenCitations?: boolean | null;
19513
20188
  enableFacets?: boolean | null;
20189
+ disableGuardrails?: boolean | null;
19514
20190
  messagesWeight?: number | null;
19515
20191
  contentsWeight?: number | null;
19516
20192
  } | null;
@@ -19852,6 +20528,7 @@ export type QuerySpecificationsQuery = {
19852
20528
  embedCitations?: boolean | null;
19853
20529
  flattenCitations?: boolean | null;
19854
20530
  enableFacets?: boolean | null;
20531
+ disableGuardrails?: boolean | null;
19855
20532
  messagesWeight?: number | null;
19856
20533
  contentsWeight?: number | null;
19857
20534
  } | null;