GithubFileLoaderWrapper
Python template · sinapsis_langchain_readers.templates.langchain_data_readers_no_force_init
Overview
Dynamic Template to load documents from Langchain document_loaders module without forced initialization. This variant does not force initialization as a method.
Usage examples:
agent: name: my_test_agent templates: - template_name: InputTemplate class_name: InputTemplate attributes: {} - template_name: DocugamiLoaderWrapper class_name: DocugamiLoaderWrapper template_input: InputTemplate attributes: add_document_as_text_packet: false docugamiloader_init: api: https://api.docugami.com/v1preview1 access_token: null max_text_length: 4096 min_text_length: 32 max_metadata_length: 512 include_xml_tags: false parent_hierarchy_levels: 0 parent_id_key: doc_id sub_chunk_tables: false whitespace_normalize_text: true docset_id: null document_ids: null file_paths: null include_project_metadata_in_doc_metadata: true
GithubFileLoader — inherited documentation
Load GitHub FileCreate a new model by parsing and validating input data from keyword arguments.
Raises [`ValidationError`][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
`self` is explicitly positional-only to allow `self` as a field name.
Capabilities
Capabilities: not setInstallation
Install the published package using pip or uv.
pip install sinapsis_langchain_readers==1.0.0uv pip install sinapsis_langchain_readers==1.0.0uv add sinapsis_langchain_readers==1.0.0Configuration
Effective fields from the inspector schema, including nested Pydantic model fields.
Optional
Default: null
Required
Default: null
Optional
Default: null
Optional
Default: "main"
Optional
Default: null
Optional
Default: null
Optional
Default: "https://api.github.com"
Whether to add document as text packet or not. githubfileloader_init repo <class 'str'>: default: None access_token <class 'str'>: default: None github_api_url <class 'str'>: default: https://api.github.com branch… Read full field description
Whether to add document as text packet or not. githubfileloader_init repo <class 'str'>: default: None access_token <class 'str'>: default: None github_api_url <class 'str'>: default: https://api.github.com branch <class 'str'>: default: main file_filter typing.Optional[typing.Callable[[str], bool]]: default: None
Optional
Default: false
Configuration example
Generated from documented defaults. Replace any placeholders and complete required nested settings before running.
templates:
- template_name: "GithubFileLoaderWrapper"
class_name: "GithubFileLoaderWrapper"
attributes:
githubfileloader_init:
repo: null
branch: "main"
file_filter: null
access_token: null
github_api_url: "https://api.github.com"
add_document_as_text_packet: false
Inheritance
sinapsis_langchain_readers.templates.langchain_data_readers_no_force_init.LangChainDataReaderNoForceInitEnvironment variables
Environment definitions belong to their canonical Python modules.