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: Add method to add multiple outputs to a prompt in AIConfig #689

Merged

Conversation

sp6370
Copy link
Contributor

@sp6370 sp6370 commented Jan 2, 2024

Summary:
This pull request adds ability to add multiple outputs to prompt for Python SDK.

Changes Made:
Added the add_outputs method to add multiple outputs to a prompt.

Related Issues:
Closes #153

Test Plan:

  • Test to check that multiple outputs can be added to prompt test_add_outputs_existing_prompt_no_overwrite.
  • Test to check that add_outputs support prompt output overwriting test_add_outputs_existing_prompt_overwrite.
  • Test to check that exception is raised if add_outputs is invoked with empty list or no outputs test_add_empty_outputs_to_prompt.

Copy link
Contributor

@rossdanlm rossdanlm left a comment

Choose a reason for hiding this comment

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

Nice! Great work, thanks for adding this feature and doing such great and thorough test plans!!!

@sp6370 sp6370 requested a review from rossdanlm January 2, 2024 19:25
@rossdanlm
Copy link
Contributor

Nice!

@rossdanlm rossdanlm merged commit e47ce1f into lastmile-ai:main Jan 3, 2024
1 check passed
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.

option to add a list of outputs to config
2 participants