Preparing search index...
The search index is not available
@skeet-framework/ai
@skeet-framework/ai
OpenAI
Class OpenAI
Implements
AIPromptable
Index
Constructors
constructor
Properties
ai
Instance
options
Methods
chat
create
Fine
Tuning
Job
generate
Title
prompt
prompt
Stream
show
Fine
Tuning
Job
upload
File
Constructors
constructor
new
OpenAI
(
options
?
)
:
OpenAI
Parameters
options
:
OpenAIOptions
= {}
Returns
OpenAI
Properties
ai
Instance
ai
Instance
:
openai
.
OpenAI
Private
options
options
:
OpenAIOptions
Methods
chat
chat
(
content
)
:
Promise
<
string
>
Parameters
content
:
string
Returns
Promise
<
string
>
create
Fine
Tuning
Job
create
Fine
Tuning
Job
(
fileId
,
model
?
)
:
Promise
<
FineTuningJob
>
Parameters
fileId
:
string
Optional
model
:
string
Returns
Promise
<
FineTuningJob
>
generate
Title
generate
Title
(
content
)
:
Promise
<
string
>
Parameters
content
:
string
Returns
Promise
<
string
>
prompt
prompt
(
promptParams
)
:
Promise
<
string
>
Parameters
promptParams
:
any
Returns
Promise
<
string
>
prompt
Stream
prompt
Stream
(
prompt
)
:
Promise
<
Stream
<
ChatCompletionChunk
>
>
Parameters
prompt
:
any
Returns
Promise
<
Stream
<
ChatCompletionChunk
>
>
show
Fine
Tuning
Job
show
Fine
Tuning
Job
(
jobId
)
:
Promise
<
FineTuningJob
>
Parameters
jobId
:
string
Returns
Promise
<
FineTuningJob
>
upload
File
upload
File
(
filePath
)
:
Promise
<
FileObject
>
Parameters
filePath
:
string
Returns
Promise
<
FileObject
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
ai
Instance
options
chat
create
Fine
Tuning
Job
generate
Title
prompt
prompt
Stream
show
Fine
Tuning
Job
upload
File
@skeet-framework/ai
ChatCompletion
ChatCompletionChunk
openai
InstanceType
NamingEnum
SkeetAiMode
OpenAI
SkeetAI
Stream
VertexAI
AIPrompt
ChatCompletion
ChatCompletionChunk
SkeetAIOptions
AIExample
AIType
AiInstance
ChatCompletionMessageParam
Example
InputOutput
OpenAIMessage
Loading...
Generated using
TypeDoc