Commit Graph

41 Commits

Author SHA1 Message Date
Ashank Tomar ae9144055d Field level streaming (#334)
Co-authored-by: Jason Liu <jason@jxnl.co>
Co-authored-by: Jason Liu <jxnl@users.noreply.github.com>
2024-01-13 22:58:45 -05:00
lazyhope 36871e6917 Introduce total_usage variable to track cumulative token usage (#343)
Co-authored-by: Jason Liu <jason@jxnl.co>
2024-01-13 22:57:28 -05:00
Jason Liu 61b8aff167 ruff 2024-01-11 12:36:19 -05:00
Jason Liu 995f1cf7dd Revert "test ollama and litellm" (#328) 2024-01-06 09:56:18 -05:00
Jason Liu 0c2ea68607 test ollama and litellm (#326) 2024-01-06 09:43:44 -05:00
casty c16d622e88 Mc/toolmaxretry (#323) 2024-01-05 14:49:36 -05:00
Jason Liu 78a89057f1 feat: add debugging for retries (#283) 2023-12-16 21:49:44 -05:00
Jason Liu 0ee28d8e91 change prompt for retries 2023-12-15 12:46:53 -05:00
Jason Liu b2a38ffe10 Support JSON_OBJECT mode from Anyscale (#275) 2023-12-13 00:05:54 -05:00
Jason Liu cb5385c313 Revert "Add new Mode for Anyscale's json schema schema type " (#274) 2023-12-12 23:18:14 -05:00
Jason Liu aeec164482 Add new Mode for Anyscale's json schema schema type (#273) 2023-12-12 23:11:57 -05:00
Jason Liu 941f10045f Add multitask tests (#265) 2023-12-09 16:09:14 -05:00
Anmol Jawandha 694414e9fd Fix async streaming (#261) 2023-12-09 15:48:06 -05:00
Ashank Tomar 55887865fa Json mode nested models (#263) 2023-12-09 09:46:53 -05:00
Jason Liu dc786a9ce7 Add logging.error for Retry logic (#259) 2023-12-08 01:01:43 -05:00
Alonso Astroza Tagle 202f9cb227 Fixed the system prompt for JSON mode, enabling the use of Pydantic nested models (#249)
Co-authored-by: Jason Liu <jason@jxnl.co>
Co-authored-by: Jason Liu <jxnl@users.noreply.github.com>
2023-12-04 23:47:46 -05:00
Anmol Jawandha ae59ed434f Markdown JSON Mode (#246)
Co-authored-by: Jason Liu <jxnl@users.noreply.github.com>
2023-12-01 19:52:37 -05:00
Guillaume Pouyat a5ea6e5c41 Fix #244 -- Refactor dump_message function to force content key (#245)
Co-authored-by: Jason Liu <jxnl@users.noreply.github.com>
2023-12-01 19:01:33 -05:00
Jason Liu e6f8cae786 ruff 2023-11-28 13:25:43 -05:00
Anmol Jawandha 66f2f6320a Support Streaming MultiTask with response_model (#221) 2023-11-26 18:21:17 -05:00
Jason Liu d3a567f2ff clean up 2023-11-25 19:56:40 -05:00
Jason Liu 359c5f9295 Add multiple modalities: tools, functions, json_mode (#218)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2023-11-25 13:56:52 -05:00
Jason Liu 90d7cbcc82 remove warn 2023-11-14 18:58:13 -05:00
Isaac Poulton 4de58fd157 Fix async usage (#167)
Co-authored-by: Jason Liu <jxnl@users.noreply.github.com>
Co-authored-by: Jason Liu <jason@jxnl.co>
2023-11-14 18:57:06 -05:00
Braden Kinard 209c06d22b fixes retry_async message unpacking (#175) 2023-11-13 18:48:24 -05:00
Jason Liu 3d2035bb30 Fix apatch (#165) 2023-11-11 16:24:54 -05:00
Lev Ostatnigrosh 21eaa812e3 small typo fix (#160)
Co-authored-by: bnkc <levostatnigrosh@gmail.com>
2023-11-10 09:31:51 -05:00
Jason Liu 877f57a2ba hotfix 2023-11-09 09:22:47 -05:00
grit-app[bot] 5acb0b79ef Migration to OpenAI 1.1.0 (#152) 2023-11-08 14:45:36 -05:00
Jason Liu 840cd63953 ruff 2023-10-24 15:08:44 -04:00
Jason Liu b77fd5dd0a pass strict through from create to from_response (#119) 2023-10-20 12:05:50 -04:00
Jason Liu 41c4636dd2 Change max retries to 1 2023-10-12 20:02:23 -04:00
Jason 30810b59e4 typo 2023-09-13 21:59:54 -04:00
Jason 8610202e21 typos 2023-09-13 21:59:38 -04:00
Jason 9651a09b17 update docs 2023-09-13 21:51:29 -04:00
Jason 61cff08909 improve documentation 2023-09-13 13:39:09 -04:00
Jason Liu 2559118644 implement validation context (#100) 2023-09-09 16:10:42 -04:00
Jason 956184d4cb types 2023-09-08 21:18:08 -04:00
Jason Liu 2215ed1498 better docs (#99) 2023-09-08 16:46:15 -04:00
Jason Liu 1cc45e3faf Reasking logic on validations (#98)
* working cleaned up patch

* Reasking logic

* clean up

* remove

* clean up tests
2023-09-08 01:58:29 -04:00
Jason Liu a7a07772b9 Rename to Instructor (#79) 2023-08-16 21:11:06 -07:00