OpenAiChatOptions.Builder doesn't extend ChatOptionsBuilder, like OpenAiChatOptions extends ChatOptions #649
michaelsembwever
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This can make code using a delegator pattern clumsy.
End-user example is in this commit:
datastax/ai-agent-java@78bdddd
I don't want to bind any of my classes unnecessarily to OpenAi* specifics,
so i am left having to
<T extends Object>
because there's no shared interface.What would be nicer here is to
<T extends ChatOptionsBuilder>
.Beta Was this translation helpful? Give feedback.
All reactions