mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-27 13:29:15 +07:00
* ✨ feat: add files and knowledge base Update edge.ts Update test.yml 🎨 chore: fix locale Update index.tsx 测试 pgvector workflow * 💄 style: improve upload detail * ✨ feat: support delete s3 file when delete files * 💄 style: improve chunks in message * ♻️ refactor: refactor the auth method * ✨ feat: support use user client api key * 💄 style: fix image list in mobile * ✨ feat: support file upload on mobile * ✅ test: fix test * fix vercel build * docs: update docs * 👷 build: improve docker * update i18n
18 lines
636 B
JavaScript
18 lines
636 B
JavaScript
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
|
|
`;
|
|
|
|
module.exports = {
|
|
PGVECTOR_HINT,
|
|
};
|