From f89e20592746471965bf1b24da64a5c9fd1f5039 Mon Sep 17 00:00:00 2001 From: Julien Dubois Date: Fri, 4 Oct 2024 11:55:09 +0200 Subject: [PATCH] Change the name of the AzureOpenAiTokenizer Bean Fix https://github.com/langchain4j/langchain4j/issues/1867 --- .../java/dev/langchain4j/azure/openai/spring/AutoConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain4j-azure-open-ai-spring-boot-starter/src/main/java/dev/langchain4j/azure/openai/spring/AutoConfig.java b/langchain4j-azure-open-ai-spring-boot-starter/src/main/java/dev/langchain4j/azure/openai/spring/AutoConfig.java index ad4ae4a8..9a056498 100644 --- a/langchain4j-azure-open-ai-spring-boot-starter/src/main/java/dev/langchain4j/azure/openai/spring/AutoConfig.java +++ b/langchain4j-azure-open-ai-spring-boot-starter/src/main/java/dev/langchain4j/azure/openai/spring/AutoConfig.java @@ -154,7 +154,7 @@ AzureOpenAiImageModel openAiImageModel(Properties properties) { @Bean @ConditionalOnMissingBean - AzureOpenAiTokenizer openAiTokenizer() { + AzureOpenAiTokenizer azureOpenAiTokenizer() { return new AzureOpenAiTokenizer(); } } \ No newline at end of file