MCPcopy Create free account
hub / github.com/Lap-Platform/LAP / load_full

Method load_full

sdks/python/lap/middleware.py:59–65  ·  view source on GitHub ↗

Load as a single document with full context.

(self)

Source from the content-addressed store, hash-verified

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 )]

Callers 2

test_load_fullMethod · 0.95

Calls 3

DocumentClass · 0.85
to_contextMethod · 0.80
loadMethod · 0.45

Tested by 1

test_load_fullMethod · 0.76