Skip to content

Update docs to include response_format for OpenAI ChatTextGenerator; responseFormat is supported but not documented #339

@mrprkr

Description

@mrprkr

type OpenAIChatSettings is missing option for response_format

Example:

      .ChatTextGenerator({
        model: 'gpt-4-vision-preview',
        maxGenerationTokens: 2048,
        temperature: 0,
        response_format: { type: "json_object" },
      })
      .withInstructionPrompt(),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions