Skip to content

Commit a775095

Browse files
authored
Fix typos in chat client module (#3013)
Fixes #3013 Auto-cherry-pick to 1.0.x Signed-off-by: Wenli Tian <jamespud9@gmail.com>
1 parent ac0c7ee commit a775095

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
@@ -122,8 +122,8 @@ public ChatClientRequestSpec prompt(Prompt prompt) {
122122
}
123123

124124
/**
125-
* Return a {@code ChatClient2Builder} to create a new {@code ChatClient} whose
126-
* settings are replicated from this {@code ChatClientRequest}.
125+
* Return a {@link ChatClient.Builder} to create a new {@link ChatClient} whose
126+
* settings are replicated from this {@link ChatClientRequest}.
127127
*/
128128
@Override
129129
public Builder mutate() {
@@ -703,8 +703,8 @@ public TemplateRenderer getTemplateRenderer() {
703703
}
704704

705705
/**
706-
* Return a {@code ChatClient2Builder} to create a new {@code ChatClient2} whose
707-
* settings are replicated from this {@code ChatClientRequest}.
706+
* Return a {@link ChatClient.Builder} to create a new {@link ChatClient} whose
707+
* settings are replicated from this {@link ChatClientRequest}.
708708
*/
709709
@Override
710710
public Builder mutate() {

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)