Commit Graph

302 Commits

Author SHA1 Message Date
c7fbe2bb69 Merge pull request #64 from dongri/add-vision
Add vision
2024-01-07 16:34:39 +09:00
f99645c37e Add vision 2024-01-07 16:33:58 +09:00
c8d376ea08 Fix readme 2024-01-07 07:56:39 +09:00
46d766f621 v3.0.0 2024-01-07 07:42:32 +09:00
1ea76d14a2 Merge pull request #63 from dongri/fix-deprecated
Fix Deprecated
2024-01-07 07:41:23 +09:00
5d7d335c74 Fix Deprecated 2024-01-07 07:39:36 +09:00
f0973eaf5b Merge pull request #60 from OnlyFerris/main
Make fields of Tool public. Rename a field.
2024-01-07 06:49:00 +09:00
b666bc0cdc Make fields of Tool public. Rename a field. 2024-01-04 14:02:28 +00:00
baae00386b v2.1.7 2023-12-30 08:08:47 +08:00
401253423e Add derive default 2023-12-30 08:08:04 +08:00
d192774c7d Merge pull request #56 from hytracen/main
Impl Default trait for JSONSchemaDefine
2023-12-30 08:01:07 +08:00
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
f88cc6b42e V 2.1.6 2023-12-28 11:16:45 +08:00
d2e2166fe9 Fix system_fingerprint type 2023-12-28 11:11:35 +08:00
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