Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anmiralles/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.
https://github.com/anmiralles/quarkus-ai-llm-summarizer
ai ollama quarkus reactive rest summarizer
Last synced: 12 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/anmiralles/quarkus-ai-llm-summarizer
- Owner: anmiralles
- Created: 2024-08-08T10:31:32.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-08T10:34:44.000Z (5 months ago)
- Last Synced: 2024-11-05T05:03:14.365Z (about 2 months ago)
- Topics: ai, ollama, quarkus, reactive, rest, summarizer
- Language: Java
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```shell script
./mvnw compile quarkus:dev
```> **_NOTE:_** Quarkus now ships with a Dev UI, which is available in dev mode only at .
## Testing the service
Once the application is running then you can send rest calls like these ones:
```shell script
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.
```shell script
http -f POST http://localhost:8080/summarize/file [email protected]
```## Related Guides
- LangChain4j Ollama ([guide](https://docs.quarkiverse.io/quarkus-langchain4j/dev/index.html)): Provides the basic integration of Ollama with LangChain4j
## Provided Code
### RESTEasy JAX-RS
Easily start your RESTful Web Services
[Related guide section...](https://quarkus.io/guides/getting-started#the-jax-rs-resources)
# quarkus-ai-llm-translator