https://github.com/langchain4j/langchain4j-cdi
https://github.com/langchain4j/langchain4j-cdi
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/langchain4j/langchain4j-cdi
- Owner: langchain4j
- License: apache-2.0
- Created: 2025-03-11T12:28:27.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-06-13T16:14:16.000Z (17 days ago)
- Last Synced: 2025-06-14T20:18:23.736Z (16 days ago)
- Language: Java
- Size: 596 KB
- Stars: 0
- Watchers: 3
- Forks: 6
- Open Issues: 11
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= Langchain4j integration with MicroProfile™ and Jakarta™ specifications
Experimentation around LLM, MicroProfile™ and Jakarta™ EE== How to run examples
=== Use LM Studio
==== Install LM Studio
https://lmstudio.ai/
==== Download model
Mistral 7B Instruct v0.2
==== Run
On left goto "local server", select the model in dropdown combo on the top, then start server
=== Use Ollama
Running Ollama with the llama3.1 model:
[source,bash]
----
CONTAINER_ENGINE=$(command -v podman || command -v docker)
$CONTAINER_ENGINE run -d --rm --name ollama --replace --pull=always -p 11434:11434 -v ollama:/root/.ollama --stop-signal=SIGKILL docker.io/ollama/ollama
$CONTAINER_ENGINE exec -it ollama ollama run llama3.1
----=== Run the examples
Go to each example `README.md` to see how to execute the example.
== Contributing
If you want to contribute, please have a look at link:https://github.com/langchain4j/langchain4j-community/blob/main/CONTRIBUTING.md[CONTRIBUTING.md].
== License
This project is licensed under the Apache License 2.0 - see the link:LICENSE[LICENSE] file for details.