MCPcopy Create free account
hub / github.com/google-research/language / read_documents

Function read_documents

language/quest/common/document_utils.py:31–33  ·  view source on GitHub ↗
(filepath, limit=None)

Source from the content-addressed store, hash-verified

29
30
31def read_documents(filepath, limit=None):
32 documents_json = jsonl_utils.read(filepath, limit=limit, verbose=True)
33 return [Document(**document) for document in documents_json]
34
35
36def write_documents(filepath, documents):

Callers

nothing calls this directly

Calls 1

DocumentClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…