Skip to content

Commit 6b6ab8b

Browse files
committed
feat: use new model
1 parent e2c9ef8 commit 6b6ab8b

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The project uses Spring AI to turn questions about books into a rest function ca
2727
The project uses Spring AI to generate test classes. To do that the class to test is provided and the classes the class to test depends on. A test example class can also be provided. The ollama based AI/LLM then gets a prompt with all the information and generates a draft of the source of the test class.
2828

2929
## Articles
30-
* [Using Spring AI with LLMs to generate code](https://angular2guy.wordpress.com/2024/07/15/using-spring-ai-with-llms-to-generate-code/)
30+
* [Using Spring AI with LLMs to generate Java tests](https://angular2guy.wordpress.com/2024/07/15/using-spring-ai-with-llms-to-generate-code/)
3131
* [Questioning an Image Database with local AI/LLM on Ollama and Spring AI](https://angular2guy.wordpress.com/2024/05/17/questioning-an-image-database-with-ai-llm-and-spring-ai/)
3232
* [Extending AI/LLM Capabilities with Rag and Function calls](https://angular2guy.wordpress.com/2024/03/17/extending-ai-llm-capabilities/)
3333
* [Using Spring AI with LLMs to query relational databases](https://angular2guy.wordpress.com/2024/03/01/using-spring-ai-with-ai-llms-to-query-relational-databases/)

backend/src/main/resources/application-ollama.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ spring.ai.ollama.chat.options.keep_alive=1s
4141

4242
#spring.ai.ollama.chat.model=llama3.1:70b
4343
#spring.ai.ollama.chat.options.num-ctx=131072
44-
spring.ai.ollama.chat.model=qwen:32b
44+
#spring.ai.ollama.chat.model=qwen:32b
45+
spring.ai.ollama.chat.model=qwen2.5:32b
4546
#spring.ai.ollama.chat.options.num-ctx=32768
4647
spring.ai.ollama.chat.options.num-ctx=30720

runOllama.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ docker exec -it ollama ollama run stable-beluga:13bc
1212
#docker exec -it ollama ollama run deepseek-coder-v2:16b
1313
#docker exec -it ollama ollama run llama3.1:70b
1414
#docker exec -it ollama ollama run qwen:32b
15+
#docker exec -it ollama ollama run qwen2.5:32b
1516
#docker exec -it ollama bash

0 commit comments

Comments
 (0)