agentskit.js

OneDriveLoaderOptions

Auto-generated API reference for OneDriveLoaderOptions.

Interface: OneDriveLoaderOptions

Defined in: loaders.ts:368

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:370

Microsoft Graph access token (mint via MSAL).


#driveId?

optional driveId?: string

Defined in: loaders.ts:372

Drive id. Defaults to me/drive (the signed-in user's OneDrive).


#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:375

#Parameters

name

string

#Returns

boolean


#folderItemId?

optional folderItemId?: string

Defined in: loaders.ts:374

Item id (folder) to walk. Defaults to root.


#maxFiles?

optional maxFiles?: number

Defined in: loaders.ts:376

Explore nearby

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

On this page