[]
        
(Showing Draft Content)

GC.Spread.Sheets.AI

Namespace: AI

Spread.Sheets.AI

Table of contents

Type aliases

Type aliases

AIRequestCallback

Ƭ AIRequestCallback: (config: IAIConfig) => Promise<any>

Type declaration

▸ (config): Promise<any>

Parameters
Name Type
config IAIConfig
Returns

Promise<any>


IAIConfig

Ƭ IAIConfig: Object

property {{ role: string; content: string }[]} [messages]

property [temperature]

property [max_tokens]

property [stream]

Index signature

▪ [key: string]: any

Type declaration

Name Type
max_tokens? number
messages { content: string ; role: string }[]
stream? boolean
temperature? number

IAIEnvironment

Ƭ IAIEnvironment: Object

property model

property key

property basePath

Type declaration

Name Type
basePath string
key string
model string