Browse Source

Update templates:Text2sql and DB Description (#2361)

### What problem does this PR solve?


### Type of change

- [x] Refactoring
tags/v0.11.0
lidp 1 year ago
parent
commit
22c5affacc
No account linked to committer's email address
2 changed files with 12 additions and 0 deletions
  1. 6
    0
      agent/templates/DB Assistant.json
  2. 6
    0
      agent/templates/text2sql.json

+ 6
- 0
agent/templates/DB Assistant.json View File

@@ -120,6 +120,7 @@
"obj": {
"component_name": "Retrieval",
"params": {
"empty_response": "Nothing found in DB-Description!",
"kb_ids": [
"b510f8f45f6011ef904f0242ac160006"
],
@@ -139,6 +140,7 @@
"obj": {
"component_name": "Retrieval",
"params": {
"empty_response": "Nothing found in DDL!",
"kb_ids": [
"9870268e5f6011efb8570242ac160006"
],
@@ -158,6 +160,7 @@
"obj": {
"component_name": "Retrieval",
"params": {
"empty_response": "Nothing found in Q->SQL!",
"kb_ids": [
"dd401bcc5b9e11efae770242ac160006"
],
@@ -408,6 +411,7 @@
{
"data": {
"form": {
"empty_response": "Nothing found in Q->SQL!",
"kb_ids": [
"dd401bcc5b9e11efae770242ac160006"
],
@@ -493,6 +497,7 @@
{
"data": {
"form": {
"empty_response": "Nothing found in DB-Description!",
"kb_ids": [
"b510f8f45f6011ef904f0242ac160006"
],
@@ -523,6 +528,7 @@
{
"data": {
"form": {
"empty_response": "Nothing found in DDL!",
"kb_ids": [
"9870268e5f6011efb8570242ac160006"
],

+ 6
- 0
agent/templates/text2sql.json View File

@@ -69,6 +69,7 @@
"obj": {
"component_name": "Retrieval",
"params": {
"empty_response": "Nothing found in DB-Description!",
"kb_ids": [
"0ab5de985ba911efad9942010a8a0006"
],
@@ -88,6 +89,7 @@
"obj": {
"component_name": "Retrieval",
"params": {
"empty_response": "Nothing found in DDL!",
"kb_ids": [
"b1a6a45e5ba811ef80dc42010a8a0006"
],
@@ -107,6 +109,7 @@
"obj": {
"component_name": "Retrieval",
"params": {
"empty_response": "Nothing found in Q-SQL!"
"kb_ids": [
"31257b925b9f11ef9f0142010a8a0004"
],
@@ -286,6 +289,7 @@
{
"data": {
"form": {
"empty_response": "Nothing found in Q-SQL!",
"kb_ids": [
"31257b925b9f11ef9f0142010a8a0004"
],
@@ -371,6 +375,7 @@
{
"data": {
"form": {
"empty_response": "Nothing found in DB-Description!",
"kb_ids": [
"0ab5de985ba911efad9942010a8a0006"
],
@@ -401,6 +406,7 @@
{
"data": {
"form": {
"empty_response": "Nothing found in DDL!",
"kb_ids": [
"b1a6a45e5ba811ef80dc42010a8a0006"
],

Loading…
Cancel
Save