Properties
base_ url
base_ url : string = "https://api.aleph-alpha.com/complete"
completion_ bias_ exclusion_ first_ token_ only
completion_ bias_ exclusion_ first_ token_ only : boolean
completion_ bias_ inclusion_ first_ token_ only
completion_ bias_ inclusion_ first_ token_ only : boolean
control_ log_ additive
control_ log_ additive : boolean
maximum_ tokens
maximum_ tokens : number = 64
minimum_ tokens
minimum_ tokens : number = 0
model
model : string = "luminous-base"
raw_ completion
raw_ completion : boolean
temperature
temperature : number = 0.0
top_ p
top_ p : number = 0.0
Optional
aleph_ alpha_ api_ key
aleph_ alpha_ api_ key ?: any = ...
Optional
best_ of
best_ of ?: number
Optional
completion_ bias_ exclusion
completion_ bias_ exclusion ?: string []
Optional
completion_ bias_ inclusion
completion_ bias_ inclusion ?: string []
Optional
contextual_ control_ threshold
contextual_ control_ threshold ?: number
Optional
disable_ optimizations
disable_ optimizations ?: boolean
Optional
frequency_ penalty
frequency_ penalty ?: number
Optional
log_ probs
log_ probs ?: number
Optional
logit_ bias
logit_ bias ?: object
Optional
penalty_ bias
penalty_ bias ?: string
Optional
penalty_ exceptions
penalty_ exceptions ?: string []
Optional
penalty_ exceptions_ include_ stop_ sequences
penalty_ exceptions_ include_ stop_ sequences ?: boolean
Optional
presence_ penalty
presence_ penalty ?: number
Optional
repetition_ penalties_ include_ completion
repetition_ penalties_ include_ completion ?: boolean
Optional
repetition_ penalties_ include_ prompt
repetition_ penalties_ include_ prompt ?: boolean
Optional
sequence_ penalty
sequence_ penalty ?: number
Optional
sequence_ penalty_ min_ length
sequence_ penalty_ min_ length ?: number
Optional
stop
stop ?: string []
Optional
tokens
tokens ?: boolean
Optional
use_ multiplicative_ frequency_ penalty
use_ multiplicative_ frequency_ penalty ?: boolean
Optional
use_ multiplicative_ presence_ penalty
use_ multiplicative_ presence_ penalty ?: boolean
Optional
use_ multiplicative_ sequence_ penalty
use_ multiplicative_ sequence_ penalty ?: boolean
Specific implementation of a Large Language Model (LLM) designed to interact with the Aleph Alpha API. It extends the base LLM class and includes a variety of parameters for customizing the behavior of the Aleph Alpha model.