Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def respond(message, history: list[tuple[str, str]], system_message, max_tokens,
|
|
85 |
|
86 |
print(message)
|
87 |
|
88 |
-
is_law = client.
|
89 |
Do NOT respond with more than one word.
|
90 |
Question:
|
91 |
{message}""")
|
|
|
85 |
|
86 |
print(message)
|
87 |
|
88 |
+
is_law = client.question_answering(f"""Given the user question below, classify it as either being about "Law" or "Other".
|
89 |
Do NOT respond with more than one word.
|
90 |
Question:
|
91 |
{message}""")
|