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

# Prompt

> Prompt utilities for data models and type definitions used throughout the maxim sdk.

[View module source on GitHub](https://github.com/maximhq/maxim-py/blob/main/maxim/models/prompt.py)

## [FunctionCall](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class FunctionCall()
```

This class represents a function call.

## [ToolCall](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class ToolCall()
```

This class represents a tool call.

## [Message](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class Message()
```

This class represents a message of a LLM response choice.

## [Choice](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class Choice()
```

This class represents a choice of a LLM response.

## [Usage](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class Usage()
```

This class represents the usage of a LLM response.

## [PromptResponse](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class PromptResponse()
```

This class represents a response of a prompt.

## [ImageURL](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
class ImageURL(TypedDict)
```

This class represents an image URL.

## [ChatCompletionMessageImageContent](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
class ChatCompletionMessageImageContent(TypedDict)
```

This class represents an image content of a chat completion message.

## [ChatCompletionMessageTextContent](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
class ChatCompletionMessageTextContent(TypedDict)
```

This class represents a text content of a chat completion message.

## [ChatCompletionMessage](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
class ChatCompletionMessage(TypedDict)
```

This class represents a chat completion message.

## [Function](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
class Function(TypedDict)
```

This class represents a function.

## [Tool](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
class Tool(TypedDict)
```

This class represents a tool.

## [ImageUrls](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
class ImageUrls(TypedDict)
```

This class represents an image URLs.

## [Prompt](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class Prompt()
```

This class represents a prompt.

## [RuleType](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class RuleType()
```

This class represents a rule type.

#### value

adding None here

## [RuleGroupType](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class RuleGroupType()
```

This class represents a rule group type.

## [PromptDeploymentRules](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class PromptDeploymentRules()
```

This class represents the deployment rules of a prompt.

## [VersionSpecificDeploymentConfig](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class VersionSpecificDeploymentConfig()
```

This class represents the deployment rules of a prompt version.

## [PromptVersionConfig](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class PromptVersionConfig()
```

This class represents the config of a prompt version.

## [PromptVersion](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class PromptVersion()
```

This class represents a prompt version.

## [VersionsAndRules](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class VersionsAndRules()
```

This class represents the versions and rules of a prompt.

## [VersionAndRulesWithPromptId](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class VersionAndRulesWithPromptId(VersionsAndRules)
```

This class represents the versions and rules of a prompt with a prompt id.

## [VersionAndRulesWithPromptIdEncoder](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
class VersionAndRulesWithPromptIdEncoder(json.JSONEncoder)
```

This class represents a JSON encoder for [VersionAndRulesWithPromptId](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md).

## [Error](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class Error()
```

This class represents an error from [Prompt](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md).

## [PromptData](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class PromptData()
```

This class represents the data of a prompt.

## [MaximApiPromptResponse](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class MaximApiPromptResponse()
```

This class represents the response of a prompt.

## [MaximApiPromptsResponse](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class MaximApiPromptsResponse()
```

This class represents the response of a prompts.

## [MaximAPIResponse](https://www.getmaxim.ai/docs/sdk/python/references/models/prompt.md)

```python theme={null}
@dataclass
class MaximAPIResponse()
```

This class represents the response of a [Maxim](https://www.getmaxim.ai/docs/sdk/python/references/maxim.md) API.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.