22 lines
		
	
	
		
			538 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
		
		
			
		
	
	
			22 lines
		
	
	
		
			538 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| 
								 | 
							
								DEMO_REPLIKA = .venv/bin/ragent.demo_replika 
							 | 
						||
| 
								 | 
							
								DEMO_DISCUSS = .venv/bin/ragent.demo_discuss 
							 | 
						||
| 
								 | 
							
								PIP = .venv/bin/pip 
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								default:
							 | 
						||
| 
								 | 
							
									@echo "Hi, there are two commands to run: demo_replika and demo_discuss."
							 | 
						||
| 
								 | 
							
									@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)
							 |