Optional
fields: Partial<MinimaxChatInput> & BaseLanguageModelParams & { Optional
baseOptional
beamOptional
botOptional
continueOptional
defaultOptional
defaultOptional
headersOptional
maskOptional
minimaxOptional
minimaxOptional
prefixOptional
proOptional
promptOptional
replyOptional
roleOptional
skipOptional
temperatureOptional
tokensOptional
topPOptional
useOptional
options: Omit<ChatMinimaxCallOptions, never>Optional
options: Omit<ChatMinimaxCallOptions, never>Get the identifying parameters for the model
Optional
beam_Optional
bot_Optional
functions?: Function[]A list of functions the model may generate JSON inputs for.
Optional
mask_Optional
plugins?: string[]Optional
prompt?: stringOptional
reply_Optional
role_Optional
sample_Optional
skip_Optional
stream?: booleanOptional
temperature?: numberOptional
tokens_Optional
top_Optional
use_Get the parameters used to invoke the model
Optional
options: Omit<ChatMinimaxCallOptions, never>Convert a list of messages to the format expected by the model.
Optional
messages: BaseMessage[]Optional
options: Omit<ChatMinimaxCallOptions, never>Generated using TypeDoc
Wrapper around Minimax large language models that use the Chat endpoint.
To use you should have the
MINIMAX_GROUP_ID
andMINIMAX_API_KEY
environment variable set.Example