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: New Feature: Support ResponseFormat in OllamaPromptExecutionSettings #9919

Open
Lanayx opened this issue Dec 10, 2024 · 1 comment
Open
Assignees
Labels
.NET Issue or Pull requests regarding .NET code python Pull requests for the Python Semantic Kernel

Comments

@Lanayx
Copy link

Lanayx commented Dec 10, 2024


name: Feature request
about: Suggest an idea for this project


Now as Ollama supports structured outputs, it's OllamaPromptExecutionSettings can support ResponseFormat similar to OpenAIPromptExecutionSettings

@moonbox3 moonbox3 added python Pull requests for the Python Semantic Kernel .NET Issue or Pull requests regarding .NET code labels Dec 10, 2024
@github-actions github-actions bot changed the title New Feature: Support ResponseFormat in OllamaPromptExecutionSettings Python: New Feature: Support ResponseFormat in OllamaPromptExecutionSettings Dec 10, 2024
@github-actions github-actions bot changed the title Python: New Feature: Support ResponseFormat in OllamaPromptExecutionSettings .Net: New Feature: Support ResponseFormat in OllamaPromptExecutionSettings Dec 10, 2024
@sphenry sphenry removed the triage label Dec 10, 2024
@sphenry sphenry moved this to Backlog in Semantic Kernel Dec 10, 2024
@crazyfox55
Copy link

For anyone trying to be on the cutting edge with these structured outputs, just use the OpenAI connector and change the client url to "localhost:xyzport/v1" and apikey "ollama". Then, OpenAI execution settings will still work even though it's making a request to the local instance.

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 python Pull requests for the Python Semantic Kernel
Projects
Status: Backlog
Development

No branches or pull requests

6 participants