hashbrown

CompletionResourceOptions

Options for the completion resource.

API

CompletionResourceOptions
@typeInput
apiUrl
ReactiveOption<string>

The API URL to use for the completion.

debugName
string

The debug name for the completion resource.

input
Signal<Input | null | undefined>

The input to the completion.

model
ReactiveOption<ModelInput>

The model to use for the completion.

system
ReactiveOption<string>

The system prompt to use for the completion.

threadId
ReactiveOption<string | undefined>

Optional thread identifier used to load or continue an existing conversation.

transport
TransportOrFactory

Custom transport override for this completion resource.