Skip to content

Commit be5d283

Browse files
committed
fix(agiloft): give natural language search a sentence that paints
check:canvas-sentences failed: the nlp_search card resolved to nothing on an untouched canvas, so it painted empty. Its only basic-mode field was the long-input query, and the field list is advanced, so every segment dropped. The sentence now leads with the knowledge base, matching the shape List Tables already uses — both operations are knowledge-base scoped rather than table-scoped, so it also reads more accurately.
1 parent a776182 commit be5d283

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/sim/blocks/blocks/agiloft.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ export const AgiloftBlock: BlockConfig = {
6060
{ text: ', up to', field: 'limit', after: 'records' },
6161
],
6262
nlp_search: [
63-
{ text: 'Find records matching', field: 'nlpQuery', core: true },
63+
{ text: 'Search', field: 'knowledgeBase', core: true },
64+
{ text: 'for', field: 'nlpQuery' },
6465
{ text: ', returning', field: 'fields' },
6566
],
6667
select_records: [

0 commit comments

Comments
 (0)