GitHubTreeOptions
Auto-generated API reference for GitHubTreeOptions.
Interface: GitHubTreeOptions
Defined in: loaders.ts:53
Document loaders: small async functions that return
InputDocument[] ready to pipe into RAG.ingest. Every loader
is framework-agnostic and accepts a custom fetch for tests.
#Extends
#Properties
#fetch?
optionalfetch?: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Defined in: loaders.ts:10
#Call Signature
(
input,init?):Promise<Response>
Parameters
input
RequestInfo | URL
init?
RequestInit
Returns
Promise<Response>
#Call Signature
(
input,init?):Promise<Response>
Parameters
input
string | Request | URL
init?
RequestInit
Returns
Promise<Response>
#Inherited from
#filter?
optionalfilter?: (path) =>boolean
Defined in: loaders.ts:55
Only include files matching this regex / test.
#Parameters
path
string
#Returns
boolean
#maxFiles?
optionalmaxFiles?:number
Defined in: loaders.ts:57
Max files to load. Default 100.
#ref?
optionalref?:string
Defined in: loaders.ts:28
Branch / tag / sha. Default 'HEAD'.
#Inherited from
#token?
optionaltoken?:string
Defined in: loaders.ts:26