mirror of
				https://github.com/amithkoujalgi/ollama4j.git
				synced 2025-10-31 16:40:41 +01:00 
			
		
		
		
	Compare commits
	
		
			13 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 981a033a1d | ||
|   | e3a8f1e153 | ||
|   | 2cefc1e80a | ||
|   | 275649329a | ||
|   | 581400d44d | ||
|   | b0733dcd87 | ||
|   | 148b748efb | ||
|   | 9c52368ab2 | ||
|   | 729dd9c41f | ||
|   | 4b49d6004c | ||
|   | 7fd27634d4 | ||
|   | ea64fc4677 | ||
|   | 376cd28e0c | 
							
								
								
									
										5
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
									
									
									
									
								
							| @@ -6,3 +6,8 @@ ut: | |||||||
|  |  | ||||||
| it: | 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' | ||||||
							
								
								
									
										23
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										23
									
								
								README.md
									
									
									
									
									
								
							| @@ -60,12 +60,17 @@ In your Maven project, add this dependency: | |||||||
| <dependency> | <dependency> | ||||||
|     <groupId>io.github.amithkoujalgi</groupId> |     <groupId>io.github.amithkoujalgi</groupId> | ||||||
|     <artifactId>ollama4j</artifactId> |     <artifactId>ollama4j</artifactId> | ||||||
|     <version>1.0-SNAPSHOT</version> |     <version>1.0.20</version> | ||||||
| </dependency> | </dependency> | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| Get the latest version from [Maven Central](https://central.sonatype.com/artifact/io.github.amithkoujalgi/ollama4j) | https://img.shields.io/maven-central/v/io.github.amithkoujalgi/ollama4j | ||||||
| or [Nexus Repository](https://s01.oss.sonatype.org/#nexus-search;quick~ollama4j). |  | ||||||
|  | [![][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 | You might want to include an implementation of [SL4J](https://www.slf4j.org/) logger in your `pom.xml` file. For | ||||||
| example, | example, | ||||||
| @@ -94,14 +99,6 @@ or use `logback-classic` implementation: | |||||||
|  |  | ||||||
| or use other suitable implementations. | 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`: | You can then use the Ollama Java APIs by importing `ollama4j`: | ||||||
|  |  | ||||||
| ```java | ```java | ||||||
| @@ -456,6 +453,10 @@ Run integration tests: | |||||||
| make it | make it | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|  | #### Releases | ||||||
|  |  | ||||||
|  | Releases (newer artifact versions) are done automatically on pushj g code to the `main` branch through GitHub Actions CI workflow. | ||||||
|  |  | ||||||
| #### Traction | #### Traction | ||||||
|  |  | ||||||
| [](https://star-history.com/#amithkoujalgi/ollama4j&Date) | [](https://star-history.com/#amithkoujalgi/ollama4j&Date) | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								pom.xml
									
									
									
									
									
								
							| @@ -4,7 +4,7 @@ | |||||||
|  |  | ||||||
|     <groupId>io.github.amithkoujalgi</groupId> |     <groupId>io.github.amithkoujalgi</groupId> | ||||||
|     <artifactId>ollama4j</artifactId> |     <artifactId>ollama4j</artifactId> | ||||||
|     <version>1.0.20</version> |     <version>1.0.24</version> | ||||||
|  |  | ||||||
|     <name>Ollama4j</name> |     <name>Ollama4j</name> | ||||||
|     <description>Java library for interacting with Ollama API.</description> |     <description>Java library for interacting with Ollama API.</description> | ||||||
| @@ -39,7 +39,7 @@ | |||||||
|         <connection>scm:git:git@github.com:amithkoujalgi/ollama4j.git</connection> |         <connection>scm:git:git@github.com:amithkoujalgi/ollama4j.git</connection> | ||||||
|         <developerConnection>scm:git:https://github.com/amithkoujalgi/ollama4j.git</developerConnection> |         <developerConnection>scm:git:https://github.com/amithkoujalgi/ollama4j.git</developerConnection> | ||||||
|         <url>https://github.com/amithkoujalgi/ollama4j</url> |         <url>https://github.com/amithkoujalgi/ollama4j</url> | ||||||
|         <tag>v1.0.20</tag> |         <tag>v1.0.24</tag> | ||||||
|     </scm> |     </scm> | ||||||
|  |  | ||||||
|     <build> |     <build> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user