Compare commits

..

19 Commits

Author SHA1 Message Date
amithkoujalgi
2ea8faeea8 [maven-release-plugin] prepare release v1.0.26 2023-12-19 20:54:47 +00:00
Amith Koujalgi
9f79dfa936 Update README.md 2023-12-20 02:23:56 +05:30
amithkoujalgi
1fb2258a77 [maven-release-plugin] prepare for next development iteration 2023-12-19 20:49:03 +00:00
amithkoujalgi
5a46e08759 [maven-release-plugin] prepare release v1.0.25 2023-12-19 20:49:01 +00:00
Amith Koujalgi
885fe14309 Update README.md 2023-12-20 02:18:08 +05:30
amithkoujalgi
94d043d0fd [maven-release-plugin] prepare for next development iteration 2023-12-19 20:46:54 +00:00
amithkoujalgi
981a033a1d [maven-release-plugin] prepare release v1.0.24 2023-12-19 20:46:53 +00:00
Amith Koujalgi
e3a8f1e153 Update README.md 2023-12-20 02:15:51 +05:30
amithkoujalgi
2cefc1e80a [maven-release-plugin] prepare for next development iteration 2023-12-19 20:43:57 +00:00
amithkoujalgi
275649329a [maven-release-plugin] prepare release v1.0.23 2023-12-19 20:43:55 +00:00
Amith Koujalgi
581400d44d Update README.md 2023-12-20 02:12:59 +05:30
amithkoujalgi
b0733dcd87 [maven-release-plugin] prepare for next development iteration 2023-12-19 20:27:11 +00:00
amithkoujalgi
148b748efb [maven-release-plugin] prepare release v1.0.22 2023-12-19 20:27:09 +00:00
Amith Koujalgi
9c52368ab2 Update README.md 2023-12-20 01:56:05 +05:30
amithkoujalgi
729dd9c41f [maven-release-plugin] prepare for next development iteration 2023-12-19 19:49:53 +00:00
amithkoujalgi
4b49d6004c [maven-release-plugin] prepare release v1.0.21 2023-12-19 19:49:51 +00:00
Amith Koujalgi
7fd27634d4 Merge remote-tracking branch 'origin/main' 2023-12-20 01:18:43 +05:30
Amith Koujalgi
ea64fc4677 clean up 2023-12-20 01:18:30 +05:30
amithkoujalgi
376cd28e0c [maven-release-plugin] prepare for next development iteration 2023-12-19 19:36:06 +00:00
3 changed files with 20 additions and 14 deletions

View File

@@ -5,4 +5,9 @@ ut:
mvn clean test -Punit-tests
it:
mvn clean verify -Pintegration-tests
mvn clean verify -Pintegration-tests
list-releases:
curl 'https://central.sonatype.com/api/internal/browse/component/versions?sortField=normalizedVersion&sortDirection=asc&page=0&size=12&filter=namespace%3Aio.github.amithkoujalgi%2Cname%3Aollama4j' \
--compressed \
--silent | jq '.components[].version'

View File

@@ -60,12 +60,17 @@ In your Maven project, add this dependency:
<dependency>
<groupId>io.github.amithkoujalgi</groupId>
<artifactId>ollama4j</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0.20</version>
</dependency>
```
Get the latest version from [Maven Central](https://central.sonatype.com/artifact/io.github.amithkoujalgi/ollama4j)
or [Nexus Repository](https://s01.oss.sonatype.org/#nexus-search;quick~ollama4j).
![Maven Central](https://img.shields.io/maven-central/v/io.github.amithkoujalgi/ollama4j?style=for-the-badge&labelColor=gray)
[![][lib-shield]][lib]
[lib]: https://central.sonatype.com/artifact/io.github.amithkoujalgi/ollama4j
[lib-shield]: https://img.shields.io/badge/ollama4j-get_latest_version-blue.svg?style=for-the-badge&labelColor=gray
You might want to include an implementation of [SL4J](https://www.slf4j.org/) logger in your `pom.xml` file. For
example,
@@ -94,14 +99,6 @@ or use `logback-classic` implementation:
or use other suitable implementations.
#### Build:
Build your project to resolve the dependencies:
```shell
mvn clean install -U
```
You can then use the Ollama Java APIs by importing `ollama4j`:
```java
@@ -456,6 +453,10 @@ Run integration tests:
make it
```
#### Releases
Releases (newer artifact versions) are done automatically on pushj g code to the `main` branch through GitHub Actions CI workflow.
#### Traction
[![Star History Chart](https://api.star-history.com/svg?repos=amithkoujalgi/ollama4j&type=Date)](https://star-history.com/#amithkoujalgi/ollama4j&Date)

View File

@@ -4,7 +4,7 @@
<groupId>io.github.amithkoujalgi</groupId>
<artifactId>ollama4j</artifactId>
<version>1.0.20</version>
<version>1.0.26</version>
<name>Ollama4j</name>
<description>Java library for interacting with Ollama API.</description>
@@ -39,7 +39,7 @@
<connection>scm:git:git@github.com:amithkoujalgi/ollama4j.git</connection>
<developerConnection>scm:git:https://github.com/amithkoujalgi/ollama4j.git</developerConnection>
<url>https://github.com/amithkoujalgi/ollama4j</url>
<tag>v1.0.20</tag>
<tag>v1.0.26</tag>
</scm>
<build>