agentskit.js

GcsLoaderOptions

Auto-generated API reference for GcsLoaderOptions.

Interface: GcsLoaderOptions

Defined in: loaders.ts:256

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

#accessToken

accessToken: string | (() => string | Promise<string>)

Defined in: loaders.ts:260

OAuth2 access token. Mint via google-auth-library or workload identity.


#bucket

bucket: string

Defined in: loaders.ts:257


#fetch?

optional fetch?: {(input, init?): Promise<Response>; (input, init?): Promise<Response>; }

Defined in: loaders.ts:10

#Call Signature

(input, init?): Promise<Response>

MDN Reference

Parameters
input

RequestInfo | URL

init?

RequestInit

Returns

Promise<Response>

#Call Signature

(input, init?): Promise<Response>

MDN Reference

Parameters
input

string | Request | URL

init?

RequestInit

Returns

Promise<Response>

#Inherited from

LoaderOptions.fetch


#filter?

optional filter?: (name) => boolean

Defined in: loaders.ts:261

#Parameters

name

string

#Returns

boolean


#maxFiles?

optional maxFiles?: number

Defined in: loaders.ts:262


#prefix?

optional prefix?: string

Defined in: loaders.ts:258

Explore nearby

✎ Edit this page on GitHubΒ·Found a problem? Open an issue β†’Β·How to contribute β†’

On this page