UNPKG

@lobehub/chat

Version:

Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.

37 lines (25 loc) 1.2 kB
const PGVECTOR_HINT = `⚠️ Database migrate failed due to \`pgvector\` extension not found. Please install the \`pgvector\` extension on your postgres instance. 1) if you are using docker postgres image: you can just use \`pgvector/pgvector:pg16\` image instead of \`postgres\`, e.g: \`\`\` docker run -p 5432:5432 -d --name pg -e POSTGRES_PASSWORD=mysecretpassword pgvector/pgvector:pg16 \`\`\` 2) if you are using cloud postgres instance, please contact your cloud provider for help. if you have any other question, please open issue here: https://github.com/lobehub/lobe-chat/issues `; const DB_FAIL_INIT_HINT = `------------------------------------------------------------------------------------------ ⚠️ Database migrate failed due to not find the db instance. 1) You might not switch to server db mode, please set the env blow and try again: \`\`\` NEXT_PUBLIC_SERVICE_MODE=server \`\`\` 2) if you are using docker postgres image, you may need to set DATABASE_DRIVER to node \`\`\` DATABASE_DRIVER=node \`\`\` if you have any other question, please open issue here: https://github.com/lobehub/lobe-chat/issues `; module.exports = { DB_FAIL_INIT_HINT, PGVECTOR_HINT, };