Skip to content

Commit

Permalink
Using llama3.2:1b to reduce the size of the docker image to download (#5
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ilopezluna authored Oct 28, 2024
1 parent e37aa7e commit 6fd342c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class ContainersConfiguration {
@ServiceConnection
@RestartScope
OllamaContainer ollama() {
return new OllamaContainer(DockerImageName.parse("ilopezluna/evaluator-llama3.1:0.3.11-8b")
return new OllamaContainer(DockerImageName.parse("ilopezluna/spring-ai-demo-models:llama3.2-1b")
.asCompatibleSubstituteFor("ollama/ollama")) {
};
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ spring.ai.ollama.embedding.options.top-k=2
spring.ai.ollama.embedding.options.seed=42
spring.ai.ollama.embedding.options.temperature=0.0

spring.ai.ollama.chat.options.model=llama3.1:8b
spring.ai.ollama.chat.options.model=llama3.2:1b
spring.ai.ollama.chat.options.top-k=1
spring.ai.ollama.chat.options.seed=42
spring.ai.ollama.chat.options.temperature=0.0
Expand Down

0 comments on commit 6fd342c

Please sign in to comment.