Skip to content

Commit 94fb5ed

Browse files
ashish-1600DominastormShreyansh Jainsanchitadev
authored
Update new APIs for new backend (#688)
* update new APIs for new backend * add uptrain_local_url in settings * update env variables * update docker-compose.yml * New dashboard changes (#690) * Change default model to gpt-3.5-turbo (#685) * Link fixes in llamaindex (#687) * frontend changes (#689) --------- Co-authored-by: Dhruv Chawla <43818888+Dominastorm@users.noreply.github.com> Co-authored-by: Shreyansh Jain <shrjain1111@gmail.com> Co-authored-by: sanchitadev <155409408+sanchitadev@users.noreply.github.com> * update pyproject.toml --------- Co-authored-by: Dhruv Chawla <43818888+Dominastorm@users.noreply.github.com> Co-authored-by: Shreyansh Jain <shrjain1111@gmail.com> Co-authored-by: sanchitadev <155409408+sanchitadev@users.noreply.github.com>
1 parent a67b3e3 commit 94fb5ed

10 files changed

Lines changed: 888 additions & 594 deletions

File tree

docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ services:
88
working_dir: "/app/"
99
volumes:
1010
- "$SERVER_DATA_DIR:/data/"
11+
env_file:
12+
- .env
1113
ports:
1214
- 4300:4300
1315
profiles: ["server"]
@@ -20,6 +22,8 @@ services:
2022
working_dir: "/app/"
2123
environment:
2224
- NEXT_TELEMETRY_DISABLED=1
25+
env_file:
26+
- .env
2327
ports:
2428
- 3000:3000
2529
profiles: ["server"]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["setuptools", "wheel"]
33

44
[project]
55
name = "uptrain"
6-
version = "0.6.13"
6+
version = "0.7.0"
77
description = "UpTrain - tool to evaluate LLM applications on aspects like factual accuracy, response quality, retrieval quality, tonality, etc."
88
readme = "README.md"
99
maintainers = [{ name = "UpTrain AI Team", email = "oss@uptrain.ai" }]

run_uptrain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
mkdir data
2-
echo "SERVER_DATA_DIR=$(pwd)/data" > .env
2+
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
33
docker compose --env-file .env --profile server up

0 commit comments

Comments
 (0)