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

feat(examples): templates examples ts parity #480

Merged
merged 3 commits into from
Mar 5, 2025

Conversation

ajbozarth
Copy link
Member

Which issue(s) does this pull-request address?

Ref #336

Description

Brings the templates examples to parity with TS

  • Adds arrays.py, forking.py, and objects.py
  • Renames and updates basic_function.py to functions.py and agent_sys_prompt.py to system_prompt.py
  • Update basic_template.py and the rest with __main__ blocks so they'll run in e2e tests
  • Update docs
  • Small type fix in PromptTemplateInput

Checklist

Signed-off-by: Alex Bozarth <ajbozart@us.ibm.com>
@ajbozarth ajbozarth added documentation Improvements or additions to documentation enhancement New feature or request test python Python related functionality labels Mar 5, 2025
@ajbozarth ajbozarth self-assigned this Mar 5, 2025
@ajbozarth ajbozarth requested a review from a team as a code owner March 5, 2025 01:10
Signed-off-by: Alex Bozarth <ajbozart@us.ibm.com>
Copy link
Contributor

@AngeloDanducci AngeloDanducci left a comment

Choose a reason for hiding this comment

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

LGTM

@ajbozarth ajbozarth merged commit 8648d01 into i-am-bee:main Mar 5, 2025
2 checks passed
@ajbozarth ajbozarth deleted the template_examples branch March 5, 2025 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request python Python related functionality test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants