Commit Graph

63 Commits

Author SHA1 Message Date
hansel
f8114a4f0a Add ToolChoiceType::Required 2024-07-15 10:12:19 +08:00
Dongri Jin
3e5286dad6 * use reqwest
* support multipart form
* fix audio apits
2024-07-09 18:47:51 +09:00
Dongri Jin
ecf8aa322d Add timeout option 2024-06-25 11:44:38 +09:00
Dongri Jin
a0bde8fec8 Assistant beta v2 2024-06-10 19:31:03 +09:00
Dongri Jin
1a8b5e38b6 Add GPT4o models 2024-05-14 13:30:57 +09:00
Dongri Jin
6a9d8dec7d Add response header 2024-03-18 06:32:02 +09:00
Ryan Olson
bd57dbb690 fix type 2024-02-12 19:35:01 +00:00
Ryan Olson
a8635b918e Adding ability to deserialize requests 2024-02-12 19:29:24 +00:00
Dongri Jin
da53f9c493 Add eq trait 2024-02-06 14:27:14 +09:00
Dongri Jin
f1685c96bd Add dimensions parameter 2024-01-29 05:03:13 +09:00
Dongri Jin
9b90bf75a7 Add serialize 2024-01-26 22:25:51 +09:00
Dongri Jin
0be0ec8da6 Add gpt-4-0125-preview, gpt-4-turbo-preview 2024-01-26 11:19:19 +09:00
Dongri Jin
4e6fbcedd5 Add embedding models 2024-01-26 11:13:24 +09:00
super_wang
9c55029530 Support Proxy 2024-01-17 18:45:37 +08:00
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