agentskit.js

UrlLoaderOptions

Auto-generated API reference for UrlLoaderOptions.

Interface: UrlLoaderOptions

Defined in: packages/rag/src/loaders/documents.ts:16

#Extends

#Properties

#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


#headers?

optional headers?: Record<string, string>

Defined in: packages/rag/src/loaders/documents.ts:17


#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.