@ai16z/eliza v0.1.6-alpha.4 / ITextGenerationService
Interface: ITextGenerationService
Extends
Accessors
serviceType
Get Signature
get serviceType():
ServiceType
Returns
Inherited from
Defined in
packages/core/src/types.ts:1016
Methods
initialize()
abstract
initialize(runtime
):Promise
<void
>
Add abstract initialize method that must be implemented by derived classes
Parameters
• runtime: IAgentRuntime
Returns
Promise
<void
>
Inherited from
Defined in
packages/core/src/types.ts:1021
initializeModel()
initializeModel():
Promise
<void
>
Returns
Promise
<void
>
Defined in
packages/core/src/types.ts:1136
queueMessageCompletion()
queueMessageCompletion(
context
,temperature
,stop
,frequency_penalty
,presence_penalty
,max_tokens
):Promise
<any
>