Class: GithubRepoLoader
document_loaders/web/github.GithubRepoLoader
Hierarchyβ
β³
GithubRepoLoader
Implementsβ
Constructorsβ
constructorβ
β’ new GithubRepoLoader(githubUrl
, Β«destructuredΒ»?
)
Parametersβ
Name | Type |
---|---|
githubUrl | string |
Β«destructuredΒ» | GithubRepoLoaderParams |
Overridesβ
BaseDocumentLoader.constructor
Defined inβ
langchain/src/document_loaders/web/github.ts:57
Propertiesβ
accessTokenβ
β’ Optional
accessToken: string
Implementation ofβ
GithubRepoLoaderParams.accessToken
Defined inβ
langchain/src/document_loaders/web/github.ts:55
branchβ
β’ branch: string
Implementation ofβ
Defined inβ
langchain/src/document_loaders/web/github.ts:49
recursiveβ
β’ recursive: boolean
Implementation ofβ
GithubRepoLoaderParams.recursive
Defined inβ
langchain/src/document_loaders/web/github.ts:51
unknownβ
β’ unknown: UnknownHandling
Implementation ofβ
GithubRepoLoaderParams.unknown
Defined inβ
langchain/src/document_loaders/web/github.ts:53
Methodsβ
loadβ
βΈ load(): Promise
<Document
<Record
<string
, any
>>[]>
Returnsβ
Promise
<Document
<Record
<string
, any
>>[]>
Overridesβ
Defined inβ
langchain/src/document_loaders/web/github.ts:101
loadAndSplitβ
βΈ loadAndSplit(splitter?
): Promise
<Document
<Record
<string
, any
>>[]>
Parametersβ
Name | Type |
---|---|
splitter | TextSplitter |
Returnsβ
Promise
<Document
<Record
<string
, any
>>[]>
Inherited fromβ
BaseDocumentLoader.loadAndSplit
Defined inβ
langchain/src/document_loaders/base.ts:15