35 points · by jacky2wong · 3y ago · 3 comments
def get_context(self, response: Response) -> List[Document]:
"""Get context information from given Response object using source nodes.
What can you get out from this?Disclaimer: I worked in this space for a few years as an ML engineer so it might be quite different for new entrants in the field.