Range Command for Python SDK
The range method is used to retrieve documents in chunks with pagination.Arguments
dict
required
Response
dict
required
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
range_documents = index.range(cursor="", limit=1)
print(range_documents.documents)
range_documents = index.range(
cursor=range_documents.next_cursor,
limit=3
)
print(range_documents.documents)
Hide child attributes
range_documents = index.range(cursor="", limit=1)
print(range_documents.documents)
range_documents = index.range(
cursor=range_documents.next_cursor,
limit=3
)
print(range_documents.documents)
Was this page helpful?