Skip to content

[FEATURE REQ] Implement equals properly on ChatCompletionsOptions, EmbeddingOptions etc #40386

Open
@JackMatthewRimmer

Description

@JackMatthewRimmer

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Please can request objects such as ChatCompletionsOptions and EmbeddingOptions implement equals properly. The motivation for this is it makes mocking quite hard on clients. We have been trying with serializing both to JSON and asserting on the JSON however this has caused some messy code with us having to encode vectors into base 64 before we can serialize etc.

Metadata

Metadata

Assignees

Labels

OpenAIcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions