Load as a single document with full context.
(self)
| 57 | return documents |
| 58 | |
| 59 | def load_full(self): |
| 60 | """Load as a single document with full context.""" |
| 61 | doc = self._client.load(self.path) |
| 62 | return [Document( |
| 63 | page_content=doc.to_context(lean=self.lean), |
| 64 | metadata={"source": self.path, "api": doc.api_name}, |
| 65 | )] |