From 6638efe28555c08b2b2659bf617b8f8881f8e9b8 Mon Sep 17 00:00:00 2001 From: Christian Tzolov Date: Fri, 15 Mar 2024 12:27:55 +0100 Subject: [PATCH] fix code formatting --- .../org/springframework/ai/document/ContentFormatter.java | 3 ++- .../org/springframework/ai/model/StreamingModelClient.java | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/spring-ai-core/src/main/java/org/springframework/ai/document/ContentFormatter.java b/spring-ai-core/src/main/java/org/springframework/ai/document/ContentFormatter.java index 2e7c9aca6..8b5ec57c3 100644 --- a/spring-ai-core/src/main/java/org/springframework/ai/document/ContentFormatter.java +++ b/spring-ai-core/src/main/java/org/springframework/ai/document/ContentFormatter.java @@ -16,7 +16,8 @@ package org.springframework.ai.document; /** - * Converts the Document text and metadata into an AI, prompt-friendly text representation. + * Converts the Document text and metadata into an AI, prompt-friendly text + * representation. * * @author Christian Tzolov */ diff --git a/spring-ai-core/src/main/java/org/springframework/ai/model/StreamingModelClient.java b/spring-ai-core/src/main/java/org/springframework/ai/model/StreamingModelClient.java index 0f0db47c9..4dddced14 100644 --- a/spring-ai-core/src/main/java/org/springframework/ai/model/StreamingModelClient.java +++ b/spring-ai-core/src/main/java/org/springframework/ai/model/StreamingModelClient.java @@ -18,8 +18,8 @@ package org.springframework.ai.model; import reactor.core.publisher.Flux; /** - * The StreamingModelClient interface provides a generic API for invoking an AI models with - * streaming response. It abstracts the process of sending requests and receiving a + * The StreamingModelClient interface provides a generic API for invoking an AI models + * with streaming response. It abstracts the process of sending requests and receiving a * streaming responses. The interface uses Java generics to accommodate different types of * requests and responses, enhancing flexibility and adaptability across different AI * model implementations.