File tree 4 files changed +8
-8
lines changed
models/spring-ai-minimax/src/main/java/org/springframework/ai/minimax
spring-ai-client-chat/src/main/java/org/springframework/ai/chat
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -125,8 +125,8 @@ public class MiniMaxChatOptions implements ToolCallingChatOptions {
125
125
126
126
/**
127
127
* MiniMax Tool Function Callbacks to register with the ChatModel.
128
- * For Prompt Options the functionCallbacks are automatically enabled for the duration of the prompt execution.
129
- * For Default Options the functionCallbacks are registered but disabled by default. Use the enableFunctions to set the functions
128
+ * For Prompt Options the toolCallbacks are automatically enabled for the duration of the prompt execution.
129
+ * For Default Options the toolCallbacks are registered but disabled by default. Use the enableFunctions to set the functions
130
130
* from the registry to be used by the ChatModel chat completion requests.
131
131
*/
132
132
@ JsonIgnore
@@ -135,7 +135,7 @@ public class MiniMaxChatOptions implements ToolCallingChatOptions {
135
135
/**
136
136
* List of functions, identified by their names, to configure for function calling in
137
137
* the chat completion requests.
138
- * Functions with those names must exist in the functionCallbacks registry.
138
+ * Functions with those names must exist in the toolCallbacks registry.
139
139
* The {@link #toolCallbacks} from the PromptOptions are automatically enabled for the duration of the prompt execution.
140
140
*
141
141
* Note that function enabled with the default options are enabled for all chat completion requests. This could impact the token count and the billing.
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ public ChatClientRequestSpec prompt(Prompt prompt) {
128
128
}
129
129
130
130
/**
131
- * Return a {@code ChatClient2Builder } to create a new {@code ChatClient} whose
131
+ * Return a {@code Builder } to create a new {@code ChatClient} whose
132
132
* settings are replicated from this {@code ChatClientRequest}.
133
133
*/
134
134
@ Override
@@ -706,7 +706,7 @@ public TemplateRenderer getTemplateRenderer() {
706
706
}
707
707
708
708
/**
709
- * Return a {@code ChatClient2Builder } to create a new {@code ChatClient2 } whose
709
+ * Return a {@code Builder } to create a new {@code ChatClient } whose
710
710
* settings are replicated from this {@code ChatClientRequest}.
711
711
*/
712
712
public Builder mutate () {
Original file line number Diff line number Diff line change 37
37
import org .springframework .util .StringUtils ;
38
38
39
39
/**
40
- * Helper that for streaming chat responses, aggregate the chat response messages into a
40
+ * Helper for streaming chat responses that aggregates the chat response messages into a
41
41
* single AssistantMessage. Job is performed in parallel to the chat response processing.
42
42
*
43
43
* @author Christian Tzolov
Original file line number Diff line number Diff line change 19
19
* AI generative model domain. This package extends the core domain defined in
20
20
* org.sf.ai.generative, providing implementations specific to chat-based generative AI
21
21
* interactions.
22
- *
22
+ * <p>
23
23
* In line with Domain-Driven Design principles, this package includes implementations of
24
24
* entities and value objects specific to the chat context, such as ChatPrompt and
25
25
* ChatResponse, adhering to the ubiquitous language of chat interactions in AI models.
26
- *
26
+ * <p>
27
27
* This bounded context is designed to encapsulate all aspects of chat-based AI
28
28
* functionalities, maintaining a clear boundary from other contexts within the AI domain.
29
29
*/
You can’t perform that action at this time.
0 commit comments