2025-05-30 15:43:51 +09:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								# Written by YORKI MINAKO🤡, Edited by Xiaoyi, Edited by yasu-oh  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
										 
							
							
								CONVERSATION_TITLE_PROMPT  =  """ You are asked to generate a concise chat title by decomposing the user’  
  
						 
					
						
							
								
									
										
										
										
											2023-09-01 02:28:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2025-05-30 15:43:51 +09:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								1.  Detect  Input  Language  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
										 
							
							
								Automatically  identify  the  language  of  the  user ’ s  input  ( e . g .  English ,  Chinese ,  Italian ,  Español ,  Arabic ,  Japanese ,  French ,  and  etc . ) .  
						 
					
						
							
								
									
										
										
										
											2023-09-01 02:28:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2025-05-30 15:43:51 +09:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								2.  Generate  Title  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  Combine  Intention  +  Subject  into  a  single ,  as - short - as - possible  phrase .  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  The  title  must  be  natural ,  friendly ,  and  in  the  same  language  as  the  input .  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  If  the  input  is  a  direct  question  to  the  model ,  you  may  add  an  emoji  at  the  end .  
						 
					
						
							
								
									
										
										
										
											2023-09-01 02:28:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2025-05-30 15:43:51 +09:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								3.  Output  Format  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								Return  * * only * *  a  valid  JSON  object  with  these  exact  keys  and  no  additional  text :  
						 
					
						
							
								
									
										
										
										
											2023-09-01 02:28:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								{  
						 
					
						
							
								
									
										
										
										
											2025-05-30 15:43:51 +09:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								  " Language Type " :  " <Detected language> " , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								  " Your Reasoning " :  " <Brief explanation in that language> " , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								  " Your Output " :  " <Intention + Subject> " 
							 
						 
					
						
							
								
									
										
										
										
											2023-09-01 02:28:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								}  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2025-04-29 18:04:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								User  Input :  
						 
					
						
							
								
									
										
										
										
											2024-09-12 14:00:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								"""   # noqa: E501 
  
						 
					
						
							
								
									
										
										
										
											2023-05-15 08:51:32 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-10-22 22:57:54 +09:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								PYTHON_CODE_GENERATOR_PROMPT_TEMPLATE  =  (  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " You are an expert programmer. Generate code based on the following instructions: \n \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " Instructions:  {{ INSTRUCTION}} \n \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " Write the code in  {{ CODE_LANGUAGE}}. \n \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " Please ensure that you meet the following requirements: \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " 1. Define a function named  ' main ' . \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " 2. The  ' main '  function must return a dictionary (dict). \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " 3. You may modify the arguments of the  ' main '  function, but include appropriate type hints. \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " 4. The returned dictionary should contain at least one key-value pair. \n \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " 5. You may ONLY use the following libraries in your code:  \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - json \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - datetime \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - math \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - random \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - re \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - string \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - sys \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - time \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - traceback \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - uuid \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - os \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - base64 \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - hashlib \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - hmac \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - binascii \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - collections \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - functools \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - operator \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - itertools \n \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " Example: \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " def main(arg1: str, arg2: int) -> dict: \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    "     return  { \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    '          " result " : arg1 * arg2, \n ' 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    "     } \n \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " IMPORTANT: \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - Provide ONLY the code without any additional explanations, comments, or markdown formatting. \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - DO NOT use markdown code blocks (``` or ``` python). Return the raw code directly. \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - The code should start immediately after this instruction, without any preceding newlines or spaces. \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - The code should be complete, functional, and follow best practices for  {{ CODE_LANGUAGE}}. \n \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - Always use the format return  { ' result ' : ...} for the output. \n \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " Generated Code: \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								)  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								JAVASCRIPT_CODE_GENERATOR_PROMPT_TEMPLATE  =  (  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " You are an expert programmer. Generate code based on the following instructions: \n \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " Instructions:  {{ INSTRUCTION}} \n \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " Write the code in  {{ CODE_LANGUAGE}}. \n \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " Please ensure that you meet the following requirements: \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " 1. Define a function named  ' main ' . \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " 2. The  ' main '  function must return an object. \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " 3. You may modify the arguments of the  ' main '  function, but include appropriate JSDoc annotations. \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " 4. The returned object should contain at least one key-value pair. \n \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " 5. The returned object should always be in the format:  { result: ...} \n \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " Example: \n " 
							 
						 
					
						
							
								
									
										
										
										
											2025-04-24 04:36:45 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								    " /** \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    "  * Multiplies two numbers together. \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    "  * \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    "  * @param  {number}  arg1 - The first number to multiply. \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    "  * @param  {number}  arg2 - The second number to multiply. \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    "  * @returns  {{  result: number }} The result of the multiplication. \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    "  */ \n " 
							 
						 
					
						
							
								
									
										
										
										
											2024-10-22 22:57:54 +09:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								    " function main(arg1, arg2)  { \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    "     return  { \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    "         result: arg1 * arg2 \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    "     }; \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " } \n \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " IMPORTANT: \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - Provide ONLY the code without any additional explanations, comments, or markdown formatting. \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - DO NOT use markdown code blocks (``` or ``` javascript). Return the raw code directly. \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - The code should start immediately after this instruction, without any preceding newlines or spaces. \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " - The code should be complete, functional, and follow best practices for  {{ CODE_LANGUAGE}}. \n \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " Generated Code: \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								)  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-05-15 08:51:32 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								SUGGESTED_QUESTIONS_AFTER_ANSWER_INSTRUCTION_PROMPT  =  (  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " Please help me predict the three most likely questions that human would ask,  " 
							 
						 
					
						
							
								
									
										
										
										
											2025-04-24 04:36:45 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								    " and keep each question under 20 characters. \n " 
							 
						 
					
						
							
								
									
										
										
										
											2025-01-20 22:16:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								    " MAKE SURE your output is the SAME language as the Assistant ' s latest response.  " 
							 
						 
					
						
							
								
									
										
										
										
											2023-08-17 10:46:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								    " The output must be an array in JSON format following the specified schema: \n " 
							 
						 
					
						
							
								
									
										
										
										
											2024-09-10 17:00:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								    ' [ " question1 " , " question2 " , " question3 " ] \n ' 
							 
						 
					
						
							
								
									
										
										
										
											2023-05-15 08:51:32 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								)  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-07-28 20:47:15 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								GENERATOR_QA_PROMPT  =  (  
						 
					
						
							
								
									
										
										
										
											2024-09-12 14:00:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								    " <Task> The user will send a long text. Generate a Question and Answer pairs only using the knowledge " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    "  in the long text. Please think step by step. " 
							 
						 
					
						
							
								
									
										
										
										
											2024-09-10 17:00:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								    " Step 1: Understand and summarize the main content of this text. \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " Step 2: What key information or concepts are mentioned in this text? \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " Step 3: Decompose or combine multiple pieces of information and concepts. \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " Step 4: Generate questions and answers based on these key information and concepts. \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " <Constraints> The questions should be clear and detailed, and the answers should be detailed and complete.  " 
							 
						 
					
						
							
								
									
										
										
										
											2024-09-12 14:00:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								    " You must answer in  {language} , in a style that is clear and detailed in  {language} . " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    "  No language other than  {language}  should be used.  \n " 
							 
						 
					
						
							
								
									
										
										
										
											2024-09-10 17:00:20 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								    " <Format> Use the following format: Q1: \n A1: \n Q2: \n A2:... \n " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " <QA Pairs> " 
							 
						 
					
						
							
								
									
										
										
										
											2023-07-28 20:47:15 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								)  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-07-23 19:52:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								WORKFLOW_RULE_CONFIG_PROMPT_GENERATE_TEMPLATE  =  """ 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								Here  is  a  task  description  for  which  I  would  like  you  to  create  a  high - quality  prompt  template  for :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								< task_description >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								{ { TASK_DESCRIPTION } }  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								< / task_description >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								Based  on  task  description ,  please  create  a  well - structured  prompt  template  that  another  AI  could  use  to  consistently  complete  the  task .  The  prompt  template  should  include :  
						 
					
						
							
								
									
										
										
										
											2025-04-29 18:04:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  Do  not  include  < input >  or  < output >  section  and  variables  in  the  prompt ,  assume  user  will  add  them  at  their  own  will .  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  Clear  instructions  for  the  AI  that  will  be  using  this  prompt ,  demarcated  with  < instruction >  tags .  The  instructions  should  provide  step - by - step  directions  on  how  to  complete  the  task  using  the  input  variables .  Also  Specifies  in  the  instructions  that  the  output  should  not  contain  any  xml  tag .  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  Relevant  examples  if  needed  to  clarify  the  task  further ,  demarcated  with  < example >  tags .  Do  not  include  variables  in  the  prompt .  Give  three  pairs  of  input  and  output  examples .  
						 
					
						
							
								
									
										
										
										
											2025-04-24 04:36:45 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  Include  other  relevant  sections  demarcated  with  appropriate  XML  tags  like  < examples > ,  < instruction > .  
						 
					
						
							
								
									
										
										
										
											2025-04-29 18:04:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  Use  the  same  language  as  task  description .  
						 
					
						
							
								
									
										
										
										
											2024-07-23 19:52:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  Output  in  ` ` `  xml  ` ` `  and  start  with  < instruction >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								Please  generate  the  full  prompt  template  with  at  least  300  words  and  output  only  the  prompt  template .  
						 
					
						
							
								
									
										
										
										
											2024-09-12 14:00:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								"""   # noqa: E501 
  
						 
					
						
							
								
									
										
										
										
											2023-05-31 22:03:15 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-07-23 19:52:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								RULE_CONFIG_PROMPT_GENERATE_TEMPLATE  =  """ 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								Here  is  a  task  description  for  which  I  would  like  you  to  create  a  high - quality  prompt  template  for :  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								< task_description >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								{ { TASK_DESCRIPTION } }  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								< / task_description >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								Based  on  task  description ,  please  create  a  well - structured  prompt  template  that  another  AI  could  use  to  consistently  complete  the  task .  The  prompt  template  should  include :  
						 
					
						
							
								
									
										
										
										
											2025-04-29 18:04:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  Descriptive  variable  names  surrounded  by  { {  } }  ( two  curly  brackets )  to  indicate  where  the  actual  values  will  be  substituted  in .  Choose  variable  names  that  clearly  indicate  the  type  of  value  expected .  Variable  names  have  to  be  composed  of  number ,  english  alphabets  and  underline  and  nothing  else .  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  Clear  instructions  for  the  AI  that  will  be  using  this  prompt ,  demarcated  with  < instruction >  tags .  The  instructions  should  provide  step - by - step  directions  on  how  to  complete  the  task  using  the  input  variables .  Also  Specifies  in  the  instructions  that  the  output  should  not  contain  any  xml  tag .  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  Relevant  examples  if  needed  to  clarify  the  task  further ,  demarcated  with  < example >  tags .  Do  not  use  curly  brackets  any  other  than  in  < instruction >  section .  
						 
					
						
							
								
									
										
										
										
											2024-07-23 19:52:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  Any  other  relevant  sections  demarcated  with  appropriate  XML  tags  like  < input > ,  < output > ,  etc .  
						 
					
						
							
								
									
										
										
										
											2025-04-29 18:04:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  Use  the  same  language  as  task  description .  
						 
					
						
							
								
									
										
										
										
											2024-07-23 19:52:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  Output  in  ` ` `  xml  ` ` `  and  start  with  < instruction >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								Please  generate  the  full  prompt  template  and  output  only  the  prompt  template .  
						 
					
						
							
								
									
										
										
										
											2024-09-12 14:00:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								"""   # noqa: E501 
  
						 
					
						
							
								
									
										
										
										
											2023-05-31 22:03:15 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-07-23 19:52:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								RULE_CONFIG_PARAMETER_GENERATE_TEMPLATE  =  """ 
  
						 
					
						
							
								
									
										
										
										
											2025-04-29 18:04:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								I  need  to  extract  the  following  information  from  the  input  text .  The  < information  to  be  extracted >  tag  specifies  the  ' type ' ,  ' description '  and  ' required '  of  the  information  to  be  extracted .  
						 
					
						
							
								
									
										
										
										
											2024-07-23 19:52:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								< information  to  be  extracted >  
						 
					
						
							
								
									
										
										
										
											2025-04-29 18:04:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								variables  name  bounded  two  double  curly  brackets .  Variable  name  has  to  be  composed  of  number ,  english  alphabets  and  underline  and  nothing  else .  
						 
					
						
							
								
									
										
										
										
											2024-07-23 19:52:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								< / information  to  be  extracted >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								Step  1 :  Carefully  read  the  input  and  understand  the  structure  of  the  expected  output .  
						 
					
						
							
								
									
										
										
										
											2025-04-29 18:04:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								Step  2 :  Extract  relevant  parameters  from  the  provided  text  based  on  the  name  and  description  of  object .  
						 
					
						
							
								
									
										
										
										
											2024-07-23 19:52:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								Step  3 :  Structure  the  extracted  parameters  to  JSON  object  as  specified  in  < structure > .  
						 
					
						
							
								
									
										
										
										
											2025-04-29 18:04:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								Step  4 :  Ensure  that  the  list  of  variable_names  is  properly  formatted  and  valid .  The  output  should  not  contain  any  XML  tags .  Output  an  empty  list  if  there  is  no  valid  variable  name  in  input  text .  
						 
					
						
							
								
									
										
										
										
											2024-07-23 19:52:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								### Structure  
						 
					
						
							
								
									
										
										
										
											2025-04-29 18:04:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								Here  is  the  structure  of  the  expected  output ,  I  should  always  follow  the  output  structure .  
						 
					
						
							
								
									
										
										
										
											2024-07-23 19:52:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								[ " variable_name_1 " ,  " variable_name_2 " ]  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								### Input Text  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								Inside  < text > < / text >  XML  tags ,  there  is  a  text  that  I  should  extract  parameters  and  convert  to  a  JSON  object .  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								< text >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								{ { INPUT_TEXT } }  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								< / text >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								### Answer  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								I  should  always  output  a  valid  list .  Output  nothing  other  than  the  list  of  variable_name .  Output  an  empty  list  if  there  is  no  variable  name  in  input  text .  
						 
					
						
							
								
									
										
										
										
											2024-09-12 14:00:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								"""   # noqa: E501 
  
						 
					
						
							
								
									
										
										
										
											2023-05-31 22:03:15 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-07-23 19:52:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								RULE_CONFIG_STATEMENT_GENERATE_TEMPLATE  =  """ 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								< instruction >  
						 
					
						
							
								
									
										
										
										
											2025-04-29 18:04:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								Step  1 :  Identify  the  purpose  of  the  chatbot  from  the  variable  { { TASK_DESCRIPTION } }  and  infer  chatbot ' s tone  (e.g., friendly, professional, etc.) to add personality traits.  
						 
					
						
							
								
									
										
										
										
											2024-07-23 19:52:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								Step  2 :  Create  a  coherent  and  engaging  opening  statement .  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								Step  3 :  Ensure  the  output  is  welcoming  and  clearly  explains  what  the  chatbot  is  designed  to  do .  Do  not  include  any  XML  tags  in  the  output .  
						 
					
						
							
								
									
										
										
										
											2025-04-29 18:04:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								Please  use  the  same  language  as  the  user ' s input language. If user uses chinese then generate opening statement in chinese,  if user uses english then generate opening statement in english.  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								Example  Input :  
						 
					
						
							
								
									
										
										
										
											2024-07-23 19:52:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								Provide  customer  support  for  an  e - commerce  website  
						 
					
						
							
								
									
										
										
										
											2025-04-29 18:04:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								Example  Output :  
						 
					
						
							
								
									
										
										
										
											2024-07-23 19:52:14 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								Welcome !  I ' m here to assist you with any questions or issues you might have with your shopping experience. Whether you ' re  looking  for  product  information ,  need  help  with  your  order ,  or  have  any  other  inquiries ,  feel  free  to  ask .  I ' m friendly, helpful, and ready to support you in any way I can.  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								< Task >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								Here  is  the  task  description :  { { INPUT_TEXT } }  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								You  just  need  to  generate  the  output  
						 
					
						
							
								
									
										
										
										
											2024-09-12 14:00:36 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								"""   # noqa: E501 
  
						 
					
						
							
								
									
										
										
										
											2025-04-18 16:33:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								SYSTEM_STRUCTURED_OUTPUT_GENERATE  =  """ 
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								Your  task  is  to  convert  simple  user  descriptions  into  properly  formatted  JSON  Schema  definitions .  When  a  user  describes  data  fields  they  need ,  generate  a  complete ,  valid  JSON  Schema  that  accurately  represents  those  fields  with  appropriate  types  and  requirements .  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								## Instructions:  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								1.  Analyze  the  user ' s description of their data needs  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								2.  Identify  each  property  that  should  be  included  in  the  schema  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								3.  Determine  the  appropriate  data  type  for  each  property  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								4.  Decide  which  properties  should  be  required  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								5.  Generate  a  complete  JSON  Schema  with  proper  syntax  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								6.  Include  appropriate  constraints  when  specified  ( min / max  values ,  patterns ,  formats )  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								7.  Provide  ONLY  the  JSON  Schema  without  any  additional  explanations ,  comments ,  or  markdown  formatting .  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								8.  DO  NOT  use  markdown  code  blocks  ( ` ` `  or  ` ` `  json ) .  Return  the  raw  JSON  Schema  directly .  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								## Examples:  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								### Example 1:  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								* * User  Input : * *  I  need  name  and  age  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								* * JSON  Schema  Output : * *  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								{  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								  " type " :  " object " , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								  " properties " :  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " name " :  {  " type " :  " string "  } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " age " :  {  " type " :  " number "  } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								  } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								  " required " :  [ " name " ,  " age " ] 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								}  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								### Example 2:  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								* * User  Input : * *  I  want  to  store  information  about  books  including  title ,  author ,  publication  year  and  optional  page  count  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								* * JSON  Schema  Output : * *  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								{  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								  " type " :  " object " , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								  " properties " :  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " title " :  {  " type " :  " string "  } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " author " :  {  " type " :  " string "  } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " publicationYear " :  {  " type " :  " integer "  } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " pageCount " :  {  " type " :  " integer "  } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								  } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								  " required " :  [ " title " ,  " author " ,  " publicationYear " ] 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								}  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								### Example 3:  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								* * User  Input : * *  Create  a  schema  for  user  profiles  with  email ,  password ,  and  age  ( must  be  at  least  18 )  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								* * JSON  Schema  Output : * *  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								{  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								  " type " :  " object " , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								  " properties " :  { 
							 
						 
					
						
							
								
									
										
										
										
											2025-04-29 18:04:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								    " email " :  { 
							 
						 
					
						
							
								
									
										
										
										
											2025-04-18 16:33:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								      " type " :  " string " , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								      " format " :  " email " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    } , 
							 
						 
					
						
							
								
									
										
										
										
											2025-04-29 18:04:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								    " password " :  { 
							 
						 
					
						
							
								
									
										
										
										
											2025-04-18 16:33:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								      " type " :  " string " , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								      " minLength " :  8 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    } , 
							 
						 
					
						
							
								
									
										
										
										
											2025-04-29 18:04:33 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								    " age " :  { 
							 
						 
					
						
							
								
									
										
										
										
											2025-04-18 16:33:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								      " type " :  " integer " , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								      " minimum " :  18 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								  } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								  " required " :  [ " email " ,  " password " ,  " age " ] 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								}  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								### Example 4:  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								* * User  Input : * *  I  need  album  schema ,  the  ablum  has  songs ,  and  each  song  has  name ,  duration ,  and  artist .  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								* * JSON  Schema  Output : * *  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								{  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " type " :  " object " , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " properties " :  { 
							 
						 
					
						
							
								
									
										
										
										
											2025-04-24 04:36:45 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								        " songs " :  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								            " type " :  " array " , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								            " items " :  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                " type " :  " object " , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                " properties " :  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                    " name " :  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                        " type " :  " string " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                    } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                    " id " :  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                        " type " :  " string " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                    } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                    " duration " :  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                        " type " :  " string " 
							 
						 
					
						
							
								
									
										
										
										
											2025-04-18 16:33:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								                    } , 
							 
						 
					
						
							
								
									
										
										
										
											2025-04-24 04:36:45 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								                    " aritst " :  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                        " type " :  " string " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                    } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                " required " :  [ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                    " name " , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                    " id " , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                    " duration " , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                    " aritst " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								                ] 
							 
						 
					
						
							
								
									
										
										
										
											2025-04-18 16:33:53 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								            } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								        } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    } , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    " required " :  [ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								        " songs " 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								    ] 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								}  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								Now ,  generate  a  JSON  Schema  based  on  my  description  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								"""   # noqa: E501