Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -138,7 +138,8 @@ def process_data():
|
|
138 |
"function": {
|
139 |
"name": "search"
|
140 |
}
|
141 |
-
}
|
|
|
142 |
)
|
143 |
return json.dumps(convert_openai_to_langchain(toreturn),indent=4)
|
144 |
else:
|
|
|
138 |
"function": {
|
139 |
"name": "search"
|
140 |
}
|
141 |
+
},
|
142 |
+
max_tokens=100
|
143 |
)
|
144 |
return json.dumps(convert_openai_to_langchain(toreturn),indent=4)
|
145 |
else:
|