Skip to content

Conversation

@baverkral04
Copy link
Contributor

the right docstring is added and the schema generation is being tested and the generation process is being documented in the docs

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR replaces traditional docstrings with JSON schema documentation for the ai functions in both the recipe wrangles and generate modules. The change documents the schema generation process and provides structured metadata for API validation.

  • Removes narrative docstrings with code examples
  • Adds JSON Schema-formatted documentation within docstrings
  • Maintains consistent schema structure across both recipe_wrangles/generate.py and generate.py

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
wrangles/recipe_wrangles/generate.py Replaces traditional docstring with JSON schema documentation for the recipe-level ai function
wrangles/generate.py Adds JSON schema documentation to the core ai function

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants