> This page is for Remediation Orchestrator.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/remediation-orchestrator/llms.txt.

# llm

**Experimental.** For evaluation. Interfaces, configuration, and behavior may change incompatibly.

Provides LLM responses for workflow prompts. Prompts and the configured API key are sent to the selected endpoint.

### Prerequisites

* URL for an OpenAI-compatible chat-completions API
* API key for that URL

### Setup

* Set `LLM_BASE_URL`, `LLM_API_KEY`, and `LLM_MODEL` in the worker environment and add tenant configuration:

```toml
[modules.llm]
base_url = "{env:LLM_BASE_URL}"
api_key = "{env:LLM_API_KEY}"
default_model = "{env:LLM_MODEL}"
```

* [Module documentation](https://github.com/dsx-ai-factory/remediation-orchestrator/blob/1785e695a8bff76c910115b3c96398a5a59a7183/modules/llm/README.md).

> **Note**
>
> This module must be enabled in your Remediation Orchestrator config before it is available to scripts.

Send messages to an LLM through a configured chat-completions endpoint.

## Members

* [chat](#chat)

## chat

Send a message to the LLM and get a response.

The message to send to the LLM

Capability ladder name (e.g. 'fast_cheap', 'standard', 'high_reasoning').

Model ID to try first.

The LLM's response