hashbrown

StructuredCompletionResourceRef

A reference to the structured completion resource.

API

interface StructuredCompletionResourceRef<Output> extends Resource<Output | null>  {
}
StructuredCompletionResourceRef
@typeOutput
reload
() => boolean

Reloads the resource.

stop
(clearStreamingMessage?: boolean) => void

Stops any currently-streaming message.