diff --git a/rag-springai-ollama-llm/src/main/resources/application.properties b/rag-springai-ollama-llm/src/main/resources/application.properties index ab8f62d..b2ab2d1 100644 --- a/rag-springai-ollama-llm/src/main/resources/application.properties +++ b/rag-springai-ollama-llm/src/main/resources/application.properties @@ -3,10 +3,10 @@ spring.application.name=rag-springai-ollama-llm spring.threads.virtual.enabled=true spring.mvc.problemdetails.enabled=true -spring.ai.ollama.chat.options.model=orca-mini +spring.ai.ollama.chat.options.model=mistral spring.ai.ollama.chat.options.responseFormat=json_object -spring.ai.ollama.embedding.options.model=orca-mini +spring.ai.ollama.embedding.options.model=mistral spring.ai.vectorstore.redis.index=vector_store spring.ai.vectorstore.redis.prefix=ai diff --git a/rag-springai-ollama-llm/src/test/java/com/learning/ai/llmragwithspringai/TestLlmRagWithSpringAiApplication.java b/rag-springai-ollama-llm/src/test/java/com/learning/ai/llmragwithspringai/TestLlmRagWithSpringAiApplication.java index 5f45f51..a8a5569 100644 --- a/rag-springai-ollama-llm/src/test/java/com/learning/ai/llmragwithspringai/TestLlmRagWithSpringAiApplication.java +++ b/rag-springai-ollama-llm/src/test/java/com/learning/ai/llmragwithspringai/TestLlmRagWithSpringAiApplication.java @@ -16,7 +16,7 @@ public class TestLlmRagWithSpringAiApplication { @Bean OllamaContainer ollama(DynamicPropertyRegistry properties) { - OllamaContainer ollama = new OllamaContainer(DockerImageName.parse("langchain4j/ollama-orca-mini:latest") + OllamaContainer ollama = new OllamaContainer(DockerImageName.parse("langchain4j/ollama-mistral:latest") .asCompatibleSubstituteFor("ollama/ollama")); properties.add("spring.ai.ollama.base-url", ollama::getEndpoint); return ollama;