> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# String Mode • Rust AI Agent SDK

> StringMode: String handling modes

# StringMode

> Defined in the [**Param Resolver**](../modules/param_resolver) module.

<Badge color="orange">Rust AI Agent SDK</Badge>

String handling modes

## Fields

| Name           | Type      | Description                        |
| -------------- | --------- | ---------------------------------- |
| `Treat`        | `variant` | -                                  |
| `path`         | `variant` | -                                  |
| `like`         | `variant` | -                                  |
| `strings`      | `variant` | -                                  |
| `as`           | `variant` | -                                  |
| `sources`      | `variant` | -                                  |
| `PathAsSource` | `variant` | Treat path-like strings as sources |
| `Treat`        | `variant` | -                                  |
| `string`       | `variant` | -                                  |
| `as`           | `variant` | -                                  |
| `LLM`          | `variant` | -                                  |
| `model`        | `variant` | -                                  |
| `name`         | `variant` | -                                  |
| `LlmModel`     | `variant` | Treat string as LLM model name     |
| `Treat`        | `variant` | -                                  |
| `string`       | `variant` | -                                  |
| `as`           | `variant` | -                                  |
| `LLM`          | `variant` | -                                  |
| `prompt`       | `variant` | -                                  |
| `LlmPrompt`    | `variant` | Treat string as LLM prompt         |

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/parity/param_resolver.rs">
  `praisonai/src/parity/param_resolver.rs` at line 0
</Card>
