Commit Graph

1065 Commits

Author SHA1 Message Date
Amith Koujalgi
970d54bcb5 Merge pull request #217 from ollama4j/dependabot/maven/org.sonatype.central-central-publishing-maven-plugin-0.9.0
Bump org.sonatype.central:central-publishing-maven-plugin from 0.8.0 to 0.9.0
2025-10-23 11:18:26 +05:30
Amith Koujalgi
e326936d3d Merge pull request #211 from ollama4j/dependabot/github_actions/github/codeql-action-4
Bump github/codeql-action from 3 to 4
2025-10-23 11:18:08 +05:30
Amith Koujalgi
9b916480b2 Merge pull request #216 from ollama4j/dependabot/maven/org.jacoco-jacoco-maven-plugin-0.8.14
Bump org.jacoco:jacoco-maven-plugin from 0.8.13 to 0.8.14
2025-10-23 11:17:56 +05:30
Amith Koujalgi
83d292671a Merge pull request #210 from ollama4j/snyk-upgrade-8a0a753719bdd0b263a1412cd892d136
[Snyk] Upgrade org.projectlombok:lombok from 1.18.40 to 1.18.42
2025-10-23 11:17:39 +05:30
Amith Koujalgi
849ae77712 Merge pull request #220 from ollama4j/dependabot/maven/ch.qos.logback-logback-classic-1.5.20
Bump ch.qos.logback:logback-classic from 1.5.18 to 1.5.20
2025-10-23 11:16:07 +05:30
Amith Koujalgi
fcd0fbe4b3 Merge pull request #221 from ollama4j/dependabot/npm_and_yarn/docs/docusaurus/plugin-google-gtag-3.9.2
Bump @docusaurus/plugin-google-gtag from 3.9.1 to 3.9.2 in /docs
2025-10-23 11:13:56 +05:30
dependabot[bot]
1fbfe8a18c Bump @docusaurus/plugin-google-gtag from 3.9.1 to 3.9.2 in /docs
Bumps [@docusaurus/plugin-google-gtag](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-google-gtag) from 3.9.1 to 3.9.2.
- [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.2/packages/docusaurus-plugin-google-gtag)

---
updated-dependencies:
- dependency-name: "@docusaurus/plugin-google-gtag"
  dependency-version: 3.9.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-22 12:04:31 +00:00
Amith Koujalgi
23785bb5b7 Merge pull request #222 from ollama4j/dependabot/npm_and_yarn/docs/docusaurus/core-3.9.2
Some checks failed
CodeQL / Analyze (java) (push) Failing after 11s
CodeQL / Analyze (javascript) (push) Failing after 8s
Mark stale issues / stale (push) Failing after 12s
Mark stale issues and PRs / stale (push) Failing after 10s
Bump @docusaurus/core from 3.9.1 to 3.9.2 in /docs
2025-10-22 17:33:09 +05:30
dependabot[bot]
00cd2a0adf Bump @docusaurus/core from 3.9.1 to 3.9.2 in /docs
Bumps [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus) from 3.9.1 to 3.9.2.
- [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.2/packages/docusaurus)

---
updated-dependencies:
- dependency-name: "@docusaurus/core"
  dependency-version: 3.9.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-22 07:34:56 +00:00
Amith Koujalgi
49fac9d2cf Merge pull request #223 from ollama4j/dependabot/npm_and_yarn/docs/docusaurus/module-type-aliases-3.9.2
Some checks failed
CodeQL / Analyze (java) (push) Failing after 8s
CodeQL / Analyze (javascript) (push) Failing after 6s
Bump @docusaurus/module-type-aliases from 3.9.1 to 3.9.2 in /docs
2025-10-22 13:03:22 +05:30
amithkoujalgi
a0c1184e7b Merge remote-tracking branch 'origin/main'
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 8s
CodeQL / Analyze (java) (push) Failing after 10s
Mark stale issues / stale (push) Failing after 12s
Mark stale issues and PRs / stale (push) Failing after 29s
2025-10-20 22:49:45 +05:30
Amith Koujalgi
8c485edb32 Merge pull request #224 from ollama4j/feature/agent
Added a new feature - `agents`
1.1.2
2025-10-20 22:41:34 +05:30
amithkoujalgi
7ce89a3e89 Update Javadoc in Agent class to reflect changes in the interact method signature, now including an OllamaChatStreamObserver parameter for improved conversation handling. 2025-10-20 22:31:04 +05:30
Amith Koujalgi
fe43e87e1a Enhance agent documentation with detailed YAML configuration instructions and benefits. Update CodeEmbed component to support customizable language for syntax highlighting. Refactor Agent class to improve Javadoc comments and method signatures for better clarity and functionality. 2025-10-20 20:07:15 +05:30
dependabot[bot]
f49c6d162a Bump @docusaurus/module-type-aliases from 3.9.1 to 3.9.2 in /docs
Bumps [@docusaurus/module-type-aliases](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-module-type-aliases) from 3.9.1 to 3.9.2.
- [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.2/packages/docusaurus-module-type-aliases)

