Commit Graph
270 Commits
Author SHA1 Message Date
John Oliver 6a83d02914 Mock input in tests 2024-02-28 12:16:27 +00:00
John Oliver 003c8463ca Java: Fix null check (#5225)
### 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-28 11:54:12 +00:00
Milder HernandezandDavid Grieve 62bc8c73d7 Java: Update ToolCallBehavior (#5058)
### 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: David Grieve <[email protected]>
2024-02-27 21:05:57 +00:00
David Grieve 4f5e975c7a Java: move BingConnector to samples/sample-code (#5221)
### 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-27 20:58:54 +00:00
John Oliver bc9d4cba11 Java: Implement a number of fixes from API review (#5201)
- Make constructors on classes that have builders protected
- Remove the addPlugin function from the kernel to make plugin set
immutable, in favour of adding a copy method for creating a clone of a
kernel that can have plugins added, i.e:
```
        kernel = kernel.copy()
                             .withPlugin(timePlugin)
                             .build()
```
- Add sync invocation methods in addition to async
- Add warning if `FunctionInvocation` is used in an unusual manner that
might indicate a bug
2024-02-27 15:34:12 -05: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 679bdb2180 Java: Apply various fixes from API review (#5043)
### 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 22:07:45 +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 8b95a8bad6 Java: Apply linting fixes (#5035)
### 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 20:09:38 +00:00
John Oliver 8791461451 Remove unused files 2024-02-15 16:52:53 +00:00
John Oliver 2ac1ecb46d Merge remote-tracking branch 'upstream/java-development' into java-v1 2024-02-15 16:44:01 +00:00
John Oliver 9cf3c82eb5 Fix compile 2024-02-15 15:24:43 +00:00
John Oliver 2c71ab1c28 Merge remote-tracking branch 'upstream/java-v1' into format-3 2024-02-15 15:15:53 +00:00
John Oliver d930438283 Java: Make KernelFunctionFactory calls fluent. Fix some hook related bugs (#5024)
### 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 15:14:01 +00:00
Milder HernandezandJohn Oliver 9bad62e425 Java: Add OpenAI function calling (#4937)
### 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: John Oliver <[email protected]>
2024-02-15 15:00:48 +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
David Grieve 7af8b909fa Java: SK v1 javadoc (#4990)
### 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-14 14:12:55 -05:00
John Oliver 1f56f7042c Format and remove old code 2024-02-14 18:56:03 +00:00
John Oliver 93cb6d67b5 Fix formatting 2024-02-14 18:25:03 +00:00
David Grieve a993a3da13 Merge branch 'java-v1' of github.com:microsoft/semantic-kernel into dsgrieve/v1-javadoc 2024-02-14 13:02:51 -05:00
David Grieve d09d1e6d1c null in javadoc should be {@code null} 2024-02-13 21:23:41 -05:00
David Grieve 1e9afe73d1 fix semantickernel-api javadoc errors and most warnings 2024-02-13 20:44:21 -05:00
David Grieve 491bb4c25b semantickernal-api javadoc 2024-02-13 16:38:42 -05:00
John Oliver 6df0f5517c Java: add a priority order to hook invocations. Remove withInvocationContext (#5004)
### 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 21:21:48 +00:00
David Grieve 4e4fe3d446 more javadoc 2024-02-13 15:42:04 -05:00
John Oliver 2110556d55 Java: Update redis and spring-starter versions (#4998)
### 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 18:44:04 +00:00
John Oliver d35757fa09 Fix java build 2024-02-13 14:24:07 +00:00
John Oliver ff19e9c833 Merge reddis connector 2024-02-13 14:22:50 +00:00
SandraAhlgrimm 1b2e2fbd50 Squashed commit of the following:
commit 538774d7c9
Merge: 1a5f7447c dcd7e1424
Author: Sandra Ahlgrimm <[email protected]>
Date:   Thu Feb 8 08:50:21 2024 +0100

    Merge branch 'main' into update-modelid

commit 1a5f7447ca
Merge: 699eec828 7e431953e
Author: Sandra Ahlgrimm <[email protected]>
Date:   Wed Feb 7 17:35:02 2024 +0100

    Merge branch 'main' into update-modelid

commit 699eec828d
Merge: 60cf261f8 7e431953e
Author: Sandra Ahlgrimm <[email protected]>
Date:   Wed Feb 7 10:30:34 2024 +0100

    Merge branch 'main' into update-modelid

commit 60cf261f8a
Merge: 2f726c2ab 3a7d3bdc5
Author: Sandra Ahlgrimm <[email protected]>
Date:   Wed Feb 7 10:22:51 2024 +0100

    Merge branch 'main' into update-modelid

commit 2f726c2ab0
Merge: 5bdbbd6e4 59508cab6
Author: John Oliver <[email protected]>
Date:   Tue Feb 6 13:02:30 2024 +0000

    Merge branch 'main' into update-modelid

commit 5bdbbd6e49
Merge: ffcf68cb6 eed51932f
Author: Sandra Ahlgrimm <[email protected]>
Date:   Fri Feb 2 22:44:25 2024 +0100

    Merge branch 'main' into update-modelid

commit ffcf68cb6d
Merge: 3a34f5db1 52e317a79
Author: Sandra Ahlgrimm <[email protected]>
Date:   Fri Feb 2 12:15:47 2024 +0100

    Merge branch 'main' into update-modelid

commit 3a34f5db19
Merge: 7933961f6 e58295123
Author: SandraAhlgrimm <[email protected]>
Date:   Fri Feb 2 12:15:13 2024 +0100

    Merge remote-tracking branch 'origin/update-modelid' into update-modelid

commit 7933961f6c
Author: SandraAhlgrimm <[email protected]>
Date:   Fri Feb 2 12:14:50 2024 +0100

    make Deployment Name optional and set modelid with default as requested in review

commit b74843e02e
Author: SandraAhlgrimm <[email protected]>
Date:   Fri Feb 2 12:13:39 2024 +0100

    make Deployment Name optional and set modelid with default as requested in review

commit e582951234
Merge: f7f1664b0 5953beb8b
Author: Sandra Ahlgrimm <[email protected]>
Date:   Fri Jan 26 22:56:33 2024 +0100

    Merge branch 'main' into update-modelid

commit f7f1664b04
Author: SandraAhlgrimm <[email protected]>
Date:   Fri Jan 26 22:51:38 2024 +0100

    spring boot starter gets tested with samples

commit be6cf95226
Author: SandraAhlgrimm <[email protected]>
Date:   Fri Jan 26 12:46:23 2024 +0100

    Need to use JDK 11 to build for JDK 8

commit 1af0f61ddd
Author: SandraAhlgrimm <[email protected]>
Date:   Fri Jan 26 12:43:16 2024 +0100

    Need to use JDK 11 to build for JDK 8

commit 5bebe6c43f
Author: SandraAhlgrimm <[email protected]>
Date:   Fri Jan 26 12:24:46 2024 +0100

    move starter to example package

commit 2f8a8398f4
Author: SandraAhlgrimm <[email protected]>
Date:   Fri Jan 26 10:14:20 2024 +0100

    switch back to jdk 8 and 17 as required by PM

commit 9fdf375fb3
Merge: 1e66ccb52 038ca4554
Author: SandraAhlgrimm <[email protected]>
Date:   Fri Jan 26 10:08:32 2024 +0100

    Merge branch 'main' of https://github.com/SandraAhlgrimm/semantic-kernel into update-modelid

    # Conflicts:
    #	.github/workflows/java-build.yml

commit 038ca4554a
Merge: 21d161af6 e0ccee0e1
Author: Sandra Ahlgrimm <[email protected]>
Date:   Fri Jan 26 10:03:52 2024 +0100

    Merge branch 'microsoft:main' into main

commit 21d161af6c
Merge: a40202602 44453276a
Author: Sandra Ahlgrimm <[email protected]>
Date:   Fri Jan 26 09:31:59 2024 +0100

    Merge pull request #1 from bbenz/main

    bbenz Update java-build.yml

commit a40202602d
Author: Sandra Ahlgrimm <[email protected]>
Date:   Fri Jan 26 09:31:19 2024 +0100

    Update java-build.yml

commit 44453276a9
Author: Brian Benz <[email protected]>
Date:   Thu Jan 25 16:07:29 2024 -0800

    bbenz Update java-build.yml

    Set JDK to 11 or 17

commit 1e66ccb528
Author: Sandra Ahlgrimm <[email protected]>
Date:   Thu Jan 25 21:32:07 2024 +0100

    Update java-build.yml

    update workflow as @bbenz suggested

commit b69342a813
Merge: 79627be66 e0ccee0e1
Author: Sandra Ahlgrimm <[email protected]>
Date:   Thu Jan 25 21:30:42 2024 +0100

    Merge branch 'microsoft:main' into update-modelid

commit 79627be66a
Author: SandraAhlgrimm <[email protected]>
Date:   Thu Jan 25 18:22:56 2024 +0100

    jdk 17 for spring boot starter

commit 14e17ad953
Merge: 4570ad288 00fbab2d3
Author: SandraAhlgrimm <[email protected]>
Date:   Wed Jan 24 21:41:47 2024 +0100

    Merge remote-tracking branch 'origin/update-modelid' into update-modelid

commit 4570ad2889
Author: SandraAhlgrimm <[email protected]>
Date:   Wed Jan 24 21:41:14 2024 +0100

    cleaned up and ready for PR

commit 00fbab2d3e
Author: Sandra Ahlgrimm <[email protected]>
Date:   Wed Jan 24 21:39:57 2024 +0100

    Update java-integration-tests.yml

commit f5baf9ee28
Merge: f76a4b014 f95925622
Author: Sandra Ahlgrimm <[email protected]>
Date:   Wed Jan 24 21:33:28 2024 +0100

    Merge branch 'microsoft:main' into update-modelid

commit f76a4b014d
Merge: a8cf41e5e e4874bb79
Author: Sandra Ahlgrimm <[email protected]>
Date:   Mon Jan 22 16:08:03 2024 +0100

    Merge branch 'microsoft:main' into update-modelid

commit a8cf41e5ef
Author: SandraAhlgrimm <[email protected]>
Date:   Mon Jan 22 16:03:22 2024 +0100

    cleaned up and ready for PR

commit 8d3d26afc8
Author: SandraAhlgrimm <[email protected]>
Date:   Thu Jan 18 22:43:40 2024 +0100

    maven still needs a cleanup

commit f811bc3edf
Merge: 43b0a7f7c c87e45e52
Author: SandraAhlgrimm <[email protected]>
Date:   Wed Jan 17 22:27:39 2024 +0100

    Merge remote-tracking branch 'origin/update-modelid' into update-modelid

commit c87e45e52f
Merge: 355eb6876 fe23d4161
Author: Sandra Ahlgrimm <[email protected]>
Date:   Wed Jan 17 22:20:29 2024 +0100

    Merge branch 'microsoft:main' into update-modelid

commit 43b0a7f7cf
Author: SandraAhlgrimm <[email protected]>
Date:   Wed Jan 17 22:19:31 2024 +0100

    add tests, maven needs a cleanup

commit 355eb68765
Merge: 4277528ea f9bef6375
Author: Sandra Ahlgrimm <[email protected]>
Date:   Tue Jan 16 15:40:51 2024 +0100

    Merge branch 'microsoft:main' into update-modelid

commit 4277528ea0
Merge: f2cab027e 9db47e561
Author: Sandra Ahlgrimm <[email protected]>
Date:   Mon Jan 8 14:22:56 2024 +0100

    Merge branch 'microsoft:main' into update-modelid

commit f2cab027ec
Author: SandraAhlgrimm <[email protected]>
Date:   Fri Jan 5 16:58:21 2024 +0100

    update maven dependencies, test needs to be finished

commit ec31872597
Author: SandraAhlgrimm <[email protected]>
Date:   Fri Jan 5 15:52:49 2024 +0100

    add spring boot starter

commit ff87caa4ed
Merge: c1ccfe087 11369bf28
Author: SandraAhlgrimm <[email protected]>
Date:   Fri Jan 5 13:16:21 2024 +0100

    Merge remote-tracking branch 'origin/update-modelid' into update-modelid

commit c1ccfe0874
Author: SandraAhlgrimm <[email protected]>
Date:   Fri Jan 5 13:16:08 2024 +0100

    add spring boot starter

commit 11369bf289
Merge: ac73cb85e 833a2d7b8
Author: Sandra Ahlgrimm <[email protected]>
Date:   Fri Jan 5 13:13:37 2024 +0100

    Merge branch 'microsoft:main' into update-modelid

commit ac73cb85ee
Merge: c1f4ef8fb 4b9dbed30
Author: SandraAhlgrimm <[email protected]>
Date:   Fri Jan 5 13:11:50 2024 +0100

    Merge branch 'update-modelid' of https://github.com/SandraAhlgrimm/semantic-kernel into update-modelid

commit c1f4ef8fb1
Author: SandraAhlgrimm <[email protected]>
Date:   Fri Jan 5 13:06:20 2024 +0100

    add spring boot starter

commit 4b9dbed305
Merge: 9da9b386a aa62b14d7
Author: John Oliver <[email protected]>
Date:   Thu Jan 4 12:46:38 2024 +0000

    Merge branch 'main' into update-modelid

commit 53d4bf7f50
Author: SandraAhlgrimm <[email protected]>
Date:   Wed Jan 3 20:14:32 2024 +0100

    add spring boot starter

commit 9da9b386ad
Merge: a3782cfc6 79908b0cf
Author: Sandra Ahlgrimm <[email protected]>
Date:   Wed Jan 3 13:24:58 2024 +0100

    Merge branch 'main' into update-modelid

commit a3782cfc6f
Merge: a6930990b 240a2cbea
Author: Sandra Ahlgrimm <[email protected]>
Date:   Fri Dec 22 11:40:14 2023 +0100

    Merge branch 'microsoft:main' into update-modelid

commit a6930990be
Author: SandraAhlgrimm <[email protected]>
Date:   Fri Dec 22 11:38:59 2023 +0100

    update modelid to the available davinci-002 on Azure Open AI
2024-02-13 14:21:28 +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 7e5c36f06a Java: Add header to Java openai call (#4972)
### 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:07:48 +00:00
David Grieve 9b966296a6 javadoc 2024-02-12 21:22:10 -05:00
John Oliver b2bfff2073 Java: Complete rename from skill to plugin (#4971)
Closes #1576
2024-02-12 21:17:39 +00:00
David Grieve 46a1390160 Java: Remove KernelFunctionCollection from public API (#4955)
### Motivation and Context
Simplify the API

### Description
Use KernelFunctionCollection internally from Kernel. Add a couple of
methods to Kernel to add/get a KernelPlugin
<!-- 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: -->

- [X] The code builds clean without any errors or warnings
- [x] 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
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
2024-02-12 12:10:12 -05:00
John Oliver 83988b9374 Java: Version bumps (#4968)
### 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-12 12:04:34 -05:00
David Grieve 99115ab81b Merge branch 'java-v1' of github.com:microsoft/semantic-kernel into fluent-kernel-functions 2024-02-08 13:59:00 -05:00
John Oliver b205edfb93 fixes from review 2024-02-07 22:55:58 +00:00
John Oliver 8ba1ac0549 Java: Add fluent invocations (#4908)
### 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-07 17:13:58 -05:00
John Burke 0ed68b7e7d Java17 - Remove Double Brace - vectorSize/queryDialect - Use timestamp 2024-02-07 16:20:51 -05:00
j8-redis cc991996f3 Update RedisMemoryStore.java
fix return - empty maps should return Mono.empty()
2024-02-07 16:17:49 -05:00
John Burke 4e23aea595 initial commit of SemanticKernel Redis Connector 2024-02-07 16:17:49 -05:00
John Oliver 5c10869c76 Fixes from review and add type converters to the InvocationContext 2024-02-07 20:28:10 +00:00
John Oliver 4187b30a31 Fix linting errors 2024-02-06 22:30:58 +00:00