-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
58 lines (41 loc) · 1 KB
/
Makefile
File metadata and controls
58 lines (41 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.PHONY: install test lint eval run clean serve build-site deploy compare-multiagent foundations foundations-compare
install:
pip install -e ".[dev]"
test:
pytest tests/ -v
test-unit:
pytest tests/unit/ -v
test-integration:
pytest tests/integration/ -v
lint:
ruff check .
ruff format --check .
format:
ruff check --fix .
ruff format .
eval:
python project/doc-intelligence-agent/evals/run_eval.py
run:
python src/ch02/run.py
compare:
python src/ch03/compare.py
compare-multiagent:
python -m src.ch04_multiagent.run --docs docs/book/ --query "What is multi-agent?"
serve:
mkdocs serve
build-site:
mkdocs build --strict
deploy:
mkdocs gh-deploy --force
typecheck:
mypy src/ --ignore-missing-imports
clean:
find . -type d -name __pycache__ -exec rm -rf {} +
find . -type f -name "*.pyc" -delete
rm -rf .pytest_cache .mypy_cache .ruff_cache
foundations:
python src/ch00/llm_basics.py
python src/ch00/tool_use.py
python src/ch00/raw_agent.py
foundations-compare:
python src/ch00/eval_compare.py