Álvaro Valenzuela Valdes commited on
Commit ·
08a0772
1
Parent(s): 7dc353b
🚀 Fix: Add synthetic attachments to generated tenders
Browse files
backend/app/services/llm.py
CHANGED
|
@@ -352,7 +352,11 @@ async def generate_synthetic_tenders(keyword: str) -> list[Tender]:
|
|
| 352 |
region=i.get("region", "Nacional"),
|
| 353 |
sector="Privado/Público",
|
| 354 |
items=[],
|
| 355 |
-
attachments=[
|
|
|
|
|
|
|
|
|
|
|
|
|
| 356 |
))
|
| 357 |
except Exception as e:
|
| 358 |
print(f"Error generating synthetic tenders: {e}")
|
|
|
|
| 352 |
region=i.get("region", "Nacional"),
|
| 353 |
sector="Privado/Público",
|
| 354 |
items=[],
|
| 355 |
+
attachments=[{
|
| 356 |
+
"name": "Bases_Tecnicas_y_Administrativas.pdf",
|
| 357 |
+
"url": "#synthetic-doc",
|
| 358 |
+
"type": "pdf"
|
| 359 |
+
}]
|
| 360 |
))
|
| 361 |
except Exception as e:
|
| 362 |
print(f"Error generating synthetic tenders: {e}")
|