David Corbitt
328cd4f5e6
Pass and log a function
2023-07-29 15:07:29 -07:00
arcticfly
26b6fa4f0c
Requeue rate-limited query model tasks ( #99 )
...
* Continue polling stats until all evals complete
* Return evaluation changes early, before it has run
* Add task for running new eval
* requeue rate-limited tasks
* Fix prettier
2023-07-26 16:30:50 -07:00
Kyle Corbitt
807665fdc1
Merge pull request #98 from OpenPipe/anthropic
...
Add Anthropic provider
2023-07-26 15:44:39 -07:00
Kyle Corbitt
d6597d2c8a
Add Anthropic provider
...
Adds support for Claude 1 and 2 in experiments! 🎉
2023-07-26 15:37:27 -07:00
arcticfly
566d67bf48
Change prompt variant section background color ( #97 )
...
* Change backgroundColor of variant editor section
* Move refresh control out of scrollable area
2023-07-26 10:51:23 -07:00
arcticfly
d4fb8b689a
Ensure evals run properly ( #96 )
...
* Run evals against llama output
* Continue polling in OutputCell until evals complete
* Remove unnecessary check
2023-07-25 20:01:58 -07:00
arcticfly
98b231c8bd
Store multiple ModelResponses ( #95 )
...
* Store multiple ModelResponses
* Fix prettier
* Add CellContent container
2023-07-25 18:54:38 -07:00
Kyle Corbitt
45afb1f1f4
Merge pull request #94 from OpenPipe/scenario-shape
...
updated replicate llama2 models
2023-07-25 17:40:05 -07:00
Kyle Corbitt
2bffb03766
updated replicate llama2 models
2023-07-25 16:40:12 -07:00
arcticfly
223b990005
Change experiment button styling ( #93 )
...
* Change button styling
* Fix prettier
2023-07-25 11:41:02 -07:00
Kyle Corbitt
fa61c9c472
prettier
2023-07-25 09:24:28 -07:00
Kyle Corbitt
1309a6ec5d
Merge pull request #91 from OpenPipe/better-streaming
...
Better streaming
2023-07-25 06:46:01 -07:00
arcticfly
17a6fd31a5
Update HeaderButtons.tsx marginTop ( #92 )
2023-07-24 21:09:08 -07:00
Kyle Corbitt
e1cbeccb90
Better streaming
...
- Always stream the visible scenarios, if the modelProvider supports it
- Never stream the invisible scenarios
Also actually runs our query tasks in a background worker, which we weren't quite doing before.
2023-07-24 18:34:30 -07:00
arcticfly
d6b97b29f7
Allow experiment forking ( #89 )
...
* Move DeleteButton into a separate file
* Rename plural relations
* Add ability to fork
* Fork automatically after auth upon return
* Add experiment card skeleton
* Create HeaderButtons component
* return no header buttons while experiment loading
* Fix prettier
* Remove unused variable
* Remove newline
* Default json values to undefined
* Change header styles
* Fix prettier
* Give AddScenario icon less width
* Move useEffect
* Skip invalidating experiments list after forking
* Require user to be able to view experiment to fork it
* Move experiment creation into same transaction
* Only return the forked experiment id
* Put delete button in experiment settings drawer
* Move useEffect hook
2023-07-24 18:10:59 -07:00
Kyle Corbitt
09140f8b5f
Merge pull request #90 from OpenPipe/simplify-model
...
Only pass in model and provider
2023-07-24 17:43:24 -07:00
Kyle Corbitt
9952dd93d8
Only pass in model and provider
...
I got somewhat confused by the extra fields, sorry.
Also makes some frontend changes to track that state more directly although in retrospect not sure the frontend changes make things any better.
2023-07-24 17:21:25 -07:00
Kyle Corbitt
e0b457c6c5
Merge pull request #88 from OpenPipe/load-delete
...
Bugfix: show prompts for view-only experiments
2023-07-24 14:58:58 -07:00
Kyle Corbitt
0c37506975
Bugfix: show prompts for view-only experiments
...
Accidentally put the Monaco loading code in the wrong place! This fixes.
2023-07-24 14:57:33 -07:00
arcticfly
2b2e0ab8ee
Define refinement actions in the model providers ( #87 )
...
* Add descriptions of fields in llama 2 input schema
* Let GPT-4 know when the provider stays the same
* Allow refetching in the event of any errors
* Define refinement actions in model providers
* Fix prettier
2023-07-23 17:37:08 -07:00
arcticfly
3dbb06ec00
Give negative margin to account for border ( #86 )
2023-07-23 16:49:12 -07:00
David Corbitt
85d42a014b
Fix padding on AddVariant button
2023-07-22 16:27:59 -07:00
arcticfly
7d1ded3b18
Improve menu styling ( #85 )
2023-07-22 16:22:00 -07:00
Kyle Corbitt
b00f6dd04b
Merge pull request #84 from OpenPipe/paginated-scenarios
...
Paginate scenarios
2023-07-22 16:12:02 -07:00
Kyle Corbitt
2e395e4d39
Paginate scenarios
...
Show 10 scenarios at a time and let the user paginate through them to keep the interface responsive with potentially 1000s of scenarios.
2023-07-22 16:10:16 -07:00
Kyle Corbitt
4b06d05908
Merge pull request #82 from OpenPipe/space-out-scenarios
...
Separate scenarios from prompts in outputs table
2023-07-22 14:44:51 -07:00
Kyle Corbitt
aabf355b81
Merge pull request #81 from OpenPipe/fullscreen-editor
...
Fullscreen editor
2023-07-22 14:44:42 -07:00
Kyle Corbitt
61e5f0775d
separate scenarios from prompts in outputs table
2023-07-22 07:38:19 -07:00
Kyle Corbitt
cc1d1178da
Fullscreen editor
2023-07-21 22:19:38 -07:00
David Corbitt
7466db63df
Make REPLICATE_API_TOKEN optional
2023-07-21 20:23:38 -07:00
David Corbitt
79a0b03bf8
Add another function call example
2023-07-21 20:16:36 -07:00
arcticfly
6fb7a82d72
Add support for switching to Llama models ( #80 )
...
* Add support for switching to Llama models
* Fix prettier
2023-07-21 20:10:59 -07:00
Kyle Corbitt
4ea30a3ba3
Merge pull request #79 from OpenPipe/copy-evals
...
Copy over evals when new cell created
2023-07-21 18:43:44 -07:00
Kyle Corbitt
52d1d5c7ee
Copy over evals when new cell created
...
Fixes a bug where new cells generated as clones of existing cells didn't get the eval results cloned as well.
2023-07-21 18:40:40 -07:00
Kyle Corbitt
46036a44d2
small README update
2023-07-21 14:32:07 -07:00
Kyle Corbitt
3753fe5c16
Merge pull request #78 from OpenPipe/bugfix-max-tokens
...
Fix typescript hints for max_tokens
2023-07-21 12:10:00 -07:00
Kyle Corbitt
213a00a8e6
Fix typescript hints for max_tokens
2023-07-21 12:04:58 -07:00
Kyle Corbitt
af9943eefc
Merge pull request #77 from OpenPipe/provider-types
...
Slightly better typings for ModelProviders
2023-07-21 11:51:25 -07:00
Kyle Corbitt
741128e0f4
Better division of labor between frontend and backend model providers
...
A bit better thinking on which types go where.
2023-07-21 11:49:35 -07:00
David Corbitt
aff14539d8
Add comment to .env.example
2023-07-21 11:29:21 -07:00
David Corbitt
1af81a50a9
Add REPLICATE_API_TOKEN to .env.example
2023-07-21 11:28:14 -07:00
Kyle Corbitt
7e1fbb3767
Slightly better typings for ModelProviders
...
Still not great because the `any`s loosen some call sites up more than I'd like, but better than the broken types before.
2023-07-21 06:50:05 -07:00
David Corbitt
a5d972005e
Add user's current prompt to prompt derivation
2023-07-21 00:43:39 -07:00
arcticfly
a180b5bef2
Show prompt diff when changing models ( #76 )
...
* Make CompareFunctions more configurable
* Change RefinePromptModal styles
* Accept newModel in getModifiedPromptFn
* Show prompt comparison in SelectModelModal
* Pass variant to SelectModelModal
* Update instructions
* Properly use isDisabled
2023-07-20 23:26:49 -07:00
Kyle Corbitt
55c697223e
Merge pull request #74 from OpenPipe/model-providers
...
replicate/llama2 provider
2023-07-20 23:21:42 -07:00
arcticfly
9978075867
Fix auth flicker ( #75 )
...
* Remove experiments flicker for unauthenticated users
* Decrease size of NewScenarioButton spinner
2023-07-20 20:46:31 -07:00
Kyle Corbitt
847753c32b
replicate/llama2 provider
...
Still need to fix the types but it runs
2023-07-20 19:55:03 -07:00
Kyle Corbitt
372c2512c9
Merge pull request #73 from OpenPipe/model-providers
...
More work on modelProviders
2023-07-20 18:56:14 -07:00
Kyle Corbitt
332a2101c0
More work on modelProviders
...
I think everything that's OpenAI-specific is inside modelProviders at this point, so we can get started adding more providers.
2023-07-20 18:54:26 -07:00
arcticfly
1822fe198e
Initially render AutoResizeTextArea without overflow ( #72 )
...
* Rerender resized text area with scroll
* Remove default hidden overflow
2023-07-20 15:00:09 -07:00