File tree Expand file tree Collapse file tree 7 files changed +37
-10
lines changed
Expand file tree Collapse file tree 7 files changed +37
-10
lines changed Original file line number Diff line number Diff line change 1212 - ' Makefile'
1313 - ' docker-compose.yml'
1414
15+ defaults :
16+ run :
17+ shell : bash
18+
1519jobs :
1620 build-backend-docker :
1721 runs-on : self-hosted
2327 - name : Checkout code
2428 uses : actions/checkout@v4
2529 - name : Setup prereqs
26- run : make init-dev
30+ run : |
31+ make init-dev
2732 - name : Run formatting checks
2833 run : |
2934 make check
Original file line number Diff line number Diff line change 1010 - ' Makefile'
1111 - ' docker-compose.yml'
1212
13+ defaults :
14+ run :
15+ shell : bash
16+
1317jobs :
1418 build-backend-docker :
1519 runs-on : self-hosted
2125 - name : Checkout code
2226 uses : actions/checkout@v4
2327 - name : Setup prereqs
24- run : make init-dev
28+ run : |
29+ make init-dev
2530 - name : Run formatting checks
2631 run : |
2732 make check
Original file line number Diff line number Diff line change 1- .PHONY : init init-dev format check
2-
31FOLDERS =backend frontend evaluation
42
3+ .PHONY : init
54init :
65 @for folder in $(FOLDERS ) ; do (cd $$ folder && make init && cd ../); done
76
7+ .PHONY : init-dev
88init-dev :
99 @for folder in $(FOLDERS ) ; do (cd $$ folder && make init-dev && cd ../); done
1010
11+ .PHONY : format
1112format :
1213 @for folder in $(FOLDERS ) ; do (cd $$ folder && make format && cd ../); done
1314
15+ .PHONY : check
1416check :
1517 @for folder in $(FOLDERS ) ; do (cd $$ folder && make check && cd ../); done
1618 @. ./backend/.venv/bin/activate && \
1719 pre-commit run --all-files
1820
21+ .PHONY : docker-up
1922docker-up :
2023 @docker compose up --build --wait
2124
25+ .PHONY : docker-down
2226docker-down :
2327 @docker compose down --remove-orphans
2428
29+ .PHONY : changelog
2530changelog :
2631 @git log --pretty=format:" %h%x09%an%x09%ad%x09%s" --date=short --since=" 2024-06-01" > CHANGELOG.md
2732 @cd .github/workflows && python changelog_report.py
Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ GOOGLE_EMBEDDINGS="text-embedding-004"
2222HF_EMBEDDINGS = " thenlper/gte-large"
2323HF_RERANKER = " BAAI/bge-reranker-base"
2424
25- LANGCHAIN_TRACING_V2 =
26- LANGCHAIN_ENDPOINT =
27- LANGCHAIN_API_KEY =
28- LANGCHAIN_PROJECT =
25+ LANGSMITH_TRACING = true
26+ LANGSMITH_ENDPOINT = " https://api.smith.langchain.com "
27+ LANGSMITH_API_KEY =
28+ LANGSMITH_PROJECT =
2929
3030HF_TOKEN =
3131
Original file line number Diff line number Diff line change 1+ .PHONY : init
12init :
23 @python3 -m venv .venv && \
34 . .venv/bin/activate && \
45 pip install -r requirements.txt && \
56 pip install -e .
67
8+ .PHONY : init-dev
79init-dev : init
810 @. .venv/bin/activate && \
911 pip install -r requirements-test.txt
1012
13+ .PHONY : format
1114format :
1215 @. .venv/bin/activate && \
1316 ruff format
1417
18+ .PHONY : check
1519check :
1620 @. .venv/bin/activate && \
1721 mypy . && \
Original file line number Diff line number Diff line change 1- .PHONY : init init-dev format check clean
2-
1+ .PHONY : init
32init :
43 @python3 -m venv .venv && \
54 . .venv/bin/activate && \
65 pip install -r requirements.txt && \
76 pip install -e .
87
8+ .PHONY : init-dev
99init-dev : init
1010 @. .venv/bin/activate && \
1111 pip install -r requirements-test.txt
1212
13+ .PHONY : format
1314format :
1415 @. .venv/bin/activate && \
1516 ruff format
1617
18+ .PHONY : check
1719check :
1820 @. .venv/bin/activate && \
1921 mypy . && \
2022 ruff check
2123
24+ .PHONY : clean
2225clean :
2326 @rm -f llm_tests_output.txt
2427 @rm -f ** /.deepeval-cache.json
2528
29+ .PHONY : llm-tests
2630llm-tests : clean
2731 @. .venv/bin/activate && \
2832 cd auto_evaluation && \
Original file line number Diff line number Diff line change 1+ .PHONY : init
12init :
23 @python3 -m venv .venv && \
34 . .venv/bin/activate && \
45 pip install -r requirements.txt
56
7+ .PHONY : init-dev
68init-dev : init
79 @. .venv/bin/activate && \
810 pip install -r requirements-test.txt
911
12+ .PHONY : format
1013format :
1114 @. .venv/bin/activate && \
1215 ruff format
1316
17+ .PHONY : check
1418check :
1519 @. .venv/bin/activate && \
1620 mypy . && \
You can’t perform that action at this time.
0 commit comments