Skip to content

UI Perf improvement: don't try to render list[float] as individual fields #150

@skrawcz

Description

@skrawcz

It wont be uncommon to have embeddings in state.

Current behavior

Currently we render each dimension as its own field. This slows down the UI when things get large.

Screenshots

Screen Shot 2024-04-08 at 3 06 46 PM

Steps to replicate behavior

Use telephone example.

  1. save a list of floats
  2. see it in state

Library & System Information

latest.

Expected behavior

Not each dimension as its own field. A single array view. Or something special for embeddings.
The UI is snappy.

Additional context

Telephone example saves embeddings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions