Open mrprkr opened 6 months ago
type OpenAIChatSettings is missing option for response_format
OpenAIChatSettings
response_format
Example:
.ChatTextGenerator({ model: 'gpt-4-vision-preview', maxGenerationTokens: 2048, temperature: 0, response_format: { type: "json_object" }, }) .withInstructionPrompt(),
adding responseFormat is only supported on gpt-4, which throws an error expected an object but received string on vision prompts
expected an object but received string
type
OpenAIChatSettings
is missing option forresponse_format
Example: