Spaces:
Running
Running
Commit History
-
try a different model
5257596 -
a somewhat bigger model
b184aa4 -
try a smaller model
keep getting 504s after 2 minutes w/ kimi-k2-thinkingd689050 -
replace hallucinated model
afda478 -
feature: ai prompt to create vis
Now let's take the project in a different direction. Instead of having a dropdown of choices to create 2D plots, let's give the user a text box in which to enter a prompt for an LLM. From the user's perspective, they can ask for any visualization they want on top of the Parquet file. The LLM is given a system prompt telling it to output a Vega-Lite spec implementing the user's prompt. We can then display the resulting Vega-Lite. In order to implement the LLM, use Hugging Face Inference Providers. Follow the example at https://huggingface.co/docs/inference-providers/en/index?javascript-clients=fetch#javascript.87a673a -
show error message on invalid column type combo
349dbe4 -
make x and y columns separately selectable
8f27e70 -
Use scatter plot for all plot types
6fe604d -
Refactor to avoid code duplication
904380f -
Drop dataset before re-registering with duckdb
9ef0cf3 -
skip Render Visualization button
a4d9af3 -
remove table rendering
1d2af92
-
some fixes
ae1a622
-
claude fix: struct field freezes the UI
prompt: The page freezes up when a struct type column is chosen from the dropdown of 2D plot choices. Can you determine why?fbfb380 -
claude: add vega-lite vis
prompt: Let's add a new feature. When a dataaset is selected, use DuckDB wasm to identify the column names and column types. Then build up a dropdown list of possible 2D plots, with 1 column on the X axis, and 1 other column on the Y axis. When the user selects one of the 2D plots, use a pre-built Vega-Lite spec to render the plot using Vega-Lite and vega-embed. The Vega-Lite specs used should be as follows: * A numeric column on both the X and Y axes should use a scatter plot like on https://vega.github.io/vega-lite/examples/point_2d.html * A numeric column on the X axis and a text column on the Y axis should use a bar chart like https://vega.github.io/vega-lite/examples/bar_aggregate.html, where the aggregate operator is "count" on the text field. * A text column by a text column should not be able to be visualized -- upon further thought, let's remove those from the dropdown. * Any other column types should result in an error when used describing the type(s).8e5c2f5 -
fix: pre-populate textarea
b2d40c3 -
fix: try/catch around registerFileUrl to handle duplicates
e465407 -
claude: add dropdown with pre-determined URLs
Add a dropdown that can be used to select from 10 pre-determined Parquet URLs, which will populate the Parquet File URL input box. Use example.com as the pre-determined URL for all of them, for now -- I will separately research which URLs to use. (I also manually edited two of the pre-determined URLs.)2c52ca5 -
first prompt vibe coded
04b34c7 -
initial commit
Verified signatured2e7d62