Commit Graph

158 Commits

Author SHA1 Message Date
Jason cffbb04dca remove patch form validator 2023-09-07 21:12:43 -04:00
Jason Liu b9e6bf91b0 Update README.md 2023-09-07 21:02:11 -04:00
Jason bee7ecd059 update docs for validation 2023-09-07 21:00:15 -04:00
Jason d082b2ea44 improve imports 2023-09-07 20:54:49 -04:00
Jason Liu a10e8c81da support llm_validators and improve documentation (#97) 2023-09-07 20:52:56 -04:00
Jason Liu 8449543376 Improve Documentation (#96)
* maybe

* everything
2023-09-07 18:12:03 -04:00
Jason Liu 824a7b5390 Maybe helper to dynamically create a class with errors on extraction (#95)
* implement maybe

* dump
2023-09-07 13:49:33 -04:00
Jason c825b23776 add numbered list 2023-09-05 22:07:36 -05:00
Jason 255e9b5008 rename prompt engineering 2023-09-05 21:38:02 -05:00
Jason f88dfcc015 add cli intro 2023-09-05 21:35:12 -05:00
Jason 3e765d1ca3 change order 2023-09-05 21:22:55 -05:00
Jason Liu 041f83bc0a Usage CLI (#93)
* adding usage cli

* updat
2023-09-05 21:13:59 -05:00
Jason 942e62c367 fix highlight 2023-09-05 20:29:23 -05:00
Jason 1751d41059 improve docs 2023-09-05 20:28:43 -05:00
Jason 6fc9e9fe32 add intro 2023-09-05 16:33:05 -05:00
Jason 5cf7479e5c update link 2023-09-05 16:23:08 -05:00
Jason Liu d886cf9af6 docs (#91) 2023-09-05 16:20:36 -05:00
Jason d876c44807 remove dsl from library philisophy 2023-09-01 22:36:36 -05:00
Jason Liu 63d2981d7a Upgrade typer (#90)
* upgrade typer

* lock

* bump version
2023-09-01 11:00:41 -05:00
Dhruv Anand 8a94b0f0a1 fix fine-tune CLI readme formatting (#89) 2023-08-28 15:39:37 -07:00
Jason 4a84ac9e2e update with action items example 2023-08-27 18:55:04 -07:00
Jason 67183e2352 Update classification 2023-08-27 18:01:45 -07:00
Jason Liu bc3830c85f add citations examples (#88) 2023-08-25 16:45:56 -07:00
Jason 46180131a3 formatting 2023-08-24 00:28:06 -07:00
Jason 3ca4f9b534 typos 2023-08-24 00:01:57 -07:00
Alexander Dicke 6d0a1a06a0 Docstring parsing (#83)
* adds description for params

* add test for missing param description

* adds docstring parsing to OpenAISchema

* docs

* fix tests, highlighting

---------

Co-authored-by: Jason Liu <jxnl@users.noreply.github.com>
2023-08-23 23:58:10 -07:00
Jason Liu 64e7f51601 Implement CLI for finetuning (#85)
* add cli

* remove hint

* fix

* updat docs

* lock
2023-08-23 23:53:22 -07:00
Jason Liu 964c17ca1a Revert "Docstring parsing using docstring-parser (#76)" (#81)
This reverts commit 76ac9b4d12.
2023-08-19 23:50:06 -07:00
Alexander Dicke 76ac9b4d12 Docstring parsing using docstring-parser (#76)
* adds description for params

* add test for missing param description

* adds docstring parsing to OpenAISchema

* docs

---------

Co-authored-by: Jason Liu <jxnl@users.noreply.github.com>
2023-08-19 23:40:59 -07:00
Neil Neuwirth 1ebb7b95c1 update message assignment (#80)
Co-authored-by: Neil Neuwirth <neil.neuwirth@blackstone.com>
2023-08-19 23:40:35 -07:00
Jason dd81bf60e9 last clean up before pypi 2023-08-16 21:12:41 -07:00
Jason Liu a7a07772b9 Rename to Instructor (#79) 2023-08-16 21:11:06 -07:00
Jason Liu 944366847f Support patching openai (#78)
* update docs

* add patch

* bump version
2023-08-16 10:25:29 -07:00
Jason 0cb80886fa bump 2023-07-31 23:46:11 +08:00
Jason 0c4123c82d remove title and props 2023-07-31 23:45:55 +08:00
Jason fae7254d62 update fact 2023-07-31 23:43:37 +08:00
Kolja Beigel 7a90b13eba Excluding properties with defaults from required as per issue #41 (#74) 2023-07-31 23:42:16 +08:00
Samiur Rahman f5af0dda42 Allow less strict JSON parsing (#75)
When getting longform answers from OpenAI that contains newlines or tabs, the string returned doesn't have escaped control characters.

`strict=False` allows parsing of these strings with control characters, with character codes in the 0-31 range, including '\t' (tab), '\n', '\r' and '\0'."
2023-07-31 23:40:36 +08:00
Jason 5cdf620f08 remove title 2023-07-26 21:19:57 +08:00
Jason 48f9cb3f23 deploy 2023-07-26 21:17:59 +08:00
Jason a194448369 add done 2023-07-25 23:53:13 +08:00
Jason 42ff9aeed8 borrow from typechat 2023-07-24 16:53:23 +08:00
Jason a56bdb077a fix json 2023-07-24 15:24:25 +08:00
Jason 135a174997 add quote 2023-07-23 02:20:02 +08:00
Jason d39f0c8d21 update with example 2023-07-23 02:11:17 +08:00
Jason cdcca48c48 update with stream results 2023-07-23 02:11:03 +08:00
Jason Liu 655df180ec Streaming app (#72)
* add app to citations

* working commit

* working app

* remove types
2023-07-23 02:09:51 +08:00
Jason 63ecc2f8f4 bump version 2023-07-23 00:06:43 +08:00
Jason 365e2f758a Update workflow to only run on pushes to main branch 2023-07-23 00:06:21 +08:00
Jason 80f0cd9499 add 2023-07-22 23:39:13 +08:00