mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-09-16 03:39:05 +02:00
Update OllamaAPIIntegrationTest.java
This commit is contained in:
parent
3d0b3eeb7f
commit
f085b633af
@ -245,7 +245,7 @@ public class OllamaAPIIntegrationTest {
|
||||
OllamaChatRequest requestModel = builder.withMessage(OllamaChatMessageRole.SYSTEM,
|
||||
"You are a silent bot that only says 'Shush'. Do not say anything else under any circumstances!")
|
||||
.withMessage(OllamaChatMessageRole.USER, "What's something that's brown and sticky?")
|
||||
.withOptions(new OptionsBuilder().setTemperature(0.8f).build()).build();
|
||||
.withOptions(new OptionsBuilder().setTemperature(0.1f).build()).build();
|
||||
|
||||
OllamaChatResult chatResult = api.chat(requestModel);
|
||||
assertNotNull(chatResult);
|
||||
|
Loading…
x
Reference in New Issue
Block a user