From 0789a32af84f38032939b57c2f39ef711b22805f Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Wed, 15 Nov 2023 07:40:19 +0200 Subject: [PATCH] Format code --- .../java/io/quarkiverse/langchain4j/sample/MyAiService.java | 5 +---- .../quarkiverse/langchain4j/sample/MyChatModelSupplier.java | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/samples/email-a-poem/src/main/java/io/quarkiverse/langchain4j/sample/MyAiService.java b/samples/email-a-poem/src/main/java/io/quarkiverse/langchain4j/sample/MyAiService.java index 5984e9792..9e0d9bdec 100644 --- a/samples/email-a-poem/src/main/java/io/quarkiverse/langchain4j/sample/MyAiService.java +++ b/samples/email-a-poem/src/main/java/io/quarkiverse/langchain4j/sample/MyAiService.java @@ -4,10 +4,7 @@ import dev.langchain4j.service.UserMessage; import io.quarkiverse.langchain4j.RegisterAiService; - -@RegisterAiService( - chatMemoryProviderSupplier = RegisterAiService.BeanChatMemoryProviderSupplier.class, - tools = EmailService.class) +@RegisterAiService(chatMemoryProviderSupplier = RegisterAiService.BeanChatMemoryProviderSupplier.class, tools = EmailService.class) public interface MyAiService { /** diff --git a/samples/email-a-poem/src/main/java/io/quarkiverse/langchain4j/sample/MyChatModelSupplier.java b/samples/email-a-poem/src/main/java/io/quarkiverse/langchain4j/sample/MyChatModelSupplier.java index 20b6e42f8..10a324ba1 100644 --- a/samples/email-a-poem/src/main/java/io/quarkiverse/langchain4j/sample/MyChatModelSupplier.java +++ b/samples/email-a-poem/src/main/java/io/quarkiverse/langchain4j/sample/MyChatModelSupplier.java @@ -1,10 +1,10 @@ package io.quarkiverse.langchain4j.sample; +import java.util.function.Supplier; + import dev.langchain4j.model.chat.ChatLanguageModel; import dev.langchain4j.model.openai.OpenAiChatModel; -import java.util.function.Supplier; - public class MyChatModelSupplier implements Supplier { @Override public ChatLanguageModel get() {