agentskit.js

OneDriveLoaderOptions

Auto-generated API reference for OneDriveLoaderOptions.

Interface: OneDriveLoaderOptions

Defined in: packages/rag/src/loaders/cloud.ts:168

#Extends

#Properties

#accessToken

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

Defined in: packages/rag/src/loaders/cloud.ts:170

Microsoft Graph access token (mint via MSAL).


#driveId?

optional driveId?: string

Defined in: packages/rag/src/loaders/cloud.ts:172

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: packages/rag/src/loaders/shared.ts:5

#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: packages/rag/src/loaders/cloud.ts:175

#Parameters

name

string

#Returns

boolean


#folderItemId?

optional folderItemId?: string

Defined in: packages/rag/src/loaders/cloud.ts:174

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


#maxFiles?

optional maxFiles?: number

Defined in: packages/rag/src/loaders/cloud.ts:176


#signal?

optional signal?: AbortSignal

Defined in: packages/rag/src/loaders/shared.ts:7

Optional abort signal forwarded to underlying HTTP calls when supported.

#Inherited from

LoaderOptions.signal

Explore nearby

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

On this page

Ask the docs
Ask anything about AgentsKit. Answers come from the docs corpus and cite their sources.