Spaces:
Runtime error
Runtime error
Update utils/mongo_utils.py
Browse files- utils/mongo_utils.py +2 -2
utils/mongo_utils.py
CHANGED
|
@@ -64,9 +64,9 @@ def get_prompt(query):
|
|
| 64 |
- model (string datatype)
|
| 65 |
|
| 66 |
price should only be a numerical number. dont write words or text or abbreviations. Just numbers like 40000 or 50000.
|
| 67 |
-
return "NULL" in the field if it is not mentioned
|
| 68 |
You goal is to extract the price and features of a car from a given user query.
|
| 69 |
-
return a json only
|
| 70 |
|
| 71 |
example output:
|
| 72 |
{{
|
|
|
|
| 64 |
- model (string datatype)
|
| 65 |
|
| 66 |
price should only be a numerical number. dont write words or text or abbreviations. Just numbers like 40000 or 50000.
|
| 67 |
+
return "NULL" with proper quotation marks in the field if it is not mentioned
|
| 68 |
You goal is to extract the price and features of a car from a given user query.
|
| 69 |
+
return a json only and ensure the output is a valid JSON response
|
| 70 |
|
| 71 |
example output:
|
| 72 |
{{
|