Skip to main content

Examples

Constructors

Interfaces


Constructors

constructor

Creates a new RemoteLLMComponent instance. Defaults to a provider and model when omitted, and accepts a camelCased defaultConfig that will be converted to snake_case for the runtime.

Parameters

props
RemoteLLMComponentProps
Configuration for the remote LLM component.

Returns

RemoteLLMComponent

Interfaces

RemoteLLMComponentProps

Configuration options for RemoteLLMComponent creation.

Properties

provider?: string LLM provider (e.g., ‘openai’, ‘anthropic’, ‘inworld’). modelName?: string Provider-specific model name (e.g., ‘gpt-4o-mini’). defaultConfig?: object Default text generation configuration (camelCase allowed).