跳到正文
cccskills
免费在 GitHub 公开

exasol-transformers

Deploy and use the Exasol Transformers Extension AI Functions for NLP inference inside Exasol with notebook-connector. Covers initialize_te_extension, model installation, activation SQL, validation, and safe use of large models.

中文简介正在准备中。当前显示原文说明。

集成工具Hugging Face

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md5.9 KB
  • references/transformers-extension.md8.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Exasol Transformers Extension Skill

Trigger when the user mentions Transformers Extension, TE extension, initialize_te_extension, deploy_scripts, Hugging Face models in Exasol, TE UDF, PYTHON3_TE, or NLP inference inside Exasol.

Purpose

Use this skill to deploy the Transformers Extension Script Language Container (SLC) and UDFs, install models, generate activation SQL, and run or validate the current AI_* SQL Functions. Load the reference for detailed instructions and examples.

Routing Algorithm

  1. Extension setup and model handling

    • Trigger phrases: initialize_te_extension, deploy_scripts, install_model, huggingface_token
    • Load: references/transformers-extension.md
  2. AI Function usage and validation

    • Trigger phrases: AI_SENTIMENT, AI_CLASSIFY, AI_EXTRACT_ENTITIES, AI_ANSWER, AI_TRANSLATE, AI_CUSTOM_CLASSIFY_EXTENDED, AI_ENTAILMENT_EXTENDED, AI_FILL_MASK_EXTENDED, AI_COMPLETE_EXTENDED, AI_EXTRACT_EXTENDED, AI_CLASSIFY_EXTENDED, AI_ANSWER_EXTENDED, AI_TRANSLATE_EXTENDED, get_activation_sql, transformers sql function
    • Load: references/transformers-extension.md

Multiple routes can apply. Load the reference before responding.

Prerequisites

  1. Check whether the secure config store (SCS) contains the required database and BucketFS values. If values are missing, activate exasol-notebook-connector-config first.

  2. Confirm that the SCS contains:

    • DB values: db_host_name, db_port, db_user, db_password, db_schema
    • BucketFS values: bfs_host_name, bfs_port, bfs_service, bfs_bucket, bfs_user, bfs_password
    • optional: huggingface_token for gated or private models
  3. Confirm that the database user can activate the PYTHON3_TE language alias for the TE SLC, create and execute the TE UDFs (defined with CREATE SCRIPT), and use the required BucketFS connection.

Security and Model Governance

Do not use a shared database account. Keep credentials and tokens in the supported secure configuration store; never put them in examples, source files, or shell history.

Before using a model, confirm its license, provider terms, revision, required resources, and whether the input data is allowed to be sent to that provider. Use synthetic data for validation until those checks are complete.

Validation

Validate setup with the reference flow after loading references/transformers-extension.md.

Success signals:

  • the returned activation SQL is present and non-empty
  • the TE setup or validation step from the reference completes without language-activation errors
  • at least one current AI_* Function call returns a valid result set instead of errors like "missing-language" or "missing-script"

For the user-facing AI Functions, also verify that the installed model matches the function's task and that the result contains the expected output and error_message columns. Start with one small row before running a table-wide query.

Expected failure mode:

  • if DB, BucketFS, or Hugging Face settings are incomplete, initialization or UDF execution should fail until exasol-notebook-connector-config has been completed with real values

Guidance

  • Use exasol-notebook-connector-config when secure config store, DB, or BucketFS values are still missing.
  • Use exasol-bucketfs when the user needs to inspect or manipulate the uploaded SLC or model files directly.
  • Use exasol-udfs when the task is about language activation or custom UDF work beyond the packaged TE surface.

Current AI Functions

Use these public names in new SQL examples. The former TE_* names are legacy names and should not be the primary user guidance.

FunctionPurpose
AI_SENTIMENTSentiment classification with the default model
AI_CLASSIFYZero-shot classification with user-provided labels
AI_EXTRACT_ENTITIESEntity extraction with the default model
AI_ANSWERAnswer a question using a context and the default generative model
AI_TRANSLATETranslate text with the default translation model
AI_CUSTOM_CLASSIFY_EXTENDEDConfigurable text classification
AI_ENTAILMENT_EXTENDEDConfigurable text-pair classification
AI_FILL_MASK_EXTENDEDConfigurable fill-mask prediction
AI_COMPLETE_EXTENDEDConfigurable text completion
AI_EXTRACT_EXTENDEDConfigurable token/entity extraction
AI_CLASSIFY_EXTENDEDConfigurable zero-shot classification
AI_ANSWER_EXTENDEDConfigurable text-generation answer function
AI_TRANSLATE_EXTENDEDConfigurable translation function

