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 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 Liu
5d7b1a4ee0
Better default descriptions ( #62 )
...
* better desc
* add better dsc test
2023-07-17 17:13:46 +08:00
Jason Liu
3498aa12d1
Implement DSL and documentation
2023-07-09 00:09:02 +08:00
Jason
35f1ebbb07
add doc code
2023-07-08 22:30:29 +08:00
Jason Liu
0c6b2e6783
Docs! Help wanted, adding examples. ( #44 )
...
* add docs
* bump
2023-07-08 21:33:07 +08:00
David Okpare
d8164317da
Added openai_schema decorator ( #34 )
2023-07-06 00:37:37 +08:00
Jason Liu
8b7d28009e
Experimental Prompting DSL ( #25 )
2023-07-03 17:22:12 +08:00