Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matteo4diani/java-retrieval-augmented-generation
Retrieval Augmented Generation, Function Calling and Code Generation on GitHub Projects with Java
https://github.com/matteo4diani/java-retrieval-augmented-generation
code-generation function-calling java langchain4j llm ollama openai-api rag retrieval-augmented-generation spring
Last synced: 1 day ago
JSON representation
Retrieval Augmented Generation, Function Calling and Code Generation on GitHub Projects with Java
- Host: GitHub
- URL: https://github.com/matteo4diani/java-retrieval-augmented-generation
- Owner: matteo4diani
- License: mit
- Created: 2024-04-08T19:01:51.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-10T14:44:53.000Z (10 months ago)
- Last Synced: 2024-11-26T05:14:54.227Z (2 months ago)
- Topics: code-generation, function-calling, java, langchain4j, llm, ollama, openai-api, rag, retrieval-augmented-generation, spring
- Language: Java
- Homepage:
- Size: 112 KB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Local Retrieval Augmented Generation in Java
Run this project:
Start Ollama in a separate terminal tab (detached mode not supported yet):
```sh
ollama run codellama
```Start Qdrant:
```sh
docker compose up -d
```Run the CLI application:
```sh
mvn clean install spring-boot:run -DskipTests
```The last build step produces an executable jar. You can put the jar on your path and alias it to start this app as a shell command.