Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
ai-openai
OpenAiFrontendApplicationContribution
Class OpenAiFrontendApplicationContribution
Implements
FrontendApplicationContribution
Index
Constructors
constructor
Properties
manager
preference
Service
prev
Custom
Models
prev
Models
Methods
create
Custom
Model
Descriptions
From
Preferences
create
OpenAIModel
Description
get
Matching
Request
Setting
get
Request
Settings
Pref
handle
Custom
Model
Changes
handle
Model
Changes
handle
Request
Settings
Changes
on
Start
Constructors
constructor
new
Open
Ai
Frontend
Application
Contribution
(
)
:
OpenAiFrontendApplicationContribution
Returns
OpenAiFrontendApplicationContribution
Properties
Protected
manager
manager
:
OpenAiLanguageModelsManager
Protected
preference
Service
preference
Service
:
PreferenceService
Protected
prev
Custom
Models
prev
Custom
Models
:
Partial
<
OpenAiModelDescription
>
[]
= []
Protected
prev
Models
prev
Models
:
string
[]
= []
Methods
Protected
create
Custom
Model
Descriptions
From
Preferences
create
Custom
Model
Descriptions
From
Preferences
(
preferences
,
requestSettings
)
:
OpenAiModelDescription
[]
Parameters
preferences
:
Partial
<
OpenAiModelDescription
>
[]
requestSettings
:
RequestSetting
[]
Returns
OpenAiModelDescription
[]
Protected
create
OpenAIModel
Description
create
OpenAIModel
Description
(
modelId
,
requestSettings
)
:
OpenAiModelDescription
Parameters
modelId
:
string
requestSettings
:
RequestSetting
[]
Returns
OpenAiModelDescription
Protected
get
Matching
Request
Setting
get
Matching
Request
Setting
(
modelId
,
providerId
,
requestSettings
)
:
undefined
|
RequestSetting
Parameters
modelId
:
string
providerId
:
string
requestSettings
:
RequestSetting
[]
Returns
undefined
|
RequestSetting
Private
get
Request
Settings
Pref
get
Request
Settings
Pref
(
)
:
RequestSetting
[]
Returns
RequestSetting
[]
Protected
handle
Custom
Model
Changes
handle
Custom
Model
Changes
(
newCustomModels
)
:
void
Parameters
newCustomModels
:
Partial
<
OpenAiModelDescription
>
[]
Returns
void
Protected
handle
Model
Changes
handle
Model
Changes
(
newModels
)
:
void
Parameters
newModels
:
string
[]
Returns
void
Protected
handle
Request
Settings
Changes
handle
Request
Settings
Changes
(
newSettings
)
:
void
Parameters
newSettings
:
RequestSetting
[]
Returns
void
on
Start
on
Start
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
manager
preference
Service
prev
Custom
Models
prev
Models
create
Custom
Model
Descriptions
From
Preferences
create
OpenAIModel
Description
get
Matching
Request
Setting
get
Request
Settings
Pref
handle
Custom
Model
Changes
handle
Model
Changes
handle
Request
Settings
Changes
on
Start
Theia TypeDoc
Loading...