lint:
	black .
	isort .
	flake8 .

save-requirements:
	poetry export -f requirements.txt --without-hashes --output requirements.txt

embed_exchanges:
	make save-requirements
	./bin/embed_exchanges

create_agents:
	echo "Creating avoidant agents"
	@TOKENIZERS_PARALLELISM=0 vector_db_local_dir="../.vector_db" \
	db_local_dir="../.relational_db" ./bin/generate_synthetic_agents \
	--aai_interviewer_id=1 --num_agents=20 --num_life_memories=10 \
	--prompt_template_version="1.0.0" --attachment_style="avoidant" \
	--report_dir="../logs"

	echo "Creating preoccupied agents"
	@TOKENIZERS_PARALLELISM=0 vector_db_local_dir="../.vector_db" \
	db_local_dir="../.relational_db" ./bin/generate_synthetic_agents \
	--aai_interviewer_id=1 --num_agents=20 --num_life_memories=10 \
	--prompt_template_version="1.0.0" --attachment_style="preoccupied" \
	--report_dir="../logs"

	echo "Creating secure agents"
	@TOKENIZERS_PARALLELISM=0 vector_db_local_dir="../.vector_db" \
	db_local_dir="../.relational_db" ./bin/generate_synthetic_agents.py \
	--aai_interviewer_id=1 --num_agents=20 --num_life_memories=10 \
	--prompt_template_version="1.0.0" --attachment_style="secure" \
	--report_dir="../logs"

generate_aai_data:
	echo "Generating GPT-4 data"
	@TOKENIZERS_PARALLELISM=0 vector_db_local_dir="../.vector_db" \
	db_local_dir="../.relational_db" ./bin/generate_synthetic_data \
	--chat_ids_json_filepath="attachment_style/asset/chats_per_attachment_style.json" \
	--model="gpt-4"

	echo "Claude-3 Opus data"
	@TOKENIZERS_PARALLELISM=0 vector_db_local_dir="../.vector_db" \
	db_local_dir="../.relational_db" ./bin/generate_synthetic_data \
	--chat_ids_json_filepath="attachment_style/asset/chats_per_attachment_style.json" \
	--model="claude-3-opus-20240229"