227 Commits

Author SHA1 Message Date
Tomas Valenta 667c1217fa Fix prompt editing for new model. Improve default prompt. 2023-04-18 21:31:13 +00:00
Tomas Valenta b74608e787 Add prompt editing [WIP] 2023-04-18 09:41:22 +00:00
Tomas Valenta fc8b4a73d8 Add prompt editing [WIP] 2023-04-17 22:56:55 +00:00
Tomas Valenta 0b1b339d97 Allow prompt customization [WIP] 2023-04-16 23:24:41 +00:00
Tomas Valenta a425125cfc Cleanup 2023-04-16 15:27:12 +00:00
Tomas Valenta 917976c0b9 Fix sync log streaming in replicate 2023-04-14 14:22:57 +00:00
Tomas Valenta b49579fa31 Change async func to sync 2023-04-14 08:57:23 +00:00
Tomas Valenta 67642bcd9f Update langchain 2023-04-13 23:05:50 +00:00
Tomas Valenta 8bb58f4830 Fix Replicate model wrapper [WIP] 2023-04-13 21:38:39 +00:00
Tomas Valenta e26c71b444 Fix API deps; Fix api error handling 2023-04-12 12:05:49 +00:00
Tomas Valenta e7e8d916c9 Fix python missing fields access; Fix model selection; Increase OpenAI model timeout 2023-04-11 23:15:15 +00:00
Tomas Valenta 855d92abf6 Cleanup 2023-04-11 11:20:18 +00:00
Tomas Valenta 0babcdca02 Change backend to support custom models [WIP] 2023-04-11 11:20:18 +00:00
Tomas Valenta e6b25f4e02 Add UI for changing models 2023-04-07 21:08:23 +00:00
Tomas Valenta 1455a7d93b Add UI for changing GPT model versions 2023-04-05 23:56:28 +00:00
Tomas Valenta 1ac9a51f05 Update env vars when running saved code 2023-04-05 16:00:54 +00:00
Tomas Valenta 454257c638 Modify prompt 2023-04-05 13:07:29 +00:00
Tomas Valenta c332450f26 Make request body in human instructions prefix conditional; Fix hanging quotes in prompt; Make request body example in prompt conditional; Add instruction suffix to prompt 2023-04-05 11:34:51 +00:00
Tomas Valenta fac58ddb0c Disable let human choose 2023-04-05 11:32:57 +00:00
Tomas Valenta f66c74c410 Remove print 2023-04-05 11:32:41 +00:00
Tomas Valenta cef23c0498 Remove example from code tools 2023-04-05 11:32:34 +00:00
Tomas Valenta e66d8ac33a Make the tool name optional when parsing llm output 2023-04-05 09:07:12 +00:00
Tomas Valenta f32abba9d8 Fix non-capturing of tool attribute in parsing 2023-04-04 22:19:45 +00:00
Tomas Valenta a1a33495b4 Fix newline whitespace escaping when parsing LLM output 2023-04-04 14:30:47 +00:00
Tomas Valenta f2d25b5a49 Simplify parsing tests; Fix parsing test assert; Fix parsing bug [WIP] 2023-04-04 13:06:41 +00:00
Tomas Valenta 7408d0ae31 Fix curl tool name in example 2023-04-04 11:43:45 +00:00
Tomas Valenta d5dd9802ee Remove unused code for mock request data 2023-04-03 20:14:30 +00:00
Vasek Mlejnsky d6fdf61f68 commit 2023-03-30 11:17:15 +02:00
Vasek Mlejnsky 90519f64eb make it work 2023-03-28 17:46:45 +02:00
Tomas Valenta 90c9e3e9a3 Merge branch 'master' of https://github.com/devbookhq/ai-api into edit 2023-03-27 22:30:35 +00:00
Vasek Mlejnsky bbc8c5d671 Merge branch 'master' of https://github.com/devbookhq/ai-api 2023-03-27 16:14:51 +02:00
Tomas Valenta 61778a3fd8 Update comment 2023-03-27 14:05:16 +00:00
Tomas Valenta 6b53f6e87c Flush logs on action start 2023-03-27 15:36:31 +02:00
Tomas Valenta 92b186f6ca Flush logs on action start 2023-03-27 12:47:00 +00:00
Vasek Mlejnsky 279ffe390a Merge branch 'master' of https://github.com/devbookhq/ai-api 2023-03-27 14:38:59 +02:00
Vasek Mlejnsky 265ac1e76c commit 2023-03-27 14:38:53 +02:00
Tomas Valenta 52306d0d4a Remove parentheses 2023-03-27 11:01:25 +00:00
Tomas Valenta 01ac32b3f0 Reset logs meta buffer 2023-03-27 10:56:32 +00:00
Vasek Mlejnsky 27b46c137e commit 2023-03-27 12:33:18 +02:00
Tomas Valenta b29be5d90f Merge branch 'master' into edit 2023-03-26 13:57:12 +00:00
Vasek Mlejnsky 2cffd0c1ff Rename tools 2023-03-26 15:23:29 +02:00
Tomas Valenta 6e36ffa393 Merge branch 'master' into edit 2023-03-26 08:57:35 +00:00
Vasek Mlejnsky 72c7762622 Remove prompt for demo 2023-03-26 10:56:04 +02:00
Tomas Valenta 2c9caf4e17 Cleanup 2023-03-24 14:36:33 +00:00
Tomas Valenta 3d210b3d2a Improve params and func naming 2023-03-24 14:33:49 +00:00
Tomas Valenta 35cebc0411 Cleanup 2023-03-24 14:31:56 +00:00
Tomas Valenta 5600992a47 Cleanup 2023-03-24 14:30:49 +00:00
Tomas Valenta ab1392fc5d Tweak action tag parse regex 2023-03-24 14:23:38 +00:00
Vasek Mlejnsky b7e3512878 Merge branch 'master' of https://github.com/devbookhq/ai-api 2023-03-24 15:16:05 +01:00
Tomas Valenta d42088a313 Tweak log queue 2023-03-24 14:01:09 +00:00