Skip to content

Commit 2d3c68b

Browse files
committed
updates
1 parent d9ec72b commit 2d3c68b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

components/chattermill/actions/create-response/create-response.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ export default {
1818
score: {
1919
type: "integer",
2020
label: "Score",
21-
description: "The score to add to the response",
21+
description: "A score of 1 - 10 to add to the response",
22+
min: 1,
23+
max: 10,
2224
},
2325
comment: {
2426
type: "string",

components/chattermill/chattermill.app.mjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ export default {
3838
dataType: {
3939
type: "string",
4040
label: "Data Type",
41-
description: "The type of data to add to the response",
41+
description: "The type of data to add to the response. Note: Not all combinations of data type and data source are valid.",
42+
default: "Comment",
4243
async options({ projectId }) {
4344
const { data_types: types } = await this.listDataTypes({
4445
projectId,
@@ -49,7 +50,8 @@ export default {
4950
dataSource: {
5051
type: "string",
5152
label: "Data Source",
52-
description: "The source of the data to add to the response",
53+
description: "The source of the data to add to the response. Note: Not all combinations of data type and data source are valid.",
54+
default: "CSV Upload",
5355
async options({ projectId }) {
5456
const { data_sources: sources } = await this.listDataSources({
5557
projectId,

0 commit comments

Comments
 (0)