SIGN IN SIGN UP

feat(playground): parse span attribute `llm.input_messages` for playground span replay (#4906)

* begin building zod schemas for llm attributes

* feat(playground): parse span input messages

* move to utils, update role

* update initial instance id

* update id generation, add todo, add test files

* add tests

* memoize

* move jest-canvas-mock to dev dependencies

* update span not found error message

* parse roles as strings and corece to ChatMessageRole

* update ChatRoleMap comment

* fix typos

* update prop type to be InitialPlaygroundState

* update naming

* fix naming conflict
P
Parker Stafford committed
f4b1d92512f21fa52e6a541f52021aa0cc6e17ca
Parent: b2a8bd0
Committed by Mikyo King <mikyo@arize.com> on 10/11/2024, 8:10:40 PM