Creates a structured completion resource.
declare function structuredCompletionResource<Input, Schema extends s.HashbrownType, Output extends s.Infer<Schema> = s.Infer<Schema>>(options: StructuredCompletionResourceOptions<Input, Schema>): StructuredCompletionResourceRef<Output>;
@param
options
The options for the structured completion resource.
StructuredCompletionResourceOptions<Input, Schema>
@type
Input
@type
Schema
s.HashbrownType
@type
Output
s.Infer<Schema>
@returns
StructuredCompletionResourceRef<Output>