---
updated-dependencies:
- dependency-name: "@docusaurus/module-type-aliases"
  dependency-version: 3.9.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 00:50:44 +00:00
dependabot[bot]
751f2585b4 Bump ch.qos.logback:logback-classic from 1.5.18 to 1.5.20
Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback) from 1.5.18 to 1.5.20.
- [Release notes](https://github.com/qos-ch/logback/releases)
- [Commits](https://github.com/qos-ch/logback/compare/v_1.5.18...v_1.5.20)

---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-classic
  dependency-version: 1.5.20
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 00:48:33 +00:00
Amith Koujalgi
d55d1c0fd9 Update Javadoc comments in Ollama and Agent classes to reflect correct method references for chat request construction and agent instantiation. 2025-10-19 14:34:21 +05:30
Amith Koujalgi
f0e5a9e172 Add documentation for the new Agent feature and update sidebar positions for Metrics and API categories. Adjust code examples in various API documentation to reflect correct paths and improve clarity. Enhance the Agent class with an equals and hash code method for better functionality. 2025-10-19 14:03:10 +05:30
amithkoujalgi
866c08f590 Remove SampleAgent class and associated YAML configuration file, streamlining the project by eliminating example implementations and their dependencies. 2025-10-19 11:22:16 +05:30
amithkoujalgi
bec634dd37 Refactor Agent class to include request timeout configuration and enhance interactive input display. Remove commented-out code for clarity. Update SampleAgent to utilize YAML configuration for agent instantiation. 2025-10-18 20:19:43 +05:30
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
dependabot[bot]
eee8fe5755 Bump org.sonatype.central:central-publishing-maven-plugin
Bumps [org.sonatype.central:central-publishing-maven-plugin](https://github.com/sonatype/central-publishing-maven-plugin) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/sonatype/central-publishing-maven-plugin/commits)

---
updated-dependencies:
- dependency-name: org.sonatype.central:central-publishing-maven-plugin
  dependency-version: 0.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 00:42:34 +00:00
dependabot[bot]
a7a030b9b0 Bump org.jacoco:jacoco-maven-plugin from 0.8.13 to 0.8.14
Bumps [org.jacoco:jacoco-maven-plugin](https://github.com/jacoco/jacoco) from 0.8.13 to 0.8.14.
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.13...v0.8.14)

---
updated-dependencies:
- dependency-name: org.jacoco:jacoco-maven-plugin
  dependency-version: 0.8.14
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 00:42:20 +00:00
dependabot[bot]
ecfbc1b394 Bump github/codeql-action from 3 to 4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 00:32:45 +00:00
snyk-bot
ceb1e6f338 fix: upgrade org.projectlombok:lombok from 1.18.40 to 1.18.42
Snyk has created this PR to upgrade org.projectlombok:lombok from 1.18.40 to 1.18.42.

See this package in maven:
org.projectlombok:lombok

See this project in Snyk:
https://app.snyk.io/org/koujalgi.amith/project/e4176cf5-c6db-4650-af21-3778aa308d33?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-10-11 08:36:43 +00:00
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.
Some checks failed
Mark stale issues / stale (push) Failing after 12s
Mark stale issues and PRs / stale (push) Failing after 8s
CodeQL / Analyze (java) (push) Failing after 11s
CodeQL / Analyze (javascript) (push) Failing after 10s
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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