Skip to content

Java - Improve NativeFunction support#1202

Merged
markwallace-microsoft merged 1 commit intomicrosoft:experimental-javafrom
johnoliver:moretesting-5
May 25, 2023
Merged

Java - Improve NativeFunction support#1202
markwallace-microsoft merged 1 commit intomicrosoft:experimental-javafrom
johnoliver:moretesting-5

Conversation

@johnoliver
Copy link
Member

  • Add support for SKFunctionInputAttribute.
  • Detect if there is a single string and use it as input.
  • Add tests for the NativeFunction

Motivation and Context

Description

Contribution Checklist

… string and use it as input. Add tests for the NativeFunction
@lemillermicrosoft lemillermicrosoft added feature branch PR targeting a feature branch java Issue or PR regarding Java code labels May 24, 2023
@markwallace-microsoft markwallace-microsoft merged commit 6e04c18 into microsoft:experimental-java May 25, 2023
johnoliver added a commit to johnoliver/semantic-kernel that referenced this pull request Jun 5, 2024
- Add support for SKFunctionInputAttribute. 
- Detect if there is a single string and use it as input. 
- Add tests for the NativeFunction

### 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 SK Contribution Guidelines
(https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
- [ ] The code follows the .NET coding conventions
(https://learn.microsoft.com/dotnet/csharp/fundamentals/coding-style/coding-conventions)
verified with `dotnet format`
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
johnoliver added a commit to johnoliver/semantic-kernel that referenced this pull request Jun 5, 2024
- Add support for SKFunctionInputAttribute. 
- Detect if there is a single string and use it as input. 
- Add tests for the NativeFunction

### 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 SK Contribution Guidelines
(https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
- [ ] The code follows the .NET coding conventions
(https://learn.microsoft.com/dotnet/csharp/fundamentals/coding-style/coding-conventions)
verified with `dotnet format`
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature branch PR targeting a feature branch java Issue or PR regarding Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants