Skip to content

schema type any in response_format field produces different LLM response #1298

@xiaolin593

Description

@xiaolin593

Description:

ChatCompletionResponseFormatJSONSchemaJSONSchema's Schema field with type any makes json.Marshal sort response_format's json field. Different order of fields will force LLM to produce different result

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions