PipelinePromptTemplate doesn't support partial
#27868
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
partial
#27868
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
Description
In the
partial
method thePipelinePromptTemplate
is reinstantiated with a new set ofinput_variables
andpartial_variables
. However, when creating a new instance theget_input_variables
model validator is invoked, which recreates the original input variables based on thepipeline_prompts
, overwriting the newinput_variables
. Therefore the validation error related to overlappinginput_variables
andpartial_variables
.System Info
The text was updated successfully, but these errors were encountered: