mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-05-15 20:07:10 +02:00
init
This commit is contained in:
parent
e6f21bcaac
commit
53fc9cf797
18
README.md
18
README.md
@ -17,6 +17,24 @@ From [Maven Central](https://s01.oss.sonatype.org/#nexus-search;quick~ollama4j):
|
|||||||
<version>1.0-SNAPSHOT</version>
|
<version>1.0-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You might want to include the Maven repository to pull the ollama4j library from. Include this in your `pom.xml`:
|
||||||
|
|
||||||
|
```xml
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>ollama-from-ossrh</id>
|
||||||
|
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
```
|
||||||
|
|
||||||
|
Verify if the ollama4j dependencies have been resolved by running:
|
||||||
|
|
||||||
|
```xml
|
||||||
|
mvn clean install
|
||||||
|
```
|
||||||
|
|
||||||
Start Ollama Container:
|
Start Ollama Container:
|
||||||
```
|
```
|
||||||
docker run -v ~/ollama:/root/.ollama -p 11434:11434 ollama/ollama
|
docker run -v ~/ollama:/root/.ollama -p 11434:11434 ollama/ollama
|
||||||
|
Loading…
x
Reference in New Issue
Block a user