> For the complete documentation index, see [llms.txt](https://docs.tonic.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tonic.ai/app/admin/structural-ai-use/structural-ai-features.md).

# Structural AI features

Tonic Structural currently offers the following AI features.

For information about the associated flows for these features, go to [Data flow and privacy in Structural AI](/app/admin/structural-ai-use/structural-ai-data-flow-privacy.md).

For information about how to configure LLM connections and usage, go to [Structural Cloud LLM configuration](/app/admin/structural-ai-use/structural-cloud-llm-configuration.md) or [Self-hosted LLM configuration](/app/admin/structural-ai-use/self-hosted-llm-configuration.md).

## Structural Agent

The [Structural Agent](/app/structural-agent/agent-about.md) is a chat-based AI assistant that helps you to configure your workspace for data generation.

## LLM-based sensitivity detection

During sensitivity detection, the [LLM-based detection process](/app/generation/identify-sensitive-data/running-the-structural-sensitivity-scan.md#llm-based-sensitivity-detection-medium-confidence) uses the schema and, optionally, sample source data values to help to identify sensitive columns.

## LLM-based sensitivity rules

LLM-based [sensitivity rules](/app/generation/identify-sensitive-data/custom-sensitivity-rules.md) use the sensitivity rule description to identify matching columns.

They are processed during LLM-based sensitivity detection.

## Custom Categorical value creation

For the [Custom Categorical](/app/generation/generators/generator-reference/custom-categorical.md) generator, you can provide a prompt for the LLM to use to create the available values.

For example, `1,000 common pharmaceuticals`.

## Text Composition template creation

For the [Text Composition](/app/generation/generators/generator-reference/text-composition.md) generator, you can provide a prompt for the LLM to use to create the template.

For example, `Use the first character of the FIRST_NAME column, followed by a period and the value of the LAST_NAME column, followed by email.com, all lowercase`.

## Data connection test failure troubleshooting

When a [data connection test](/app/workspace/workspace-configuration-settings/data-connection-settings/connection-testing.md) fails, Structural displays an **Ask AI** prompt that sends a request to an LLM to troubleshoot the issue and suggest next steps.

## Job failure troubleshooting

For the the following types of jobs:

* Sensitivity scans
* Data generation jobs
* Upsert jobs
* Collection scans

The job details include **Ask AI** prompt that sends a request to an LLM to troubleshoot the issue and suggest next steps.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tonic.ai/app/admin/structural-ai-use/structural-ai-features.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
