Maharshi Gor
commited on
Commit
·
2a34f1b
1
Parent(s):
849566b
Add correct qanta repo link
Browse files- app.py +2 -2
- src/workflows/validators.py +3 -0
app.py
CHANGED
@@ -128,8 +128,8 @@ if __name__ == "__main__":
|
|
128 |
)
|
129 |
login_btn = gr.LoginButton(scale=1)
|
130 |
gr.Markdown(
|
131 |
-
"**First time here?** Check out the [❓ Help](#help) tab for a quick introduction and
|
132 |
-
"[
|
133 |
"for detailed examples and tutorials on how to create and compete with your own QuizBowl agents.",
|
134 |
elem_classes="help-text",
|
135 |
)
|
|
|
128 |
)
|
129 |
login_btn = gr.LoginButton(scale=1)
|
130 |
gr.Markdown(
|
131 |
+
"**First time here?** Check out the [❓ Help](#help) tab for a quick introduction and "
|
132 |
+
"[QANTA25 Documentation](https://github.com/maharshi95/QANTA25) "
|
133 |
"for detailed examples and tutorials on how to create and compete with your own QuizBowl agents.",
|
134 |
elem_classes="help-text",
|
135 |
)
|
src/workflows/validators.py
CHANGED
@@ -88,6 +88,9 @@ class WorkflowValidator:
|
|
88 |
self.workflow: Optional[Workflow] = None
|
89 |
self.min_temperature = min_temperature
|
90 |
self.max_temperature = max_temperature
|
|
|
|
|
|
|
91 |
|
92 |
def validate(self, workflow: Workflow) -> bool:
|
93 |
"""Main validation entry point"""
|
|
|
88 |
self.workflow: Optional[Workflow] = None
|
89 |
self.min_temperature = min_temperature
|
90 |
self.max_temperature = max_temperature
|
91 |
+
self.max_field_name_length = max_field_name_length
|
92 |
+
self.max_description_length = max_description_length
|
93 |
+
self.max_system_prompt_length = max_system_prompt_length
|
94 |
|
95 |
def validate(self, workflow: Workflow) -> bool:
|
96 |
"""Main validation entry point"""
|