Commit 03c69fed authored by jyong's avatar jyong

return empty result

parent 76f9694f
......@@ -629,7 +629,7 @@ class DocumentService:
cut_length = 18
cut_name = documents[0].name[:cut_length]
dataset.name = cut_name + '...' if len(documents[0].name) > cut_length else cut_name
dataset.name = cut_name + '...'
dataset.description = 'useful for when you want to answer queries about the ' + documents[0].name
db.session.commit()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment