Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Net: Removing IsSemantic and IsAsync properties from ISKFunction and FunctionView #2881

Merged
merged 14 commits into from
Sep 20, 2023

Conversation

shawncal
Copy link
Member

@shawncal shawncal commented Sep 19, 2023

Motivation and Context

The Kernel no longer differentiates between Native and Semantic functions, nor between async and synchronous functions. These are abstractions that are resolved internally.

Description

ISKFunction

  • Removing IsSemantic
  • Updating tests and callers

FunctionView

  • Removing IsSemantic
  • Removing IsAsync
  • Updating tests and callers

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
  • All unit tests pass, and I have added new tests where possible
  • I didn't break anyone 😄
    BREAKING CHANGE - due to change in public APIs. Low impact.

@shawncal shawncal added .NET Issue or Pull requests regarding .NET code kernel.core PR: breaking change Pull requests that introduce breaking changes labels Sep 19, 2023
@shawncal shawncal requested a review from a team as a code owner September 19, 2023 01:36
@shawncal shawncal added the kernel Issues or pull requests impacting the core kernel label Sep 19, 2023
Copy link
Member

@RogerBarreto RogerBarreto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestions.

Copy link
Member

@RogerBarreto RogerBarreto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@markwallace-microsoft markwallace-microsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shawncal shawncal added this pull request to the merge queue Sep 20, 2023
Merged via the queue into microsoft:main with commit d494b7a Sep 20, 2023
18 checks passed
@shawncal shawncal deleted the issemantic-removal-sep18 branch September 20, 2023 23:26
SOE-YoungS pushed a commit to SOE-YoungS/semantic-kernel that referenced this pull request Nov 1, 2023
… FunctionView (microsoft#2881)

### Motivation and Context
The Kernel no longer differentiates between Native and Semantic
functions, nor between async and synchronous functions. These are
abstractions that are resolved internally.

### Description
ISKFunction
 - Removing IsSemantic
 - Updating tests and callers

FunctionView
 - Removing IsSemantic
 - Removing IsAsync
 - Updating tests and callers

### Contribution Checklist
- [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
- [ ] I didn't break anyone 😄
   BREAKING CHANGE - due to change in public APIs. Low impact.

---------

Co-authored-by: Mark Wallace <127216156+markwallace-microsoft@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code PR: breaking change Pull requests that introduce breaking changes
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

5 participants