Issue #, if available:
Existing PromptComposer only accept $model_input to be replaced in template. Need to add flexibility to later accept $context, $statement, $target_output, etc.
Description of changes:
Add placeholder_data_dict to PromptComposer.compose(). This is a non-breaking change.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available: Existing
PromptComposer
only accept $model_input to be replaced in template. Need to add flexibility to later accept $context, $statement, $target_output, etc.Description of changes: Add
placeholder_data_dict
toPromptComposer.compose()
. This is a non-breaking change.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.