-
Notifications
You must be signed in to change notification settings - Fork 0
@ralphschuler.ai function caller.types.AIFunction
- AIFunction
- AIFunctionCall
- AIFunctionCallArguments
- AIFunctionDescription
- AIFunctionExample
- AIFunctionName
- AIFunctionParameter
- AIFunctionParameterName
- AIFunctionParameters
- AIFunctionProperty
- AIFunctionPropertyName
- AIPropertyDescription
- AIPropertyType
Ƭ AIFunction<AiFunctionCallResponse
>: Object
Represents an AI function, including its name, description, parameters, and the method to execute it.
Name | Description |
---|---|
AiFunctionCallResponse |
The expected response type from the AI function call. |
Name | Type | Description |
---|---|---|
description |
AIFunctionDescription |
A description of the AI function. |
example? |
AIFunctionExample |
An optional example of how the AI function can be used. |
method |
(args : AIFunctionCallArguments ) => Promise <AiFunctionCallResponse > |
The method to execute the AI function. |
name |
AIFunctionName |
The name of the AI function. |
parameters |
AIFunctionParameters |
The parameters required by the AI function. |
packages/ai-function-caller/src/types/AIFunction.ts:84
Ƭ AIFunctionCall: Object
Represents a call to an AI function, including the function name and arguments.
Name | Type | Description |
---|---|---|
arguments |
AIFunctionCallArguments |
The arguments passed to the AI function. |
name |
AIFunctionName |
The name of the AI function being called. |
packages/ai-function-caller/src/types/AIFunction.ts:63
Ƭ AIFunctionCallArguments: string
Represents the arguments passed in an AI function call.
packages/ai-function-caller/src/types/AIFunction.ts:73
Ƭ AIFunctionDescription: string
Describes an AI function.
packages/ai-function-caller/src/types/AIFunction.ts:9
Ƭ AIFunctionExample: string
Represents an example usage of an AI function.
packages/ai-function-caller/src/types/AIFunction.ts:78
Ƭ AIFunctionName: string
Represents the name of an AI function.
packages/ai-function-caller/src/types/AIFunction.ts:4
Ƭ AIFunctionParameter: string
| number
| boolean
Represents a parameter value in an AI function call, which can be a string, number, or boolean.
packages/ai-function-caller/src/types/AIFunction.ts:58
Ƭ AIFunctionParameterName: string
Represents the name of a parameter in an AI function.
packages/ai-function-caller/src/types/AIFunction.ts:14
Ƭ AIFunctionParameters: Object
Represents the parameters of an AI function, including their types and required status.
Name | Type | Description |
---|---|---|
properties |
{ [key: AIFunctionParameterName] : AIFunctionProperty ; } |
The properties of the parameters, keyed by the parameter name. |
required |
AIFunctionParameterName [] |
An array of parameter names that are required. |
type |
"object" |
The type of the parameters, typically an object. |
packages/ai-function-caller/src/types/AIFunction.ts:44
Ƭ AIFunctionProperty: Object
Represents a property of an AI function, including its type and description.
Name | Type | Description |
---|---|---|
description |
AIPropertyDescription |
The description of the property. |
type |
AIPropertyType |
The type of the property. |
packages/ai-function-caller/src/types/AIFunction.ts:34
Ƭ AIFunctionPropertyName: string
Represents the name of a property in an AI function.
packages/ai-function-caller/src/types/AIFunction.ts:24
Ƭ AIPropertyDescription: string
Describes a property in an AI function.
packages/ai-function-caller/src/types/AIFunction.ts:29
Ƭ AIPropertyType: "string"
| "integer"
| "boolean"
| "object"
Enumerates the possible types for AI function properties.
- @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