Skip to content

This project uses Quarkus to create a summarizer REST service for test and files. It uses Ollama (llama3.1) LLM in order to do the task.

Notifications You must be signed in to change notification settings

anmiralles/quarkus-ai-llm-summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quarkus-ai-llm-summarizer

This project uses Quarkus to create a summarizer REST service for test and files. It uses Ollama (llama3.1) LLM in order to do the task.

Running the application in dev mode

You can run your application in dev mode that enables live coding using:

./mvnw compile quarkus:dev

NOTE: Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/.

Testing the service

Once the application is running then you can send rest calls like these ones:

http POST http://localhost:8080/summarize/text text="Esto es un test" language="english"

Previous to the next one, just create a file ("file.txt") and put some text on it to translate.

http -f POST http://localhost:8080/summarize/file input@file.txt

Related Guides

  • LangChain4j Ollama (guide): Provides the basic integration of Ollama with LangChain4j

Provided Code

RESTEasy JAX-RS

Easily start your RESTful Web Services

Related guide section...

quarkus-ai-llm-translator

About

This project uses Quarkus to create a summarizer REST service for test and files. It uses Ollama (llama3.1) LLM in order to do the task.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages