cui-llama.rn
Version:
Fork of llama.rn for ChatterUI
10 lines • 373 B
TypeScript
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