Spaces:
Sleeping
Sleeping
EMMA commited on
Commit ·
27af618
1
Parent(s): c4b7689
update code
Browse files
app.py
CHANGED
|
@@ -1015,8 +1015,8 @@ body:has(.progress-level)::before {
|
|
| 1015 |
service_context = state.get("service_context")
|
| 1016 |
api_index = state.get("api_index", 0)
|
| 1017 |
|
| 1018 |
-
|
| 1019 |
-
query_category = "semantic-episodic"
|
| 1020 |
|
| 1021 |
# CONCERN-level messages still go through the normal pipeline
|
| 1022 |
# (personalized response, memory intact) but with a gentle nudge
|
|
|
|
| 1015 |
service_context = state.get("service_context")
|
| 1016 |
api_index = state.get("api_index", 0)
|
| 1017 |
|
| 1018 |
+
query_category = classify_query_local(user_message)
|
| 1019 |
+
#query_category = "semantic-episodic"
|
| 1020 |
|
| 1021 |
# CONCERN-level messages still go through the normal pipeline
|
| 1022 |
# (personalized response, memory intact) but with a gentle nudge
|