UNPKG

embeddings-js

Version:

A NodeJS RAG framework to easily work with LLMs and custom datasets

13 lines (12 loc) 511 B
import { Chunk, ConversationHistory } from '../global/types.js'; import { BaseModel } from '../interfaces/base-model.js'; export declare class Mistral extends BaseModel { private readonly debug; private model; constructor({ temperature, accessToken, modelName, }: { temperature?: number; accessToken: string; modelName?: string; }); runQuery(system: string, userQuery: string, supportingContext: Chunk[], pastConversations: ConversationHistory[]): Promise<string>; }