graphlit-client 1.0.20241212004 → 1.0.20241213002

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.
@@ -2100,6 +2100,7 @@ exports.CompleteConversation = (0, graphql_tag_1.default) `
2100
2100
  formattedObservables
2101
2101
  formattedInstructions
2102
2102
  formattedTools
2103
+ specification
2103
2104
  messages {
2104
2105
  role
2105
2106
  author
@@ -2407,6 +2408,7 @@ exports.ContinueConversation = (0, graphql_tag_1.default) `
2407
2408
  formattedObservables
2408
2409
  formattedInstructions
2409
2410
  formattedTools
2411
+ specification
2410
2412
  messages {
2411
2413
  role
2412
2414
  author
@@ -2761,6 +2763,7 @@ exports.FormatConversation = (0, graphql_tag_1.default) `
2761
2763
  formattedObservables
2762
2764
  formattedInstructions
2763
2765
  formattedTools
2766
+ specification
2764
2767
  messages {
2765
2768
  role
2766
2769
  author
@@ -3483,6 +3486,7 @@ exports.PromptConversation = (0, graphql_tag_1.default) `
3483
3486
  formattedObservables
3484
3487
  formattedInstructions
3485
3488
  formattedTools
3489
+ specification
3486
3490
  messages {
3487
3491
  role
3488
3492
  author
@@ -7007,7 +7011,6 @@ exports.GetSpecification = (0, graphql_tag_1.default) `
7007
7011
  embedCitations
7008
7012
  flattenCitations
7009
7013
  enableFacets
7010
- disableGuardrails
7011
7014
  messagesWeight
7012
7015
  contentsWeight
7013
7016
  }
@@ -7313,7 +7316,6 @@ exports.QuerySpecifications = (0, graphql_tag_1.default) `
7313
7316
  embedCitations
7314
7317
  flattenCitations
7315
7318
  enableFacets
7316
- disableGuardrails
7317
7319
  messagesWeight
7318
7320
  contentsWeight
7319
7321
  }
@@ -1816,6 +1816,8 @@ export type ConversationDetails = {
1816
1816
  sourceCount?: Maybe<Scalars['Int']['output']>;
1817
1817
  /** JSON representation of the source to content mapping. */
1818
1818
  sources?: Maybe<Scalars['String']['output']>;
1819
+ /** JSON representation of the LLM specification. */
1820
+ specification?: Maybe<Scalars['String']['output']>;
1819
1821
  /** Whether the LLM supports tool calling. */
1820
1822
  supportsToolCalling?: Maybe<Scalars['Boolean']['output']>;
1821
1823
  /** The LLM prompt token limit. */
@@ -1921,9 +1923,11 @@ export declare enum ConversationRoleTypes {
1921
1923
  }
1922
1924
  /** Conversation search type */
1923
1925
  export declare enum ConversationSearchTypes {
1924
- /** Hybrid (Vector similarity using search text) */
1926
+ /** Hybrid (Vector similarity using user prompt + Keyword search) */
1925
1927
  Hybrid = "HYBRID",
1926
- /** Vector similarity */
1928
+ /** Ignore user prompt for content retrieval */
1929
+ None = "NONE",
1930
+ /** Vector similarity using user prompt */
1927
1931
  Vector = "VECTOR"
1928
1932
  }
1929
1933
  /** Represents a conversation strategy. */
@@ -1931,8 +1935,6 @@ export type ConversationStrategy = {
1931
1935
  __typename?: 'ConversationStrategy';
1932
1936
  /** The weight of contents within prompt context, in range [0.0 - 1.0]. */
1933
1937
  contentsWeight?: Maybe<Scalars['Float']['output']>;
1934
- /** Disable JSON guardrails, if system prompt asks for non-JSON output format. */
1935
- disableGuardrails?: Maybe<Scalars['Boolean']['output']>;
1936
1938
  /** Embed content citations into completed converation messages. */
1937
1939
  embedCitations?: Maybe<Scalars['Boolean']['output']>;
1938
1940
  /** Provide content facets with completed conversation. */
@@ -1950,8 +1952,6 @@ export type ConversationStrategy = {
1950
1952
  export type ConversationStrategyInput = {
1951
1953
  /** The weight of contents within prompt context, in range [0.0 - 1.0]. */
1952
1954
  contentsWeight?: InputMaybe<Scalars['Float']['input']>;
1953
- /** Disable JSON guardrails, if system prompt asks for non-JSON output format. */
1954
- disableGuardrails?: InputMaybe<Scalars['Boolean']['input']>;
1955
1955
  /** Embed content citations into completed converation messages. */
1956
1956
  embedCitations?: InputMaybe<Scalars['Boolean']['input']>;
1957
1957
  /** Provide content facets with completed conversation. */
@@ -1976,8 +1976,6 @@ export declare enum ConversationStrategyTypes {
1976
1976
  export type ConversationStrategyUpdateInput = {
1977
1977
  /** The weight of contents within prompt context, in range [0.0 - 1.0]. */
1978
1978
  contentsWeight?: InputMaybe<Scalars['Float']['input']>;
1979
- /** Disable JSON guardrails, if system prompt asks for non-JSON output format. */
1980
- disableGuardrails?: InputMaybe<Scalars['Boolean']['input']>;
1981
1979
  /** Embed content citations into completed converation messages. */
1982
1980
  embedCitations?: InputMaybe<Scalars['Boolean']['input']>;
1983
1981
  /** Provide content facets with completed conversation. */
@@ -14376,6 +14374,7 @@ export type CompleteConversationMutation = {
14376
14374
  formattedObservables?: string | null;
14377
14375
  formattedInstructions?: string | null;
14378
14376
  formattedTools?: string | null;
14377
+ specification?: string | null;
14379
14378
  messages?: Array<{
14380
14379
  __typename?: 'ConversationMessage';
14381
14380
  role: ConversationRoleTypes;
@@ -14709,6 +14708,7 @@ export type ContinueConversationMutation = {
14709
14708
  formattedObservables?: string | null;
14710
14709
  formattedInstructions?: string | null;
14711
14710
  formattedTools?: string | null;
14711
+ specification?: string | null;
14712
14712
  messages?: Array<{
14713
14713
  __typename?: 'ConversationMessage';
14714
14714
  role: ConversationRoleTypes;
@@ -15104,6 +15104,7 @@ export type FormatConversationMutation = {
15104
15104
  formattedObservables?: string | null;
15105
15105
  formattedInstructions?: string | null;
15106
15106
  formattedTools?: string | null;
15107
+ specification?: string | null;
15107
15108
  messages?: Array<{
15108
15109
  __typename?: 'ConversationMessage';
15109
15110
  role: ConversationRoleTypes;
@@ -15917,6 +15918,7 @@ export type PromptConversationMutation = {
15917
15918
  formattedObservables?: string | null;
15918
15919
  formattedInstructions?: string | null;
15919
15920
  formattedTools?: string | null;
15921
+ specification?: string | null;
15920
15922
  messages?: Array<{
15921
15923
  __typename?: 'ConversationMessage';
15922
15924
  role: ConversationRoleTypes;
@@ -20186,7 +20188,6 @@ export type GetSpecificationQuery = {
20186
20188
  embedCitations?: boolean | null;
20187
20189
  flattenCitations?: boolean | null;
20188
20190
  enableFacets?: boolean | null;
20189
- disableGuardrails?: boolean | null;
20190
20191
  messagesWeight?: number | null;
20191
20192
  contentsWeight?: number | null;
20192
20193
  } | null;
@@ -20529,7 +20530,6 @@ export type QuerySpecificationsQuery = {
20529
20530
  embedCitations?: boolean | null;
20530
20531
  flattenCitations?: boolean | null;
20531
20532
  enableFacets?: boolean | null;
20532
- disableGuardrails?: boolean | null;
20533
20533
  messagesWeight?: number | null;
20534
20534
  contentsWeight?: number | null;
20535
20535
  } | null;
@@ -298,9 +298,11 @@ var ConversationRoleTypes;
298
298
  /** Conversation search type */
299
299
  var ConversationSearchTypes;
300
300
  (function (ConversationSearchTypes) {
301
- /** Hybrid (Vector similarity using search text) */
301
+ /** Hybrid (Vector similarity using user prompt + Keyword search) */
302
302
  ConversationSearchTypes["Hybrid"] = "HYBRID";
303
- /** Vector similarity */
303
+ /** Ignore user prompt for content retrieval */
304
+ ConversationSearchTypes["None"] = "NONE";
305
+ /** Vector similarity using user prompt */
304
306
  ConversationSearchTypes["Vector"] = "VECTOR";
305
307
  })(ConversationSearchTypes || (exports.ConversationSearchTypes = ConversationSearchTypes = {}));
306
308
  /** Conversation strategies */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20241212004",
3
+ "version": "1.0.20241213002",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",