Skip to content

Commit aa18a67

Browse files
committed
Document how to use Mistral AI over Spring AI OpenAI API.
- Add a related integration test: MistralWithOpenAiChatModelIT Resolves #1134
1 parent 1c0c77b commit aa18a67

File tree

3 files changed

+410
-1
lines changed

3 files changed

+410
-1
lines changed

models/spring-ai-mistral-ai/src/test/java/org/springframework/ai/mistralai/MistralAiChatModelIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ void beanStreamOutputConverterRecords() {
188188
@Test
189189
void functionCallTest() {
190190

191-
UserMessage userMessage = new UserMessage("What's the weather like in San Francisco? Response in Celsius");
191+
UserMessage userMessage = new UserMessage(
192+
"What's the weather like in San Francisco, Tokyo, and Paris? Response in Celsius");
192193

193194
List<Message> messages = new ArrayList<>(List.of(userMessage));
194195

0 commit comments

Comments
 (0)