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. diff --git a/docker/.env.example b/docker/.env.example index aabc139f8..5130ddb74 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -66,6 +66,12 @@ GID='1000' # GROQ_API_KEY=gsk_abcxyz # GROQ_MODEL_PREF=llama2-70b-4096 +# LLM_PROVIDER='generic-openai' +# GENERIC_OPEN_AI_BASE_PATH='http://proxy.url.openai.com/v1' +# GENERIC_OPEN_AI_MODEL_PREF='gpt-3.5-turbo' +# GENERIC_OPEN_AI_MODEL_TOKEN_LIMIT=4096 +# GENERIC_OPEN_AI_API_KEY=sk-123abc + ########################################### ######## Embedding API SElECTION ########## ########################################### diff --git a/frontend/src/components/LLMSelection/GenericOpenAiOptions/index.jsx b/frontend/src/components/LLMSelection/GenericOpenAiOptions/index.jsx new file mode 100644 index 000000000..8f5a00b66 --- /dev/null +++ b/frontend/src/components/LLMSelection/GenericOpenAiOptions/index.jsx @@ -0,0 +1,66 @@ +export default function GenericOpenAiOptions({ settings }) { + return ( +
+
+ + +
+
+ + +
+
+ + +
+
+ + e.target.blur()} + defaultValue={settings?.GenericOpenAiTokenLimit} + required={true} + autoComplete="off" + /> +
+
+ ); +} 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 (