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
Copy file name to clipboardExpand all lines: modules/ROOT/pages/api-changelog.adoc
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -328,13 +328,13 @@ For more information, see xref:embed-spotter.adoc[Embedding Spotter] and xref:em
328
328
329
329
Events::
330
330
331
-
* `EmbedEvent.AddToCoaching` for the *Add to coaching* workflow in a Spotter conversation session
332
-
* `HostEvent.AddToCoaching` to trigger the *Add to coaching* action in a Spotter conversation session.
331
+
* `EmbedEvent.AddToCoaching` for the *Add to Coaching* workflow in a Spotter conversation session
332
+
* `HostEvent.AddToCoaching` to trigger the *Add to Coaching* action in a Spotter conversation session.
333
333
* `HostEvent.StartNewSpotterConversation` to trigger the action to start a new chat session with Spotter.
334
334
335
335
[NOTE]
336
336
====
337
-
On Spotter embed deployments running version 26.2.0.cl or later, the *Add to Coaching* feature is enabled by default. To disable or hide the **Add to Coaching** button, use the xref:Action.adoc#_inconversationtraining[InConversationTraining] action ID.
337
+
On Spotter embed deployments running version 26.2.0.cl or later, the *Add to Coaching* feature is enabled by default. To disable or hide the *Add to Coaching* button, use the xref:Action.adoc#_inconversationtraining[InConversationTraining] action ID.
@@ -596,11 +596,12 @@ Replaced with `SpotterAgentEmbed`
596
596
Replaced with `SpotterAgentEmbedViewConfig`
597
597
598
598
The deprecated components with old names in the existing Spotter embed implementations will continue to function until further notice. For code samples with new component names, see xref:embed-spotter.adoc[Spotter embed documentation].
599
-
|[tag greenBackground]#NEW FEATURE# a| *Action ID of Spotter coaching* +
600
-
For ThoughtSpot instances that have the new Spotter feedback and coaching workflow enabled, SDK provides the action ID `Action.InConversationTraining` to manage the visibility of the *Add to coaching* button on Answer generated from Spotter prompts.
599
+
600
+
|[tag greenBackground]#NEW FEATURE# a| *Action ID for Spotter in-conversation training* +
601
+
For ThoughtSpot instances that have the new Spotter in-conversation training workflow enabled, the SDK provides the action ID `Action.InConversationTraining` to manage the visibility of the *Add to Coaching* button on Answers generated from Spotter prompts.
601
602
602
603
[NOTE]
603
-
The **Add to Coaching** feature is currently in beta and is turned off by default on embed deployments. To enable this feature on your instance, contact ThoughtSpot Support.
604
+
The *Add to Coaching* feature is currently in beta and is turned off by default on embed deployments. To enable this feature on your instance, contact ThoughtSpot Support.
604
605
605
606
|[tag greenBackground]#NEW FEATURE# a|*Events support for Spotter embed*
Copy file name to clipboardExpand all lines: modules/ROOT/pages/rest-apiv2-changelog.adoc
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -241,11 +241,12 @@ Allows modifying storage configuration for a webhook.
241
241
Retrieves storage configuration details.
242
242
243
243
=== Object privilege APIs
244
-
Administrators and users with edit access to data models can now use `/api/rest/2.0/security/metadata/manage-object-privilege` to assign object-level permissions to users and groups and allow access to Spotter coaching information.
244
+
Administrators and users with edit access to data models can now use `/api/rest/2.0/security/metadata/manage-object-privilege` to assign object-level permissions to users and groups and control access to Spotter data model instructions.
245
245
246
246
To fetch object privileges for a data model, user, or group, use the `/api/rest/2.0/security/metadata/fetch-object-privileges` API endpoint.
247
247
248
-
For more information, see xref:spotter-apis.adoc#_spotter_coaching_access[Spotter coaching access].
248
+
For more information, see xref:spotter-nl-instructions.adoc#_spotter_data_model_instructions_access[Spotter data model instructions access].
249
+
249
250
250
251
=== User API enhancements
251
252
@@ -321,7 +322,7 @@ The `include_variable_values` parameter in the API request allows including vari
321
322
This release introduces the following Spotter APIs:
322
323
323
324
* `POST /api/rest/2.0/ai/instructions/set` +
324
-
Allows configuring natural language (NL) instructions on a model to coach Spotter on how to interpret queries, handle data nuances, and improve responses.
325
+
Allows configuring natural language (NL) instructions on a data model to define how Spotter interprets queries, handles data nuances, and improves responses.
325
326
* `POST /api/rest/2.0/ai/instructions/get` +
326
327
Gets NL instructions that are currently assigned to a model.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/spotter-agent-instructions.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
Administrators and developers can configure persistent behavioral instructions for the Spotter agent using the agent instructions APIs. These instructions guide how Spotter responds within a conversation context. For example, to focus on specific business domains, enforce response formats, or apply analytical constraints.
10
10
11
-
Unlike xref:spotter-nl-instructions.adoc[NL coaching instructions], which operate at the data model level, agent instructions operate at the agent level and do not require a data source identifier.
11
+
Unlike xref:spotter-nl-instructions.adoc[data model instructions], which operate at the data model level, agent instructions operate at the agent level and do not require a data source identifier.
12
12
13
13
[NOTE]
14
14
====
@@ -126,7 +126,7 @@ If no instructions are configured, ThoughtSpot returns an empty value for the `i
126
126
127
127
== Related resources
128
128
129
-
* For information about coaching Spotter at the data model level, see xref:spotter-nl-instructions.adoc[Spotter coaching APIs].
129
+
* For information about adding instructions at the data model level, see xref:spotter-nl-instructions.adoc[Data model instruction APIs].
130
130
* For information about Spotter agent conversation workflows, see xref:spotter-agent-apis.adoc[AI APIs (Spotter Agent and Spotter 3)].
131
131
* Visit the +++<a href="{{navprefix}}/restV2-playground?apiResourceId=http%2Fapi-endpoints%2Fai%2Fset-agent-instructions" id="preview-in-playground">REST API v2.0 Playground</a>+++ to test the set agent instructions endpoint.
132
132
* Visit the +++<a href="{{navprefix}}/restV2-playground?apiResourceId=http%2Fapi-endpoints%2Fai%2Fget-agent-instructions" id="preview-in-playground">REST API v2.0 Playground</a>+++ to test the get agent instructions endpoint.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/spotter-nl-instructions.adoc
+15-13Lines changed: 15 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
-
= Spotter instructions API
1
+
= Data model instructions API
2
2
:toc: true
3
3
:toclevels: 2
4
4
5
-
:page-title: Spotter APIs
6
-
:page-pageid: spotter-coaching-apis
7
-
:page-description: You can use Spotter REST APIs to receive Answers for your analytical queries sent through the conversational experience with ThoughtSpot.
5
+
:page-title: Data model instructions APIs
6
+
:page-pageid: spotter-nl-instructions
7
+
:page-description: Use the data model instructions APIs to set and retrieve natural language instructions at the data model level to guide how Spotter interprets and answers user queries.
8
8
9
-
Administrators and data owners can guide and refine how Spotter interprets and answers user questions. The natural language (NL) instructions API allows you to set instructions at the data model level. The API provides business context and preferred interpretations for specific queries or terminology to coach Spotter, but it does not train or change the underlying LLM.
9
+
Administrators and data owners can guide and refine how Spotter interprets and answers user questions. The natural language (NL) instructions API allows you to set instructions at the data model level. The API provides business context and preferred interpretations for specific queries or terminology, but it does not train or change the underlying LLM.
10
10
11
11
== Set NL instructions
12
-
To coach and instruct the Spotter system on how to interpret queries, apply filters, select columns, handle data nuances, and present answers using the data from a specific model, you can set global rules in natural language format. Setting instructions helps Spotter generate precise and consistent responses for user queries.
12
+
To define how Spotter interprets queries, applies filters, selects columns, handles data nuances, and presents answers using the data from a specific model, you can set global rules in natural language format. Setting data model instructions helps Spotter generate precise and consistent responses for user queries.
13
13
14
14
To set instructions for a Model, send a `POST` request to the `/api/rest/2.0/ai/instructions/set` API endpoint.
15
15
@@ -35,7 +35,7 @@ Sets the scope for the rules. By default, the rules are applied globally for all
35
35
36
36
=== Example request
37
37
38
-
The following example defines instructions to coach Spotter on how to interpret the query:
38
+
The following example defines data model instructions that guide Spotter on how to interpret queries:
39
39
40
40
[source,cURL]
41
41
----
@@ -109,13 +109,14 @@ If the instructions are configured on the Model specified in the API request, Th
109
109
}
110
110
----
111
111
112
-
== Spotter coaching access
113
112
114
-
ThoughtSpot supports publishing Spotter coaching information to other Orgs. Coaching changes from the primary Org are synchronized with the data models published in secondary Orgs.
113
+
== Spotter data model instructions access
115
114
116
-
=== Assign Spotter coaching access privilege
115
+
ThoughtSpot supports publishing data model instructions to other Orgs. Data model instruction changes from the primary Org are synchronized with the data models published in secondary Orgs.
117
116
118
-
To allow users and groups to access spotter coaching information in data models, assign the `SPOTTER_COACHING_PRIVILEGE` via `POST` request to the `/api/rest/2.0/security/metadata/manage-object-privilege` API endpoint.
117
+
=== Assign the data model instructions privilege
118
+
119
+
To allow users and groups to access data model instructions, assign the `SPOTTER_COACHING_PRIVILEGE` via `POST` request to the `/api/rest/2.0/security/metadata/manage-object-privilege` API endpoint.
119
120
120
121
In the API request, specify the data model, user, and group, and ensure that the object privilege is set to `SPOTTER_COACHING_PRIVILEGE`.
121
122
@@ -145,9 +146,10 @@ curl -X POST \
145
146
146
147
If the request is successful, the API returns the 204 response code.
147
148
148
-
=== Get a list of users or groups with Spotter coaching privilege
149
149
150
-
To get a list of users and groups with the Spotter coaching privilege for a specific data model or all data models, send a `POST` request to the `/api/rest/2.0/security/metadata/fetch-object-privileges` API endpoint.
150
+
=== Get a list of users or groups with the data model instructions privilege
151
+
152
+
To get a list of users and groups with the data model instructions privilege (`SPOTTER_COACHING_PRIVILEGE`) for a specific data model or all data models, send a `POST` request to the `/api/rest/2.0/security/metadata/fetch-object-privileges` API endpoint.
151
153
152
154
In the API request, specify the user or the group for which you want to retrieve the object privilege details.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/whats-new.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -364,7 +364,7 @@ Administrators and users with edit access to data models can programmatically co
364
364
365
365
Users and groups with `SPOTTER_COACHING_PRIVILEGE` can import and export coaching TML on data models in the source and destination Orgs where the model is published, and can also share these objects with other users and groups.
366
366
367
-
For more information, see xref:spotter-apis.adoc#_spotter_coaching_access[Spotter coaching access].
367
+
For more information, see xref:spotter-nl-instructions.adoc#_spotter_data_model_instructions_access[Spotter data model instructions access].
0 commit comments