Commit Graph

138 Commits

Author SHA1 Message Date
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
cab9136275 Merge pull request #54 from sharifhsn/toolchoice
Deprecate `functions` and add `tools`
2023-12-28 10:55:36 +08:00
721eb8551a Add the system_fingerprint field to the chat completion response 2023-12-27 01:41:28 -05:00
4afe1ffb0f Fix tools type (again) 2023-12-27 01:32:28 -05:00
297f2a13d6 Fix type of tools 2023-12-27 01:27:50 -05:00
9d6733f981 Add tools and tool_choice fields 2023-12-27 01:14:41 -05:00
589871c055 Deprecate functions and function_call 2023-12-27 00:50:07 -05:00
a06113549a v2.1.5 2023-12-24 15:40:16 +08:00
57c6a60aad Merge pull request #53 from dongri/add-tts-samples
Add text-to-speech
2023-12-24 15:31:28 +08:00
1f56b88f10 Add text-to-speech 2023-12-24 15:30:49 +08:00
1c31330d09 v2.1.4 2023-11-29 09:17:02 +09:00
6cb75fdb6f Merge pull request #50 from cosmonaut-nz/seed_param
Added new (Beta) feature 'seed' to ChatCompletionRequest.
2023-11-29 09:16:01 +09:00
9941dee668 Feat: Added the "seed" param to ChatCompletionRequest. "seed" is a Beta feature. 2023-11-29 09:48:53 +13:00
db33a8e00e v2.0.3 2023-11-27 11:11:17 +09:00
9f36e65e38 Merge pull request #49 from dongri/add-model-to-image
Add model to image api
2023-11-27 11:10:32 +09:00
103c488190 Add model 2023-11-27 11:10:00 +09:00
48d33cb396 Merge pull request #48 from lordi/dall-e-3
Allow generating images with Dall-E-3
2023-11-27 11:02:46 +09:00
719e4eb7c8 Allow generating images with Dall-E-3 2023-11-26 15:06:14 +01:00
62f948e8ff V2.1.2 2023-11-22 12:05:09 +09:00
4d9f7c12bd Merge pull request #46 from zh4ngx/fix_finish_details
Update ChatCompletionChoice
2023-11-22 12:02:41 +09:00
6e136b7281 Update ChatCompletionChoice with optional finish_reason and finish_details 2023-11-21 13:06:20 -08:00
282e7cbcbc Version up 2023-11-21 22:29:24 +09:00
2daafb8b4c Cargo fmt 2023-11-21 22:28:56 +09:00
7ee0dfdaa4 Merge pull request #44 from N3mes1s/fix_assistant_api
Fix assistant api
2023-11-21 22:28:13 +09:00
50243064af tools in AssistantObject needs to be Vec<HashMap<String, String>> 2023-11-21 09:12:18 +01:00
445b1e1480 clone result not store. Now assistant will fail to deserialize into Assitant Object 2023-11-21 09:10:02 +01:00
e09ea65b77 v2.1.0 2023-11-11 18:29:56 +09:00
075acf5a25 Merge pull request #43 from dongri/assistant
Add assistant api
2023-11-11 18:26:30 +09:00
cfca665c21 Add assistant api 2023-11-11 18:24:51 +09:00
6e07047c27 v2.0.5 2023-11-08 22:28:36 +09:00
8bc51f6d1a Merge pull request #42 from draftoai/draftoai/fix-response-format
Switch to serde_json::Value for the response_format type
2023-11-08 22:27:20 +09:00
Tom
88091998eb Switch to serde_json::Value for the response_format type 2023-11-08 12:19:02 +00:00
ad10259d79 v2.0.4 2023-11-08 09:18:07 +09:00
3535d1328f Merge pull request #41 from draftoai/draftoai/add-response-format-to-chat-completions
Add "response_format" to allow for json_object responses in chat completions
2023-11-08 09:13:58 +09:00
Tom
45f5ef5033 Add response_format to allow for json_object responses 2023-11-07 13:06:35 +00:00
7217809a98 v2.0.3 2023-11-07 09:26:31 +09:00
71197db82e Merge pull request #40 from dongri/add-new-models
Add new models
2023-11-07 09:25:05 +09:00
32cecb6033 Add new models 2023-11-07 09:24:34 +09:00
1ce841cece Bump up 2023-10-20 20:05:45 +09:00
297c2cff1e Merge pull request #39 from dejavu1987/patch-1
Add "gpt-3.5-turbo-16k" model chat_completion.rs
2023-10-20 20:03:45 +09:00
9d563920c1 Fix quotes 2023-10-20 12:52:49 +02:00
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
d744946a5a Bump up 2023-10-19 11:38:28 +09:00
0c9ad69271 Merge pull request #38 from night-cruise/fix/update-impl-builder-methods
Update the impl_builder_methods macro to let all chain methods in a s…
2023-10-19 11:37:17 +09:00
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
eaa811d07a Bump up 2023-10-17 20:07:05 +09:00
93e9a32d0c Merge pull request #37 from night-cruise/feat/add-chain-call
feat: add chain call to create Request instance
2023-10-17 20:02:39 +09:00
a9be9efdfe feat: add chain method to create Request instance 2023-10-17 15:14:31 +08:00
f1f1fa7e86 Fix version 2023-10-06 17:21:10 +09:00
1651062a31 Merge pull request #36 from dongri/fix-function-call-enum
Fix function call type
2023-10-06 17:20:28 +09:00