Kyle Corbitt
8fa7b691db
make max pool size configurable
2023-08-18 22:56:24 -07:00
Kyle Corbitt
947eba3216
Catch unhandled rejections in background worker
...
Previously, an unhandled promise rejection in the background worker would crash the process. This way we log it and don't crash.
2023-08-18 19:03:54 -07:00
arcticfly
ef1f9458f4
Add prompt ids ( #177 )
...
* Add prompt ids
* Add prompt ids
2023-08-18 16:56:17 -07:00
Kyle Corbitt
c6c7e746ee
Merge pull request #180 from OpenPipe/priorities
...
Prioritize job execution
2023-08-18 13:46:31 -07:00
Kyle Corbitt
3be0a90960
Prioritize job execution
...
Makes it so our most critical jobs go through first. Priority order:
1. Force-refetched cells
2. Cells visible on the current page
3. All other cells
4. Retries
5. Evaluations
2023-08-18 13:44:33 -07:00
Kyle Corbitt
9b1f2ac30a
new script to run workers
2023-08-18 13:01:01 -07:00
Kyle Corbitt
1b394cc72b
more resources
2023-08-18 12:14:28 -07:00
Kyle Corbitt
26b9731bab
worker env
2023-08-18 11:45:54 -07:00
Kyle Corbitt
7c8ec8f6a7
Merge pull request #179 from OpenPipe/job-dedupe
...
Run workers in a separate Docker container
2023-08-18 11:26:32 -07:00
Kyle Corbitt
10dd53e7f6
Run workers in a separate Docker container
...
We've outgrown the run-everything-on-one-machine setup. This change moves background jobs to a different Docker image in production. It also adds a `jobKey` to certain jobs so if we try to process the same cell multiple times it'll only actually run the job once.
2023-08-18 11:16:00 -07:00
Kyle Corbitt
b1802fc04b
Merge pull request #176 from OpenPipe/more-js
...
Streaming + logging works in Typescript SDK
2023-08-18 08:56:56 -07:00
Kyle Corbitt
f2135ddc72
Streaming + logging works in Typescript SDK
...
Also added some high-level tests to minimize the chances that we're breaking anything.
The typescript SDK is mostly functional at this point, with the exception that we don't have a build process or way to import it when deployed as an NPM package.
2023-08-18 08:53:08 -07:00
arcticfly
ca89eafb0b
Create new uiId for forked variants and scenarios ( #175 )
...
* Create new uiIds for forked variants and scenarios
* Add replaceVariant.mutateAsync to onSave dependencies
2023-08-18 08:09:07 -07:00
arcticfly
b50d47beaf
Square header border when scrolled down ( #174 )
...
* Square header border when scrolled down
* Remove unused import
2023-08-18 01:41:47 -07:00
arcticfly
733d53625b
Add Gryphe/MythoMax-L2-13b ( #173 )
2023-08-18 00:37:16 -07:00
arcticfly
a5e59e4235
Allow user to delete scenario without variables ( #172 )
...
* Allow user to delete scenario without variables
* Hide expand button for empty scenario editor
* Add header to scenario modal
2023-08-18 00:08:32 -07:00
Kyle Corbitt
d0102e3202
Merge pull request #171 from OpenPipe/experiment-slug
...
Use shorter experiment IDs
2023-08-17 23:33:30 -07:00
Kyle Corbitt
bd571c4c4e
Merge pull request #170 from OpenPipe/jobs-log
...
Enqueue tasks more efficiently
2023-08-17 23:33:20 -07:00
Kyle Corbitt
296eb23d97
Use shorter experiment IDs
...
Because https://app.openpipe.ai/experiments/B1EtN6oHeXMele2 is a cooler URL than https://app.openpipe.ai/experiments/3692942c-6f1b-4bef-83b1-c11f00a3fbdd
2023-08-17 23:28:56 -07:00
Kyle Corbitt
4e2ae7a441
Enqueue tasks more efficiently
...
Previously we were opening a new database connection for each task we added. Not a problem at small scale but kinda overwhelming for Postgres now that we have more usage.
2023-08-17 22:42:46 -07:00
Kyle Corbitt
072dcee376
Merge pull request #168 from OpenPipe/jobs-log
...
Admin dashboard for jobs
2023-08-17 22:26:10 -07:00
Kyle Corbitt
94464c0617
Admin dashboard for jobs
...
Extremely simple jobs dashboard to sanity-check what we've got going on in the job queue.
2023-08-17 22:20:39 -07:00
arcticfly
980644f13c
Support vicuna system message ( #167 )
...
* Support vicuna system message
* Change tags to USER and ASSISTANT
2023-08-17 21:02:27 -07:00
arcticfly
6a56250001
Add platypus 13b, vicuna 13b, and nous hermes 7b ( #166 )
...
* Add platypus
* Add vicuna 13b and nous hermes 7b
2023-08-17 20:01:10 -07:00
Kyle Corbitt
b1c7bbbd4a
Merge pull request #165 from OpenPipe/better-output
...
Don't define CellWrapper inline
2023-08-17 19:07:32 -07:00
Kyle Corbitt
3e20fa31ca
Don't define CellWrapper inline
...
This way we don't re-render the entire cell every time a variable changes. Better performance and handles modals correctly.
OutputCell is still a pretty messy component, which we'll have to address at some point, but the complexity is still manageable for now.
2023-08-17 17:52:45 -07:00
Kyle Corbitt
48a8e64be1
Merge pull request #164 from OpenPipe/more-models
...
Add Nous-Hermes and Airoboros models
2023-08-17 17:51:28 -07:00
David Corbitt
f3a5f11195
Temporarilyt remove platypus and stableBeluga models
2023-08-17 16:58:52 -07:00
David Corbitt
da5cbaf4dc
Remove console.log
2023-08-17 16:16:22 -07:00
David Corbitt
acf74909c9
Ensure ending newline is displayed
2023-08-17 03:37:32 -07:00
David Corbitt
edac8da4a8
Convert system to user prompt for airoboros
2023-08-17 03:10:55 -07:00
David Corbitt
687f3dd85f
Rename prompt modal
2023-08-17 02:34:26 -07:00
David Corbitt
0cef3ab5bd
Only enable getTemplatedPromptMessage when modal open
2023-08-17 02:32:02 -07:00
David Corbitt
756b3185de
Rename CellOptions
2023-08-17 01:44:18 -07:00
David Corbitt
3776ffc4c3
Change ScenarioRow background color
2023-08-17 01:44:06 -07:00
David Corbitt
82549122e1
Add 4 more models
2023-08-17 01:40:05 -07:00
David Corbitt
56a96a7db6
Use different color for row highlight style
2023-08-16 22:46:22 -07:00
David Corbitt
1596b15727
Fix warning from useLayoutEffect
2023-08-16 22:44:18 -07:00
David Corbitt
70d4a5bd9a
Fix project settings padding on desktop
2023-08-16 22:40:27 -07:00
arcticfly
c6ec901374
Ad openpipe/Chat provider with Open-Orca/OpenOrcaxOpenChat-Preview2-13B model ( #163 )
...
* Display 4 decimal points in ModelStatsCard
* Add openpipe-chat provider
2023-08-16 22:37:37 -07:00
David Corbitt
ad7665664a
Update 7b-chat version
2023-08-16 19:23:01 -07:00
David Corbitt
108e3d1e85
Revert email to table-cell display on md screens
2023-08-16 18:49:14 -07:00
David Corbitt
76f600722a
Sort project members by role
2023-08-16 18:30:27 -07:00
David Corbitt
d9a0e4581f
Add bgColor behind selected project in menu
2023-08-16 18:16:44 -07:00
arcticfly
b9251ad93c
Fix members table mobile styles ( #162 )
2023-08-16 17:52:25 -07:00
arcticfly
809ef04dc1
Invite members ( #161 )
...
* Allow user invitations
* Restyle inviting members
* Remove annoying comment
* Add page for accepting an invitation
* Send invitation email with Brevo
* Prevent admins from removing personal project users
* Mark access ceontrol for cancelProjectInvitation
* Make RadioGroup controlled
* Shorten form helper text
* Use nodemailer to send emails
* Update .env.example
2023-08-16 17:25:31 -07:00
arcticfly
0fba2c9ee7
Add NOT_CONTAINS, fix bugs ( #160 )
...
* Fix null case for tag comparisons
* Change debounce time to 500ms
* Add NOT_CONTAINS
* Avoid sql injection
* Store filters by id
* Fix chained NOT_CONTAINS
2023-08-15 16:43:59 -07:00
Kyle Corbitt
ac2ca0f617
Merge pull request #158 from OpenPipe/log-filters
...
Filter logged calls
2023-08-15 10:16:59 -07:00
David Corbitt
73b9e40ced
Give LoggedCallsTable scrollbar
2023-08-15 03:12:59 -07:00
David Corbitt
3447e863cc
Prevent model name from wrapping
2023-08-15 02:53:24 -07:00