Replies: 1 comment
-
Hi @yro7 right, there is nothing like that yet. Agree, this might be a nice improvement. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I don't think some sort of ChatModelBuilder class/interface exists (which OpenAiChatModelBuilder, AnthropicAiChatModelBuilder would extends/implements), which would be really easier to dynamically configure ChatModel.
As most ChatModelBuilder provides the same parameters it would make sense this code:
Would be possible to translate to
for example, where Provider would be an enum with all available providers.
Maybe I didn't search properly but I don't think there is a way to do this currently.
Beta Was this translation helpful? Give feedback.
All reactions