Commit Graph

49 Commits

Author SHA1 Message Date
Dongri Jin
e5b87788a2 1. Cargo fit
2. Cargo clips
3. v4.0.0
4. Fix readme
2024-01-16 11:04:18 +09:00
d-roak
d104c47c05 update fine tuning api endpoint 2024-01-15 18:23:14 +00:00
Dongri Jin
f99645c37e Add vision 2024-01-07 16:33:58 +09:00
Dongri Jin
5d7d335c74 Fix Deprecated 2024-01-07 07:39:36 +09:00
OnlyFerris
b666bc0cdc Make fields of Tool public. Rename a field. 2024-01-04 14:02:28 +00:00
Dongri Jin
401253423e Add derive default 2023-12-30 08:08:04 +08:00
Hytracen
bfedc7f3cd Impl Default trait for JSONSchemaDefine
In most cases, only a few properties of JSONSchemaDefine are used, and it seems cumbersome to explicitly declare other properties.
2023-12-30 01:57:45 +08:00
Dongri Jin
d2e2166fe9 Fix system_fingerprint type 2023-12-28 11:11:35 +08:00
Dongri Jin
5abd7dfc84 Merge pull request #55 from sharifhsn/system-fingerprint
Add the `system_fingerprint` field to the chat completion response
2023-12-28 10:56:37 +08:00
Sharif Haason
721eb8551a Add the system_fingerprint field to the chat completion response 2023-12-27 01:41:28 -05:00
Sharif Haason
4afe1ffb0f Fix tools type (again) 2023-12-27 01:32:28 -05:00
Sharif Haason
297f2a13d6 Fix type of tools 2023-12-27 01:27:50 -05:00
Sharif Haason
9d6733f981 Add tools and tool_choice fields 2023-12-27 01:14:41 -05:00
Sharif Haason
589871c055 Deprecate functions and function_call 2023-12-27 00:50:07 -05:00
Dongri Jin
1f56b88f10 Add text-to-speech 2023-12-24 15:30:49 +08:00
avastmick
9941dee668 Feat: Added the "seed" param to ChatCompletionRequest. "seed" is a Beta feature. 2023-11-29 09:48:53 +13:00
Dongri Jin
103c488190 Add model 2023-11-27 11:10:00 +09:00
Hannes Gräuler
719e4eb7c8 Allow generating images with Dall-E-3 2023-11-26 15:06:14 +01:00
Andy Zhang
6e136b7281 Update ChatCompletionChoice with optional finish_reason and finish_details 2023-11-21 13:06:20 -08:00
Giuseppe Massaro
50243064af tools in AssistantObject needs to be Vec<HashMap<String, String>> 2023-11-21 09:12:18 +01:00
Dongri Jin
cfca665c21 Add assistant api 2023-11-11 18:24:51 +09:00
Tom
88091998eb Switch to serde_json::Value for the response_format type 2023-11-08 12:19:02 +00:00
Tom
45f5ef5033 Add response_format to allow for json_object responses 2023-11-07 13:06:35 +00:00
Dongri Jin
32cecb6033 Add new models 2023-11-07 09:24:34 +09:00
Anil Maharjan
9d563920c1 Fix quotes 2023-10-20 12:52:49 +02:00
Anil Maharjan
c181bbf475 Add "gpt-3.5-turbo-16k" model chat_completion.rs
I needed this 16k context model but saw it is not added.
2023-10-20 10:39:46 +02:00
Night Cruising
fde7295d43 Update the impl_builder_methods macro to let all chain methods in a single impl block 2023-10-18 16:03:58 +08:00
Night Cruising
a9be9efdfe feat: add chain method to create Request instance 2023-10-17 15:14:31 +08:00
Dongri Jin
6431c9cbdd Fix function call type 2023-10-06 17:19:46 +09:00
Dongri Jin
7a592ce35d Add none to function call type 2023-10-06 09:26:49 +09:00
Dongri Jin
3a37c625e0 Add function call type 2023-10-04 16:57:13 +09:00
Dongri Jin
545d6adae6 Refactoring http request headers 2023-08-27 09:41:03 +09:00
Anush008
ffe2bd49be refactor: sync with minreq 2023-08-25 17:29:23 +05:30
Dongri Jin
f318d3d34a Add new_with_organization 2023-08-22 10:29:14 +09:00
Dongri Jin
efd367289f Rename env name 2023-08-04 06:47:06 +09:00
Dongri Jin
079b7f6d8a Add default endpoint 2023-08-04 06:38:07 +09:00
Dongri Jin
c3a08c36a3 Add new_with_endpoint 2023-07-29 07:32:41 +09:00
Dongri Jin
5ee3321ed0 Fix message 2023-07-25 12:02:34 +09:00
Dongri Jin
a0c319cd54 Remove Option 2023-07-25 11:48:52 +09:00
Dongri Jin
2c6db93a79 Add function in role 2023-07-16 21:53:52 +09:00
Dongri Jin
cf8f890ad7 Add parameter 2023-07-10 08:07:28 +09:00
Dongri Jin
6292d78507 Support function calling 2023-06-19 18:24:27 +09:00
Dongri Jin
0f2194ebb8 Fix embedding response 2023-05-08 06:44:45 +09:00
Dongri Jin
e932ae4bf6 Add audio and fine_tunes 2023-04-16 14:01:02 +09:00
Dongri Jin
5db42ecf0c Add GPT4 models 2023-03-18 06:25:30 +09:00
Dongri Jin
d3223befbd Add custom error 2023-03-05 07:37:39 +09:00
Dongri Jin
95bef4a7b8 Change error type 2023-03-04 19:21:34 +09:00
Dongri Jin
6a68775555 Add chat gpt api 2023-03-02 12:20:01 +09:00
Dongri Jin
c2ce8b4133 Initial commit 2022-12-12 11:41:43 +09:00