Commit Graph

130 Commits

Author SHA1 Message Date
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
David Okpare a06e4e5172 Update mkdocs ci (#67) 2023-07-22 16:32:01 +08:00
Bill Chambers d3ab206aa5 Update README.md (#69) 2023-07-22 16:31:45 +08:00
Cristóbal Carnero Liñán 32b1a481ab Add refactoring example to gpt-engineer (#61)
* Add refactoring capabilities to gpt-engineer

* Improving results of refactoring

* Refactor script saves to file

* Add documentation about the new example in gpt-engineer
2023-07-19 01:22:39 +08:00
Jason Liu 58bc3bae0f Implement streaming entities via MultiTask (#64)
* add streaming tasks

* push docs
2023-07-19 01:21:24 +08:00
Jason Liu b5959bdbc9 Upgrade to pydanticv2 (#63)
* Upgrade to Pydantic 2 #15

* update examples to use pydantic2

---------

Co-authored-by: Mike Harris <mharris717@gmail.com>
2023-07-17 21:00:47 +08:00
Jason 4a974b375e remove termynal 2023-07-17 20:47:17 +08:00
Jason Liu 378260f966 Update issue templates 2023-07-17 20:01:05 +08:00
Jason 16712dbe07 update doc build 2023-07-17 17:23:02 +08:00
Jason f452bc5979 typo 2023-07-17 17:15:47 +08:00
Jason Liu 5d7b1a4ee0 Better default descriptions (#62)
* better desc

* add better dsc test
2023-07-17 17:13:46 +08:00
Jason df21691317 improve documentation 2023-07-17 17:06:55 +08:00
Jason 6dd658e906 fix example 2023-07-14 16:33:25 +08:00
Jason 0e203af036 update actions 2023-07-12 23:18:53 +08:00
David Okpare f9e2786c07 Add documentation for gpt-engineer (#52) 2023-07-12 22:55:33 +08:00
Francisco Ingham 92950ffdcd fixed docstring typos (#60) 2023-07-12 22:54:55 +08:00
Marcos 6c3f68f29c fix: update variable name in from_response example (#59) 2023-07-12 22:54:22 +08:00
Phodaie 003b91ecd1 Completion create function returns openai completion if there is no function call (#56) 2023-07-12 10:44:16 +08:00
David Okpare a9198a04cd Fix typos (#58) 2023-07-12 10:43:36 +08:00
David Okpare f49a0fb066 Small fixes on index.md (#57) 2023-07-12 10:42:53 +08:00
Jason 63851d327f add annotations to writing prompts 2023-07-11 18:17:57 +08:00
Jason d013e1a776 clean requirements 2023-07-11 17:56:44 +08:00
Jason 2d99d8bb64 delete 2023-07-11 17:52:08 +08:00
Jason 07a7ec2ad8 clean up deps 2023-07-11 17:51:26 +08:00
Jason Liu cf44a33e1f Update and rename mkdocs to mkdocs.yml 2023-07-11 17:49:32 +08:00
Jason Liu ab46a98c1c Create mkdocs 2023-07-11 17:49:09 +08:00
Jason fbcba9e5cb docs with better footers and headers 2023-07-11 17:40:42 +08:00
Jason db906e3176 improve docs 2023-07-11 17:19:45 +08:00
Jason 73a9f1d7ed add ga 2023-07-11 16:47:27 +08:00