-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (29 loc) · 1.03 KB
/
Makefile
File metadata and controls
41 lines (29 loc) · 1.03 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
.PHONY: streamlit help prepare migrate ingest eval
# HF_HUB_OFFLINE=1
# Default target
help:
@echo "Available commands:"
@echo " make ingest [entity=NAME] - Run with --ingest flag"
@echo " make eval [entity=NAME] - Run with --evaluate flag"
@echo " make streamlit - Run streamlit app"
@echo " make help - Show this help"
prepare:
uv run src/run.py --prepare-vector --prepare-cache $(if $(entity),--entity=$(entity),)
migrate-vector:
uv run src/run.py --migrate $(if $(entity),--entity=$(entity),)
ingest:
uv run src/run.py --ingest $(if $(entity),--entity=$(entity),)
reset-errors:
uv run src/run.py --reset-errors $(if $(entity),--entity=$(entity),)
eval:
uv run src/run.py --evaluate $(if $(entity),--entity=$(entity),)
stats:
uv run src/run.py --stats
benchmark:
uv run src/benchmark.py
streamlit:
streamlit run src/streamlit_app.py --server.headless true
mcp:
uvx mcpo --port 8000 -- uv run src/mcp_server.py
openai-server:
fastapi run src/openai_server.py --port 11435 --host 0.0.0.0