You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.describe("Additional context to add to the query, this might be older data returned for previous questions or any other relevant context that might help the system generate better questions.")
20
31
.optional(),
21
-
datasourceId: z.string()
22
-
.describe("The datasource to get questions for, this is the id of the datasource to get data from")
23
-
.optional()
24
-
});
25
-
26
-
constGetRelevantDataSchema=z.object({
27
-
query: z.string().describe("The query to get relevant data for, this could be a high level task or question the user is asking or hoping to get answered. You can pass the complete raw query as the system is smart to make sense of it."),
28
-
datasourceId: z.string()
29
-
.describe("The datasource to get data from, this is the id of the datasource to get data from")
30
-
.optional()
32
+
datasourceIds: z.array(z.string())
33
+
.describe("The datasources to get questions for, this is the ids of the datasources to get data from")
31
34
});
32
35
33
36
constGetAnswerSchema=z.object({
@@ -177,24 +180,29 @@ export class MCPServer extends Server {
text: `Liveboard created successfully, you can view it at ${liveboard.url}
276
249
277
-
Use this url to view the dashboard/liveboard in ThoughtSpot which contains visualizations for the generated data. *Always* Present this url to the user as a link to view the data as a reference.`,
250
+
Provide this url to the user as a link to view the liveboard in ThoughtSpot.`,
0 commit comments