Skip to content

Commit dc50e64

Browse files
committed
fix: disable test code
1 parent 6b6ab8b commit dc50e64

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ The project uses Spring AI to turn questions about books into a rest function ca
2626
### Generating code
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

29+
### Generating book summaries
30+
The project uses Spring AI to generate summaries of books. To generate the summaries the chapter headings and the heading after the last chapter have to be provided. Then summaries of the chapters in form of bullet points are generated. A book summary is created of the chapter summaries.
31+
2932
## Articles
3033
* [Using Spring AI with LLMs to generate Java tests](https://angular2guy.wordpress.com/2024/07/15/using-spring-ai-with-llms-to-generate-code/)
3134
* [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/)
@@ -42,6 +45,7 @@ The project uses Spring AI to generate test classes. To do that the class to tes
4245
5. It displays the results of the rest api with parameters based on to question.
4346
6. It displays the results of the questions to the image database.
4447
7. It generates tests for sources in public Github repositories
48+
8. It generates book summaries of epub of pdf books.
4549

4650
## Mission Statement
4751
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.

frontend/src/angular/src/app/book-import/book-import.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class BookImportComponent {
9494
.map((v, index) => chapterFormArray.at(index) as FormGroup)
9595
.map(chapterFg => ({title: chapterFg.controls[FormGroupKey.chapterHeading].value } as ChapterHeading));
9696
// for testing only
97-
chapters = this.frankensteinChapters();
97+
//chapters = this.frankensteinChapters();
9898
formData.append('book', this.bookForm.controls[FormGroupKey.file].value)
9999
formData.append('chapters', JSON.stringify(chapters));
100100

0 commit comments

Comments
 (0)