@ai16z/eliza v0.1.4-alpha.3 / ITextGenerationService
get serviceType():
ServiceType
packages/core/src/types.ts:966
abstract
initialize(runtime
):Promise
<void
>
Add abstract initialize method that must be implemented by derived classes
• runtime: IAgentRuntime
Promise
<void
>
packages/core/src/types.ts:971
initializeModel():
Promise
<void
>
Promise
<void
>
packages/core/src/types.ts:1080
queueMessageCompletion(
context
,temperature
,stop
,frequency_penalty
,presence_penalty
,max_tokens
):Promise
<any
>
• context: string
• temperature: number
• stop: string
[]
• frequency_penalty: number
• presence_penalty: number
• max_tokens: number
Promise
<any
>
packages/core/src/types.ts:1081
queueTextCompletion(
context
,temperature
,stop
,frequency_penalty
,presence_penalty
,max_tokens
):Promise
<string
>
• context: string
• temperature: number
• stop: string
[]
• frequency_penalty: number
• presence_penalty: number
• max_tokens: number
Promise
<string
>
packages/core/src/types.ts:1089
getEmbeddingResponse(
input
):Promise
<number
[]>
• input: string
Promise
<number
[]>