smoltalk
Preparing search index...
RaceStrategy
Class RaceStrategy
Hierarchy (
View Summary
)
BaseStrategy
RaceStrategy
Index
Constructors
constructor
Properties
statelog
Client?
strategies
Methods
_
text
_
text
Sync
text
text
Stream
text
Sync
to
JSON
to
Short
String
to
String
from
JSON
Constructors
constructor
new
RaceStrategy
(
strategies
:
ModelParam
[]
)
:
RaceStrategy
Parameters
strategies
:
ModelParam
[]
Returns
RaceStrategy
Properties
Optional
statelog
Client
statelogClient
?:
StatelogClient
strategies
strategies
:
Strategy
[]
Methods
_
text
_text
(
config
:
SmolPromptConfig
)
:
Promise
<
Failure
|
Success
<
PromptResult
>
>
Parameters
config
:
SmolPromptConfig
Returns
Promise
<
Failure
|
Success
<
PromptResult
>
>
_
text
Sync
_textSync
(
config
:
SmolPromptConfig
)
:
Promise
<
Result
<
PromptResult
>
>
Parameters
config
:
SmolPromptConfig
Returns
Promise
<
Result
<
PromptResult
>
>
text
text
(
config
:
SmolPromptConfig
)
:
Promise
<
Result
<
PromptResult
>
>
Parameters
config
:
SmolPromptConfig
Returns
Promise
<
Result
<
PromptResult
>
>
text
Stream
textStream
(
config
:
SmolPromptConfig
,
)
:
Promise
<
Result
<
AsyncIterable
<
PromptResult
,
any
,
any
>
>
>
Parameters
config
:
SmolPromptConfig
Returns
Promise
<
Result
<
AsyncIterable
<
PromptResult
,
any
,
any
>
>
>
text
Sync
textSync
(
config
:
SmolPromptConfig
)
:
Promise
<
Result
<
PromptResult
>
>
Parameters
config
:
SmolPromptConfig
Returns
Promise
<
Result
<
PromptResult
>
>
to
JSON
toJSON
()
:
StrategyJSON
Returns
StrategyJSON
to
Short
String
toShortString
()
:
string
Returns
string
to
String
toString
()
:
string
Returns
string
Static
from
JSON
fromJSON
(
json
:
unknown
)
:
RaceStrategy
Parameters
json
:
unknown
Returns
RaceStrategy
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
statelog
Client
strategies
Methods
_
text
_
text
Sync
text
text
Stream
text
Sync
to
JSON
to
Short
String
to
String
from
JSON
smoltalk
Loading...