Skip to content
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

feat: prompt playground beta #4775

Merged
merged 42 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
2a0ddd9
docs: initial playground PRD (#4777)
mikeldking Sep 27, 2024
a0a83a2
feat: Playground UI prototype (#4778)
mikeldking Sep 27, 2024
5948ea3
feat(playground): streaming chat completions (#4785)
axiomofjoy Oct 1, 2024
d83f5f4
chore: lock pnpm deps
mikeldking Oct 1, 2024
72f05de
ci: ignore react-compiler error on subscription mount deps array (#4861)
mikeldking Oct 3, 2024
ee1f85b
feat(playground): rudimentary graphql support for messages input (#4907)
mikeldking Oct 8, 2024
b2a8bd0
feat(playground): Implement message role picker callback (#4909)
cephalization Oct 8, 2024
f4b1d92
feat(playground): parse span attribute `llm.input_messages` for playg…
Parker-Stafford Oct 8, 2024
e83380d
refactor(playground): move run, test input mode selection the top bar…
mikeldking Oct 9, 2024
4a53e8e
fix(playground): authenticate websockets (#4924)
axiomofjoy Oct 9, 2024
784606a
chore: leave in concurrencly config for playwright (#4927)
mikeldking Oct 9, 2024
ed6e05e
feat(playground): make chat messages match style in traces (#4931)
mikeldking Oct 9, 2024
ad27394
feat(playground): re-ordering of messages using dnd (#4936)
mikeldking Oct 9, 2024
5d45e48
feat(playground): add / delete messages (#4947)
mikeldking Oct 10, 2024
240bfe8
feat(playground): allow up to 4 instances, distinguish alphabetically…
mikeldking Oct 10, 2024
2b6529f
fix(playground): ignore keyboard events in template messages for drag…
Parker-Stafford Oct 10, 2024
01227e2
feat(playground): provide a back to trace button from the span playgr…
mikeldking Oct 10, 2024
08abfce
chore: update pnpm lock
mikeldking Oct 11, 2024
dc95649
ci: fix vitest (#4966)
mikeldking Oct 11, 2024
c27dfb1
feat(playground): accumulate errors while parsing span attributes (#4…
Parker-Stafford Oct 11, 2024
94d92fb
feat: Add model listing (#4948)
anticorrelator Oct 11, 2024
0d1c141
test: add babel-plugin-relay as top level dev dependency (#4968)
Parker-Stafford Oct 11, 2024
025c33e
feat(playground): model selector (#4971)
mikeldking Oct 11, 2024
e20716f
feat(playground): Implement codemirror based template string editor (…
cephalization Oct 14, 2024
b15f2a4
feat(playground): add credential storage (#4970)
Parker-Stafford Oct 14, 2024
39c9940
feat(playground): create llm span for playground runs (#4982)
axiomofjoy Oct 14, 2024
2c50441
feat(playground): playground layout (#4978)
mikeldking Oct 14, 2024
985042c
fix(playground): invalidate cache for playground span project to ensu…
axiomofjoy Oct 14, 2024
bbbfd22
fix(playground): Remove unused statements in language grammars (#4992)
cephalization Oct 14, 2024
23e9d82
feat(playground): copy messages to clipboard (#5000)
mikeldking Oct 14, 2024
23958bd
fix(playground): plumb through model name and providers (#4999)
axiomofjoy Oct 15, 2024
716b1c7
playground model name (#5001)
axiomofjoy Oct 15, 2024
0fa0c87
fix(playground): plumb through credentials (#5003)
axiomofjoy Oct 15, 2024
b8cd777
feat(playground): Extract and display variables from all message temp…
cephalization Oct 15, 2024
45755bb
feat(playground): toggle for the template language (#5004)
mikeldking Oct 15, 2024
415ec6f
chore: bump components to allow for better styling of accordions (#5019)
mikeldking Oct 15, 2024
767bd37
feat(playground): add tools ui (#5002)
Parker-Stafford Oct 15, 2024
ab09109
feat(playground): Implement editable input variable textareas (#4987)…
cephalization Oct 15, 2024
9d375e5
fix(playground): plumb through and record invocation parameters (#5005)
axiomofjoy Oct 16, 2024
45973b7
feat(playground): parse model name and infer provider form span (#5021)
Parker-Stafford Oct 16, 2024
5485c03
feat(playground): tool call backend (#5027)
axiomofjoy Oct 16, 2024
75b7000
feat(playground): wire up tool calling ui (#5029)
axiomofjoy Oct 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,34 @@
"license": "None",
"private": true,
"dependencies": {
"@arizeai/components": "^1.8.1",
"@arizeai/components": "^1.8.7",
"@arizeai/openinference-semantic-conventions": "^0.10.0",
"@arizeai/point-cloud": "^3.0.6",
"@codemirror/autocomplete": "6.12.0",
"@codemirror/lang-javascript": "^6.2.2",
"@codemirror/lang-json": "6.0.1",
"@codemirror/lang-python": "6.1.3",
"@codemirror/language": "^6.10.3",
"@codemirror/lint": "^6.8.1",
"@codemirror/view": "^6.28.5",
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/sortable": "^8.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@lezer/highlight": "^1.2.1",
"@lezer/lr": "^1.4.2",
"@react-three/drei": "^9.108.4",
"@react-three/fiber": "8.0.12",
"@tanstack/react-table": "^8.19.3",
"@uiw/codemirror-theme-github": "^4.23.5",
"@uiw/codemirror-theme-nord": "^4.23.0",
"@uiw/react-codemirror": "^4.23.0",
"codemirror-json-schema": "^0.7.8",
"copy-to-clipboard": "^3.3.3",
"d3-format": "^3.1.0",
"d3-scale-chromatic": "^3.1.0",
"d3-time-format": "^4.1.0",
"date-fns": "^3.6.0",
"graphql-ws": "^5.16.0",
"lodash": "^4.17.21",
"normalize.css": "^8.0.1",
"polished": "^4.3.1",
Expand All @@ -46,14 +55,18 @@
"three-stdlib": "^2.30.4",
"use-deep-compare-effect": "^1.8.1",
"use-zustand": "^0.0.4",
"zod": "^3.23.8",
"zod-to-json-schema": "^3.23.3",
"zustand": "^4.5.4"
},
"devDependencies": {
"@emotion/react": "^11.11.4",
"@lezer/generator": "^1.7.1",
"@playwright/test": "^1.48.0",
"@types/d3-format": "^3.0.4",
"@types/d3-scale-chromatic": "^3.0.3",
"@types/d3-time-format": "^4.0.3",
"@types/json-schema": "^7.0.15",
"@types/lodash": "^4.17.7",
"@types/node": "^22.5.4",
"@types/react": "18.3.10",
Expand All @@ -65,6 +78,7 @@
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"@vitejs/plugin-react": "^4.3.1",
"babel-plugin-relay": "^18.1.0",
"cpy-cli": "^5.0.0",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.4",
Expand All @@ -80,14 +94,16 @@
"typescript": "~5.4.5",
"vite": "^5.3.6",
"vite-plugin-relay": "^2.1.0",
"vitest": "^2.1.2"
"vitest": "^2.1.2",
"vitest-canvas-mock": "^0.3.3"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"build": "pnpm run build:relay && vite build",
"build:static": "cpy ./static ../src/phoenix/server",
"build:relay": "relay-compiler",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"dev": "pnpm run dev:server & pnpm run build:static && pnpm run build:relay && vite",
Expand Down
2 changes: 2 additions & 0 deletions app/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export default defineConfig({
retries: process.env.CI ? 2 : 0,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: "html",
/* Opt out of parallel tests on CI. */
// workers: process.env.CI ? 1 : undefined,
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Base URL to use in actions like `await page.goto('/')`. */
Expand Down
Loading
Loading