This commit is contained in:
Amith Koujalgi
2023-10-27 13:09:48 +05:30
parent fd289fa39a
commit 6984ece2b6
4 changed files with 139 additions and 2 deletions

View File

@@ -2,6 +2,16 @@
A Java wrapper for [Ollama](https://github.com/jmorganca/ollama/blob/main/docs/api.md) APIs.
Install:
With Maven from [Nexus](https://s01.oss.sonatype.org/#nexus-search;quick~ollama4j):
```xml
<dependency>
<groupId>io.github.amithkoujalgi</groupId>
<artifactId>ollama4j</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
```
Start Ollama Container:
```
docker run -v ~/ollama:/root/.ollama -p 11434:11434 ollama/ollama