Class: MistralAI
MistralAI LLM implementation
Hierarchy
-
BaseLLM
↳
MistralAI
Constructors
constructor
• new MistralAI(init?
): MistralAI
Parameters
Name | Type |
---|---|
init? | Partial <MistralAI > |
Returns
Overrides
BaseLLM.constructor
Defined in
packages/core/src/llm/mistral.ts:63
Properties
apiKey
• Optional
apiKey: string
Defined in
packages/core/src/llm/mistral.ts:56
callbackManager
• Optional
callbackManager: CallbackManager
Defined in
packages/core/src/llm/mistral.ts:57
maxTokens
• Optional
maxTokens: number
Defined in
packages/core/src/llm/mistral.ts:55
model
• model: "mistral-tiny"
| "mistral-small"
| "mistral-medium"
Defined in
packages/core/src/llm/mistral.ts:52
randomSeed
• Optional
randomSeed: number
Defined in
packages/core/src/llm/mistral.ts:59
safeMode
• safeMode: boolean
Defined in
packages/core/src/llm/mistral.ts:58
session
• Private
session: MistralAISession
Defined in
packages/core/src/llm/mistral.ts:61
temperature
• temperature: number
Defined in
packages/core/src/llm/mistral.ts:53
topP
• topP: number
Defined in
packages/core/src/llm/mistral.ts:54
Accessors
metadata
• get
metadata(): Object