Closed csotiriou closed 1 month ago
@geoand I removed the lamdas in favor of Supplier
s I hope that's ok (I saw that there were other cases with Suppliers as well. I also made the PR ready for review, as I have tested it and it seems to be working.
I suppose the reason for the change is performance?
Yeah, at some point in the past we saw there was a tiny impact related to lambdas so we decided to try and limit their use in our code
Ah, yes. done.
I force pushed an update that fixes the formatter complaints
Relevant to #237, this will allow overriding the following properties per model in the Azure OpenAI configuration
endpoint
resource-name
deployment-name
Example configuration that is now possible:
In the above example, all models in the parent configuration will have the
my-deployment-name
, but the Embedding model will have theanother-deployment-name
specifically as a name.