These are the ones that need to change
BedrockTitanChatAutoConfiguration
andBedrockTitanEmbeddingAutoConfiguration
share aTitanEmbeddingBedrockApi
bean definition.HuggingfaceAutoConfiguration
should be renamedHuggingfaceChatAutoConfiguration
as it only contains autoconfiguration for the ChatClientOllamaChatAutoConfiguration
andOllamaEmbeddingAutoConfiguration
should be merged intoOllamaAutoConfiguration
as they share aOllamaApi
bean definition.
Comment From: markpollack
Upon deeper review, BedrockTitanChatAutoConfiguration
and BedrockTitanEmbeddingAutoConfiguration
use underlying connectivity classes, TitanChatBedrockApi
and TitanEmbeddingBedrockApi
so they need to remain separate. The bean name for these connectivity classes was the same, this should be changed for clarity.
The merge should happen for the case of Ollama.
The HuggingfaceAutoConfiguration was renamed HuggingfaceChatAutoConfiguration