From 4e9ca1dc35af885ade413bdb93499f3063c7d822 Mon Sep 17 00:00:00 2001 From: rahulkrprajapati Date: Sun, 18 Aug 2024 19:00:08 +0530 Subject: [PATCH] adding support for gpt-4o-mini --- run_uptrain.sh | 2 +- uptrain/dashboard/frontend/dashboard/src/utils/models.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/run_uptrain.sh b/run_uptrain.sh index fee64a9e..8d7abbc6 100644 --- a/run_uptrain.sh +++ b/run_uptrain.sh @@ -1,3 +1,3 @@ mkdir data echo -e "SERVER_DATA_DIR=$(pwd)/data\nUPTRAIN_LOCAL_URL=http://localhost:4300\nNEXT_PUBLIC_BACKEND_URL=http://localhost:4300/\nNEXT_PUBLIC_BASE_PATH=/dashboard" > .env -docker compose --env-file .env --profile server up \ No newline at end of file +docker compose --env-file .env --profile server up --build \ No newline at end of file diff --git a/uptrain/dashboard/frontend/dashboard/src/utils/models.js b/uptrain/dashboard/frontend/dashboard/src/utils/models.js index 9a936da8..326ebffe 100644 --- a/uptrain/dashboard/frontend/dashboard/src/utils/models.js +++ b/uptrain/dashboard/frontend/dashboard/src/utils/models.js @@ -2,6 +2,7 @@ export const models = { "gpt-3.5-turbo": ["openai_api_key"], "gpt-4": ["openai_api_key"], "gpt-4-turbo-preview": ["openai_api_key"], + "gpt-4o-mini": ["openai_api_key"], "claude-2.1": ["anthropic_api_key"], "azure-deployment": [ "azure_api_base",