-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data too large for "export-doc-qa-feedback" #249
Comments
Hi @laifuchicago, can you provide more details as to when you get this error? Do you get this when exporting the "feedback"? It seems like a query is returning huge amount of data, causing the request to break. |
To author: |
Hi @laifuchicago, yes you can delete the current feedback index in Elasticsearch. Here's a code snippet you could use: from elasticsearch import Elasticsearch
client = Elasticsearch(hosts=[{"host": HOST, "port": PORT}], http_auth=(USERNAME, PASSWORD))
client.indices.delete(index="feedback", ignore=[404]) In the current feedback export, the entire document(corresponding to a "feedback") gets exported as "context", thus bloating up the response size. To make it scalable, we plan to make the size of the "context" configurable in the API. I'll update here when we have an implementation for it. |
To Author:
![6](https://user-images.githubusercontent.com/8537280/87897491-1b3e9e00-ca7e-11ea-98a0-870037e327a5.PNG)
I tried to edit the finetune "feedback" data. However, I got the following error. I have tried to release the cache but still can not work. Do you have any idea? Thank you!
Jonathan Sung
The text was updated successfully, but these errors were encountered: