Jason Liu
b06eb4faa3
refactor(OpenAISchema): improve from_response readability and update tests ( #543 )
2024-03-29 08:14:26 -04:00
Ezzeri Esa
75908132a0
Include types to instructor.function_calls and tests ( #394 )
...
Co-authored-by: Jason Liu <jxnl@users.noreply.github.com >
2024-02-04 21:24:45 -05:00
Jason Liu
62e6a40389
Implement Parallel Function Calls with List[Union[T]] ( #378 )
2024-01-31 23:03:38 -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
870e2c80b8
fix exceptions
2023-12-15 11:10:23 -05:00
Dustin Rush
c80dd23ec0
added finish reason exception IncompleteOutputException ( #279 )
2023-12-15 11:09:29 -05:00
Jason Liu
941f10045f
Add multitask tests ( #265 )
2023-12-09 16:09:14 -05:00
Jason
46180131a3
formatting
2023-08-24 00:28:06 -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
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
Jason Liu
a7a07772b9
Rename to Instructor ( #79 )
2023-08-16 21:11:06 -07: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
65ffbabee4
update readme with decorator option
2023-07-06 23:35:32 +08:00
David Okpare
d8164317da
Added openai_schema decorator ( #34 )
2023-07-06 00:37:37 +08:00