2025-01-20 03:29:17 +00:00
|
|
|
DEMO_REPLIKA = .venv/bin/ragent.demo_replika
|
|
|
|
DEMO_DISCUSS = .venv/bin/ragent.demo_discuss
|
2025-01-20 05:47:09 +00:00
|
|
|
DEMO_BATCH_MESSAGES = .venv/bin/ragent.demo_batch_messages
|
2025-01-20 03:29:17 +00:00
|
|
|
PIP = .venv/bin/pip
|
|
|
|
|
|
|
|
default:
|
2025-01-20 05:47:09 +00:00
|
|
|
@echo "Hi, there are three commands to run: demo_replika, demo_discuss and demo_batch_messages."
|
2025-01-20 03:29:17 +00:00
|
|
|
@echo "Before running these commands, you need to run 'make install'."
|
|
|
|
|
|
|
|
install:
|
|
|
|
@echo "Creating virtual environment."
|
|
|
|
python3 -m venv .venv
|
|
|
|
@echo "Installing python dependencies."
|
|
|
|
$(PIP) install -e .
|
|
|
|
|
|
|
|
demo_replika:
|
|
|
|
@echo "Executing Replika Demo."
|
|
|
|
$(DEMO_REPLIKA)
|
|
|
|
|
|
|
|
demo_discuss:
|
|
|
|
@echo "Executing Discussion Demo."
|
|
|
|
$(DEMO_DISCUSS)
|
2025-01-20 05:47:09 +00:00
|
|
|
|
|
|
|
demo_batch_messages:
|
|
|
|
@echo "Executing Batch Messages Demo."
|
|
|
|
$(DEMO_BATCH_MESSAGES)
|