Skip to content

Commit 257c91c

Browse files
Fix typo (#2719)
Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent 91937d0 commit 257c91c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

models/spring-ai-mistral-ai/src/test/resources/prompts/acme/system-qa.st

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
You're assisting with questions about products in a bicycle catalog.
22
Use the information from the DOCUMENTS section to provide accurate answers.
3-
The the answer involves referring to the price or the dimension of the bicycle, include the bicycle name in the response.
3+
The answer involves referring to the price or the dimension of the bicycle, include the bicycle name in the response.
44
If unsure, simply state that you don't know.
55

66
DOCUMENTS:

models/spring-ai-openai/src/test/resources/prompts/acme/system-qa.st

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
You're assisting with questions about products in a bicycle catalog.
22
Use the information from the DOCUMENTS section to provide accurate answers.
3-
The the answer involves referring to the price or the dimension of the bicycle, include the bicycle name in the response.
3+
The answer involves referring to the price or the dimension of the bicycle, include the bicycle name in the response.
44
If unsure, simply state that you don't know.
55

66
DOCUMENTS:

spring-ai-commons/src/main/java/org/springframework/ai/document/id/IdGenerator.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
public interface IdGenerator {
2626

2727
/**
28-
* Generate a unique ID for the given content. Note: some generator, such as the the
28+
* Generate a unique ID for the given content. Note: some generator, such as the
2929
* random generator might not dependant on or use the content parameters.
3030
* @param contents the content to generate an ID for.
3131
* @return the generated ID.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ The Azure OpenAI can incorporate a list of base64-encoded images or image urls w
234234
Spring AI’s link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-model/src/main/java/org/springframework/ai/chat/messages/Message.java[Message] interface facilitates multimodal AI models by introducing the link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-model/src/main/java/org/springframework/ai/model/Media.java[Media] type.
235235
This type encompasses data and details regarding media attachments in messages, utilizing Spring’s `org.springframework.util.MimeType` and a `java.lang.Object` for the raw media data.
236236

237-
Below is a code example excerpted from link:https://github.com/spring-projects/spring-ai/blob/c9a3e66f90187ce7eae7eb78c462ec622685de6c/models/spring-ai-openai/src/test/java/org/springframework/ai/openai/chat/OpenAiChatModelIT.java#L293[OpenAiChatModelIT.java], illustrating the fusion of user text with an image using the the `GPT_4_O` model.
237+
Below is a code example excerpted from link:https://github.com/spring-projects/spring-ai/blob/c9a3e66f90187ce7eae7eb78c462ec622685de6c/models/spring-ai-openai/src/test/java/org/springframework/ai/openai/chat/OpenAiChatModelIT.java#L293[OpenAiChatModelIT.java], illustrating the fusion of user text with an image using the `GPT_4_O` model.
238238

239239
[source,java]
240240
----

0 commit comments

Comments
 (0)