46 Commits

Author SHA1 Message Date
Tomas Valenta 67642bcd9f Update langchain 2023-04-13 23:05:50 +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 0babcdca02 Change backend to support custom models [WIP] 2023-04-11 11:20:18 +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
Vasek Mlejnsky 27b46c137e commit 2023-03-27 12:33:18 +02:00
Tomas Valenta 6e36ffa393 Merge branch 'master' into edit 2023-03-26 08:57:35 +00: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 63ef3d2584 Cleanup 2023-03-24 13:26:09 +00:00
Vasek Mlejnsky ff8711e465 commit 2023-03-24 14:10:12 +01:00
Vasek Mlejnsky ccbdb754a8 commit 2023-03-24 14:09:56 +01:00
Vasek Mlejnsky 134dd9296b commit 2023-03-24 14:07:48 +01:00
Tomas Valenta 3c7509f0f2 Improve action parsing 2023-03-24 12:53:31 +00:00
Vasek Mlejnsky 1bc489a672 Remove commented code 2023-03-23 09:49:22 +01:00
Vasek Mlejnsky 3dfc3470c7 Override correct AgentExecutor method for async runs 2023-03-23 09:44:24 +01:00
Vasek Mlejnsky a07b36867b commit 2023-03-22 21:39:24 +01:00
Tomas Valenta 1838ef7820 Change comment 2023-03-22 17:53:32 +00:00
Tomas Valenta a4b1499970 Adapt parsing xml string for parsing incomplete string while wrappign the string in root tag 2023-03-22 17:12:17 +00:00
Tomas Valenta 293a2d4402 Cleanup 2023-03-21 17:50:18 +00:00
Vasek Mlejnsky 25f75b840d commit 2023-03-21 15:55:37 +01:00
Vasek Mlejnsky a27039b8d5 Merge conflicts 2023-03-21 15:15:45 +01:00
Vasek Mlejnsky 01e245f53e Tests [wip] 2023-03-21 15:11:25 +01:00
Tomas Valenta 4067fbae08 Merge branch 'tools' 2023-03-21 14:02:29 +00:00
Tomas Valenta 959266098f Add log streaming 2023-03-21 14:01:40 +00:00
Tomas Valenta 9143b79c1b Fix types 2023-03-21 10:35:03 +00:00
Vasek Mlejnsky 251a9b8ce4 Fix typo 2023-03-20 21:30:34 +01:00
Vasek Mlejnsky f9141a0cc8 Handle empty action's input when parsing actions 2023-03-20 21:28:44 +01:00
Vasek Mlejnsky 81ce3974f3 Handle single-line actions 2023-03-20 21:14:43 +01:00
Vasek Mlejnsky 9c6f083b2b commit 2023-03-20 19:45:30 +01:00
Vasek Mlejnsky d440016e1a Fix parsing of multiple actions from LLM in a single response 2023-03-20 17:07:31 +01:00
Vasek Mlejnsky 6f47156219 Support escaping for multiple actions in sequence 2023-03-20 14:44:04 +01:00
Vasek Mlejnsky ef043b23ad Save raw logs to DB more frequently + also add tool outputs 2023-03-20 13:41:02 +01:00
Vasek Mlejnsky 46c946c428 Remove old code 2023-03-20 12:58:20 +01:00
Vasek Mlejnsky 039714e080 Try heuristically escape XML element's content 2023-03-20 12:30:27 +01:00
Vasek Mlejnsky f0ee3dfa9e commit 2023-03-19 21:04:54 +01:00
Vasek Mlejnsky 7b509f1427 commit 2023-03-19 11:08:13 +01:00
Vasek Mlejnsky 26ccfbd028 commit 2023-03-17 21:58:48 +01:00
Vasek Mlejnsky 165f7d019c commit 2023-03-17 17:14:17 +01:00
Vasek Mlejnsky 8c58d6b60c commit 2023-03-17 16:34:58 +01:00
Vasek Mlejnsky 871e47980f commit 2023-03-16 17:16:42 +01:00