AgentOS
About
Features
Blog
API Docs
Guides
Get Started
@framers/agentos
ITranslationProvider
Interface ITranslationProvider
Pluggable translation provider interface.
interface
ITranslationProvider
{
id
:
string
;
isInitialized
:
boolean
;
initialize
(
)
:
Promise
<
void
>
;
translate
(
input
,
source
,
target
,
options
?
)
:
Promise
<
TranslationResult
>
;
shutdown
?
(
)
:
Promise
<
void
>
;
}
Index
Methods
initialize
translate
shutdown?
Properties
id
is
Initialized
Methods
initialize
initialize
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
translate
translate
(
input
,
source
,
target
,
options
?
)
:
Promise
<
TranslationResult
>
Parameters
input
:
string
source
:
string
target
:
string
Optional
options
:
TranslationOptions
Returns
Promise
<
TranslationResult
>
Optional
shutdown
shutdown
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Properties
Readonly
id
id
:
string
Readonly
is
Initialized
is
Initialized
:
boolean
Settings
Member Visibility
Protected
Inherited
Alpha
Beta
Theme
OS
Light
Dark
On This Page
initialize
translate
shutdown
id
is
Initialized
Architecture
Changelog
Planning Engine
Human-in-the-Loop
Agent Communication
Evaluation Framework
@framers/agentos - v1.0.1
Loading...
Pluggable translation provider interface.