Skip to content

Python: Fix Ollama settings issue with structured outputs - #12355 #12386

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xyang2013
Copy link

Issue heading:
Python: New Feature: OllamaChatPromptExecutionSettings does not support structured outputs #12355

Link:
#12355

@xyang2013 xyang2013 requested a review from a team as a code owner June 5, 2025 07:04
@markwallace-microsoft markwallace-microsoft added the python Pull requests for the Python Semantic Kernel label Jun 5, 2025
@github-actions github-actions bot changed the title Fix Ollama settings issue with structured outputs - #12355 Python: Fix Ollama settings issue with structured outputs - #12355 Jun 5, 2025
@moonbox3
Copy link
Contributor

moonbox3 commented Jun 5, 2025

Hi @xyang2013, thanks for creating a PR for this. You'll want to make sure you properly set up your dev env so that you can install the pre-commit hooks. This will ensure that all checks have passed locally - like ruff and others. You can follow our setup guide here: https://github.com/microsoft/semantic-kernel/blob/main/python/DEV_SETUP.md#using-uv.

There are also some unit tests failing: https://github.com/microsoft/semantic-kernel/actions/runs/15460655067/job/43533345701?pr=12386#step:5:604. Please have a look, thank you.

@xyang2013
Copy link
Author

Thanks, @moonbox3. I’ll take a look at the documentation later.

Does that mean I need to update not only the Ollama settings file but also the associated unit tests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Pull requests for the Python Semantic Kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants