Dustin Rush
c80dd23ec0
added finish reason exception IncompleteOutputException ( #279 )
2023-12-15 11:09:29 -05:00
Jason Liu
b2a38ffe10
Support JSON_OBJECT mode from Anyscale ( #275 )
2023-12-13 00:05:54 -05:00
Jason Liu
329aad023b
add md_mode
2023-12-12 22:48:34 -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
Gabriel Garrett
9b7fbbb4f2
Adds ruff linting and formatting ( #262 )
2023-12-08 12:30:55 -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
Jason Liu
7a9f57be7d
ruff
2023-12-01 20:35:34 -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
Ankur Goyal
2649061ff1
Add braintrust proxy ( #225 )
2023-11-26 18:21:47 -05:00
Anmol Jawandha
66f2f6320a
Support Streaming MultiTask with response_model ( #221 )
2023-11-26 18:21:17 -05:00
Jason Liu
ef70801c10
ruff
2023-11-26 14:10:54 -05:00
Jason Liu
045662aae4
Add client test fixtures ( #227 )
2023-11-26 13:52:12 -05:00
Jason Liu
2a5cfcecbd
ruff
2023-11-25 20:27:57 -05:00
Jason Liu
3fd2bbd6d6
add more tests
2023-11-25 20:27:20 -05:00
Jason Liu
797f623180
add evals
2023-11-25 20:02:15 -05:00
Jason Liu
d3a567f2ff
clean up
2023-11-25 19:56:40 -05:00
Jason Liu
767b88c786
Split coverage ( #222 )
2023-11-25 19:52:03 -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
416c65825a
clean up
2023-11-22 21:51:29 -05:00
Jason Liu
2fb0cb7d89
clean up imports
2023-11-22 21:49:25 -05:00
Jason Liu
2d06f5a46b
Add coveralls ( #203 )
2023-11-19 21:36:04 -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
Jason Liu
78bf56921f
Fix llm_validator ( #179 )
2023-11-14 18:50:44 -05:00
Jason Liu
e65ccc6f7e
add asyncio test
2023-11-13 18:49:42 -05:00
Jason Liu
3d2035bb30
Fix apatch ( #165 )
2023-11-11 16:24:54 -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
6f2e3d56c6
clean up tests
2023-10-22 17:46:25 -04:00
Jason Liu
bc2c6f9fa6
add check
2023-10-14 16:04:10 -04:00
Jason Liu
79d872dd91
tests and exmaple
2023-10-07 17:52:12 -04:00
Jason Liu
8383795b0e
distil
2023-10-07 14:43:19 -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
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
944366847f
Support patching openai ( #78 )
...
* update docs
* add patch
* bump version
2023-08-16 10:25:29 -07: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
1926016bb0
fix text
2023-07-09 01:13:45 +08:00
Jason
81a3d769ea
add docs link
2023-07-09 00:19:05 +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