- 
		Home
	
 
	- 
AI Engine
 
- 
3.1.6 (latest)
 
- 
Code
 
- 
Classes
 
-  Meow_MWAI_Engines_Core 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											144 | 
										
																			
											| Dependencies | 
											14 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											718 | 
										
																			
											| Lines of code | 
											460 | 
										
																			
											| Logical lines of code | 
											290 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											153 | 
										
																			
											| Methods | 
											23 | 
										
																			
											| Properties | 
											12 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 23
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| run() | 
									D  | 
																	20  | 
													59 | 
													180 | 
							
					
				| stream_handler() | 
									C  | 
																	35 | 
													25 | 
													75 | 
							
					
				| stream_error_check() | 
									A  | 
																	43 | 
													15 | 
													46 | 
							
					
				| streamline_messages() | 
									A  | 
																	42 | 
													12 | 
													60 | 
							
					
				| safe_json_encode() | 
									S  | 
																	55 | 
													5 | 
													18 | 
							
					
				| final_checks() | 
									S  | 
																	58 | 
													5 | 
													15 | 
							
					
				| __construct() | 
									S  | 
																	69 | 
													3 | 
													6 | 
							
					
				| retrieve_model_info() | 
									S  | 
																	65 | 
													3 | 
													9 | 
							
					
				| init_debug_mode() | 
									S  | 
																	74 | 
													3 | 
													4 | 
							
					
				| reset_request_state() | 
									S  | 
																	65 | 
													1 | 
													10 | 
							
					
				| prepare_query() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| stream_header_handler() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| stream_data_handler() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_models() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| retrieve_models() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| run_completion_query() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| run_assistant_query() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| run_embedding_query() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| run_image_query() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| run_editimage_query() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| run_transcribe_query() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_price() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| connection_check() | 
									S  | 
																	80 | 
													1 | 
													3 |