- 
		Home
	
 
	- 
AI Engine
 
- 
3.1.6 (latest)
 
- 
Code
 
- 
Classes
 
-  Meow_MWAI_Engines_Replicate 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											175 | 
										
																			
											| Dependencies | 
											10 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											884 | 
										
																			
											| Lines of code | 
											711 | 
										
																			
											| Logical lines of code | 
											439 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											75 | 
										
																			
											| Methods | 
											23 | 
										
																			
											| Properties | 
											10 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 23
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| build_body() | 
									D  | 
																	29  | 
													31 | 
													121 | 
							
					
				| run_image_query() | 
									B  | 
																	35 | 
													22 | 
													77 | 
							
					
				| run_completion_query() | 
									B  | 
																	35 | 
													19 | 
													84 | 
							
					
				| _retrieve_models() | 
									B  | 
																	41 | 
													19 | 
													54 | 
							
					
				| execute() | 
									B  | 
																	38 | 
													16 | 
													64 | 
							
					
				| run_query() | 
									A  | 
																	42 | 
													13 | 
													49 | 
							
					
				| generate_resolutions() | 
									A  | 
																	44 | 
													10 | 
													40 | 
							
					
				| build_messages() | 
									A  | 
																	46 | 
													7 | 
													42 | 
							
					
				| _process_raw_models() | 
									S  | 
																	43 | 
													6 | 
													44 | 
							
					
				| build_url() | 
									S  | 
																	53 | 
													7 | 
													24 | 
							
					
				| build_headers() | 
									S  | 
																	56 | 
													5 | 
													19 | 
							
					
				| build_form_body() | 
									S  | 
																	55 | 
													4 | 
													20 | 
							
					
				| build_options() | 
									S  | 
																	55 | 
													3 | 
													19 | 
							
					
				| handle_response_errors() | 
									S  | 
																	69 | 
													3 | 
													6 | 
							
					
				| try_decode_error() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| reset_stream() | 
									S  | 
																	64 | 
													1 | 
													11 | 
							
					
				| __construct() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| set_environment() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| get_models() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_price() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| retrieve_models() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| retrieve_recommended_models() | 
									S  | 
																	68 | 
													1 | 
													7 | 
							
					
				| retrieve_all_models() | 
									S  | 
																	70 | 
													1 | 
													6 |