Each extended function takes the device, BucketFS connection name, model directory, and model name as SQL input parameters. The model and task type must be compatible with the selected function.

Large-Model Operations

Large models affect BucketFS storage, local caches, memory, startup time, query latency, and shared-cluster availability. Before a large run:

  • pin the extension version, model revision, and relevant package versions;
  • test with one small input and inspect error_message;
  • estimate model, cache, and runtime resource requirements;
  • avoid mixing many models in one query because each model may be loaded separately;
  • set practical input/output token limits and batch sizes;
  • set workload limits and timeouts where supported, and define how failures are handled;
  • use GPU only when the database runtime provides a compatible CUDA device;
  • keep generated outputs and local caches protected and free of unnecessary secrets or personal data.

Large models do not automatically produce better results. Select a model that matches the task, language, domain, license, and available resources.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

exasol

免费

Top-level router for Exasol work. Use for any Exasol database, exapump, SQL, BucketFS, extension, integration, UDF, Script Language Container, or Exasol Personal setup task, then route to the narrowest specialized Exasol skill.

中文简介正在准备中。当前显示原文说明。

exasol-labs/exasol-agent-skills102026年10月14日 更新

Exasol BucketFS file system management via the `exapump bucketfs` CLI. Covers listing, uploading, downloading, and deleting files and directories in BucketFS, the `bfsdefault` service and other bucket services, bucket structure, `bfs_*` profile settings, the `/buckets/<service>/<bucket>/<path>` UDF path, and staging JARs, models, and Script Language Containers for UDFs.

中文简介正在准备中。当前显示原文说明。

exasol-labs/exasol-agent-skills102026年10月14日 更新

Use Exasol Cloud Storage Extension workflows for moving structured object-storage files through extension UDFs. Covers setup prerequisites, the fixed `CLOUD_STORAGE_EXTENSION.IMPORT_PATH` and `CLOUD_STORAGE_EXTENSION.EXPORT_PATH` entrypoints used with `FROM SCRIPT` and `INTO SCRIPT`, Parquet, Avro, ORC, and Delta files on S3, Google Cloud Storage, Azure Blob Storage, Azure Data Lake, HDFS, and Alluxio, connection-object credential patterns, and routing away from native IMPORT or EXPORT when the extension path is the right fit.

中文简介正在准备中。当前显示原文说明。

exasol-labs/exasol-agent-skills102026年10月14日 更新

Exasol database interaction via the exapump CLI and Exasol SQL. Covers SQL queries and DML/DDL such as `SELECT`, `INSERT`, `UPDATE`, `DELETE`, `MERGE`, `CREATE TABLE`, `ALTER TABLE`, and `DROP TABLE`, `CREATE CONNECTION` connection objects without import or export intent, schema inspection, table design, `exapump sql` and `exapump profile`, query profiling, analytics, and Exasol-specific SQL behavior outside exasol-import and exasol-export.

中文简介正在准备中。当前显示原文说明。

exasol-labs/exasol-agent-skills102026年10月14日 更新

Distributed machine learning, data mining, and iterative HPC with Exasol. Covers end-to-end ML pipelines (DISTRIBUTE BY + SET scripts + BucketFS), per-entity federated training with partial_fit and ctx.reset(), batch inference, map-reduce ensemble training, distributed ensemble and SON algorithm for frequent itemset mining (Apriori, FP-Growth, association rules, market-basket analysis), Lua execute script orchestration for iterative algorithms (k-means, SGD, gradient descent), scikit-learn model training, parallel hyperparameter search, per-entity forecasting, anomaly detection, model lifecycle in BucketFS (pickle/joblib/ONNX versioning), GPU acceleration via CUDA SLCs (PyTorch/TensorFlow/RAPIDS), and ML-specific performance tuning (skew, OOM, multi-pass chunking).

中文简介正在准备中。当前显示原文说明。

exasol-labs/exasol-agent-skills102026年10月14日 更新

Use Exasol document-file virtual schemas for federated read-only access to object and file storage — S3, Google Cloud Storage, Azure Blob Storage, and Azure Data Lake Storage Gen2 document files. Covers document-file adapter family selection, the EDML `MAPPING` definition, `CREATE VIRTUAL SCHEMA` usage, refresh workflows, and query-side troubleshooting.

中文简介正在准备中。当前显示原文说明。

exasol-labs/exasol-agent-skills102026年10月14日 更新

查看 exasol-labs 的全部技能

报告此技能的问题