Can I Add More Variables Dynamically to Custom Prompt Template in QuestionsAnsweredExtractor
Can I Add More Variables Dynamically to Custom Prompt Template in QuestionsAnsweredExtractor
At a glance
The community member is working on the QuestionsAnsweredExtractor and wants to add a custom prompt template with additional context variables. They are calling self.llm.apredict() with the context variables num_questions and context_str, and want to know if it is possible to add more variables dynamically. There are no comments with an explicitly marked answer.