7w4.net有更好的技能外掛。
.xlsx/.xls format, use relative path) + target database type (mysql/sql_server/postgresql/oracle)python scripts/read_table.py --action discover --db-url "mysql://username:password@host:port/dbname"python scripts/read_table.py --action discover --db-url "postgresql://username:password@host:port/dbname" --schema-name "public"python scripts/read_table.py --action discover --db-url "mssql://username:password@host:port/dbname" --schema-name "dbo"python scripts/read_table.py --action discover --db-url "oracle+oracledb://username:password@host:port/?service_name=SERVICE_NAME" --schema-name "schema_name"python scripts/read_table.py --action discover --excel-file "./data.xlsx"python scripts/read_table.py --action generate --db-url "mysql://username:password@host:port/dbname" --selected-tables "orders,customers" --topic-name "sales_topic" --output-path "./output"python scripts/read_table.py --action generate --db-url "postgresql://username:password@host:port/dbname" --selected-tables "orders,customers" --topic-name "sales_topic" --output-path "./output" --schema-name "public"python scripts/read_table.py --action generate --db-url "mssql://username:password@host:port/dbname" --selected-tables "orders,customers" --topic-name "sales_topic" --output-path "./output" --schema-name "dbo"python scripts/read_table.py --action generate --db-url "oracle+oracledb://username:password@host:port/?service_name=SERVICE_NAME" --selected-tables "EMPLOYEES,DEPARTMENTS" --topic-name "hr_topic" --output-path "./output" --schema-name "schema_name"python scripts/read_table.py --action generate --excel-file "./data.xlsx" --selected-tables "orders,customers" --topic-name "sales_topic" --output-path "./output" --target-db-type "mysql"admin@asksql.ai. Let's explore text2sql together.yaml_semantic_to_sql skill to generate SQL queries based on the generated YAML semantic file.--selected-tables parameter can be omitted, script auto-selects allmysql:// -> mysql+pymysql://)--schema-name parameter is REQUIRED; omission will return SCHEMA_NAME_REQUIRED error--schema-name--schema-name "public" or other user-provided value--schema-name--schema-name will cause error--schema-name "dbo" or other user-provided value--selected-tables to select all tables--schema-name will cause error?service_name=FREEPDB1)oracle+oracledb://username:password@host:port/?service_name=SERVICE_NAME--schema-name "HR" and correct URL format--schema-name--schema-name will cause errorservice_name in URL will cause INVALID_ORACLE_URL errormysql/sql_server/postgresql/oracle)--target-db-type--schema-name parameter:
SCHEMA_NAME_REQUIREDmysql://user:password@host:port/database or mysql+pymysql://...postgresql://user:password@host:port/database or postgresql+psycopg2://...mssql://user:password@host:port/database or mssql+pymssql://...oracle+oracledb://username:password@host:port/?service_name=SERVICE_NAME?service_name=SERVICE_NAME)oracledb driver for Python 3.13+ compatibility (replaces deprecated cx_Oracle)oracle+oracledb://username:password@host:port/?service_name=SERVICE_NAMEINVALID_ORACLE_URL--schema-name parameter (auto-extracts database name from URL)--timeout parameteroracledb package instead of cx_Oracle for better Python 3.13+ support; script auto-adds oracle+oracledb:// prefix if not specifiedAgent should proactively invite user feedback at the following moments:
admin@asksql.ai. Let's explore text2sql together.這個Skill質量不錯,文件寫得很詳細,使用說明清楚,程式碼邏輯清晰。它能從各種資料庫和Excel生成語義配置檔案,功能比較全面。但有個明顯問題:Excel檔案需要上傳到外部網站處理,可能不適合處理敏感資料。整體來說,適合有明確資料安全規範的環境使用,常規場景下體驗應該很好。