Skip to content

Conversation

@Amnah199
Copy link
Contributor

@Amnah199 Amnah199 commented Nov 19, 2025

Related Issues

Proposed Changes:

  • Update the docstrings
  • support serialization of pydantic models
  • Add an example

How did you test it?

  • Updated a unit test
  • Added integration tests

Notes for the reviewer

Checklist

@github-actions github-actions bot added the type:documentation Improvements or additions to documentation label Nov 19, 2025
@Amnah199 Amnah199 marked this pull request as ready for review November 19, 2025 22:43
@Amnah199 Amnah199 requested a review from a team as a code owner November 19, 2025 22:43
@Amnah199 Amnah199 requested review from anakin87 and removed request for a team November 19, 2025 22:43
Copy link
Member

@anakin87 anakin87 left a comment

Choose a reason for hiding this comment

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

I just left two minor comments

Comment on lines +23 to +25
@pytest.fixture
def calendar_event_model():
return CalendarEvent
Copy link
Member

Choose a reason for hiding this comment

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

nit: in this case, I don't see particular advantages in defining a fixture

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The model is used twice in tests. Might be helpful in future or should I remove the fixture?

Copy link
Member

Choose a reason for hiding this comment

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

No strong opinions from me 😄

@Amnah199 Amnah199 merged commit 4b46384 into main Nov 23, 2025
6 checks passed
@Amnah199 Amnah199 deleted the structured-outputs-llama-stack branch November 23, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration:llama_stack type:documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate structured outputs support in OpenAI-based integrations

3 participants