mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 19:00:59 +03:00
update fields
This commit is contained in:
@@ -167,7 +167,7 @@
|
||||
"data": {
|
||||
"id": "sqlDatabaseChain_0",
|
||||
"label": "Sql Database Chain",
|
||||
"version": 2,
|
||||
"version": 4,
|
||||
"name": "sqlDatabaseChain",
|
||||
"type": "SqlDatabaseChain",
|
||||
"baseClasses": ["SqlDatabaseChain", "BaseChain", "Runnable"],
|
||||
@@ -206,6 +206,46 @@
|
||||
"placeholder": "1270.0.0.1:5432/chinook",
|
||||
"id": "sqlDatabaseChain_0-input-url-string"
|
||||
},
|
||||
{
|
||||
"label": "Include Tables",
|
||||
"name": "includesTables",
|
||||
"type": "string",
|
||||
"description": "Tables to include for queries, seperated by comma. Can only use Include Tables or Ignore Tables",
|
||||
"placeholder": "table1, table2",
|
||||
"additionalParams": true,
|
||||
"optional": true,
|
||||
"id": "sqlDatabaseChain_0-input-includesTables-string"
|
||||
},
|
||||
{
|
||||
"label": "Ignore Tables",
|
||||
"name": "ignoreTables",
|
||||
"type": "string",
|
||||
"description": "Tables to ignore for queries, seperated by comma. Can only use Ignore Tables or Include Tables",
|
||||
"placeholder": "table1, table2",
|
||||
"additionalParams": true,
|
||||
"optional": true,
|
||||
"id": "sqlDatabaseChain_0-input-ignoreTables-string"
|
||||
},
|
||||
{
|
||||
"label": "Sample table's rows info",
|
||||
"name": "sampleRowsInTableInfo",
|
||||
"type": "number",
|
||||
"description": "Number of sample row for tables to load for info.",
|
||||
"placeholder": "3",
|
||||
"additionalParams": true,
|
||||
"optional": true,
|
||||
"id": "sqlDatabaseChain_0-input-sampleRowsInTableInfo-number"
|
||||
},
|
||||
{
|
||||
"label": "Top Keys",
|
||||
"name": "topK",
|
||||
"type": "number",
|
||||
"description": "If you are querying for several rows of a table you can select the maximum number of results you want to get by using the top_k parameter (default is 10). This is useful for avoiding query results that exceed the prompt max length or consume tokens unnecessarily.",
|
||||
"placeholder": "10",
|
||||
"additionalParams": true,
|
||||
"optional": true,
|
||||
"id": "sqlDatabaseChain_0-input-topK-number"
|
||||
},
|
||||
{
|
||||
"label": "Custom Prompt",
|
||||
"name": "customPrompt",
|
||||
|
||||
Reference in New Issue
Block a user