globalization, upgrade

This commit is contained in:
csunny
2023-05-18 16:20:09 +08:00
parent 4302ae9087
commit 8d16a02785
7 changed files with 364 additions and 364 deletions

View File

@@ -99,7 +99,7 @@ def gen_sqlgen_conversation(dbname):
schemas = mo.get_schema(dbname)
for s in schemas:
message += s["schema_info"] + ";"
return f"数据库{dbname}Schema信息如下: {message}\n"
return f"Database {dbname} Schema information as follows: {message}\n"
conv_one_shot = Conversation(
@@ -162,7 +162,7 @@ auto_dbgpt_one_shot = Conversation(
Schema:
数据库gpt-userSchema信息如下: users(city,create_time,email,last_login_time,phone,user_name);
Database gpt-user Schema information as follows: users(city,create_time,email,last_login_time,phone,user_name);
Commands: