Update app.py
Browse files
app.py
CHANGED
|
@@ -73,7 +73,7 @@ def generate_guide_section(file_path, file_content, guide_type, gemini_api_key):
|
|
| 73 |
{file_content}
|
| 74 |
|
| 75 |
Please focus on:
|
| 76 |
-
1. The specific features and functionality this UI component provides
|
| 77 |
2. Step-by-step instructions on how to use these features
|
| 78 |
3. Any user interactions or inputs required
|
| 79 |
4. Expected outcomes or results for the user
|
|
@@ -83,6 +83,7 @@ def generate_guide_section(file_path, file_content, guide_type, gemini_api_key):
|
|
| 83 |
- Use clear section titles
|
| 84 |
- Number each step within sections
|
| 85 |
- Explain the purpose and benefit of each feature for non-technical users
|
|
|
|
| 86 |
"""
|
| 87 |
else: # Administration Guide
|
| 88 |
prompt = f"""Based on the following UI-related code file, generate a section for an System guide:
|
|
|
|
| 73 |
{file_content}
|
| 74 |
|
| 75 |
Please focus on:
|
| 76 |
+
1. The specific features and functionality this UI component provides to the end users
|
| 77 |
2. Step-by-step instructions on how to use these features
|
| 78 |
3. Any user interactions or inputs required
|
| 79 |
4. Expected outcomes or results for the user
|
|
|
|
| 83 |
- Use clear section titles
|
| 84 |
- Number each step within sections
|
| 85 |
- Explain the purpose and benefit of each feature for non-technical users
|
| 86 |
+
- This is an end user manual, not a system administration manual so focus on the end user components
|
| 87 |
"""
|
| 88 |
else: # Administration Guide
|
| 89 |
prompt = f"""Based on the following UI-related code file, generate a section for an System guide:
|