(category: str, data_info: Dict[str, str])
| 223 | |
| 224 | |
| 225 | def create_user_prompt(category: str, data_info: Dict[str, str]) -> str: |
| 226 | |
| 227 | prompt = f"""# Task |
| 228 | Category: {category} |
| 229 | # Data |
| 230 | """ |
| 231 | |
| 232 | for filename, data_content in data_info.items(): |
| 233 | prompt += f"## {filename}\n{data_content}\n\n" |
| 234 | |
| 235 | return prompt |
| 236 | |
| 237 | |
| 238 | def create_generation_request(category: str, data_info: Dict[str, str], image_path: str, |
no outgoing calls
no test coverage detected