Commit Graph
106 Commits
Author SHA1 Message Date
GitHub 98c034114f [maven-release-plugin] prepare for next development iteration 2024-05-22 22:40:34 +01:00
GitHub 4df2fb27cd [maven-release-plugin] prepare release java-1.1.4 2024-05-22 22:40:33 +01:00
John Oliver 8b55f2b702 Java: Add example of a multi turnaround chat with tool calls. Fixes bug with serializing tool call arguments (#6372)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
2024-05-22 21:36:34 +00:00
GitHub 72f05104ed [maven-release-plugin] prepare for next development iteration 2024-05-20 19:49:54 +01:00
GitHub f2152e1846 [maven-release-plugin] prepare release java-1.1.3 2024-05-20 19:49:54 +01:00
GitHub 85f4d15bd5 [maven-release-plugin] prepare for next development iteration 2024-05-17 16:44:17 +01:00
GitHub 8b12fee509 [maven-release-plugin] prepare release java-1.1.2 2024-05-17 16:44:16 +01:00
GitHub 6352aba4fe [maven-release-plugin] prepare for next development iteration 2024-05-17 16:01:36 +01:00
GitHub 546b8b3972 [maven-release-plugin] prepare release java-1.1.1 2024-05-17 16:01:36 +01:00
John Oliver 555a1799e8 Java: Upgrade azure-ai-openai to 1.0.0-beta.8 (#6312)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
2024-05-17 14:58:13 +00:00
GitHub a207f9a67b [maven-release-plugin] prepare for next development iteration 2024-05-17 14:22:31 +01:00
GitHub 68a11cbf8e [maven-release-plugin] prepare release java-1.1.0 2024-05-17 14:22:30 +01:00
John Oliver 1f1fc97cf0 Java: Apply a number of fixes from API review (#6252)
- Remove default chat history message, fixes #6222
- Allow setting deploymentName, fixes #6229
- Fix some samples
2024-05-16 19:48:32 +00:00
John Oliver d92ad4f33e Java: Java Reorg demos (#6004)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
2024-05-13 21:05:40 +00:00
John Oliver 828998da65 Java: Skip spotless on Java 8 (#6219)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
2024-05-13 16:14:47 +00:00
GitHub 8d158e5c43 [maven-release-plugin] prepare for next development iteration 2024-04-30 14:13:17 +01:00
GitHub c31fad1c8f [maven-release-plugin] prepare release java-1.0.2 2024-04-30 14:13:16 +01:00
John Oliver 33d8e2b613 Java: Ensure xml is unescaped before sending to LLM (#5984)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
2024-04-24 12:42:48 +01:00
John Oliver c418266ae3 Java: Fix required tool call being requested multiple times (#5962)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
2024-04-24 11:41:23 +01:00
John Oliver 0a7f96ae4b Java: Add OpenApi plugin importer and upgrade tool calling to cover more usecases (#5829)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
2024-04-19 14:28:34 +01:00
GitHub 2634fb686d [maven-release-plugin] prepare for next development iteration 2024-04-10 13:53:11 +01:00
GitHub 477e5e3a94 [maven-release-plugin] prepare release java-1.0.1 2024-04-10 13:53:11 +01:00
GitHub 9e27b9d302 [maven-release-plugin] prepare for next development iteration 2024-03-28 15:47:09 +00:00
GitHub 2184cda1b8 [maven-release-plugin] prepare release java-1.0.0 2024-03-28 15:47:09 +00:00
GitHub 98196fa5da Release 2024-03-28 15:45:20 +00:00
GitHub 048e417867 [maven-release-plugin] prepare for next development iteration 2024-03-28 15:33:51 +00:00
GitHub b1149622d3 [maven-release-plugin] prepare release java-1.0.0-rc3 2024-03-28 15:33:51 +00:00
John Oliver decf756f28 Java: Fix importing multiple plugin functions (#5679)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
2024-03-27 12:03:13 -04:00
John Oliver a0d6073ef3 Java: Add Plugin sample (#5601)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
2024-03-27 12:46:58 +00:00
John Oliver c38b236c20 Java: Add example of handlebars subexpressions (#5448)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
2024-03-15 14:38:18 +00:00
David Grieve 9ca051aaf4 Java: some unit tests for semanticfunctions and resulting code changes (#5382)
Fixes 5187
2024-03-12 15:28:41 +00:00
John Oliver 1d014dd05c Java: add ToolCallBehaviour test (#5268)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
2024-03-04 13:21:49 -05:00
GitHub db22d2abf4 [maven-release-plugin] prepare for next development iteration 2024-02-28 12:30:41 +00:00
GitHub 6b1c4f9f46 [maven-release-plugin] prepare release java-1.0.0-rc2 2024-02-28 12:30:41 +00:00
John Oliver 6a83d02914 Mock input in tests 2024-02-28 12:16:27 +00:00
David Grieve d3722939dc Java: remove plugins/semantickernel-plugins-core (#5199)
resolves #5190
2024-02-27 15:38:07 +00:00
John Oliver 4c26f4abd0 Java: Update handlebars function calling (#5122)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
2024-02-26 14:31:00 -05:00
John OliverandGitHub f5cca08b91 Java: Convert PromptTemplateConfig and ChatMessageContent to immutable (#5067)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄

---------

Co-authored-by: GitHub <[email protected]>
2024-02-22 13:35:25 +00:00
GitHub e5bb1f3a50 [maven-release-plugin] prepare for next development iteration 2024-02-16 15:36:41 +00:00
GitHub 44c4e15de1 [maven-release-plugin] prepare release java-1.0.0-rc1 2024-02-16 15:36:41 +00:00
John Oliver bd0593968d Java: Small fixes from API review (#5053)
- Make some enums upper case
- Update service loader file names to be in sync with new package
structure
- Exclude implementation packages from javadoc
2024-02-16 15:34:37 +00:00
John Oliver 31c9d5d186 Java: Apply proposed package reorg (#5039)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
2024-02-15 21:58:20 +00:00
John Oliver 640eed80f0 Merge branch 'fluent-function-factory' into format-3 2024-02-15 13:55:11 +00:00
John Oliver 73caad5286 Removed KernelFunctionFactory. Added AiServiceCollection. Relocated internel classes to implementation package 2024-02-15 13:46:46 +00:00
John Oliver 14142051dd Make KernelFunctionFactory calls fluent. Fix some hook related bugs 2024-02-14 22:32:22 +00:00
John Oliver 1f56f7042c Format and remove old code 2024-02-14 18:56:03 +00:00
John Oliver 7d374d12a5 Java: Tidy poms (#4989)
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
2024-02-13 12:08:48 +00:00
John Oliver b2bfff2073 Java: Complete rename from skill to plugin (#4971)
Closes #1576
2024-02-12 21:17:39 +00:00
John Oliver 20c8fda6ef Split out InvocationContext 2024-02-06 21:55:09 +00:00
John Oliver 757474e252 Add fluent invocations 2024-02-06 21:26:07 +00:00