Update server.py
Browse files
server.py
CHANGED
@@ -28,19 +28,21 @@ async def home(request: Request) -> PlainTextResponse:
|
|
28 |
return PlainTextResponse(
|
29 |
"Credit Card Database Server"
|
30 |
"\n----\n"
|
31 |
-
"This server gives you access to the following tools:\n" \
|
32 |
|
33 |
"sql_db_list_tables\n" \
|
34 |
-
|
35 |
"This tool can be used to list the tables in the database.\n"
|
36 |
-
"sql_db_schema\n" \
|
37 |
"---\n"
|
|
|
|
|
38 |
"This tool can be used to get the schema of a table.\n"
|
39 |
-
"sql_db_query_checker\n" \
|
40 |
"---\n"
|
|
|
|
|
41 |
"This tool can be used to check if a query is valid.\n"
|
42 |
-
"sql_db_query\n" \
|
43 |
"---\n"
|
|
|
44 |
"This tool can be used to execute a query.\n"
|
45 |
)
|
46 |
|
|
|
28 |
return PlainTextResponse(
|
29 |
"Credit Card Database Server"
|
30 |
"\n----\n"
|
31 |
+
"This server gives you access to the following tools:\n\n" \
|
32 |
|
33 |
"sql_db_list_tables\n" \
|
34 |
+
|
35 |
"This tool can be used to list the tables in the database.\n"
|
|
|
36 |
"---\n"
|
37 |
+
"sql_db_schema\n" \
|
38 |
+
|
39 |
"This tool can be used to get the schema of a table.\n"
|
|
|
40 |
"---\n"
|
41 |
+
"sql_db_query_checker\n" \
|
42 |
+
|
43 |
"This tool can be used to check if a query is valid.\n"
|
|
|
44 |
"---\n"
|
45 |
+
"sql_db_query\n" \
|
46 |
"This tool can be used to execute a query.\n"
|
47 |
)
|
48 |
|