UNPKG

llama.rn

Version:

React Native binding of llama.cpp

10 lines 373 B
import type { NativeLlamaChatMessage } from './NativeRNLlama'; export type RNLlamaMessagePart = { text?: string; }; export type RNLlamaOAICompatibleMessage = { role: string; content?: string | RNLlamaMessagePart[] | any; }; export declare function formatChat(messages: RNLlamaOAICompatibleMessage[]): NativeLlamaChatMessage[]; //# sourceMappingURL=chat.d.ts.map