跳到主要内容

Class: MistralAISession

Constructors

constructor

new MistralAISession(init?): MistralAISession

Parameters

NameType
init?Partial<MistralAISession>

Returns

MistralAISession

Defined in

packages/core/src/llm/mistral.ts:26

Properties

apiKey

Optional apiKey: string

Defined in

packages/core/src/llm/mistral.ts:23


client

Private client: any

Defined in

packages/core/src/llm/mistral.ts:24

Methods

getClient

getClient(): Promise<any>

Returns

Promise<any>

Defined in

packages/core/src/llm/mistral.ts:39