This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Options for an on-device language model prompt.
Signature:
export interface LanguageModelPromptOptions
Properties
Property | Type | Description |
---|---|---|
responseConstraint | object | (Public Preview) |
LanguageModelPromptOptions.responseConstraint
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Signature:
responseConstraint?: object;