{"id":26197194,"url":"https://github.com/fotioudim/quarkus-langchain-doc-helper","last_synced_at":"2026-04-29T21:34:31.102Z","repository":{"id":281702640,"uuid":"946141225","full_name":"fotioudim/quarkus-langchain-doc-helper","owner":"fotioudim","description":"Quarkus Java app using Langchain4j library and RAG process and providing REST API to interact with LLMs","archived":false,"fork":false,"pushed_at":"2025-03-10T17:23:56.000Z","size":1283,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T09:58:03.269Z","etag":null,"topics":["langchain4j","llms","ollama","quarkus","rag","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fotioudim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-10T17:13:24.000Z","updated_at":"2025-03-10T17:23:59.000Z","dependencies_parsed_at":"2025-03-10T18:39:31.401Z","dependency_job_id":"f64da2b4-338d-44cc-853c-b7c302185147","html_url":"https://github.com/fotioudim/quarkus-langchain-doc-helper","commit_stats":null,"previous_names":["fotioudim/quarkus-langchain-doc-helper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fotioudim/quarkus-langchain-doc-helper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fotioudim%2Fquarkus-langchain-doc-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fotioudim%2Fquarkus-langchain-doc-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fotioudim%2Fquarkus-langchain-doc-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fotioudim%2Fquarkus-langchain-doc-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fotioudim","download_url":"https://codeload.github.com/fotioudim/quarkus-langchain-doc-helper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fotioudim%2Fquarkus-langchain-doc-helper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32445452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["langchain4j","llms","ollama","quarkus","rag","rest-api"],"created_at":"2025-03-12T02:24:39.276Z","updated_at":"2026-04-29T21:34:31.078Z","avatar_url":"https://github.com/fotioudim.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# quarkus-langchain-doc-helper\n\nThis project uses Quarkus, the Supersonic Subatomic Java Framework, integrated with LangChain4j\nlibrary using Retrieval-Augmented Generation process and\nproviding a REST API to interact with Large Language Models. \n\n- Large Language Models (LLMs) are AI-based systems designed to understand, generate, and manipulate human language, \nshowcasing advanced natural language processing capabilities. \n- LangChain4j library offers a declarative approach to interact with diverse LLMs like OpenAI, Hugging Face, Ollama, or Jlama.\n- Retrieval-Augmented Generation (RAG) is the process of optimizing the output of a large language model, so it references \nan authoritative knowledge base outside of its training data sources before generating a response. RAG extends the already\npowerful capabilities of LLMs to specific domains or an organization's internal knowledge base, all without the need to retrain the model.\n\n## Prerequisites\n- Java 21\n- A running container environment, such as Docker or Podman\n\n\n## Running the application in dev mode\n\nYou can run your application in dev mode that enables live coding using:\n\n```shell script\nmvn quarkus:dev\n```\n\n\u003e **_NOTE:_**  Quarkus now ships with a Dev UI, which is available in dev mode only at \u003chttp://localhost:8080/q/dev/\u003e.\n\n## Requests\nYou can interact with the LLM using the following two ways:\n\n1) Make a question:\n```\ncurl --request POST \\\n  --url http://localhost:8080/doc/help/question \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n\t\"question\": \"Is Runtime Verification useful in Internet of Things ecosystems?\",\n\t\"style\": \"informal\",\n\t\"size\": \"short\"\n}'\n```\n\n2) Require a summary about a keyphrase:\n\n```\ncurl --request POST \\\n  --url http://localhost:8080/doc/help/summary \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n\t\"keyPhrase\": \"Runtime Verification\",\n\t\"style\": \"academic\"\n}'\n```\n\n## Related Documentation\n\n- LangChain4j OpenAI ([guide](https://docs.quarkiverse.io/quarkus-langchain4j/dev/index.html)): Provides the basic integration with LangChain4j\n- RAG process [benefits](https://aws.amazon.com/what-is/retrieval-augmented-generation/)\n- Edge-Based Runtime Verification for the Internet of Things [paper](https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=\u0026arnumber=9411895)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffotioudim%2Fquarkus-langchain-doc-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffotioudim%2Fquarkus-langchain-doc-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffotioudim%2Fquarkus-langchain-doc-helper/lists"}