Spaces:
Paused
Paused
File size: 1,172 Bytes
3861128 90c1694 3861128 2670b73 3861128 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
export const DEFAULT_SYSTEM_PROMPT =
process.env.NEXT_PUBLIC_DEFAULT_SYSTEM_PROMPT ||
"You are Llama 2, a large language model trained by Meta. You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.";
export const OPENAI_API_HOST =
process.env.OPENAI_API_HOST || 'http://localhost:8000';
export const DEFAULT_TEMPERATURE =
parseFloat(process.env.NEXT_PUBLIC_DEFAULT_TEMPERATURE || "1");
export const OPENAI_API_TYPE =
process.env.OPENAI_API_TYPE || 'openai';
export const OPENAI_API_VERSION =
process.env.OPENAI_API_VERSION || '2023-03-15-preview';
export const OPENAI_ORGANIZATION =
process.env.OPENAI_ORGANIZATION || '';
export const AZURE_DEPLOYMENT_ID =
process.env.AZURE_DEPLOYMENT_ID || '';
|