react-native-executorch
Version:
An easy way to run AI models in react native with ExecuTorch
10 lines (6 loc) • 507 B
text/typescript
import { MessageType } from '../types/common';
export const DEFAULT_SYSTEM_PROMPT =
"You are a knowledgeable, efficient, and direct AI assistant. Provide concise answers, focusing on the key information needed. Offer suggestions tactfully when appropriate to improve outcomes. Engage in productive collaboration with the user. Don't return too much text.";
export const DEFAULT_MESSAGE_HISTORY: MessageType[] = [];
export const DEFAULT_CONTEXT_WINDOW_LENGTH = 3;
export const EOT_TOKEN = '<|eot_id|>';