Skip to content

Commit 0b99a7c

Browse files
committed
Fix typos in chat client module
Signed-off-by: Wenli Tian <jamespud9@gmail.com>
1 parent b6ce7f3 commit 0b99a7c

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

spring-ai-client-chat/src/main/java/org/springframework/ai/chat/client/ChatClient.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
/**
4747
* Client to perform stateless requests to an AI Model, using a fluent API.
48-
*
48+
* <p>
4949
* Use {@link ChatClient#builder(ChatModel)} to prepare an instance.
5050
*
5151
* @author Mark Pollack
@@ -203,8 +203,8 @@ interface StreamPromptResponseSpec {
203203
interface ChatClientRequestSpec {
204204

205205
/**
206-
* Return a {@code ChatClient.Builder} to create a new {@code ChatClient} whose
207-
* settings are replicated from this {@code ChatClientRequest}.
206+
* Return a {@link ChatClient.Builder} to create a new {@link ChatClient} whose
207+
* settings are replicated from this {@link ChatClientRequest}.
208208
*/
209209
Builder mutate();
210210

spring-ai-client-chat/src/main/java/org/springframework/ai/chat/client/DefaultChatClient.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ public ChatClientRequestSpec prompt(Prompt prompt) {
128128
}
129129

130130
/**
131-
* Return a {@code ChatClient2Builder} to create a new {@code ChatClient} whose
132-
* settings are replicated from this {@code ChatClientRequest}.
131+
* Return a {@link ChatClient.Builder} to create a new {@link ChatClient} whose
132+
* settings are replicated from this {@link ChatClientRequest}.
133133
*/
134134
@Override
135135
public Builder mutate() {
@@ -706,8 +706,8 @@ public TemplateRenderer getTemplateRenderer() {
706706
}
707707

708708
/**
709-
* Return a {@code ChatClient2Builder} to create a new {@code ChatClient2} whose
710-
* settings are replicated from this {@code ChatClientRequest}.
709+
* Return a {@link ChatClient.Builder} to create a new {@link ChatClient} whose
710+
* settings are replicated from this {@link ChatClientRequest}.
711711
*/
712712
public Builder mutate() {
713713
DefaultChatClientBuilder builder = (DefaultChatClientBuilder) ChatClient

spring-ai-client-chat/src/main/java/org/springframework/ai/chat/client/DefaultChatClientBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
/**
4444
* DefaultChatClientBuilder is a builder class for creating a ChatClient.
45-
*
45+
* <p>
4646
* It provides methods to set default values for various properties of the ChatClient.
4747
*
4848
* @author Mark Pollack

spring-ai-client-chat/src/main/java/org/springframework/ai/chat/package-info.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
* AI generative model domain. This package extends the core domain defined in
2020
* org.sf.ai.generative, providing implementations specific to chat-based generative AI
2121
* interactions.
22-
*
22+
* <p>
2323
* In line with Domain-Driven Design principles, this package includes implementations of
2424
* entities and value objects specific to the chat context, such as ChatPrompt and
2525
* ChatResponse, adhering to the ubiquitous language of chat interactions in AI models.
26-
*
26+
* <p>
2727
* This bounded context is designed to encapsulate all aspects of chat-based AI
2828
* functionalities, maintaining a clear boundary from other contexts within the AI domain.
2929
*/

0 commit comments

Comments
 (0)