Update app.py
Browse files
app.py
CHANGED
@@ -427,17 +427,17 @@ def main():
|
|
427 |
[object_output, object_validation_output, object_chart]
|
428 |
)
|
429 |
|
430 |
-
with gr.
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
|
442 |
app.launch()
|
443 |
|
|
|
427 |
[object_output, object_validation_output, object_chart]
|
428 |
)
|
429 |
|
430 |
+
with gr.Accordion("About This Tool", open=False):
|
431 |
+
gr.Markdown("""
|
432 |
+
• Primary Model: Performs the initial code conversion or correction.
|
433 |
+
• Validation Model: Reviews and validates the output from the primary model, identifying potential issues or improvements.
|
434 |
+
• Trigger Correction: Fixes Apex Triggers for B2B LEx compatibility.
|
435 |
+
• Object Conversion: Maps and converts CloudCraze object definitions to B2B LEx.
|
436 |
+
• Model Selection: Choose from Together AI models or Anthropic's Claude models.
|
437 |
+
|
438 |
+
Validation now outputs four key metrics (quality, accuracy, completeness, best practices) as both JSON and a fun chart.
|
439 |
+
Always review AI-generated code before production use.
|
440 |
+
""")
|
441 |
|
442 |
app.launch()
|
443 |
|