Commit Graph

355 Commits

Author SHA1 Message Date
arcticfly
0415a04dc6 Redirect to experiments page after deleting experiment (#21) 2023-07-07 18:01:38 -07:00
Kyle Corbitt
b2dc1ff58b repo move 2023-07-07 17:48:34 -07:00
Kyle Corbitt
8e0722cd22 wrong denominator 2023-07-07 17:48:34 -07:00
David Corbitt
f160a7c2e1 Navigate to home on logo click 2023-07-07 16:02:28 -07:00
arcticfly
539aabbe9c Make mobile prettier (#19)
* Fix mobile experiment buttons

* Fix mobile NewExperimentButton

* Add base columns for experiments

* Shrink side navbar on mobile

* Compress social links
2023-07-07 15:30:52 -07:00
arcticfly
db4476d1cb Change website layout (#18)
* Add basic experiments page

* Isolate experiment components

* Fix grid on small screens

* Change nav bar

* Add padding to logo

* Fix linking

* Remove right margin on ExperimentCard flask

* Change favicon

* Use humanize in formatTimePast

* Add TODO
2023-07-07 14:47:54 -07:00
Kyle Corbitt
918f209227 rename querykey -> openpipe 2023-07-07 12:27:21 -07:00
Kyle Corbitt
46344d8fc4 small bugfixes 2023-07-07 12:22:27 -07:00
Kyle Corbitt
70a1448d73 header bar improvements 2023-07-07 06:46:09 -07:00
arcticfly
8e1384fed9 Break error words without breakLongWord (#16)
* List number of scenarios

* Remove breakLongWords
2023-07-06 21:43:56 -07:00
arcticfly
a2c7ef73ec Retry requests that receive 429 (#15)
* List number of scenarios

* Retry requests after 429

* Rename requestCallback

* Add sleep function

* Allow manual retry on frontend

* Remove unused utility functions

* Auto refetch

* Display wait time with Math.ceil

* Take one second modulo into account

* Add pluralize
2023-07-06 21:39:23 -07:00
Kyle Corbitt
cb15216d0b fix more issues with output cell mutation 2023-07-06 18:35:55 -07:00
Kyle Corbitt
97f44ea5c4 handle issues with OutputCell mutation 2023-07-06 17:56:08 -07:00
arcticfly
d2a50c3d1f List number of scenarios (#14) 2023-07-06 17:21:19 -07:00
Kyle Corbitt
878cf0f68d limit seeded data 2023-07-06 16:56:26 -07:00
arcticfly
fe501a80cb Add total token cost to variant stats (#13)
* Add total token cost to variant stats

* Copy over token counts for new variants

* Update invalidate call
2023-07-06 15:33:49 -07:00
Kyle Corbitt
1fa0d7bc62 bugfixes 2023-07-06 15:22:35 -07:00
Kyle Corbitt
0844fb0da7 fewer reddit stories for now 2023-07-06 15:20:48 -07:00
arcticfly
92c240e7b8 Add request cost to OutputStats (#12) 2023-07-06 14:36:31 -07:00
Kyle Corbitt
f728027ef6 add evaluations 2023-07-06 13:44:03 -07:00
arcticfly
1ae5612d55 Add promptTokens and completionTokens to model output (#11)
* Default to streaming in config

* Add tokens to database

* Add NEXT_PUBLIC_SOCKET_URL to .env.example

* Disable streaming for functions

* Add newline to types
2023-07-06 13:12:59 -07:00
Kyle Corbitt
6ecb952a68 don't default open 2023-07-06 07:12:24 -07:00
Kyle Corbitt
4275e6b19b settings drawer 2023-07-05 21:34:00 -07:00
Kyle Corbitt
6510b26b1e re-attach scenarios 2023-07-05 21:34:00 -07:00
Kyle Corbitt
e4c101a843 change outputs table to make room for evals 2023-07-05 21:34:00 -07:00
arcticfly
e1f05a7b59 Add seed file for reddit, restrict max height of variable value editor (#10)
* Add reddit seeds

* Restrict scenario variable value editor maxH to 60

* Add seed file for reddit experiments

* Further decrease max height

* Make score a string
2023-07-05 18:51:34 -07:00
Kyle Corbitt
63f6b646dc scenario vars can't have spaces 2023-07-05 13:54:02 -07:00
Kyle Corbitt
552199da4a rename prompt-lab to querykey 2023-07-05 10:43:28 -07:00
Kyle Corbitt
1a45607409 rename prompt-lab -> querykey 2023-07-05 10:08:45 -07:00
Kyle Corbitt
1ecf3280e2 attempt deploy 2023-07-03 22:49:26 -07:00
Kyle Corbitt
4ad33c7a1a Merge pull request #9 from corbt/sockets
Add streaming for normal text
2023-07-03 22:32:57 -07:00
David Corbitt
d434545fdf Rename channelId to channel 2023-07-03 20:22:38 -07:00
David Corbitt
1111d187ca Remove console 2023-07-03 20:12:21 -07:00
David Corbitt
5f11b258ca Streaming works for normal text 2023-07-03 19:51:34 -07:00
David Corbitt
2569943ecb Add NEXT_PUBLIC_SOCKET_URL 2023-07-03 17:36:17 -07:00
David Corbitt
9a6cb8dc95 Update autogen.ts 2023-07-03 17:35:29 -07:00
arcticfly
c2c512d751 Prevent scenario from dragging when input is hovered (#8)
* Prevent scenario from dragging when input is hovered

* Prevent VariantHeader from dragging when input is hovered
2023-07-01 10:23:04 -07:00
arcticfly
3f6ef5adcf Add AutoResizeTextArea (#7) 2023-07-01 08:52:20 -07:00
arcticfly
6389bd54de Save and display timeToComplete on model outputs (#6)
* Calculate and save timeToComplete on model outputs

* Add output stats to function call as well

* Record timeToComplete before parsing response json

* Add default value for timeToComplete
2023-06-30 21:29:28 -07:00
Kyle Corbitt
625d34a9e0 start using migrations 2023-06-30 19:00:32 -07:00
arcticfly
ed05be5638 Merge pull request #5 from corbt/loading
Move loading indicators for output cells and autogenerate button
2023-06-30 18:34:55 -07:00
David Corbitt
ae9b37cf16 Add margin to autogenerating NewScenarioButton 2023-06-30 18:31:28 -07:00
David Corbitt
b45fece88f Center loading indicators in output cells 2023-06-30 18:26:20 -07:00
arcticfly
c294fa361a Merge pull request #4 from corbt/output-formatting
Cease centering model output in cell
2023-06-30 18:18:12 -07:00
David Corbitt
210efdcd6b Move scenario variables to the top of their container 2023-06-30 18:12:06 -07:00
David Corbitt
0daa68fa7d Cease centering model output in cell 2023-06-30 17:52:55 -07:00
arcticfly
41a810f011 Merge pull request #3 from corbt/whitespace-pre-wrap
Maintain spaces and newlines in model output
2023-06-30 17:44:30 -07:00
David Corbitt
f553c26c52 Maintain spaces and newlines in model output 2023-06-30 17:43:04 -07:00
arcticfly
eeb4c4dea4 Merge pull request #2 from corbt/output-error-handling
Catch argument parsing error
2023-06-28 21:19:06 -07:00
Kyle Corbitt
7641ea0747 prettier line length 2023-06-28 18:18:57 -07:00