@sentio/api 1.0.3-rc.16 → 1.0.3-rc.17

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.
@@ -26,7 +26,7 @@ export declare namespace ai_service {
26
26
  scenario?: ContextScenario;
27
27
  sqlConfig?: SqlConfig;
28
28
  };
29
- type ContextScenario = 'SCENARIO_UNSPECIFIED' | 'SCENARIO_SQL';
29
+ type ContextScenario = 'SCENARIO_UNSPECIFIED' | 'SCENARIO_SQL' | 'SCENARIO_INSIGHT';
30
30
  type CreateChatSessionResponse = {
31
31
  sessionId?: string;
32
32
  currentCursorPosition?: number;
@@ -44,6 +44,7 @@ export declare namespace ai_service {
44
44
  timeRange?: common.TimeRangeLite;
45
45
  result?: common.Matrix;
46
46
  error?: string;
47
+ title?: string;
47
48
  };
48
49
  /**
49
50
  * Message represents a single message in an AI conversation with either text or structured content. Messages are generated as part of a 'run' (identified by run_id), and the is_final flag indicates when all messages for a run have been generated.
@@ -85,7 +86,7 @@ export declare namespace ai_service {
85
86
  insightQuery?: InsightQueryContent;
86
87
  error?: ErrorContent;
87
88
  };
88
- type StructuredContentContentType = 'CONTENT_TYPE_UNSPECIFIED' | 'CONTENT_TYPE_SQL' | 'CONTENT_TYPE_ERROR';
89
+ type StructuredContentContentType = 'CONTENT_TYPE_UNSPECIFIED' | 'CONTENT_TYPE_SQL' | 'CONTENT_TYPE_INSIGHT_QUERY' | 'CONTENT_TYPE_ERROR';
89
90
  type CreateChatSessionData = {
90
91
  /**
91
92
  * ChatSession represents an interactive conversation session with the AI. Messages in the session are ordered and accessed via cursor positions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/api",
3
- "version": "1.0.3-rc.16",
3
+ "version": "1.0.3-rc.17",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
package/src/types.gen.ts CHANGED
@@ -28,7 +28,7 @@ export namespace ai_service {
28
28
  scenario?: ContextScenario;
29
29
  sqlConfig?: SqlConfig;
30
30
  };
31
- export type ContextScenario = 'SCENARIO_UNSPECIFIED' | 'SCENARIO_SQL';
31
+ export type ContextScenario = 'SCENARIO_UNSPECIFIED' | 'SCENARIO_SQL' | 'SCENARIO_INSIGHT';
32
32
  export type CreateChatSessionResponse = {
33
33
  sessionId?: string;
34
34
  currentCursorPosition?: number;
@@ -46,6 +46,7 @@ export namespace ai_service {
46
46
  timeRange?: common.TimeRangeLite;
47
47
  result?: common.Matrix;
48
48
  error?: string;
49
+ title?: string;
49
50
  };
50
51
  /**
51
52
  * Message represents a single message in an AI conversation with either text or structured content. Messages are generated as part of a 'run' (identified by run_id), and the is_final flag indicates when all messages for a run have been generated.
@@ -87,7 +88,7 @@ export namespace ai_service {
87
88
  insightQuery?: InsightQueryContent;
88
89
  error?: ErrorContent;
89
90
  };
90
- export type StructuredContentContentType = 'CONTENT_TYPE_UNSPECIFIED' | 'CONTENT_TYPE_SQL' | 'CONTENT_TYPE_ERROR';
91
+ export type StructuredContentContentType = 'CONTENT_TYPE_UNSPECIFIED' | 'CONTENT_TYPE_SQL' | 'CONTENT_TYPE_INSIGHT_QUERY' | 'CONTENT_TYPE_ERROR';
91
92
  export type CreateChatSessionData = {
92
93
  /**
93
94
  * ChatSession represents an interactive conversation session with the AI. Messages in the session are ordered and accessed via cursor positions.