Find answers from the community

Updated 3 weeks ago

Can I Add More Variables Dynamically to Custom Prompt Template in QuestionsAnsweredExtractor

Hey πŸ‘‹
In QuestionsAnsweredExtractor I want to add a custom prompt template and have additional context variables to this template

Under
Plain Text
_aextract_questions_from_node()


It calls self.llm.apredict() with the context variables num_questions and context_str.

Is it possible to add more variables dynamically?
Add a reply
Sign up and join the conversation on Discord