Spaces:
Sleeping
Sleeping
docs: add Generation Module documentation comments
Browse files
app.py
CHANGED
|
@@ -256,6 +256,7 @@ Code to review:
|
|
| 256 |
|
| 257 |
# ---------------------------------------------------------------------------
|
| 258 |
# MODULE 4 — Generation Module
|
|
|
|
| 259 |
# ---------------------------------------------------------------------------
|
| 260 |
def generate_response(prompt: str, retries: int = 3, initial_delay: float = 1.5) -> dict:
|
| 261 |
delay = initial_delay
|
|
|
|
| 256 |
|
| 257 |
# ---------------------------------------------------------------------------
|
| 258 |
# MODULE 4 — Generation Module
|
| 259 |
+
# Responsible for communicating with Gemini 2.5 Flash and generating
|
| 260 |
# ---------------------------------------------------------------------------
|
| 261 |
def generate_response(prompt: str, retries: int = 3, initial_delay: float = 1.5) -> dict:
|
| 262 |
delay = initial_delay
|