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: Create sample show how to combine function calling on on your data #10179

Closed
markwallace-microsoft opened this issue Jan 14, 2025 · 0 comments · Fixed by #10261
Closed
Assignees
Labels
.NET Issue or Pull requests regarding .NET code sk team issue A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)

Comments

@markwallace-microsoft
Copy link
Member

There is a workaround for the known issue described here: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/openai/Azure.AI.OpenAI/README.md#use-your-own-data-with-azure-openai

Can we build an SK sample which shows how to achieve the same using our API's?

@markwallace-microsoft markwallace-microsoft moved this to Sprint: Planned in Semantic Kernel Jan 14, 2025
@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code triage and removed triage labels Jan 14, 2025
@github-actions github-actions bot changed the title Create sample show how to combine function calling on on your data .Net: Create sample show how to combine function calling on on your data Jan 14, 2025
@markwallace-microsoft markwallace-microsoft added the sk team issue A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community) label Jan 14, 2025
@dmytrostruk dmytrostruk moved this from Sprint: Planned to Sprint: In Progress in Semantic Kernel Jan 21, 2025
@dmytrostruk dmytrostruk moved this from Sprint: In Progress to Sprint: In Review in Semantic Kernel Jan 22, 2025
github-merge-queue bot pushed a commit that referenced this issue Jan 24, 2025
#10261)

### 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.
-->

Resolves: #10179

This PR contains an example which shows how to use Azure OpenAI Chat
Completion with data and function calling.

**Note:** Data source and function calling are not supported in a single
request. Enabling both features will result in the function calling
information being ignored and the operation behaving as if only the data
source was provided. The provided example shows how to address this
limitation.

### 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 😄
@markwallace-microsoft markwallace-microsoft moved this from Sprint: In Review to Sprint: Done in Semantic Kernel Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.NET Issue or Pull requests regarding .NET code sk team issue A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)
Projects
Status: Sprint: Done
Development

Successfully merging a pull request may close this issue.

2 participants