From 37f4db36a6bbc99d5bea098ae126e06845dd0c05 Mon Sep 17 00:00:00 2001 From: timothycarambat Date: Sun, 21 Apr 2024 11:45:34 -0700 Subject: [PATCH 01/11] resolves #1156 Fixed prisma command response on api workspace update-embeddings --- server/endpoints/api/workspace/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/endpoints/api/workspace/index.js b/server/endpoints/api/workspace/index.js index 122602873..fbfdde888 100644 --- a/server/endpoints/api/workspace/index.js +++ b/server/endpoints/api/workspace/index.js @@ -436,9 +436,9 @@ function apiWorkspaceEndpoints(app) { await Document.removeDocuments(currWorkspace, deletes); await Document.addDocuments(currWorkspace, adds); - const updatedWorkspace = await Workspace.get( - `id = ${Number(currWorkspace.id)}` - ); + const updatedWorkspace = await Workspace.get({ + id: Number(currWorkspace.id), + }); response.status(200).json({ workspace: updatedWorkspace }); } catch (e) { console.log(e.message, e); From 7e3b8cd4fcde0a7c66918842222de476bc58b8d0 Mon Sep 17 00:00:00 2001 From: timothycarambat Date: Mon, 22 Apr 2024 13:00:06 -0700 Subject: [PATCH 02/11] resolves #1169 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 842efa071..a56d24ac1 100644 --- a/README.md +++ b/README.md @@ -188,7 +188,7 @@ You can verify these claims by finding all locations `Telemetry.sendTelemetry` i --- -Copyright © 2023 [Mintplex Labs][profile-link].
+Copyright © 2024 [Mintplex Labs][profile-link].
This project is [MIT](./LICENSE) licensed. From 897e168fd1dda3ea762e4dcee46ed01a25935524 Mon Sep 17 00:00:00 2001 From: Sean Hatfield Date: Mon, 22 Apr 2024 13:14:27 -0700 Subject: [PATCH 03/11] [FEAT] Add support for more groq models (Llama 3 and Gemma) (#1143) add support for more groq models --- .../LLMSelection/GroqAiOptions/index.jsx | 8 +++++++- frontend/src/hooks/useGetProvidersModels.js | 8 +++++++- server/utils/AiProviders/groq/index.js | 15 +++++++++++++-- 3 files changed, 27 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/LLMSelection/GroqAiOptions/index.jsx b/frontend/src/components/LLMSelection/GroqAiOptions/index.jsx index c85f0f1e0..ceee0d703 100644 --- a/frontend/src/components/LLMSelection/GroqAiOptions/index.jsx +++ b/frontend/src/components/LLMSelection/GroqAiOptions/index.jsx @@ -28,7 +28,13 @@ export default function GroqAiOptions({ settings }) { required={true} className="bg-zinc-900 border-gray-500 text-white text-sm rounded-lg block w-full p-2.5" > - {["llama2-70b-4096", "mixtral-8x7b-32768"].map((model) => { + {[ + "llama2-70b-4096", + "mixtral-8x7b-32768", + "llama3-8b-8192", + "llama3-70b-8192", + "gemma-7b-it", + ].map((model) => { return (