forked from Mirror/ollama4j
		
	Compare commits
	
		
			10 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 275649329a | ||
|   | 581400d44d | ||
|   | b0733dcd87 | ||
|   | 148b748efb | ||
|   | 9c52368ab2 | ||
|   | 729dd9c41f | ||
|   | 4b49d6004c | ||
|   | 7fd27634d4 | ||
|   | ea64fc4677 | ||
|   | 376cd28e0c | 
							
								
								
									
										5
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
									
									
									
									
								
							| @@ -6,3 +6,8 @@ ut: | ||||
|  | ||||
| it: | ||||
| 	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' | ||||
							
								
								
									
										23
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										23
									
								
								README.md
									
									
									
									
									
								
							| @@ -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). | ||||
| https://img.shields.io/maven-metadata/v.svg?label=ollama4j-version&metadataUrl=https%3A%2F%2Frepo1.maven.org%2Fmaven2%2Fio%2Fgithub%2Famithkoujalgi%2Follama4j%2Fmaven-metadata.xml | ||||
|  | ||||
| [![][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 | ||||
|  | ||||
| [](https://star-history.com/#amithkoujalgi/ollama4j&Date) | ||||
|   | ||||
							
								
								
									
										4
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								pom.xml
									
									
									
									
									
								
							| @@ -4,7 +4,7 @@ | ||||
|  | ||||
|     <groupId>io.github.amithkoujalgi</groupId> | ||||
|     <artifactId>ollama4j</artifactId> | ||||
|     <version>1.0.20</version> | ||||
|     <version>1.0.23</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.23</tag> | ||||
|     </scm> | ||||
|  | ||||
|     <build> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user