amithkoujalgi
cbf65fef48
Add YAML support for Agent configuration and enhance Agent class to load tools from YAML. Introduce custom prompt functionality and refactor constructor to accept additional parameters. Update SampleAgent to demonstrate YAML loading.
2025-10-13 14:34:03 +05:30
amithkoujalgi
6df57c4a23
Enhance SampleAgent with improved Javadoc comments for tool specifications and descriptions, clarifying usage and parameters for weather, calculator, and hotel booking tools.
2025-10-11 00:00:42 +05:30
amithkoujalgi
da6d20d118
Add default target to Makefile, enhance Ollama class to use tools, and introduce Agent and SampleAgent classes for interactive tool usage. Update Javadoc generation message and improve error handling in endpoint callers.
2025-10-10 23:56:31 +05:30
Amith Koujalgi
64c629775a
Refactor OllamaChatRequest and OllamaGenerateRequest to remove builder classes, implement builder-like methods directly in the request classes, and enhance request handling with additional options and image support. Update integration tests to reflect these changes.
Mark stale issues / stale (push) Failing after 11s
Mark stale issues and PRs / stale (push) Failing after 7s
CodeQL / Analyze (java) (push) Failing after 10s
CodeQL / Analyze (javascript) (push) Failing after 8s
2025-10-07 18:33:22 +05:30
Amith Koujalgi
46f2d62fed
Merge pull request #208 from ollama4j/dependabot/npm_and_yarn/docs/react-dom-19.2.0
...
CodeQL / Analyze (java) (push) Failing after 13s
CodeQL / Analyze (javascript) (push) Failing after 12s
Mark stale issues / stale (push) Failing after 43s
Mark stale issues and PRs / stale (push) Failing after 1m30s
Bump react-dom from 19.1.1 to 19.2.0 in /docs
2025-10-06 23:28:31 +05:30
dependabot[bot]
b91943066e
Bump react-dom from 19.1.1 to 19.2.0 in /docs
...
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom ) from 19.1.1 to 19.2.0.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v19.2.0/packages/react-dom )
---
updated-dependencies:
- dependency-name: react-dom
dependency-version: 19.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-06 17:57:36 +00:00
Amith Koujalgi
58d73637bb
Merge pull request #207 from ollama4j/dependabot/npm_and_yarn/docs/react-19.2.0
...
Bump react from 19.1.1 to 19.2.0 in /docs
2025-10-06 23:26:19 +05:30
Amith Koujalgi
0ffaac65d4
Add new logo
2025-10-06 23:25:10 +05:30
Amith Koujalgi
4ce9c4c191
Add new logo
2025-10-06 23:23:42 +05:30
dependabot[bot]
4681b1986f
Bump react from 19.1.1 to 19.2.0 in /docs
...
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react ) from 19.1.1 to 19.2.0.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v19.2.0/packages/react )
---
updated-dependencies:
- dependency-name: react
dependency-version: 19.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-06 00:36:12 +00:00
Amith Koujalgi
89d42fd469
Merge pull request #206 from ollama4j/docs
...
Mark stale issues / stale (push) Failing after 23s
Mark stale issues and PRs / stale (push) Failing after 1m19s
CodeQL / Analyze (java) (push) Failing after 15s
CodeQL / Analyze (javascript) (push) Failing after 13s
Update metrics.md
2025-10-01 01:24:33 +05:30
amithkoujalgi
8a903f695e
Update metrics.md
2025-10-01 01:24:03 +05:30
amithkoujalgi
3a20af25f1
Merge branch 'main' of https://github.com/ollama4j/ollama4j
2025-10-01 01:16:50 +05:30
Amith Koujalgi
24046b6660
Merge pull request #205 from ollama4j/refactor
...
Add metrics documentation for Ollama4j library
2025-10-01 01:15:45 +05:30
amithkoujalgi
453112d09f
Add metrics documentation for Ollama4j library
...
- Introduced a new `metrics.md` file detailing the metrics available in the Ollama4j library, including total requests, response time, error rate, and active sessions.
- Provided examples of accessing metrics in Java and integrating with monitoring tools like Prometheus and Grafana.
- Included a warning note indicating that the documentation is a work in progress.
2025-10-01 01:14:21 +05:30
Amith Koujalgi
42a0034728
Merge pull request #203 from ollama4j/dependabot/npm_and_yarn/docs/docusaurus/preset-classic-3.9.1
...
CodeQL / Analyze (javascript) (push) Failing after 9s
CodeQL / Analyze (java) (push) Failing after 12s
Mark stale issues and PRs / stale (push) Failing after 1m31s
Mark stale issues / stale (push) Failing after 15s
Bump @docusaurus/preset-classic from 3.9.0 to 3.9.1 in /docs
1.1.1
2025-09-29 23:34:32 +05:30
dependabot[bot]
d8d660be8d
Bump @docusaurus/preset-classic from 3.9.0 to 3.9.1 in /docs
...
Bumps [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic ) from 3.9.0 to 3.9.1.
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.9.1/packages/docusaurus-preset-classic )
---
updated-dependencies:
- dependency-name: "@docusaurus/preset-classic"
dependency-version: 3.9.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-29 18:02:34 +00:00
Amith Koujalgi
c5a2d583c7
Merge pull request #202 from ollama4j/dependabot/npm_and_yarn/docs/docusaurus/theme-mermaid-3.9.1
...
Bump @docusaurus/theme-mermaid from 3.9.0 to 3.9.1 in /docs
2025-09-29 23:30:55 +05:30
dependabot[bot]
cd656264cf
Bump @docusaurus/theme-mermaid from 3.9.0 to 3.9.1 in /docs
...
Bumps [@docusaurus/theme-mermaid](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-theme-mermaid ) from 3.9.0 to 3.9.1.
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.9.1/packages/docusaurus-theme-mermaid )
---
updated-dependencies:
- dependency-name: "@docusaurus/theme-mermaid"
dependency-version: 3.9.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-29 14:24:20 +00:00
Amith Koujalgi
272c8204c7
Merge pull request #201 from ollama4j/dependabot/maven/org.jacoco-jacoco-maven-plugin-0.8.13
...
CodeQL / Analyze (javascript) (push) Failing after 11s
CodeQL / Analyze (java) (push) Failing after 14s
Mark stale issues / stale (push) Failing after 21s
Bump org.jacoco:jacoco-maven-plugin from 0.8.7 to 0.8.13
2025-09-29 19:05:43 +05:30
Amith Koujalgi
23c7321b63
Merge pull request #200 from ollama4j/dependabot/maven/org.apache.maven.plugins-maven-compiler-plugin-3.14.1
...
Bump org.apache.maven.plugins:maven-compiler-plugin from 3.14.0 to 3.14.1
2025-09-29 19:05:27 +05:30
Amith Koujalgi
e24a38f89f
Merge pull request #199 from ollama4j/dependabot/npm_and_yarn/docs/docusaurus/plugin-google-gtag-3.9.1
...
Bump @docusaurus/plugin-google-gtag from 3.9.0 to 3.9.1 in /docs
2025-09-29 19:05:15 +05:30
Amith Koujalgi
5847cfc94c
Merge pull request #198 from ollama4j/dependabot/maven/io.github.git-commit-id-git-commit-id-maven-plugin-9.0.2
...
Bump io.github.git-commit-id:git-commit-id-maven-plugin from 9.0.1 to 9.0.2
2025-09-29 19:05:02 +05:30
Amith Koujalgi
05d5958307
Merge pull request #197 from ollama4j/dependabot/maven/org.mockito-mockito-core-5.20.0
...
Bump org.mockito:mockito-core from 4.1.0 to 5.20.0
2025-09-29 19:04:48 +05:30
Amith Koujalgi
ffa81cb7df
Merge pull request #196 from ollama4j/dependabot/npm_and_yarn/docs/docusaurus/module-type-aliases-3.9.1
...
Bump @docusaurus/module-type-aliases from 3.9.0 to 3.9.1 in /docs
2025-09-29 19:04:22 +05:30
Amith Koujalgi
bd231e639d
Merge pull request #195 from ollama4j/dependabot/maven/com.diffplug.spotless-spotless-maven-plugin-3.0.0
...
Bump com.diffplug.spotless:spotless-maven-plugin from 2.46.1 to 3.0.0
2025-09-29 19:04:01 +05:30
Amith Koujalgi
73a0a48eab
Merge pull request #194 from ollama4j/refactor
...
Refactor OllamaAPI to Ollama class and update documentation
2025-09-29 14:12:34 +05:30
amithkoujalgi
fd18a247d7
Update GitHub Actions workflow to use Makefile for test execution
...
- Replaced Maven commands with Makefile targets for running unit and integration tests in the GitHub Actions workflow.
- Updated the commands to `make unit-tests` and `make integration-tests-basic` for improved consistency and maintainability.
2025-09-29 11:15:21 +05:30
amithkoujalgi
501c35fa44
Refactor integration test targets in Makefile and update workflow
...
- Renamed integration test targets in the Makefile for clarity: `integration-tests` to `integration-tests-all` and added `integration-tests-basic`.
- Updated GitHub Actions workflow to run the new `integration-tests-basic` target.
- Cleaned up the `WithAuth` test class by removing unused imports and simplifying method signatures.
2025-09-29 10:36:13 +05:30
amithkoujalgi
f114181fe2
Update documentation and refactor code to replace OllamaAPI
with Ollama
...
- Replaced all instances of `OllamaAPI` with `Ollama` in documentation and code examples for consistency.
- Enhanced the configuration for handling broken markdown links in Docusaurus.
- Updated integration tests and example code snippets to reflect the new class structure.
2025-09-29 09:31:32 +05:30
dependabot[bot]
b347faff83
Bump org.jacoco:jacoco-maven-plugin from 0.8.7 to 0.8.13
...
Bumps [org.jacoco:jacoco-maven-plugin](https://github.com/jacoco/jacoco ) from 0.8.7 to 0.8.13.
- [Release notes](https://github.com/jacoco/jacoco/releases )
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.7...v0.8.13 )
---
updated-dependencies:
- dependency-name: org.jacoco:jacoco-maven-plugin
dependency-version: 0.8.13
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-29 00:39:08 +00:00
dependabot[bot]
16e14ddd1c
Bump org.apache.maven.plugins:maven-compiler-plugin
...
Bumps [org.apache.maven.plugins:maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin ) from 3.14.0 to 3.14.1.
- [Release notes](https://github.com/apache/maven-compiler-plugin/releases )
- [Commits](https://github.com/apache/maven-compiler-plugin/compare/maven-compiler-plugin-3.14.0...maven-compiler-plugin-3.14.1 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-compiler-plugin
dependency-version: 3.14.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-29 00:39:07 +00:00
dependabot[bot]
2117d42f60
Bump @docusaurus/plugin-google-gtag from 3.9.0 to 3.9.1 in /docs
...
Bumps [@docusaurus/plugin-google-gtag](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-google-gtag ) from 3.9.0 to 3.9.1.
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.9.1/packages/docusaurus-plugin-google-gtag )
---
updated-dependencies:
- dependency-name: "@docusaurus/plugin-google-gtag"
dependency-version: 3.9.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-29 00:38:59 +00:00
dependabot[bot]
79b8dbaefd
Bump io.github.git-commit-id:git-commit-id-maven-plugin
...
Bumps [io.github.git-commit-id:git-commit-id-maven-plugin](https://github.com/git-commit-id/git-commit-id-maven-plugin ) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/git-commit-id/git-commit-id-maven-plugin/releases )
- [Commits](https://github.com/git-commit-id/git-commit-id-maven-plugin/compare/v9.0.1...v9.0.2 )
---
updated-dependencies:
- dependency-name: io.github.git-commit-id:git-commit-id-maven-plugin
dependency-version: 9.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-29 00:38:48 +00:00
dependabot[bot]
04f5c28052
Bump org.mockito:mockito-core from 4.1.0 to 5.20.0
...
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito ) from 4.1.0 to 5.20.0.
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v4.1.0...v5.20.0 )
---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
dependency-version: 5.20.0
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-29 00:38:48 +00:00
dependabot[bot]
a4da036389
Bump @docusaurus/module-type-aliases from 3.9.0 to 3.9.1 in /docs
...
Bumps [@docusaurus/module-type-aliases](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-module-type-aliases ) from 3.9.0 to 3.9.1.
- [Release notes](https://github.com/facebook/docusaurus/releases )
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/docusaurus/commits/v3.9.1/packages/docusaurus-module-type-aliases )
---
updated-dependencies:
- dependency-name: "@docusaurus/module-type-aliases"
dependency-version: 3.9.1
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-29 00:38:34 +00:00
dependabot[bot]
a73cf015d6
Bump com.diffplug.spotless:spotless-maven-plugin from 2.46.1 to 3.0.0
...
Bumps [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless ) from 2.46.1 to 3.0.0.
- [Release notes](https://github.com/diffplug/spotless/releases )
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md )
- [Commits](https://github.com/diffplug/spotless/compare/maven/2.46.1...lib/3.0.0 )
---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-maven-plugin
dependency-version: 3.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-29 00:38:19 +00:00
amithkoujalgi
35bf3de62a
Refactor OllamaAPI to Ollama class and update documentation
...
- Replaced instances of `OllamaAPI` with `Ollama` across the codebase for consistency.
- Updated example code snippets in documentation to reflect the new class name.
- Enhanced metrics collection setup in the documentation.
- Added integration tests for the new `Ollama` class to ensure functionality remains intact.
2025-09-28 23:30:02 +05:30
Amith Koujalgi
6fce6ec777
Merge pull request #183 from ollama4j/refactor
...
Mark stale issues / stale (push) Failing after 21s
Mark stale issues and PRs / stale (push) Failing after 1m33s
CodeQL / Analyze (javascript) (push) Failing after 11s
CodeQL / Analyze (java) (push) Failing after 13s
Refactor: with breaking changes
2025-09-28 23:11:19 +05:30
amithkoujalgi
61fe8b2b56
Refactor model response classes and update API methods
...
- Renamed `ModelProcessesResponse` to `ModelProcessesResult` and updated all related references in the codebase.
- Introduced `OllamaEmbedResult` class to replace `OllamaEmbedResponse`, ensuring consistency across the API.
- Updated method signatures in `OllamaAPI` to reflect the new class names and adjusted integration tests accordingly.
2025-09-28 22:52:24 +05:30
amithkoujalgi
dd1022a990
Add Javadoc generation to Makefile and refactor model classes
...
- Introduced a new `javadoc` target in the Makefile to generate Javadocs.
- Refactored model classes: renamed `ModelsProcessResponse` to `ModelProcessesResponse` and updated related references.
- Updated `OllamaEmbedRequestModel` and `OllamaEmbedResponseModel` to `OllamaEmbedRequest` and `OllamaEmbedResponse`, respectively, across the codebase.
- Added new classes for `OllamaEmbedRequest` and `OllamaEmbedResponse` to improve clarity and maintainability.
2025-09-28 22:46:37 +05:30
amithkoujalgi
36f7d14c68
Refactor OllamaAPI exception handling to properly manage InterruptedException and improve logging. Remove unused Logback Classic dependency from pom.xml and clean up commented-out code in integration tests.
2025-09-28 22:28:48 +05:30
amithkoujalgi
e9a4599714
Refactor exception handling by replacing OllamaBaseException with OllamaException across the codebase. Update relevant method signatures and import statements accordingly.
2025-09-28 22:01:17 +05:30
amithkoujalgi
e06507a06b
Merge branch 'main' into refactor
2025-09-28 18:09:55 +05:30
amithkoujalgi
195b54e07e
Update README.md
2025-09-28 18:09:37 +05:30
Amith Koujalgi
b05242873d
Merge pull request #186 from ollama4j/dependabot/npm_and_yarn/docs/iconify/react-6.0.2
...
CodeQL / Analyze (java) (push) Failing after 13s
CodeQL / Analyze (javascript) (push) Failing after 12s
Bump @iconify/react from 6.0.1 to 6.0.2 in /docs
2025-09-28 18:09:06 +05:30
Amith Koujalgi
eccb052de8
Merge pull request #187 from ollama4j/dependabot/maven/org.sonatype.plugins-nexus-staging-maven-plugin-1.7.0
...
Bump org.sonatype.plugins:nexus-staging-maven-plugin from 1.6.13 to 1.7.0
2025-09-28 18:08:53 +05:30
Amith Koujalgi
077dd36b3c
Merge pull request #185 from ollama4j/dependabot/npm_and_yarn/docs/docsearch/js-4.0.1
...
Bump @docsearch/js from 3.9.0 to 4.0.1 in /docs
2025-09-28 18:08:38 +05:30
Amith Koujalgi
6405b36854
Merge pull request #188 from ollama4j/dependabot/maven/org.apache.maven.plugins-maven-surefire-plugin-3.5.4
...
Bump org.apache.maven.plugins:maven-surefire-plugin from 3.0.0-M5 to 3.5.4
2025-09-28 18:08:21 +05:30
Amith Koujalgi
99f413282c
Merge pull request #189 from ollama4j/dependabot/maven/org.junit.jupiter-junit-jupiter-api-5.13.4
...
Bump org.junit.jupiter:junit-jupiter-api from 5.10.0 to 5.13.4
2025-09-28 18:07:41 +05:30