feat: support binding context var (#1227)

Co-authored-by: Joel <iamjoel007@gmail.com>
This commit is contained in:
Garfield Dai
2023-09-27 14:53:22 +08:00
committed by GitHub
parent 59236b789f
commit 18c710c906
44 changed files with 711 additions and 77 deletions

View File

@@ -66,6 +66,19 @@ const translation = {
noDataSet: 'No dataset found',
toCreate: 'Go to create',
notSupportSelectMulti: 'Currently only support one dataset',
queryVariable: {
title: 'Query variable',
tip: 'This variable will be used as the query input for context retrieval, obtaining context information related to the input of this variable.',
choosePlaceholder: 'Choose query variable',
noVar: 'No variables',
noVarTip: 'please create a variable under the Variables section',
unableToQueryDataSet: 'Unable to query the dataset',
unableToQueryDataSetTip: 'Unable to query the dataset successfully, please choose a context query variable in the context section.',
ok: 'OK',
contextVarNotEmpty: 'context query variable can not be empty',
deleteContextVarTitle: 'Delete variable “{{varName}}”?',
deleteContextVarTip: 'This variable has been set as a context query variable, and removing it will impact the normal use of the dataset. If you still need to delete it, please reselect it in the context section.',
},
},
},
automatic: {