LanguageModelPromptOptions Object

  • responseConstraint Object | RegExp (optional) - a JSON schema object or a RegExp used to constrain the response to match the specified restraints.
  • signal AbortSignal