Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,7 @@ weight_assigner = Agent(
|
|
| 79 |
"For any queries related to risk types such as overvaluation, misclassification, BCD, IGST, CVD duty evasion etc., give additional weightage to subject_classification",
|
| 80 |
"Ensure the total weight sums to approximately 10 (decimal values allowed). Minimum weight value for a column should be 0.5 and round to single decimal place"
|
| 81 |
],
|
| 82 |
-
model=Groq(id="llama-3.
|
| 83 |
response_model=ColumnWeights,
|
| 84 |
markdown=True,
|
| 85 |
debug_mode=True,
|
|
@@ -108,7 +108,7 @@ relevant_report_selector = Agent(
|
|
| 108 |
"Drop the reports that are not fairly related to the query.",
|
| 109 |
"Extract Report numbers, generally shown against the field 'report_no' in the given data, not against 'id'"
|
| 110 |
],
|
| 111 |
-
model=Groq(id="llama-3.
|
| 112 |
response_model=RelevantReports,
|
| 113 |
markdown=True,
|
| 114 |
debug_mode=True,
|
|
@@ -128,7 +128,7 @@ chat_agent = Agent(
|
|
| 128 |
"Cite the report numbers with the date of issue if risk reports are found .report number are against report_no of format (12/2021-22) ",
|
| 129 |
"CTI/CTH refers to WCO HSN codes of 8 digits which follow a system of reference. e.g., 84012000 - first 2 digits indicate Chapter 84, 4 digits - 8401 indicate Heading, 6 digits - 840120 indicate subheading, 8 digits fully indicate an item."
|
| 130 |
],
|
| 131 |
-
model=Groq(id="llama-3.
|
| 132 |
stream=True,
|
| 133 |
markdown=True,
|
| 134 |
debug_mode=True,
|
|
|
|
| 79 |
"For any queries related to risk types such as overvaluation, misclassification, BCD, IGST, CVD duty evasion etc., give additional weightage to subject_classification",
|
| 80 |
"Ensure the total weight sums to approximately 10 (decimal values allowed). Minimum weight value for a column should be 0.5 and round to single decimal place"
|
| 81 |
],
|
| 82 |
+
model=Groq(id="llama-3.3-70b-versatile"),
|
| 83 |
response_model=ColumnWeights,
|
| 84 |
markdown=True,
|
| 85 |
debug_mode=True,
|
|
|
|
| 108 |
"Drop the reports that are not fairly related to the query.",
|
| 109 |
"Extract Report numbers, generally shown against the field 'report_no' in the given data, not against 'id'"
|
| 110 |
],
|
| 111 |
+
model=Groq(id="llama-3.3-70b-versatile"),
|
| 112 |
response_model=RelevantReports,
|
| 113 |
markdown=True,
|
| 114 |
debug_mode=True,
|
|
|
|
| 128 |
"Cite the report numbers with the date of issue if risk reports are found .report number are against report_no of format (12/2021-22) ",
|
| 129 |
"CTI/CTH refers to WCO HSN codes of 8 digits which follow a system of reference. e.g., 84012000 - first 2 digits indicate Chapter 84, 4 digits - 8401 indicate Heading, 6 digits - 840120 indicate subheading, 8 digits fully indicate an item."
|
| 130 |
],
|
| 131 |
+
model=Groq(id="llama-3.3-70b-versatile"),
|
| 132 |
stream=True,
|
| 133 |
markdown=True,
|
| 134 |
debug_mode=True,
|