Function improve

  • Improves the output of the generate function by providing a request to improve the output.

    Type Parameters

    Parameters

    • output: O

      Current output.

    • requestToImprove: string

      Request to improve the output, as a free-form string (e.g. "Make the output more human-readable")

    • options: GenerateOptions<MatchingSpecs<O>, {
          current: string;
          requestToImprove: string;
      }>

      Options for the generation.

    Returns Promise<undefined | MatchingOutput<MatchingSpecs<O>>>

    The improved output.

Generated using TypeDoc