Skip to content

Commit

Permalink
Update new APIs for new backend (#688)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
4 people authored Apr 19, 2024
1 parent a67b3e3 commit 94fb5ed
Show file tree
Hide file tree
Showing 10 changed files with 888 additions and 594 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ services:
working_dir: "/app/"
volumes:
- "$SERVER_DATA_DIR:/data/"
env_file:
- .env
ports:
- 4300:4300
profiles: ["server"]
Expand All @@ -20,6 +22,8 @@ services:
working_dir: "/app/"
environment:
- NEXT_TELEMETRY_DISABLED=1
env_file:
- .env
ports:
- 3000:3000
profiles: ["server"]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools", "wheel"]

[project]
name = "uptrain"
version = "0.6.13"
version = "0.7.0"
description = "UpTrain - tool to evaluate LLM applications on aspects like factual accuracy, response quality, retrieval quality, tonality, etc."
readme = "README.md"
maintainers = [{ name = "UpTrain AI Team", email = "oss@uptrain.ai" }]
Expand Down
2 changes: 1 addition & 1 deletion run_uptrain.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
mkdir data
echo "SERVER_DATA_DIR=$(pwd)/data" > .env
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
Loading

0 comments on commit 94fb5ed

Please sign in to comment.