(category: str, instruction: str, data_info: Dict[str, str])
| 230 | |
| 231 | |
| 232 | def create_user_prompt(category: str, instruction: str, data_info: Dict[str, str]) -> str: |
| 233 | |
| 234 | prompt = f"""# Task |
| 235 | Category: {category} |
| 236 | Instruction: {instruction} |
| 237 | |
| 238 | # Data |
| 239 | """ |
| 240 | |
| 241 | for filename, data_content in data_info.items(): |
| 242 | prompt += f"## {filename}\n{data_content}\n\n" |
| 243 | |
| 244 | return prompt |
| 245 | |
| 246 | |
| 247 | def create_generation_request(category: str, data_info: Dict[str, str], refine_before_image_path: str, image_path: str, improvement_suggestion: str, refine_before_code: str, |
nothing calls this directly
no outgoing calls
no test coverage detected