You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,13 +17,17 @@ The project uses Spring AI to turn questions with a LLMs into Sql queries and di
17
17
### Function calls for book search
18
18
The project uses Spring AI to turn questions about books into a rest function call to the OpenLibrary Api. It uses the Ollama Mixtral model to take the parameters from the question and turn them in a Json format that can be used to call the Api.
19
19
20
+
### Generating code
21
+
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.
22
+
20
23
Author: Sven Loesekann
21
24
22
25
Technologies: Angular, Angular-Cli, Angular-Material, Typescript, Spring Boot, Spring AI, OpenAI, Ollama, Postgresql(vector,hstore), Liquibase, Jpa, Gradle, Java
*[Using Spring AI with LLMs to generate code](https://angular2guy.wordpress.com/2024/07/15/using-spring-ai-with-llms-to-generate-code/)
27
31
*[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/)
28
32
*[Extending AI/LLM Capabilities with Rag and Function calls](https://angular2guy.wordpress.com/2024/03/17/extending-ai-llm-capabilities/)
29
33
*[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/)
@@ -37,6 +41,7 @@ Technologies: Angular, Angular-Cli, Angular-Material, Typescript, Spring Boot, S
37
41
4. It displays the result of the Sql query based on the question.
38
42
5. It displays the results of the rest api with parameters based on to question.
39
43
6. It displays the results of the questions to the image database.
44
+
7. It generates tests for sources in public Github repositories
40
45
41
46
## Mission Statement
42
47
The project shows howto use Spring AI to generate answers based on a provided set of documents with a link to the source. The Angular frontend provides the user interface for the backend and shows the responses.
@@ -47,6 +52,8 @@ The project shows howto use Spring AI to generate Sql queries based on provided
47
52
48
53
The project shows howto use Spring AI to select a Rest interface to call and to provide the parameters for the Rest call. The Angular frontend provides the user interface to ask the question and to display the result of the Rest call.
49
54
55
+
The project shows howto use Spring AI to create a image database that can be queried with natural language questions and returns the closest matching images with their descriptions.
56
+
50
57
Spring AI makes using OpenAI / Ollama services simple and useful and this project demonstrates that.
0 commit comments