> ## 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](/sdk/python/references/models/prompt)

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

This class represents a function call.

## [ToolCall](/sdk/python/references/models/prompt)

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

This class represents a tool call.

## [Message](/sdk/python/references/models/prompt)

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

This class represents a message of a LLM response choice.

## [Choice](/sdk/python/references/models/prompt)

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

This class represents a choice of a LLM response.

## [Usage](/sdk/python/references/models/prompt)

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

This class represents the usage of a LLM response.

## [PromptResponse](/sdk/python/references/models/prompt)

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

This class represents a response of a prompt.

## [ImageURL](/sdk/python/references/models/prompt)

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

This class represents an image URL.

## [ChatCompletionMessageImageContent](/sdk/python/references/models/prompt)

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

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

## [ChatCompletionMessageTextContent](/sdk/python/references/models/prompt)

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

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

## [ChatCompletionMessage](/sdk/python/references/models/prompt)

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

This class represents a chat completion message.

## [Function](/sdk/python/references/models/prompt)

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

This class represents a function.

## [Tool](/sdk/python/references/models/prompt)

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

This class represents a tool.

## [ImageUrls](/sdk/python/references/models/prompt)

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

This class represents an image URLs.

## [Prompt](/sdk/python/references/models/prompt)

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

This class represents a prompt.

## [RuleType](/sdk/python/references/models/prompt)

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

This class represents a rule type.

#### value

adding None here

## [RuleGroupType](/sdk/python/references/models/prompt)

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

This class represents a rule group type.

## [PromptDeploymentRules](/sdk/python/references/models/prompt)

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

This class represents the deployment rules of a prompt.

## [VersionSpecificDeploymentConfig](/sdk/python/references/models/prompt)

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

This class represents the deployment rules of a prompt version.

## [PromptVersionConfig](/sdk/python/references/models/prompt)

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

This class represents the config of a prompt version.

## [PromptVersion](/sdk/python/references/models/prompt)

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

This class represents a prompt version.

## [VersionsAndRules](/sdk/python/references/models/prompt)

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

This class represents the versions and rules of a prompt.

## [VersionAndRulesWithPromptId](/sdk/python/references/models/prompt)

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

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

## [VersionAndRulesWithPromptIdEncoder](/sdk/python/references/models/prompt)

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

This class represents a JSON encoder for [VersionAndRulesWithPromptId](/sdk/python/references/models/prompt).

## [Error](/sdk/python/references/models/prompt)

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

This class represents an error from [Prompt](/sdk/python/references/models/prompt).

## [PromptData](/sdk/python/references/models/prompt)

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

This class represents the data of a prompt.

## [MaximApiPromptResponse](/sdk/python/references/models/prompt)

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

This class represents the response of a prompt.

## [MaximApiPromptsResponse](/sdk/python/references/models/prompt)

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

This class represents the response of a prompts.

## [MaximAPIResponse](/sdk/python/references/models/prompt)

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

This class represents the response of a [Maxim](/sdk/python/references/maxim) API.
