smoltalk
Preparing search index...
BaseStrategy
Class BaseStrategy
Hierarchy (
View Summary
)
BaseStrategy
FallbackStrategy
IDStrategy
RaceStrategy
Implements
Strategy
Index
Constructors
constructor
Properties
statelog
Client?
Methods
_
text
_
text
Sync
text
text
Stream
text
Sync
to
JSON
to
Short
String
to
String
Constructors
constructor
new
BaseStrategy
()
:
BaseStrategy
Returns
BaseStrategy
Properties
Optional
statelog
Client
statelogClient
?:
StatelogClient
Methods
_
text
_text
(
config
:
SmolPromptConfig
)
:
Promise
<
Result
<
PromptResult
>
>
Parameters
config
:
SmolPromptConfig
Returns
Promise
<
Result
<
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
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
statelog
Client
Methods
_
text
_
text
Sync
text
text
Stream
text
Sync
to
JSON
to
Short
String
to
String
smoltalk
Loading...