-
Notifications
You must be signed in to change notification settings - Fork 0
@ralphschuler.ai function caller.index.<internal>
- "node:stream/consumers"
- "node:stream/promises"
- ChatCompletionSnapshot
- EventEmitter
- FormData
- OpenAI
- OpenAI
- internal
- APIClient
- APIConnectionError
- APIConnectionTimeoutError
- APIError
- APIPromise
- APIResource
- APIUserAbortError
- AbstractChatCompletionRunner
- AbstractPage
- Agent
- AsyncResource
- AuthenticationError
- BadRequestError
- Blob
- Blob
- Blob
- Body
- ChatCompletionRunner
- ChatCompletionStream
- ChatCompletionStreamingRunner
- ClientRequest
- ConflictError
- Duplex
- EventEmitter
- File
- FormData
- Headers
- IncomingMessage
- InternalServerError
- NotFoundError
- OpenAI
- OpenAI
- OpenAIError
- OutgoingMessage
- PagePromise
- PermissionDeniedError
- RateLimitError
- ReadStream
- Readable
- ReadableBase
- ReadableByteStreamController
- ReadableByteStreamController
- ReadableStream
- ReadableStream
- ReadableStreamBYOBReader
- ReadableStreamBYOBReader
- ReadableStreamBYOBRequest
- ReadableStreamBYOBRequest
- ReadableStreamDefaultController
- ReadableStreamDefaultController
- ReadableStreamDefaultReader
- ReadableStreamDefaultReader
- Request
- Response
- Socket
- Stream
- Stream
- URL
- URLSearchParams
- UnprocessableEntityError
- WritableBase
- WritableStream
- WritableStream
- WritableStreamDefaultController
- WritableStreamDefaultController
- WritableStreamDefaultWriter
- WritableStreamDefaultWriter
- internal
- AbortController
- AbortSignal
- AbortSignal
- AbortSignal
- AbortSignal
- AbstractChatCompletionRunnerEvents
- AddEventListenerOptions
- AddressInfo
- AgentOptions
- ArrayBufferView
- ArrayLike
- ArrayOptions
- AsyncGenerator
- AsyncGeneratorFunction
- AsyncIterable
- AsyncIterableIterator
- AsyncIterator
- AsyncResourceOptions
- BlobLike
- BlobOptions
- BlobOptions
- BlobPropertyBag
- BlobPropertyBag
- Buffer
- BufferConstructor
- CallSite
- ChatCompletionCreateParamsBase
- ChatCompletionRunnerEvents
- ChatCompletionSnapshot
- ChatCompletionStreamEvents
- ClientOptions
- ClientOptions
- ClientRequestArgs
- CompletionCreateParamsBase
- ConcatArray
- ConnectOpts
- Dict
- DuplexOptions
- ErrnoException
- ErrorOptions
- Event
- EventEmitter
- EventEmitterOptions
- EventInit
- EventListener
- EventListenerObject
- EventListenerOptions
- EventTarget
- FileLike
- FileLike
- FilePropertyBag
- FilePropertyBag
- FineTuneListEventsParamsBase
- IncomingHttpHeaders
- InformationEvent
- IpcSocketConnectOpts
- Iterable
- IterableIterator
- Iterator
- IteratorReturnResult
- IteratorYieldResult
- JSONSchema
- JSONSchemaArray
- JSONSchemaObject
- LookupAddress
- LookupAllOptions
- LookupOptions
- Object
- OnReadOpts
- Options
- OutgoingHttpHeaders
- PromiseFulfilledResult
- PromiseLike
- PromiseRejectedResult
- QueuingStrategy
- QueuingStrategy
- QueuingStrategy
- QueuingStrategySize
- ReadOnlyDict
- ReadWriteStream
- ReadableByteStreamController
- ReadableByteStreamControllerCallback
- ReadableOptions
- ReadableOptions
- ReadableStream
- ReadableStream
- ReadableStreamAsyncIterator
- ReadableStreamAsyncIterator
- ReadableStreamBYOBReader
- ReadableStreamDefaultController
- ReadableStreamDefaultReadDoneResult
- ReadableStreamDefaultReadValueResult
- ReadableStreamDefaultReader
- ReadableStreamErrorCallback
- ReadableStreamGenericReader
- ReadableStreamIteratorOptions
- ReadableStreamIteratorOptions
- ReadableStreamReadDoneResult
- ReadableStreamReadValueResult
- ReadableWritablePair
- RequestInit
- RequestOptions
- ResponseInit
- ResponseLike
- RunnerOptions
- SharedArrayBuffer
- SharedArrayBufferConstructor
- SocketConstructorOpts
- StaticEventEmitterOptions
- StreamOptions
- StreamPipeOptions
- StreamPipeOptions
- StreamPipeOptions
- TcpSocketConnectOpts
- URL
- URLLike
- UnderlyingByteSource
- UnderlyingByteSource
- UnderlyingByteSource
- UnderlyingSink
- UnderlyingSink
- UnderlyingSink
- UnderlyingSinkAbortCallback
- UnderlyingSinkCloseCallback
- UnderlyingSinkStartCallback
- UnderlyingSinkWriteCallback
- UnderlyingSource
- UnderlyingSource
- UnderlyingSource
- UnderlyingSourceCancelCallback
- UnderlyingSourcePullCallback
- UnderlyingSourceStartCallback
- WritableStream
- WritableStream
- WritableStreamDefaultController
- WritableStreamDefaultWriter
- _DOMEventTarget
- _NodeEventTarget
- APIResponseProps
- Agent
- ArrayBufferLike
- ArrayBufferView
- Awaited
- BaseFunctionsArgs
- BinaryLike
- BlobLikePart
- BlobPart
- BlobParts
- BodyInit
- BufferEncoding
- ChatCompletionFunctionRunnerParams
- ChatCompletionStreamParams
- ChatCompletionStreamingFunctionRunnerParams
- ChatCompletionStreamingToolRunnerParams
- ChatCompletionToolRunnerParams
- ComposeFnParam
- CustomEvents
- DefaultQuery
- EndingType
- Exclude
- Fetch
- File
- File
- FileFromPathOptions
- FinalRequestOptions
- FlatArray
- FsReadStream
- HTTPMethod
- Headers
- HeadersInit
- IteratorResult
- JSONSchemaDefinition
- JSONSchemaType
- JSONSchemaTypeName
- ListenerForEvent
- LookupFunction
- Omit
- OutgoingHttpHeader
- PageInfo
- Parameters
- Partial
- Pick
- PromiseOrValue
- PromiseOrValue
- PromiseSettledResult
- PropertyKey
- QueuingStrategySizeCallback
- QueuingStrategySizeCallback
- Readable
- ReadableByteStream
- ReadableStreamBYOBReadResult
- ReadableStreamBYOBReadResult
- ReadableStreamController
- ReadableStreamDefaultReadResult
- ReadableStreamDefaultReadResult
- ReadableStreamDefaultReadResult
- ReadableStreamReadResult
- Record
- RequestClient
- RequestContext
- RequestInfo
- RequestInfo
- RequestInfo
- RequestInit
- RequestInit
- RequestRedirect
- Response
- Response
- ResponseType
- ReturnType
- RunnableFunction
- RunnableFunctionWithParse
- RunnableFunctionWithoutParse
- RunnableFunctions
- RunnableToolFunction
- RunnableTools
- SelectType
- SocketConnectOpts
- SocketReadyState
- ToFileInput
- TypedArray
- UnderlyingByteSourcePullCallback
- UnderlyingByteSourcePullCallback
- UnderlyingByteSourceStartCallback
- UnderlyingByteSourceStartCallback
- UnderlyingSinkAbortCallback
- UnderlyingSinkAbortCallback
- UnderlyingSinkCloseCallback
- UnderlyingSinkCloseCallback
- UnderlyingSinkStartCallback
- UnderlyingSinkStartCallback
- UnderlyingSinkWriteCallback
- UnderlyingSinkWriteCallback
- UnderlyingSourceCancelCallback
- UnderlyingSourceCancelCallback
- UnderlyingSourcePullCallback
- UnderlyingSourcePullCallback
- UnderlyingSourceStartCallback
- UnderlyingSourceStartCallback
- Uploadable
- WithImplicitCoercion
- __Event
- __EventTarget
- AbortController
- AbortSignal
- Buffer
- Event
- EventTarget
- File
- File
- ReadableByteStreamController
- ReadableStream
- ReadableStreamBYOBReader
- ReadableStreamDefaultController
- ReadableStreamDefaultReader
- SharedArrayBuffer
- URL
- WritableStream
- WritableStreamDefaultController
- WritableStreamDefaultWriter
Re-exports WritableOptions
Ƭ APIResponseProps: Object
Name | Type |
---|---|
controller |
AbortController |
options |
FinalRequestOptions |
response |
Response |
node_modules/openai/core.d.ts:10
Ƭ Agent: SelectType
<manual.Agent
, Agent
>
node_modules/openai/_shims/index.d.ts:13
Ƭ ArrayBufferLike: ArrayBufferTypes
[keyof ArrayBufferTypes
]
node_modules/typescript/lib/lib.es5.d.ts:1707
Ƭ ArrayBufferView: TypedArray
| DataView
node_modules/@types/node/globals.d.ts:271
Ƭ Awaited<T
>: T
extends null
| undefined
? T
: T
extends object
& { then
: (onfulfilled
: F
, ...args
: _
) => any
} ? F
extends (value
: infer V, ...args
: infer _) => any
? Awaited
<V
> : never
: T
Recursively unwraps the "awaited type" of a type. Non-promise "thenables" should resolve to never
. This emulates the behavior of await
.
Name |
---|
T |
node_modules/typescript/lib/lib.es5.d.ts:1562
Ƭ BaseFunctionsArgs: readonly (object
| string
)[]
node_modules/openai/lib/RunnableFunction.d.ts:55
Ƭ BinaryLike: string
| ArrayBufferView
node_modules/@types/node/crypto.d.ts:656
Ƭ BlobLikePart: string
| ArrayBuffer
| ArrayBufferView
| BlobLike
| Uint8Array
| DataView
node_modules/openai/uploads.d.ts:5
Ƭ BlobPart: ArrayBuffer
| ArrayBufferView
| Blob
| string
node_modules/@types/node-fetch/index.d.ts:111
Ƭ BlobParts: unknown
[] | Iterable
<unknown
>
node_modules/formdata-node/@type/Blob.d.ts:13
Ƭ BodyInit: ArrayBuffer
| ArrayBufferView
| ReadableStream
| string
| URLSearchParams
| FormData
node_modules/@types/node-fetch/index.d.ts:196
Ƭ BufferEncoding: "ascii"
| "utf8"
| "utf-8"
| "utf16le"
| "utf-16le"
| "ucs2"
| "ucs-2"
| "base64"
| "base64url"
| "latin1"
| "binary"
| "hex"
node_modules/@types/node/buffer.d.ts:232
Ƭ ChatCompletionFunctionRunnerParams<FunctionsArgs
>: Omit
<ChatCompletionCreateParamsNonStreaming
, "functions"
> & { functions
: RunnableFunctions
<FunctionsArgs
> }
Name | Type |
---|---|
FunctionsArgs |
extends BaseFunctionsArgs
|
node_modules/openai/lib/ChatCompletionRunner.d.ts:7
Ƭ ChatCompletionStreamParams: Omit
<ChatCompletionCreateParamsBase
, "stream"
> & { stream?
: true
}
node_modules/openai/lib/ChatCompletionStream.d.ts:9
Ƭ ChatCompletionStreamingFunctionRunnerParams<FunctionsArgs
>: Omit
<ChatCompletionCreateParamsStreaming
, "functions"
> & { functions
: RunnableFunctions
<FunctionsArgs
> }
Name | Type |
---|---|
FunctionsArgs |
extends BaseFunctionsArgs
|
node_modules/openai/lib/ChatCompletionStreamingRunner.d.ts:10
Ƭ ChatCompletionStreamingToolRunnerParams<FunctionsArgs
>: Omit
<ChatCompletionCreateParamsStreaming
, "tools"
> & { tools
: RunnableTools
<FunctionsArgs
> }
Name | Type |
---|---|
FunctionsArgs |
extends BaseFunctionsArgs
|
node_modules/openai/lib/ChatCompletionStreamingRunner.d.ts:13
Ƭ ChatCompletionToolRunnerParams<FunctionsArgs
>: Omit
<ChatCompletionCreateParamsNonStreaming
, "tools"
> & { tools
: RunnableTools
<FunctionsArgs
> }
Name | Type |
---|---|
FunctionsArgs |
extends BaseFunctionsArgs
|
node_modules/openai/lib/ChatCompletionRunner.d.ts:10
Ƭ ComposeFnParam: (source
: any
) => void
▸ (source
): void
Name | Type |
---|---|
source |
any |
void
node_modules/@types/node/stream.d.ts:26
Ƭ CustomEvents<Event
>: { [k in Event]: k extends keyof AbstractChatCompletionRunnerEvents ? AbstractChatCompletionRunnerEvents[k] : Function }
Name | Type |
---|---|
Event |
extends string
|
node_modules/openai/lib/AbstractChatCompletionRunner.d.ts:92
Ƭ DefaultQuery: Record
<string
, string
| undefined
>
node_modules/openai/core.d.ts:177
Ƭ EndingType: "native"
| "transparent"
node_modules/openai/_shims/node-types.d.ts:25
Ƭ Exclude<T
, U
>: T
extends U
? never
: T
Exclude from T those types that are assignable to U
Name |
---|
T |
U |
node_modules/typescript/lib/lib.es5.d.ts:1612
Ƭ Fetch: (url
: RequestInfo
, init?
: RequestInit
) => Promise
<Response
>
▸ (url
, init?
): Promise
<Response
>
Name | Type |
---|---|
url |
RequestInfo |
init? |
RequestInit |
Promise
<Response
>
node_modules/openai/core.d.ts:8
Ƭ File: SelectType
<manual.File
, File
>
node_modules/openai/_shims/index.d.ts:51
node_modules/openai/_shims/index.d.ts:53
Ƭ File: File
node_modules/openai/_shims/node-types.d.ts:39
node_modules/openai/_shims/node-types.d.ts:40
Ƭ FileFromPathOptions: Omit
<FilePropertyBag
, "lastModified"
>
node_modules/openai/_shims/node-types.d.ts:35
Ƭ FinalRequestOptions<Req
>: RequestOptions
<Req
> & { method
: HTTPMethod
; path
: string
}
Name | Type |
---|---|
Req |
extends Object = Record <string , unknown > | Readable
|
node_modules/openai/core.d.ts:196
Ƭ FlatArray<Arr
, Depth
>: { done
: Arr
; recur
: Arr
extends ReadonlyArray
<infer InnerArr> ? FlatArray
<InnerArr
, [-1
, 0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 10
, 11
, 12
, 13
, 14
, 15
, 16
, 17
, 18
, 19
, 20
][Depth
]> : Arr
}[Depth
extends -1
? "done"
: "recur"
]
Name | Type |
---|---|
Arr |
Arr |
Depth |
extends number
|
node_modules/typescript/lib/lib.es2019.array.d.ts:19
Ƭ FsReadStream: SelectType
<manual.FsReadStream
, ReadStream
>
node_modules/openai/_shims/index.d.ts:62
Ƭ HTTPMethod: "get"
| "post"
| "put"
| "patch"
| "delete"
node_modules/openai/core.d.ts:172
Ƭ Headers: Record
<string
, string
| null
| undefined
>
node_modules/openai/core.d.ts:176
Ƭ HeadersInit: Headers
| string
[][] | { [key: string]
: string
; }
node_modules/@types/node-fetch/index.d.ts:193
Ƭ IteratorResult<T
, TReturn
>: IteratorYieldResult
<T
> | IteratorReturnResult
<TReturn
>
Name | Type |
---|---|
T |
T |
TReturn |
any |
node_modules/typescript/lib/lib.es2015.iterable.d.ts:39
Ƭ JSONSchemaDefinition: JSONSchema
| boolean
JSON Schema v7
See
https://tools.ietf.org/html/draft-handrews-json-schema-validation-01
node_modules/openai/lib/jsonschema.d.ts:32
Ƭ JSONSchemaType: string
| number
| boolean
| JSONSchemaObject
| JSONSchemaArray
| null
Primitive type
See
https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1.1
node_modules/openai/lib/jsonschema.d.ts:10
Ƭ JSONSchemaTypeName: {} & string
| "string"
| "number"
| "integer"
| "boolean"
| "object"
| "array"
| "null"
Primitive type
See
https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1.1
node_modules/openai/lib/jsonschema.d.ts:5
Ƭ ListenerForEvent<Events
, Event
>: Event
extends keyof AbstractChatCompletionRunnerEvents
? AbstractChatCompletionRunnerEvents
[Event
] : Events
[Event
]
Name | Type |
---|---|
Events |
extends CustomEvents <any > |
Event |
extends keyof Events
|
node_modules/openai/lib/AbstractChatCompletionRunner.d.ts:95
Ƭ LookupFunction: (hostname
: string
, options
: LookupAllOptions
, callback
: (err
: ErrnoException
| null
, addresses
: LookupAddress
[]) => void
) => void
▸ (hostname
, options
, callback
): void
Name | Type |
---|---|
hostname |
string |
options |
LookupAllOptions |
callback |
(err : ErrnoException | null , addresses : LookupAddress []) => void
|
void
node_modules/@types/node/net.d.ts:19
Ƭ Omit<T
, K
>: Pick
<T
, Exclude
<keyof T
, K
>>
Construct a type with the properties of T except for those in type K.
Name | Type |
---|---|
T |
T |
K |
extends keyof any
|
node_modules/typescript/lib/lib.es5.d.ts:1622
Ƭ OutgoingHttpHeader: number
| string
| string
[]
node_modules/@types/node/http.d.ts:115
Ƭ PageInfo: { url
: URL
} | { params
: Record
<string
, unknown
> | null
}
node_modules/openai/core.d.ts:129
Ƭ Parameters<T
>: T
extends (...args
: infer P) => any
? P
: never
Obtain the parameters of a function type in a tuple
Name | Type |
---|---|
T |
extends (...args : any ) => any
|
node_modules/typescript/lib/lib.es5.d.ts:1632
Ƭ Partial<T
>: { [P in keyof T]?: T[P] }
Make all properties in T optional
Name |
---|
T |
node_modules/typescript/lib/lib.es5.d.ts:1577
Ƭ Pick<T
, K
>: { [P in K]: T[P] }
From T, pick a set of properties whose keys are in the union K
Name | Type |
---|---|
T |
T |
K |
extends keyof T
|
node_modules/typescript/lib/lib.es5.d.ts:1598
Ƭ PromiseOrValue<T
>: T
| Promise
<T
>
Name |
---|
T |
node_modules/openai/core.d.ts:9
Ƭ PromiseOrValue<T
>: T
| Promise
<T
>
Name |
---|
T |
node_modules/openai/lib/RunnableFunction.d.ts:4
Ƭ PromiseSettledResult<T
>: PromiseFulfilledResult
<T
> | PromiseRejectedResult
Name |
---|
T |
node_modules/typescript/lib/lib.es2020.promise.d.ts:29
Ƭ PropertyKey: string
| number
| symbol
node_modules/typescript/lib/lib.es5.d.ts:108
Ƭ QueuingStrategySizeCallback<T
>: (chunk
: T
) => number
Name | Type |
---|---|
T |
any |
▸ (chunk
): number
Name | Type |
---|---|
chunk |
T |
number
node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts:90
Ƭ QueuingStrategySizeCallback<T
>: (chunk
: T
) => number
Name | Type |
---|---|
T |
any |
▸ (chunk
): number
{@inheritDoc QueuingStrategy.size}
Name | Type |
---|---|
chunk |
T |
number
node_modules/formdata-node/node_modules/web-streams-polyfill/types/ponyfill.d.ts:98
Ƭ Readable: SelectType
<manual.Readable
, Readable
>
node_modules/openai/_shims/index.d.ts:60
Ƭ ReadableByteStream: ReadableStream
<Uint8Array
> & { _readableStreamController
: ReadableByteStreamController
}
node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts:92
Ƭ ReadableStreamBYOBReadResult<T
>: { done
: false
; value
: T
} | { done
: true
; value
: T
| undefined
}
A result returned by ReadableStreamBYOBReader.read.
Name | Type |
---|---|
T |
extends ArrayBufferView
|
node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts:269
Ƭ ReadableStreamBYOBReadResult<T
>: { done
: false
; value
: T
} | { done
: true
; value
: T
| undefined
}
A result returned by ReadableStreamBYOBReader.read.
Name | Type |
---|---|
T |
extends ArrayBufferView
|
node_modules/formdata-node/node_modules/web-streams-polyfill/types/ponyfill.d.ts:273
Ƭ ReadableStreamController<T
>: ReadableStreamDefaultController
<T
>
Name |
---|
T |
node_modules/@types/node/stream/web.d.ts:76
Ƭ ReadableStreamDefaultReadResult<T
>: ReadableStreamDefaultReadValueResult
<T
> | ReadableStreamDefaultReadDoneResult
Name |
---|
T |
node_modules/@types/node/stream/web.d.ts:77
Ƭ ReadableStreamDefaultReadResult<T
>: { done
: false
; value
: T
} | { done
: true
; value?
: undefined
}
A result returned by ReadableStreamDefaultReader.read.
Name |
---|
T |
node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts:372
Ƭ ReadableStreamDefaultReadResult<T
>: { done
: false
; value
: T
} | { done
: true
; value?
: undefined
}
A result returned by ReadableStreamDefaultReader.read.
Name |
---|
T |
node_modules/formdata-node/node_modules/web-streams-polyfill/types/ponyfill.d.ts:376
Ƭ ReadableStreamReadResult<T
>: ReadableStreamReadValueResult
<T
> | ReadableStreamReadDoneResult
<T
>
Name |
---|
T |
node_modules/@types/node/stream/web.d.ts:88
Ƭ Record<K
, T
>: { [P in K]: T }
Construct a type with a set of properties K of type T
Name | Type |
---|---|
K |
extends keyof any
|
T |
T |
node_modules/typescript/lib/lib.es5.d.ts:1605
Ƭ RequestClient: Object
Name | Type |
---|---|
fetch |
Fetch |
node_modules/openai/core.d.ts:173
Ƭ RequestContext: "audio"
| "beacon"
| "cspreport"
| "download"
| "embed"
| "eventsource"
| "favicon"
| "fetch"
| "font"
| "form"
| "frame"
| "hyperlink"
| "iframe"
| "image"
| "imageset"
| "import"
| "internal"
| "location"
| "manifest"
| "object"
| "ping"
| "plugin"
| "prefetch"
| "script"
| "serviceworker"
| "sharedworker"
| "style"
| "subresource"
| "track"
| "video"
| "worker"
| "xmlhttprequest"
| "xslt"
node_modules/@types/node-fetch/index.d.ts:48
Ƭ RequestInfo: string
| URLLike
| Request
node_modules/@types/node-fetch/index.d.ts:203
Ƭ RequestInfo: SelectType
<manual.RequestInfo
, RequestInfo
>
node_modules/openai/_shims/index.d.ts:21
Ƭ RequestInfo: RequestInfo
node_modules/openai/_shims/node-types.d.ts:15
Ƭ RequestInit: SelectType
<manual.RequestInit
, RequestInit
>
node_modules/openai/_shims/index.d.ts:23
Ƭ RequestInit: RequestInit
node_modules/openai/_shims/node-types.d.ts:16
Ƭ RequestRedirect: "error"
| "follow"
| "manual"
node_modules/@types/node-fetch/index.d.ts:83
Ƭ Response: SelectType
<manual.Response
, Response
>
node_modules/openai/_shims/index.d.ts:26
Ƭ Response: Response
node_modules/openai/_shims/node-types.d.ts:18
Ƭ ResponseType: "basic"
| "cors"
| "default"
| "error"
| "opaque"
| "opaqueredirect"
node_modules/@types/node-fetch/index.d.ts:172
Ƭ ReturnType<T
>: T
extends (...args
: any
) => infer R ? R
: any
Obtain the return type of a function type
Name | Type |
---|---|
T |
extends (...args : any ) => any
|
node_modules/typescript/lib/lib.es5.d.ts:1642
Ƭ RunnableFunction<Args
>: Args
extends string
? RunnableFunctionWithoutParse
: Args
extends object
? RunnableFunctionWithParse
<Args
> : never
Name | Type |
---|---|
Args |
extends object | string
|
node_modules/openai/lib/RunnableFunction.d.ts:49
Ƭ RunnableFunctionWithParse<Args
>: Object
Name | Type |
---|---|
Args |
extends object
|
Name | Type | Description |
---|---|---|
description |
string |
A description of what the function does, used by the model to choose when and how to call the function. |
function |
(args : Args , runner : ChatCompletionRunner | ChatCompletionStreamingRunner ) => PromiseOrValue <unknown > |
|
name? |
string |
The name of the function to be called. Will default to function.name if omitted. |
parameters |
JSONSchema |
The parameters the function accepts, describes as a JSON Schema object. |
parse |
(input : string ) => PromiseOrValue <Args > |
node_modules/openai/lib/RunnableFunction.d.ts:5
Ƭ RunnableFunctionWithoutParse: Object
Name | Type | Description |
---|---|---|
description |
string |
A description of what the function does, used by the model to choose when and how to call the function. |
function |
(args : string , runner : ChatCompletionRunner | ChatCompletionStreamingRunner ) => PromiseOrValue <unknown > |
|
name? |
string |
The name of the function to be called. Will default to function.name if omitted. |
parameters |
JSONSchema |
The parameters the function accepts, describes as a JSON Schema object. |
node_modules/openai/lib/RunnableFunction.d.ts:30
Ƭ RunnableFunctions<FunctionsArgs
>: [any
[]] extends [FunctionsArgs
] ? readonly RunnableFunction
<any
>[] : { [Index in keyof FunctionsArgs]: Index extends number ? RunnableFunction<FunctionsArgs[Index]> : FunctionsArgs[Index] }
Name | Type |
---|---|
FunctionsArgs |
extends BaseFunctionsArgs
|
node_modules/openai/lib/RunnableFunction.d.ts:56
Ƭ RunnableToolFunction<Args
>: Object
Name | Type |
---|---|
Args |
extends object | string
|
Name | Type |
---|---|
function |
RunnableFunction <Args > |
type |
"function" |
node_modules/openai/lib/RunnableFunction.d.ts:50
Ƭ RunnableTools<FunctionsArgs
>: [any
[]] extends [FunctionsArgs
] ? readonly RunnableToolFunction
<any
>[] : { [Index in keyof FunctionsArgs]: Index extends number ? RunnableToolFunction<FunctionsArgs[Index]> : FunctionsArgs[Index] }
Name | Type |
---|---|
FunctionsArgs |
extends BaseFunctionsArgs
|
node_modules/openai/lib/RunnableFunction.d.ts:61
Ƭ SelectType<Manual
, Auto
>: unknown
extends Manual
? Auto
: Manual
Name |
---|
Manual |
Auto |
node_modules/openai/_shims/index.d.ts:8
Ƭ SocketConnectOpts: TcpSocketConnectOpts
| IpcSocketConnectOpts
node_modules/@types/node/net.d.ts:76
Ƭ SocketReadyState: "opening"
| "open"
| "readOnly"
| "writeOnly"
| "closed"
node_modules/@types/node/net.d.ts:77
Ƭ ToFileInput: Uploadable
| Exclude
<BlobLikePart
, string
> | AsyncIterable
<BlobLikePart
>
node_modules/openai/uploads.d.ts:56
Ƭ TypedArray: Uint8Array
| Uint8ClampedArray
| Uint16Array
| Uint32Array
| Int8Array
| Int16Array
| Int32Array
| BigUint64Array
| BigInt64Array
| Float32Array
| Float64Array
node_modules/@types/node/globals.d.ts:259
Ƭ UnderlyingByteSourcePullCallback: (controller
: ReadableByteStreamController
) => void
| PromiseLike
<void
>
▸ (controller
): void
| PromiseLike
<void
>
Name | Type |
---|---|
controller |
ReadableByteStreamController |
void
| PromiseLike
<void
>
node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts:543
Ƭ UnderlyingByteSourcePullCallback: (controller
: ReadableByteStreamController
) => void
| PromiseLike
<void
>
▸ (controller
): void
| PromiseLike
<void
>
Name | Type |
---|---|
controller |
ReadableByteStreamController |
void
| PromiseLike
<void
>
node_modules/formdata-node/node_modules/web-streams-polyfill/types/ponyfill.d.ts:547
Ƭ UnderlyingByteSourceStartCallback: (controller
: ReadableByteStreamController
) => void
| PromiseLike
<void
>
▸ (controller
): void
| PromiseLike
<void
>
Name | Type |
---|---|
controller |
ReadableByteStreamController |
void
| PromiseLike
<void
>
node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts:546
Ƭ UnderlyingByteSourceStartCallback: (controller
: ReadableByteStreamController
) => void
| PromiseLike
<void
>
▸ (controller
): void
| PromiseLike
<void
>
Name | Type |
---|---|
controller |
ReadableByteStreamController |
void
| PromiseLike
<void
>
node_modules/formdata-node/node_modules/web-streams-polyfill/types/ponyfill.d.ts:550
Ƭ UnderlyingSinkAbortCallback: (reason
: any
) => void
| PromiseLike
<void
>
▸ (reason
): void
| PromiseLike
<void
>
Name | Type |
---|---|
reason |
any |
void
| PromiseLike
<void
>
node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts:593
Ƭ UnderlyingSinkAbortCallback: (reason
: any
) => void
| PromiseLike
<void
>
▸ (reason
): void
| PromiseLike
<void
>
Name | Type |
---|---|
reason |
any |
void
| PromiseLike
<void
>
node_modules/formdata-node/node_modules/web-streams-polyfill/types/ponyfill.d.ts:597
Ƭ UnderlyingSinkCloseCallback: () => void
| PromiseLike
<void
>
▸ (): void
| PromiseLike
<void
>
void
| PromiseLike
<void
>
node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts:596
Ƭ UnderlyingSinkCloseCallback: () => void
| PromiseLike
<void
>
▸ (): void
| PromiseLike
<void
>
void
| PromiseLike
<void
>
node_modules/formdata-node/node_modules/web-streams-polyfill/types/ponyfill.d.ts:600
Ƭ UnderlyingSinkStartCallback: (controller
: WritableStreamDefaultController
) => void
| PromiseLike
<void
>
▸ (controller
): void
| PromiseLike
<void
>
Name | Type |
---|---|
controller |
WritableStreamDefaultController |
void
| PromiseLike
<void
>
node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts:599
Ƭ UnderlyingSinkStartCallback: (controller
: WritableStreamDefaultController
) => void
| PromiseLike
<void
>
▸ (controller
): void
| PromiseLike
<void
>
Name | Type |
---|---|
controller |
WritableStreamDefaultController |
void
| PromiseLike
<void
>
node_modules/formdata-node/node_modules/web-streams-polyfill/types/ponyfill.d.ts:603
Ƭ UnderlyingSinkWriteCallback<W
>: (chunk
: W
, controller
: WritableStreamDefaultController
) => void
| PromiseLike
<void
>
Name |
---|
W |
▸ (chunk
, controller
): void
| PromiseLike
<void
>
Name | Type |
---|---|
chunk |
W |
controller |
WritableStreamDefaultController |
void
| PromiseLike
<void
>
node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts:602
Ƭ UnderlyingSinkWriteCallback<W
>: (chunk
: W
, controller
: WritableStreamDefaultController
) => void
| PromiseLike
<void
>
Name |
---|
W |
▸ (chunk
, controller
): void
| PromiseLike
<void
>
Name | Type |
---|---|
chunk |
W |
controller |
WritableStreamDefaultController |
void
| PromiseLike
<void
>
node_modules/formdata-node/node_modules/web-streams-polyfill/types/ponyfill.d.ts:606
Ƭ UnderlyingSourceCancelCallback: (reason
: any
) => void
| PromiseLike
<void
>
▸ (reason
): void
| PromiseLike
<void
>
Name | Type |
---|---|
reason |
any |
void
| PromiseLike
<void
>
node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts:632
Ƭ UnderlyingSourceCancelCallback: (reason
: any
) => void
| PromiseLike
<void
>
▸ (reason
): void
| PromiseLike
<void
>
Name | Type |
---|---|
reason |
any |
void
| PromiseLike
<void
>
node_modules/formdata-node/node_modules/web-streams-polyfill/types/ponyfill.d.ts:636
Ƭ UnderlyingSourcePullCallback<R
>: (controller
: ReadableStreamDefaultController
<R
>) => void
| PromiseLike
<void
>
Name |
---|
R |
▸ (controller
): void
| PromiseLike
<void
>
Name | Type |
---|---|
controller |
ReadableStreamDefaultController <R > |
void
| PromiseLike
<void
>
node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts:635
Ƭ UnderlyingSourcePullCallback<R
>: (controller
: ReadableStreamDefaultController
<R
>) => void
| PromiseLike
<void
>
Name |
---|
R |
▸ (controller
): void
| PromiseLike
<void
>
Name | Type |
---|---|
controller |
ReadableStreamDefaultController <R > |
void
| PromiseLike
<void
>
node_modules/formdata-node/node_modules/web-streams-polyfill/types/ponyfill.d.ts:639
Ƭ UnderlyingSourceStartCallback<R
>: (controller
: ReadableStreamDefaultController
<R
>) => void
| PromiseLike
<void
>
Name |
---|
R |
▸ (controller
): void
| PromiseLike
<void
>
Name | Type |
---|---|
controller |
ReadableStreamDefaultController <R > |
void
| PromiseLike
<void
>
node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts:638
Ƭ UnderlyingSourceStartCallback<R
>: (controller
: ReadableStreamDefaultController
<R
>) => void
| PromiseLike
<void
>
Name |
---|
R |
▸ (controller
): void
| PromiseLike
<void
>
Name | Type |
---|---|
controller |
ReadableStreamDefaultController <R > |
void
| PromiseLike
<void
>
node_modules/formdata-node/node_modules/web-streams-polyfill/types/ponyfill.d.ts:642
Ƭ Uploadable: FileLike
| ResponseLike
| FsReadStream
Typically, this is a native "File" class.
We provide the toFile utility to convert a variety of objects into the File class.
For convenience, you can also pass a fetch Response, or in Node, the result of fs.createReadStream().
node_modules/openai/uploads.d.ts:16
Ƭ WithImplicitCoercion<T
>: T
| { valueOf
: () => T
}
Name |
---|
T |
node_modules/@types/node/buffer.d.ts:245
Ƭ __Event: typeof globalThis
extends { Event
: any
; onmessage
: any
} ? {} : { bubbles
: boolean
; cancelBubble
: () => void
; cancelable
: boolean
; composed
: boolean
; currentTarget
: EventTarget
| null
; defaultPrevented
: boolean
; eventPhase
: 0
| 2
; isTrusted
: boolean
; returnValue
: boolean
; srcElement
: EventTarget
| null
; target
: EventTarget
| null
; timeStamp
: number
; type
: string
; composedPath
: () => [EventTarget?] ; preventDefault
: () => void
; stopImmediatePropagation
: () => void
; stopPropagation
: () => void
}
node_modules/@types/node/dom-events.d.ts:11
Ƭ __EventTarget: typeof globalThis
extends { EventTarget
: any
; onmessage
: any
} ? {} : { addEventListener
: (type
: string
, listener
: EventListener
| EventListenerObject
, options?
: boolean
| AddEventListenerOptions
) => void
; dispatchEvent
: (event
: Event
) => boolean
; removeEventListener
: (type
: string
, listener
: EventListener
| EventListenerObject
, options?
: boolean
| EventListenerOptions
) => void
}
node_modules/@types/node/dom-events.d.ts:50
• AbortController: Object
• new AbortController(): AbortController
Name | Type |
---|---|
prototype |
AbortController |
node_modules/@types/node/globals.d.ts:47
node_modules/@types/node/globals.d.ts:70
• AbortSignal: Object
• new AbortSignal(): AbortSignal
Name | Type |
---|---|
prototype |
AbortSignal |
abort |
(reason? : any ) => AbortSignal
|
timeout |
(milliseconds : number ) => AbortSignal
|
node_modules/@types/node/globals.d.ts:60
node_modules/@types/node/globals.d.ts:76
• Buffer: BufferConstructor
node_modules/@types/node/buffer.d.ts:631
node_modules/@types/node/buffer.d.ts:2314
• Event: Object
• new Event(type
, eventInitDict?
): Object
Name | Type |
---|---|
type |
string |
eventInitDict? |
EventInit |
Object
Name | Type | Description |
---|---|---|
bubbles |
boolean |
This is not used in Node.js and is provided purely for completeness. |
cancelBubble |
() => void
|
Alias for event.stopPropagation(). This is not used in Node.js and is provided purely for completeness. |
cancelable |
boolean |
True if the event was created with the cancelable option |
composed |
boolean |
This is not used in Node.js and is provided purely for completeness. |
currentTarget |
null | EventTarget
|
Alias for event.target. |
defaultPrevented |
boolean |
Is true if cancelable is true and event.preventDefault() has been called. |
eventPhase |
0 | 2
|
This is not used in Node.js and is provided purely for completeness. |
isTrusted |
boolean |
The AbortSignal "abort" event is emitted with isTrusted set to true . The value is false in all other cases. |
returnValue |
boolean |
This is not used in Node.js and is provided purely for completeness. |
srcElement |
null | EventTarget
|
Alias for event.target. |
target |
null | EventTarget
|
The EventTarget dispatching the event |
timeStamp |
number |
The millisecond timestamp when the Event object was created. |
type |
string |
Returns the type of event, e.g. "click", "hashchange", or "submit". |
composedPath |
() => [EventTarget?] | Returns an array containing the current EventTarget as the only entry or empty if the event is not being dispatched. This is not used in Node.js and is provided purely for completeness. |
preventDefault |
() => void
|
Sets the defaultPrevented property to true if cancelable is true . |
stopImmediatePropagation |
() => void
|
Stops the invocation of event listeners after the current one completes. |
stopPropagation |
() => void
|
This is not used in Node.js and is provided purely for completeness. |
Name | Type |
---|---|
prototype |
{ bubbles : boolean ; cancelBubble : () => void ; cancelable : boolean ; composed : boolean ; currentTarget : null | EventTarget ; defaultPrevented : boolean ; eventPhase : 0 | 2 ; isTrusted : boolean ; returnValue : boolean ; srcElement : null | EventTarget ; target : null | EventTarget ; timeStamp : number ; type : string ; composedPath : () => [EventTarget?] ; preventDefault : () => void ; stopImmediatePropagation : () => void ; stopPropagation : () => void } |
prototype.bubbles |
boolean |
prototype.cancelBubble |
() => void
|
prototype.cancelable |
boolean |
prototype.composed |
boolean |
prototype.currentTarget |
null | EventTarget
|
prototype.defaultPrevented |
boolean |
prototype.eventPhase |
0 | 2
|
prototype.isTrusted |
boolean |
prototype.returnValue |
boolean |
prototype.srcElement |
null | EventTarget
|
prototype.target |
null | EventTarget
|
prototype.timeStamp |
number |
prototype.type |
string |
prototype.composedPath |
[object Object] |
prototype.preventDefault |
[object Object] |
prototype.stopImmediatePropagation |
[object Object] |
prototype.stopPropagation |
[object Object] |
node_modules/@types/node/dom-events.d.ts:105
node_modules/@types/node/dom-events.d.ts:106
• EventTarget: Object
• new EventTarget(): Object
Object
Name | Type |
---|---|
addEventListener |
(type : string , listener : EventListener | EventListenerObject , options? : boolean | AddEventListenerOptions ) => void
|
dispatchEvent |
(event : Event ) => boolean
|
removeEventListener |
(type : string , listener : EventListener | EventListenerObject , options? : boolean | EventListenerOptions ) => void
|
Name | Type |
---|---|
prototype |
{ addEventListener : (type : string , listener : EventListener | EventListenerObject , options? : boolean | AddEventListenerOptions ) => void ; dispatchEvent : (event : Event ) => boolean ; removeEventListener : (type : string , listener : EventListener | EventListenerObject , options? : boolean | EventListenerOptions ) => void } |
prototype.addEventListener |
[object Object] |
prototype.dispatchEvent |
[object Object] |
prototype.removeEventListener |
[object Object] |
node_modules/@types/node/dom-events.d.ts:116
node_modules/@types/node/dom-events.d.ts:117
• File: any
node_modules/openai/_shims/index.d.ts:51
node_modules/openai/_shims/index.d.ts:53
• File: typeof File
node_modules/openai/_shims/node-types.d.ts:39
node_modules/openai/_shims/node-types.d.ts:40
• ReadableByteStreamController: Object
• new ReadableByteStreamController(): ReadableByteStreamController
Name | Type |
---|---|
prototype |
ReadableByteStreamController |
node_modules/@types/node/stream/web.d.ts:176
node_modules/@types/node/stream/web.d.ts:183
• ReadableStream: Object
• new ReadableStream(underlyingSource
, strategy?
): ReadableStream
<Uint8Array
>
Name | Type |
---|---|
underlyingSource |
UnderlyingByteSource |
strategy? |
QueuingStrategy <Uint8Array > |
ReadableStream
<Uint8Array
>
• new ReadableStream<R
>(underlyingSource?
, strategy?
): ReadableStream
<R
>
Name | Type |
---|---|
R |
any |
Name | Type |
---|---|
underlyingSource? |
UnderlyingSource <R > |
strategy? |
QueuingStrategy <R > |
Name | Type |
---|---|
prototype |
ReadableStream <any > |
node_modules/@types/node/stream/web.d.ts:146
node_modules/@types/node/stream/web.d.ts:157
• ReadableStreamBYOBReader: any
node_modules/@types/node/stream/web.d.ts:166
node_modules/@types/node/stream/web.d.ts:174
• ReadableStreamDefaultController: Object
• new ReadableStreamDefaultController(): ReadableStreamDefaultController
<any
>
ReadableStreamDefaultController
<any
>
Name | Type |
---|---|
prototype |
ReadableStreamDefaultController <any > |
node_modules/@types/node/stream/web.d.ts:187
node_modules/@types/node/stream/web.d.ts:193
• ReadableStreamDefaultReader: Object
• new ReadableStreamDefaultReader<R
>(stream
): ReadableStreamDefaultReader
<R
>
Name | Type |
---|---|
R |
any |
Name | Type |
---|---|
stream |
ReadableStream <R > |
ReadableStreamDefaultReader
<R
>
Name | Type |
---|---|
prototype |
ReadableStreamDefaultReader <any > |
node_modules/@types/node/stream/web.d.ts:162
node_modules/@types/node/stream/web.d.ts:170
• SharedArrayBuffer: SharedArrayBufferConstructor
node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts:22
node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts:40
• URL: typeof URL
URL
class is a global reference for require('url').URL
https://nodejs.org/api/url.html#the-whatwg-url-api
Since
v10.0.0
node_modules/@types/node/url.d.ts:898
node_modules/@types/node/url.d.ts:908
• WritableStream: Object
• new WritableStream<W
>(underlyingSink?
, strategy?
): WritableStream
<W
>
Name | Type |
---|---|
W |
any |
Name | Type |
---|---|
underlyingSink? |
UnderlyingSink <W > |
strategy? |
QueuingStrategy <W > |
Name | Type |
---|---|
prototype |
WritableStream <any > |
node_modules/@types/node/stream/web.d.ts:231
node_modules/@types/node/stream/web.d.ts:237
• WritableStreamDefaultController: Object
• new WritableStreamDefaultController(): WritableStreamDefaultController
WritableStreamDefaultController
Name | Type |
---|---|
prototype |
WritableStreamDefaultController |
node_modules/@types/node/stream/web.d.ts:266
node_modules/@types/node/stream/web.d.ts:269
• WritableStreamDefaultWriter: Object
• new WritableStreamDefaultWriter<W
>(stream
): WritableStreamDefaultWriter
<W
>
Name | Type |
---|---|
W |
any |
Name | Type |
---|---|
stream |
WritableStream <W > |
WritableStreamDefaultWriter
<W
>
Name | Type |
---|---|
prototype |
WritableStreamDefaultWriter <any > |
node_modules/@types/node/stream/web.d.ts:247
node_modules/@types/node/stream/web.d.ts:256
▸ Object(): any
Provides functionality common to all JavaScript objects.
any
node_modules/typescript/lib/lib.es5.d.ts:157
▸ Object(value
): any
Provides functionality common to all JavaScript objects.
Name | Type |
---|---|
value |
any |
any
node_modules/typescript/lib/lib.es5.d.ts:158
- @ralphschuler/ai-function-caller
- index
- types/AIFunction
- types/Message
- @ralphschuler/assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- error
- index
- util
- @ralphschuler/better-map
- @ralphschuler/better-set
- @ralphschuler/binary-serializer
- @ralphschuler/bit-mask
- @ralphschuler/complex-compare
- @ralphschuler/i811n
- @ralphschuler/logger
- Color
- ColorMap
- Logger
- animations/BallonAnimation
- animations/BaseAnimation
- animations/BombAnimation
- animations/BouncingBallAnimation
- animations/ClockAnimation
- animations/DotsAnimation
- animations/HorizontalBarAnimation
- animations/PongAnimation
- animations/ProgressAnimation
- animations/ProgressBarAnimation
- animations/SpinnerAnimation
- animations/VerticalBarAnimation
- enums/LogLevel
- index
- interfaces/IColor
- interfaces/IMessage
- types/ColorName
- types/Colors
- @ralphschuler/lsystem
- @ralphschuler/mixin-class-factory
- @ralphschuler/neuronal-network
- @ralphschuler/parser-combinator
- index
- inputTypes
- parser
- unicode
- @ralphschuler/prom-metrics-decorator
- @ralphschuler/prom-metrics-parser
- @ralphschuler/random
- PseudoRandomItemSelector
- PseudoRandomNumberGenerator
- Seed
- index
- strategies
- strategy
- strategy
- strategy
- strategy
- strategy
- strategy
- types
- type
- type
- type
- @ralphschuler/safe-array
- @ralphschuler/slot-mashine
- @ralphschuler/state-store
- StateStore
- index
- type
- type
- type
- type
- type
- type
- type
- type
- util
- @ralphschuler/stats-tracker
- @ralphschuler/ts-error
- error
- index
- type
- util
- util
- util
- util
- @ralphschuler/webgl-sand-engine
- index
- pixel-renderer
- @ralphschuler/webgl-shader-factory
- "node:stream/consumers"
- "node:stream/promises"
- ChatCompletionSnapshot
- Choice
- Message
- ToolCall
- EventEmitter
- FormData
- OpenAI
- OpenAI
- Audio
- Speech
- Transcriptions
- Translations
- Beta
- Assistants
- Assistant
- AssistantCreateParams
- AssistantUpdateParams
- Files
- Chat
- Threads
- Messages
- Files
- MessageContentImageFile
- MessageContentText
- Text
- FileCitation
- FilePath
- Runs
- RequiredActionFunctionToolCall
- Run
- RequiredAction
- RunCreateParams
- RunSubmitToolOutputsParams
- Steps
- CodeToolCall
- CodeInterpreter
- Image
- FunctionToolCall
- MessageCreationStepDetails
- RunStep
- ThreadCreateAndRunParams
- Thread
- ThreadCreateParams
- Chat
- Completions
- ChatCompletion
- ChatCompletionAssistantMessageParam
- ChatCompletionChunk
- Choice
- Delta
- ToolCall
- ChatCompletionContentPartImage
- ChatCompletionCreateParams
- ChatCompletionMessage
- ChatCompletionMessageToolCall
- ChatCompletionNamedToolChoice
- Completions
- CompletionChoice
- CompletionCreateParams
- Edits
- Edit
- Embeddings
- CreateEmbeddingResponse
- Files
- FineTunes
- FineTune
- FineTuneCreateParams
- FineTuneListEventsParams
- FineTuning
- Jobs
- FineTuningJob
- JobCreateParams
- Images
- Models
- Moderations
- Moderation
- internal
- finished
- pipeline
- "node:stream/consumers"
- "node:stream/promises"
- EventEmitter
- internal
- finished
- pipeline
- Counter
- Gauge
- Histogram
- Summary