跳到主要内容

Class: MistralAISession

Constructors

constructor

new MistralAISession(init?): MistralAISession

Parameters

NameType
init?Partial<MistralAISession>

Returns

MistralAISession

Defined in

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

Properties

apiKey

Optional apiKey: string

Defined in

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


client

Private client: any

Defined in

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

Methods

getClient

getClient(): Promise<any>

Returns

Promise<any>

Defined in

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