Skip to content

Commit bf23fb5

Browse files
authored
chore: update natural language query bar text COMPASS-9369 (#6923)
* adjust nlq placeholder
1 parent 82884e2 commit bf23fb5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/compass-aggregations/src/components/pipeline-toolbar/pipeline-ai.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export const PipelineAI: React.FunctionComponent<PipelineAIProps> = ({
118118
onResetIsAggregationGeneratedFromQuery={
119119
onResetIsAggregationGeneratedFromQuery
120120
}
121-
placeholder="Tell Compass what aggregation to build (e.g. how many movies were made each year)"
121+
placeholder="Tell us what aggregation to build (e.g. count movies made each year) or paste one in another language (SQL, Java, etc.)"
122122
onSubmitFeedback={enableTelemetry ? onSubmitFeedback : undefined}
123123
/>
124124
);

packages/compass-generative-ai/src/components/generative-ai-input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ function GenerativeAIInput({
326326
errorMessage,
327327
errorCode,
328328
isFetching,
329-
placeholder = 'Tell Compass what documents to find (e.g. which movies were released in 2000)',
329+
placeholder = 'Tell us what to find (e.g. movies from 2000) or paste a query in another language (SQL, Java, etc.)',
330330
show,
331331
onCancelRequest,
332332
onClose,

0 commit comments

Comments
 (0)