• Create an OpenAiEditRequestDTO object with the given properties.

    Returns

    An OpenAiEditRequestDTO object with the given properties.

    Parameters

    • instruction: string

      How to edit the text

    • Optional input: string

      Input text as the starting point for edit

    • Optional model: string

      The model to use for edit.

    • Optional n: number

      How many edits

    • Optional temperature: number

      The temperature to use for sampling.

    • Optional top_p: number

      The top probability to use for sampling.

    Returns OpenAiEditRequestDTO

Generated using TypeDoc