diff --git a/.vscode/settings.json b/.vscode/settings.json index 450dd779..c8c7ea99 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,6 @@ { "cSpell.words": [ - "openai" + "openai", + "Weaviate" ] } \ No newline at end of file diff --git a/docker/.env.example b/docker/.env.example index 6b9791eb..77550b6f 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -32,6 +32,11 @@ PINECONE_INDEX= # Enable all below if you are using vector database: LanceDB. # VECTOR_DB="lancedb" +# Enable all below if you are using vector database: Weaviate. +# VECTOR_DB="weaviate" +# WEAVIATE_ENDPOINT="http://localhost:8080" +# WEAVIATE_API_KEY= + # CLOUD DEPLOYMENT VARIRABLES ONLY # AUTH_TOKEN="hunter2" # This is the password to your application if remote hosting. # NO_DEBUG="true" diff --git a/docker/Dockerfile b/docker/Dockerfile index 1625263d..43112a1e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -63,13 +63,13 @@ RUN cd ./frontend/ && yarn build && yarn cache clean # Setup the server FROM server-deps as production-stage -COPY ./server/ ./server/ +COPY --chown=anythingllm:anythingllm ./server/ ./server/ # Copy built static frontend files to the server public directory COPY --from=build-stage /app/frontend/dist ./server/public # Copy the collector -COPY ./collector/ ./collector/ +COPY --chown=anythingllm:anythingllm ./collector/ ./collector/ # Install collector dependencies RUN cd /app/collector && \ diff --git a/frontend/src/components/Modals/Settings/ExportImport/index.jsx b/frontend/src/components/Modals/Settings/ExportImport/index.jsx index 4099e8c0..e2245d53 100644 --- a/frontend/src/components/Modals/Settings/ExportImport/index.jsx +++ b/frontend/src/components/Modals/Settings/ExportImport/index.jsx @@ -7,7 +7,7 @@ import paths from "../../../../utils/paths"; const noop = () => false; export default function ExportOrImportData({ hideModal = noop }) { return ( -
diff --git a/frontend/src/components/Modals/Settings/LLMSelection/index.jsx b/frontend/src/components/Modals/Settings/LLMSelection/index.jsx index 94b75ace..2cf01435 100644 --- a/frontend/src/components/Modals/Settings/LLMSelection/index.jsx +++ b/frontend/src/components/Modals/Settings/LLMSelection/index.jsx @@ -37,7 +37,7 @@ export default function LLMSelection({ setHasChanges(!!error ? true : false); }; return ( -
@@ -59,7 +59,7 @@ export default function LLMSelection({
LLM providers
-diff --git a/frontend/src/components/Modals/Settings/PasswordProtection/index.jsx b/frontend/src/components/Modals/Settings/PasswordProtection/index.jsx index 387c44bc..5e626912 100644 --- a/frontend/src/components/Modals/Settings/PasswordProtection/index.jsx +++ b/frontend/src/components/Modals/Settings/PasswordProtection/index.jsx @@ -41,7 +41,7 @@ export default function PasswordProtection({ }; return ( -
diff --git a/frontend/src/components/Modals/Settings/VectorDbs/index.jsx b/frontend/src/components/Modals/Settings/VectorDbs/index.jsx index c4ad0aec..b1a5a97b 100644 --- a/frontend/src/components/Modals/Settings/VectorDbs/index.jsx +++ b/frontend/src/components/Modals/Settings/VectorDbs/index.jsx @@ -3,6 +3,7 @@ import System from "../../../../models/system"; import ChromaLogo from "../../../../media/vectordbs/chroma.png"; import PineconeLogo from "../../../../media/vectordbs/pinecone.png"; import LanceDbLogo from "../../../../media/vectordbs/lancedb.png"; +import WeaviateLogo from "../../../../media/vectordbs/weaviate.png"; const noop = () => false; export default function VectorDBSelection({ @@ -37,7 +38,7 @@ export default function VectorDBSelection({ setHasChanges(!!error ? true : false); }; return ( -
@@ -59,7 +60,7 @@ export default function VectorDBSelection({
Vector database providers
-