Commit Graph

154 Commits

Author SHA1 Message Date
arcticfly
b98eb9b729 Trigger llm output retrieval on server (#39)
* Rename tables, add graphile workers, update types

* Add dev:worker command

* Update pnpm-lock.yaml

* Remove sentry config import from worker.ts

* Stop generating new cells in cell router get query

* Generate new cells for new scenarios, variants, and experiments

* Remove most error throwing from queryLLM.task.ts

* Remove promptVariantId and testScenarioId from ModelOutput

* Remove duplicate index from ModelOutput

* Move inputHash from cell to output

* Add TODO

* Add todo

* Show cost and time for each cell

* Always show output stats if there is output

* Trigger LLM outputs when scenario variables are updated

* Add newlines to ends of files

* Add another newline

* Cascade ModelOutput deletion

* Fix linting and prettier

* Return instead of throwing for non-pending cell

* Remove pnpm dev:worker from pnpm:dev

* Update pnpm-lock.yaml
2023-07-14 16:38:46 -06:00
Kyle Corbitt
032c07ec65 Merge pull request #45 from OpenPipe/node-version
warn folks if they use a lower node version
2023-07-14 15:03:49 -07:00
Kyle Corbitt
80c0d13bb9 warn folks if they use a lower node version 2023-07-14 14:59:33 -07:00
Kyle Corbitt
f7c94be3f6 Merge pull request #44 from OpenPipe/strip-types
Strip types from prompt variants
2023-07-14 14:07:07 -07:00
Kyle Corbitt
c3e85607e0 Strip types from prompt variants
We want Monaco to treat the prompt constructor as Typescript so we get type checks, but we actually want to save the prompt constructor as Javascript so we can run it directly without transpiling.
2023-07-14 14:03:28 -07:00
Kyle Corbitt
cd5927b8f5 Merge pull request #43 from OpenPipe/function-ux
Pseudo function signatures
2023-07-14 14:01:10 -07:00
Kyle Corbitt
731406d1f4 Pseudo function signatures
Show pseudo function signatures in the variant editor box as a UX hint that you're typing in javascript and have access to the scenario.
2023-07-14 13:56:45 -07:00
Kyle Corbitt
3c59e4b774 Merge pull request #42 from OpenPipe/autoformat
implement format on save
2023-07-14 12:56:41 -07:00
Kyle Corbitt
a20f81939d implement format on save 2023-07-14 12:33:57 -07:00
Kyle Corbitt
972b1f2333 Merge pull request #41 from OpenPipe/github-actions
CI checks
2023-07-14 11:40:42 -07:00
Kyle Corbitt
7321f3deda CI checks 2023-07-14 11:36:47 -07:00
Kyle Corbitt
2bd41fdfbf Merge pull request #40 from OpenPipe:completion-costs
store model and use to calculate completion costs
2023-07-14 11:07:15 -07:00
Kyle Corbitt
a5378b106b store model and use to calculate completion costs 2023-07-14 11:06:07 -07:00
Kyle Corbitt
0371dacfca Merge pull request #38 from OpenPipe/prompt-templates
Use javascript functions for prompt completions instead of templated json
2023-07-14 07:19:28 -07:00
Kyle Corbitt
2cd82eedd0 rename variantEditor -> sharedVariantEditor 2023-07-13 23:27:39 -07:00
Kyle Corbitt
4770ea34a8 Use javascript functions for prompt completions instead of templated json 2023-07-13 18:01:07 -07:00
arcticfly
1776da937a Update README.md 2023-07-12 01:10:03 -06:00
David Corbitt
357e28c463 Properly pass color into IconLink 2023-07-11 16:46:47 -06:00
David Corbitt
ebe4d5bef6 Reduce left logo padding 2023-07-11 14:08:57 -06:00
David Corbitt
31c581d0fb Update logo 2023-07-11 13:53:55 -06:00
arcticfly
163f6ab23f Update README.md 2023-07-11 12:38:08 -06:00
arcticfly
82a042582c Update logo and favicon (#36) 2023-07-11 11:58:41 -06:00
arcticfly
b01ae677f5 Show more experiment content on screen, hide individual cost and time (#35)
* Fit more text on screen

* Hide individual cost and time
2023-07-11 01:17:01 -06:00
David Corbitt
e555d13dd7 Limit prompt tokens to outputs from visible scenarios 2023-07-10 16:33:16 -06:00
David Corbitt
d29e273faf Fix experiment header section 2023-07-10 16:30:53 -06:00
David Corbitt
3f4e607e7c Resize AppShell when orientation changes 2023-07-10 14:24:00 -06:00
arcticfly
187d6492f8 Reevaluate all prompt stats when scenario is hidden (#32)
* Reevaluate when scenario is hidden

* Add newline
2023-07-10 13:51:40 -06:00
David Corbitt
ab3445eaaa Add more padding to bottom of outputs table 2023-07-10 13:34:54 -06:00
arcticfly
b99b2e715d Dynamically resize viewport height on mobile (#31) 2023-07-10 13:15:09 -06:00
arcticfly
8ae344a286 Increase scenarios header negative margin (#30) 2023-07-10 12:55:21 -06:00
arcticfly
96dacb0378 Move experiment scrollbar to bottom of page, make scenarios header sticky (#29)
* Remove newline from promptVariants router

* Move horizontal scroll bar to bottom of OutputsTable

* Make scenarios header sticky
2023-07-10 12:40:02 -06:00
arcticfly
e64a94e06e Record experiment updated in more places (#24)
* Record experiment updated in more places

* Update experiment updatedAt in same transaction
2023-07-10 12:00:24 -06:00
Kyle Corbitt
d6a46b9e9d fix lockfile 2023-07-10 06:47:16 -07:00
arcticfly
32a80f8475 Limit evaluations to visible test scenarios (#28) 2023-07-10 02:10:23 -06:00
arcticfly
337469a3f7 Update README.md 2023-07-10 01:33:07 -06:00
arcticfly
dc068b04cf Update README.md 2023-07-10 00:17:22 -06:00
arcticfly
200ebf4610 Update README.md with link to demo 2023-07-08 23:35:00 -07:00
Kyle Corbitt
840ca03c4b don't check the pnpm-lock.yaml file with prettier 2023-07-08 22:15:08 -07:00
Kyle Corbitt
a8db6cadfd format with prettier 3 2023-07-08 22:12:47 -07:00
arcticfly
6b32619e87 Add streaming to the default prompt (#27) 2023-07-08 21:22:02 -07:00
David Corbitt
e2f6ddde52 Update repo name throughout codebase 2023-07-08 21:00:20 -07:00
arcticfly
f61ebe6e78 Update repo name in README.md 2023-07-08 20:58:59 -07:00
arcticfly
087edf867e Update logo in README.md 2023-07-08 16:44:51 -07:00
arcticfly
9e26035ff4 Show cost tooltip on mobile, modify styles (#23)
* Show tooltip on mobile, modify styles

* Tokens -> Token Usage
2023-07-08 10:29:30 -07:00
David Corbitt
a51bab3591 Use NextJS link for breadcrumb 2023-07-07 23:24:39 -07:00
David Corbitt
b7a60b7301 Fix Experiments link top margin on experiments page 2023-07-07 23:24:23 -07:00
jarenm
d7fb4a7236 add cost tooltip (#22)
* add cost tooltip

* add padding and style
2023-07-07 19:34:45 -07:00
arcticfly
48c3b7dcab Update README.md 2023-07-07 18:37:15 -07:00
arcticfly
8fe73c3a5a Update README.md with logo 2023-07-07 18:10:10 -07:00
arcticfly
0415a04dc6 Redirect to experiments page after deleting experiment (#21) 2023-07-07 18:01:38 -07:00