Skip to content

Commit 9c19dc1

Browse files
committed
Improve Antora documentation layout
- tename /api/clients/ into /api/chat - move the the image from /api/clients to /api - fix the layout inside the chat and embeddings docs. Moving the runtime options and sample controllers at top level. - adjust all affected links.
1 parent 49a1cc6 commit 9c19dc1

40 files changed

+115
-115
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[Azure OpenAI Chat Documentation](https://docs.spring.io/spring-ai/reference/api/clients/azure-openai-chat.html)
1+
[Azure OpenAI Chat Documentation](https://docs.spring.io/spring-ai/reference/api/chat/azure-openai-chat.html)
22

33
[Azure OpenAI Embedding Documentation](https://docs.spring.io/spring-ai/reference/api/embeddings/azure-openai-embeddings.html)

models/spring-ai-bedrock/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[Amazon Bedrock Overview](https://docs.spring.io/spring-ai/reference/api/bedrock.html)
22

3-
- [Anthropic Chat Documentation](https://docs.spring.io/spring-ai/reference/api/clients/bedrock/bedrock-anthropic.html)
4-
- [Cohere Chat Documentation](https://docs.spring.io/spring-ai/reference/api/clients/bedrock/bedrock-cohere.html)
3+
- [Anthropic Chat Documentation](https://docs.spring.io/spring-ai/reference/api/chat/bedrock/bedrock-anthropic.html)
4+
- [Cohere Chat Documentation](https://docs.spring.io/spring-ai/reference/api/chat/bedrock/bedrock-cohere.html)
55
- [Cohere Embedding Documentation](https://docs.spring.io/spring-ai/reference/api/embeddings/bedrock-cohere-embedding.html)
6-
- [Llama2 Chat Documentation](https://docs.spring.io/spring-ai/reference/api/clients/bedrock/bedrock-llama2.html)
7-
- [Titan Chat Documentation](https://docs.spring.io/spring-ai/reference/api/clients/bedrock/bedrock-titan.html)
6+
- [Llama2 Chat Documentation](https://docs.spring.io/spring-ai/reference/api/chat/bedrock/bedrock-llama2.html)
7+
- [Titan Chat Documentation](https://docs.spring.io/spring-ai/reference/api/chat/bedrock/bedrock-titan.html)
88
- [Titan Embedding Documentation](https://docs.spring.io/spring-ai/reference/api/embeddings/bedrock-titan-embedding.html)
99

1010
NOTE: There is not yet an implementation for Jurassic, but you can use the lower level client [Ai21Jurassic2ChatBedrockApi.java](https://github.com/spring-projects/spring-ai/blob/main/models/spring-ai-bedrock/src/main/java/org/springframework/ai/bedrock/jurassic2/api/Ai21Jurassic2ChatBedrockApi.java) in the meantime. See [Issue 343](https://github.com/spring-projects/spring-ai/issues/343)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
[Huggingface Chat Documentation](https://docs.spring.io/spring-ai/reference/api/clients/huggingface.html)
1+
[Huggingface Chat Documentation](https://docs.spring.io/spring-ai/reference/api/chat/huggingface.html)
22

models/spring-ai-ollama/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[Ollama Chat Documentation](https://docs.spring.io/spring-ai/reference/api/clients/ollama-chat.html)
1+
[Ollama Chat Documentation](https://docs.spring.io/spring-ai/reference/api/chat/ollama-chat.html)
22

33
[Ollama Embedding Documentation](https://docs.spring.io/spring-ai/reference/api/embeddings/ollama-embeddings.html)

models/spring-ai-openai/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
[OpenAI Chat Documentation](https://docs.spring.io/spring-ai/reference/api/clients/openai-chat.html)
1+
[OpenAI Chat Documentation](https://docs.spring.io/spring-ai/reference/api/chat/openai-chat.html)
22

33
[OpenAI Embedding Documentation](https://docs.spring.io/spring-ai/reference/api/embeddings/openai-embeddings.html)
44

5-
[OpenAI Image Generation](https://docs.spring.io/spring-ai/reference/api/clients/image/openai-image.html)
5+
[OpenAI Image Generation](https://docs.spring.io/spring-ai/reference/api/image/openai-image.html)
66

77
[OpenAI Transcription Generation](TODO)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[VertexAI PaLM2 Chat Documentation](https://docs.spring.io/spring-ai/reference/api/clients/vertexai-chat.html)
1+
[VertexAI PaLM2 Chat Documentation](https://docs.spring.io/spring-ai/reference/api/chat/vertexai-chat.html)
22

33
[VertexAI PaLM2 Embedding Documentation](https://docs.spring.io/spring-ai/reference/api/embeddings/vertexai-embeddings.html)
44

spring-ai-docs/src/main/antora/modules/ROOT/nav.adoc

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@
33
* xref:getting-started.adoc[Getting Started]
44
* xref:api/index.adoc[]
55
** xref:api/chatclient.adoc[]
6-
*** xref:api/clients/openai-chat.adoc[OpenAI]
7-
**** xref:api/clients/functions/openai-chat-functions.adoc[Function Calling]
8-
*** xref:api/clients/ollama-chat.adoc[Ollama]
9-
*** xref:api/clients/azure-openai-chat.adoc[Azure OpenAI]
10-
**** xref:api/clients/functions/azure-open-ai-chat-functions.adoc[Function Calling]
6+
*** xref:api/chat/openai-chat.adoc[OpenAI]
7+
**** xref:api/chat/functions/openai-chat-functions.adoc[Function Calling]
8+
*** xref:api/chat/ollama-chat.adoc[Ollama]
9+
*** xref:api/chat/azure-openai-chat.adoc[Azure OpenAI]
10+
**** xref:api/chat/functions/azure-open-ai-chat-functions.adoc[Function Calling]
1111
*** xref:api/bedrock-chat.adoc[Amazon Bedrock]
12-
**** xref:api/clients/bedrock/bedrock-anthropic.adoc[Anthropic]
13-
**** xref:api/clients/bedrock/bedrock-llama2.adoc[Llama2]
14-
**** xref:api/clients/bedrock/bedrock-cohere.adoc[Cohere]
15-
**** xref:api/clients/bedrock/bedrock-titan.adoc[Titan]
16-
*** xref:api/clients/huggingface.adoc[HuggingFace]
17-
*** xref:api/clients/google-vertexai.adoc[Google VertexAI]
18-
**** xref:api/clients/vertexai-palm2-chat.adoc[VertexAI PaLM2 ]
19-
**** xref:api/clients/vertexai-gemini-chat.adoc[VertexAI Gemini]
20-
***** xref:api/clients/functions/vertexai-gemini-chat-functions.adoc[Function Calling]
21-
*** xref:api/clients/mistralai-chat.adoc[Mistral AI]
22-
**** xref:api/clients/functions/mistralai-chat-functions.adoc[Function Calling]
12+
**** xref:api/chat/bedrock/bedrock-anthropic.adoc[Anthropic]
13+
**** xref:api/chat/bedrock/bedrock-llama2.adoc[Llama2]
14+
**** xref:api/chat/bedrock/bedrock-cohere.adoc[Cohere]
15+
**** xref:api/chat/bedrock/bedrock-titan.adoc[Titan]
16+
*** xref:api/chat/huggingface.adoc[HuggingFace]
17+
*** xref:api/chat/google-vertexai.adoc[Google VertexAI]
18+
**** xref:api/chat/vertexai-palm2-chat.adoc[VertexAI PaLM2 ]
19+
**** xref:api/chat/vertexai-gemini-chat.adoc[VertexAI Gemini]
20+
***** xref:api/chat/functions/vertexai-gemini-chat-functions.adoc[Function Calling]
21+
*** xref:api/chat/mistralai-chat.adoc[Mistral AI]
22+
**** xref:api/chat/functions/mistralai-chat-functions.adoc[Function Calling]
2323
** xref:api/embeddings.adoc[]
2424
*** xref:api/embeddings/openai-embeddings.adoc[OpenAI]
2525
*** xref:api/embeddings/ollama-embeddings.adoc[Ollama]
@@ -32,8 +32,8 @@
3232
*** xref:api/embeddings/onnx.adoc[Transformers (ONNX)]
3333
*** xref:api/embeddings/mistralai-embeddings.adoc[Mistral AI]
3434
** xref:api/imageclient.adoc[]
35-
*** xref:api/clients/image/openai-image.adoc[OpenAI]
36-
*** xref:api/clients/image/stabilityai-image.adoc[Stability]
35+
*** xref:api/image/openai-image.adoc[OpenAI]
36+
*** xref:api/image/stabilityai-image.adoc[Stability]
3737
** xref:api/transcriptions.adoc[]
3838
*** xref:api/transcriptions/openai-transcriptions.adoc[OpenAI]
3939
** xref:api/vectordbs.adoc[]

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/bedrock.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ Next, you can use the `spring.ai.bedrock.<model>.<chat|embedding>.*` properties
8484

8585
For more information, refer to the documentation below for each supported model.
8686

87-
* xref:api/clients/bedrock/bedrock-anthropic.adoc[Spring AI Bedrock Anthropic Chat]: `spring.ai.bedrock.anthropic.chat.enabled=true`
88-
* xref:api/clients/bedrock/bedrock-llama2.adoc[Spring AI Bedrock Llama2 Chat]: `spring.ai.bedrock.llama2.chat.enabled=true`
89-
* xref:api/clients/bedrock/bedrock-cohere.adoc[Spring AI Bedrock Cohere Chat]: `spring.ai.bedrock.cohere.chat.enabled=true`
87+
* xref:api/chat/bedrock/bedrock-anthropic.adoc[Spring AI Bedrock Anthropic Chat]: `spring.ai.bedrock.anthropic.chat.enabled=true`
88+
* xref:api/chat/bedrock/bedrock-llama2.adoc[Spring AI Bedrock Llama2 Chat]: `spring.ai.bedrock.llama2.chat.enabled=true`
89+
* xref:api/chat/bedrock/bedrock-cohere.adoc[Spring AI Bedrock Cohere Chat]: `spring.ai.bedrock.cohere.chat.enabled=true`
9090
* xref:api/embeddings/bedrock-cohere-embedding.adoc[Spring AI Bedrock Cohere Embeddings]: `spring.ai.bedrock.cohere.embedding.enabled=true`
91-
* xref:api/clients/bedrock/bedrock-titan.adoc[Spring AI Bedrock Titan Chat]: `spring.ai.bedrock.titan.chat.enabled=true`
91+
* xref:api/chat/bedrock/bedrock-titan.adoc[Spring AI Bedrock Titan Chat]: `spring.ai.bedrock.titan.chat.enabled=true`
9292
* xref:api/embeddings/bedrock-titan-embedding.adoc[Spring AI Bedrock Titan Embeddings]: `spring.ai.bedrock.titan.embedding.enabled=true`
9393

94-
// * xref:api/clients/bedrock/bedrock-jurassic2-chat.adoc[(WIP)Spring AI Bedrock Jurassic Chat]: `spring.ai.bedrock.jurassic2.chat.enabled=true`
94+
// * xref:api/chat/bedrock/bedrock-jurassic2-chat.adoc[(WIP)Spring AI Bedrock Jurassic Chat]: `spring.ai.bedrock.jurassic2.chat.enabled=true`

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/azure-openai-chat.adoc renamed to spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/azure-openai-chat.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Deployments model name to provide as part of this completions request.
111111

112112
TIP: All properties prefixed with `spring.ai.azure.openai.chat.options` can be overridden at runtime by adding a request specific <<chat-options>> to the `Prompt` call.
113113

114-
=== Chat Options [[chat-options]]
114+
== Runtime Options [[chat-options]]
115115

116116
The link:https://github.com/spring-projects/spring-ai/blob/main/models/spring-ai-azure-openai/src/main/java/org/springframework/ai/azure/openai/AzureOpenAiChatOptions.java[AzureOpenAiChatOptions.java] provides model configurations, such as the model to use, the temperature, the frequency penalty, etc.
117117

@@ -135,13 +135,13 @@ ChatResponse response = chatClient.call(
135135
TIP: In addition to the model specific link:https://github.com/spring-projects/spring-ai/blob/main/models/spring-ai-azure-openai/src/main/java/org/springframework/ai/azure/openai/AzureOpenAiChatOptions.java[AzureOpenAiChatOptions.java] you can use a portable https://github.com/spring-projects/spring-ai/blob/main/spring-ai-core/src/main/java/org/springframework/ai/chat/ChatOptions.java[ChatOptions] instance, created with the https://github.com/spring-projects/spring-ai/blob/main/spring-ai-core/src/main/java/org/springframework/ai/chat/ChatOptionsBuilder.java[ChatOptionsBuilder#builder()].
136136

137137

138-
=== Function Calling
138+
== Function Calling
139139

140140
You can register custom Java functions with the AzureOpenAiChatClient and have the model intelligently choose to output a JSON object containing arguments to call one or many of the registered functions.
141141
This is a powerful technique to connect the LLM capabilities with external tools and APIs.
142-
Read more about xref:api/clients/functions/azure-open-ai-chat-functions.adoc[Azure OpenAI Function Calling].
142+
Read more about xref:api/chat/functions/azure-open-ai-chat-functions.adoc[Azure OpenAI Function Calling].
143143

144-
=== Sample Controller (Auto-configuration)
144+
== Sample Controller
145145

146146
https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-azure-openai-spring-boot-starter` to your pom (or gradle) dependencies.
147147

@@ -210,7 +210,7 @@ dependencies {
210210

211211
TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Management] section to add the Spring AI BOM to your build file.
212212

213-
TIP: The `spring-ai-azure-openai` dependency also provide the access to the `AzureOpenAiChatClient`. For more information about the `AzureOpenAiChatClient` refer to the link:../clients/azure-openai-chat.html[Azure OpenAI Chat] section.
213+
TIP: The `spring-ai-azure-openai` dependency also provide the access to the `AzureOpenAiChatClient`. For more information about the `AzureOpenAiChatClient` refer to the link:../chat/azure-openai-chat.html[Azure OpenAI Chat] section.
214214

215215
Next, create an `AzureOpenAiChatClient` instance and use it to generate text responses:
216216

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/bedrock/bedrock-anthropic.adoc renamed to spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/bedrock/bedrock-anthropic.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Model ID values can also be found in the https://docs.aws.amazon.com/bedrock/lat
8989

9090
TIP: All properties prefixed with `spring.ai.bedrock.anthropic.chat.options` can be overridden at runtime by adding a request specific <<chat-options>> to the `Prompt` call.
9191

92-
=== Chat Options [[chat-options]]
92+
== Runtime Options [[chat-options]]
9393

9494
The https://github.com/spring-projects/spring-ai/blob/main/models/spring-ai-bedrock/src/main/java/org/springframework/ai/bedrock/anthropic/AnthropicChatOptions.java[AnthropicChatOptions.java] provides model configurations, such as temperature, topK, topP, etc.
9595

@@ -111,7 +111,7 @@ ChatResponse response = chatClient.call(
111111

112112
TIP: In addition to the model specific https://github.com/spring-projects/spring-ai/blob/main/models/spring-ai-bedrock/src/main/java/org/springframework/ai/bedrock/anthropic/AnthropicChatOptions.java[AnthropicChatOptions] you can use a portable https://github.com/spring-projects/spring-ai/blob/main/spring-ai-core/src/main/java/org/springframework/ai/chat/ChatOptions.java[ChatOptions] instance, created with the https://github.com/spring-projects/spring-ai/blob/main/spring-ai-core/src/main/java/org/springframework/ai/chat/ChatOptionsBuilder.java[ChatOptionsBuilder#builder()].
113113

114-
=== Sample Controller (Auto-configuration)
114+
== Sample Controller
115115

116116
https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-bedrock-ai-spring-boot-starter` to your pom (or gradle) dependencies.
117117

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/bedrock/bedrock-cohere.adoc renamed to spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/bedrock/bedrock-cohere.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Model ID values can also be found in the https://docs.aws.amazon.com/bedrock/lat
8888

8989
TIP: All properties prefixed with `spring.ai.bedrock.cohere.chat.options` can be overridden at runtime by adding a request specific <<chat-options>> to the `Prompt` call.
9090

91-
=== Chat Options [[chat-options]]
91+
== Runtime Options [[chat-options]]
9292

9393
The https://github.com/spring-projects/spring-ai/blob/main/models/spring-ai-bedrock/src/main/java/org/springframework/ai/bedrock/cohere/BedrockCohereChatOptions.java[BedrockCohereChatOptions.java] provides model configurations, such as temperature, topK, topP, etc.
9494

@@ -110,7 +110,7 @@ ChatResponse response = chatClient.call(
110110

111111
TIP: In addition to the model specific https://github.com/spring-projects/spring-ai/blob/main/models/spring-ai-bedrock/src/main/java/org/springframework/ai/bedrock/cohere/BedrockCohereChatOptions.java[BedrockCohereChatOptions] you can use a portable https://github.com/spring-projects/spring-ai/blob/main/spring-ai-core/src/main/java/org/springframework/ai/chat/ChatOptions.java[ChatOptions] instance, created with the https://github.com/spring-projects/spring-ai/blob/main/spring-ai-core/src/main/java/org/springframework/ai/chat/ChatOptionsBuilder.java[ChatOptionsBuilder#builder()].
112112

113-
=== Sample Controller (Auto-configuration)
113+
== Sample Controller
114114

115115
https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-bedrock-ai-spring-boot-starter` to your pom (or gradle) dependencies.
116116

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/bedrock/bedrock-llama2.adoc renamed to spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/bedrock/bedrock-llama2.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Model ID values can also be found in the https://docs.aws.amazon.com/bedrock/lat
8686

8787
TIP: All properties prefixed with `spring.ai.bedrock.llama2.chat.options` can be overridden at runtime by adding a request specific <<chat-options>> to the `Prompt` call.
8888

89-
=== Chat Options [[chat-options]]
89+
== Runtime Options [[chat-options]]
9090

9191
The https://github.com/spring-projects/spring-ai/blob/main/models/spring-ai-bedrock/src/main/java/org/springframework/ai/bedrock/llama2/BedrockLlama2ChatOptions.java[BedrockLlama2ChatOptions.java] provides model configurations, such as temperature, topK, topP, etc.
9292

@@ -108,7 +108,7 @@ ChatResponse response = chatClient.call(
108108

109109
TIP: In addition to the model specific https://github.com/spring-projects/spring-ai/blob/main/models/spring-ai-bedrock/src/main/java/org/springframework/ai/bedrock/llama2/BedrockLlama2ChatOptions.java[BedrockLlama2ChatOptions] you can use a portable https://github.com/spring-projects/spring-ai/blob/main/spring-ai-core/src/main/java/org/springframework/ai/chat/ChatOptions.java[ChatOptions] instance, created with the https://github.com/spring-projects/spring-ai/blob/main/spring-ai-core/src/main/java/org/springframework/ai/chat/ChatOptionsBuilder.java[ChatOptionsBuilder#builder()].
110110

111-
=== Sample Controller (Auto-configuration)
111+
== Sample Controller
112112

113113
https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-bedrock-ai-spring-boot-starter` to your pom (or gradle) dependencies.
114114

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/bedrock/bedrock-titan.adoc renamed to spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/bedrock/bedrock-titan.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Model ID values can also be found in the https://docs.aws.amazon.com/bedrock/lat
8484

8585
TIP: All properties prefixed with `spring.ai.bedrock.titan.chat.options` can be overridden at runtime by adding a request specific <<chat-options>> to the `Prompt` call.
8686

87-
=== Chat Options [[chat-options]]
87+
== Runtime Options [[chat-options]]
8888

8989
The https://github.com/spring-projects/spring-ai/blob/main/models/spring-ai-bedrock/src/main/java/org/springframework/ai/bedrock/titan/BedrockTitanChatOptions.java[BedrockTitanChatOptions.java] provides model configurations, such as temperature, topP, etc.
9090

@@ -106,7 +106,7 @@ ChatResponse response = chatClient.call(
106106

107107
TIP: In addition to the model specific https://github.com/spring-projects/spring-ai/blob/main/models/spring-ai-bedrock/src/main/java/org/springframework/ai/bedrock/titan/BedrockTitanChatOptions.java[BedrockTitanChatOptions] you can use a portable https://github.com/spring-projects/spring-ai/blob/main/spring-ai-core/src/main/java/org/springframework/ai/chat/ChatOptions.java[ChatOptions] instance, created with the https://github.com/spring-projects/spring-ai/blob/main/spring-ai-core/src/main/java/org/springframework/ai/chat/ChatOptionsBuilder.java[ChatOptionsBuilder#builder()].
108108

109-
=== Sample Controller (Auto-configuration)
109+
== Sample Controller
110110

111111
https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-bedrock-ai-spring-boot-starter` to your pom (or gradle) dependencies.
112112

@@ -201,7 +201,7 @@ Flux<ChatResponse> response = chatClient.stream(
201201
new Prompt("Generate the names of 5 famous pirates."));
202202
----
203203

204-
=== Low-level TitanChatBedrockApi Client [[low-level-api]]
204+
== Low-level TitanChatBedrockApi Client [[low-level-api]]
205205

206206
The https://github.com/spring-projects/spring-ai/blob/main/models/spring-ai-bedrock/src/main/java/org/springframework/ai/bedrock/titan/api/TitanChatBedrockApi.java[TitanChatBedrockApi] provides is lightweight Java client on top of AWS Bedrock link:https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters-titan-text.html[Bedrock Titan models].
207207

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/google-vertexai.adoc renamed to spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/google-vertexai.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ link:https://cloud.google.com/vertex-ai/docs/reference[VertexAI API] provides hi
55

66
Spring AI provides integration with VertexAI API through the following clients:
77

8-
* xref:api/clients/vertexai-palm2-chat.adoc[]
9-
* xref:api/clients/vertexai-gemini-chat.adoc[]
8+
* xref:api/chat/vertexai-palm2-chat.adoc[]
9+
* xref:api/chat/vertexai-gemini-chat.adoc[]

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/mistralai-chat.adoc renamed to spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/mistralai-chat.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ This is useful if you want to use different MistralAI accounts for different mod
108108

109109
TIP: All properties prefixed with `spring.ai.mistralai.chat.options` can be overridden at runtime by adding a request specific <<chat-options>> to the `Prompt` call.
110110

111-
== Chat Options [[chat-options]]
111+
== Runtime Options [[chat-options]]
112112

113113
The link:https://github.com/spring-projects/spring-ai/blob/main/models/spring-ai-mistral-ai/src/main/java/org/springframework/ai/mistralai/MistralAiChatOptions.java[MistralAiChatOptions.java] provides model configurations, such as the model to use, the temperature, the frequency penalty, etc.
114114

@@ -135,7 +135,7 @@ TIP: In addition to the model specific link:https://github.com/spring-projects/s
135135

136136
You can register custom Java functions with the MistralAiChatClient and have the Mistral AI model intelligently choose to output a JSON object containing arguments to call one or many of the registered functions.
137137
This is a powerful technique to connect the LLM capabilities with external tools and APIs.
138-
Read more about xref:api/clients/functions/mistralai-chat-functions.adoc[Mistral AI Function Calling].
138+
Read more about xref:api/chat/functions/mistralai-chat-functions.adoc[Mistral AI Function Calling].
139139

140140
== Sample Controller (Auto-configuration)
141141

0 commit comments

Comments
 (0)