diff --git a/intelligent-java-blog-reader/pom.xml b/intelligent-java-blog-reader/pom.xml
index f0896b0..20a7325 100644
--- a/intelligent-java-blog-reader/pom.xml
+++ b/intelligent-java-blog-reader/pom.xml
@@ -48,11 +48,11 @@
quarkus-langchain4j-openai
${quarkus.langchain4j.version}
-
- com.knuddels
- jtokkit
- ${com.knuddels.jtokkit.version}
-
+
+
+
+
+
io.quarkus
quarkus-junit5
diff --git a/intelligent-java-blog-reader/src/main/java/com/hbelmiro/demos/intelligentjavablogreader/BlogReaderResource.java b/intelligent-java-blog-reader/src/main/java/com/hbelmiro/demos/intelligentjavablogreader/BlogReaderResource.java
index ab3576c..027897d 100644
--- a/intelligent-java-blog-reader/src/main/java/com/hbelmiro/demos/intelligentjavablogreader/BlogReaderResource.java
+++ b/intelligent-java-blog-reader/src/main/java/com/hbelmiro/demos/intelligentjavablogreader/BlogReaderResource.java
@@ -27,7 +27,6 @@ public BlogReaderResource(BlogReaderService blogReaderService, WebCrawler webCra
this.requestSplitter = requestSplitter;
}
-
@Path("/read")
@POST
@Produces(MediaType.TEXT_PLAIN)
diff --git a/intelligent-java-blog-reader/src/main/java/com/hbelmiro/demos/intelligentjavablogreader/BlogReaderService.java b/intelligent-java-blog-reader/src/main/java/com/hbelmiro/demos/intelligentjavablogreader/BlogReaderService.java
index 34aaa8b..024d2d3 100644
--- a/intelligent-java-blog-reader/src/main/java/com/hbelmiro/demos/intelligentjavablogreader/BlogReaderService.java
+++ b/intelligent-java-blog-reader/src/main/java/com/hbelmiro/demos/intelligentjavablogreader/BlogReaderService.java
@@ -16,14 +16,14 @@ public interface BlogReaderService {
@UserMessage("""
Here's the next part of the body page:
```html
- {html}.
+ {html}
```
Wait for the next parts. Don't answer anything else.
""")
String sendBody(String html);
@UserMessage("""
- That's it. You can sum up the article now. Stay quiet. Return only the sum up and the key takeaways.
+ That's it. You can sum up the article and add key takeaways to the end of the sum up.
""")
String sumUp();
}
diff --git a/intelligent-java-blog-reader/src/test/java/com/hbelmiro/demos/intelligentjavablogreader/BlogReaderResourceTest.java b/intelligent-java-blog-reader/src/test/java/com/hbelmiro/demos/intelligentjavablogreader/BlogReaderResourceTest.java
index ee2caec..02ed86e 100644
--- a/intelligent-java-blog-reader/src/test/java/com/hbelmiro/demos/intelligentjavablogreader/BlogReaderResourceTest.java
+++ b/intelligent-java-blog-reader/src/test/java/com/hbelmiro/demos/intelligentjavablogreader/BlogReaderResourceTest.java
@@ -18,6 +18,6 @@ class BlogReaderResourceTest {
@Test
void test() {
var blogReaderResource = new BlogReaderResource(new FakeBlogReaderService(), webCrawler, requestSplitter);
- assertEquals("MockGPT", blogReaderResource.read("https://thegreatapi.com/blog/a-beginners-guide-to-contributing-to-open-source/"));
+ assertEquals("MockGPT", blogReaderResource.read("https://www.redhat.com/en/blog/the-power-of-ai-is-open"));
}
}
\ No newline at end of file