vanna icon indicating copy to clipboard operation
vanna copied to clipboard

UI doesn't show all training data

Open michaelnatkin opened this issue 7 months ago • 3 comments

I've trained on several hundred items, but the UI only shows the first 25. Confirmed that even after I add another one in the UI, it says there are 25, and if I delete one - still stays 25 :).

image

michaelnatkin avatar Jan 24 '24 06:01 michaelnatkin

This is vanna-flask, specifically.

michaelnatkin avatar Jan 24 '24 06:01 michaelnatkin

Ah, here's the offending code in app.py

"df": df.head(25).to_json(orient='records'),

michaelnatkin avatar Jan 24 '24 06:01 michaelnatkin

Thanks -- this is a duplicate of this issue: https://github.com/vanna-ai/vanna/issues/182

zainhoda avatar Jan 25 '24 14:01 zainhoda