Commit Graph

320 Commits

Author SHA1 Message Date
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
6431c9cbdd Fix function call type 2023-10-06 17:19:46 +09:00
b079334e67 Fix version 2023-10-06 09:28:20 +09:00
010fe389fd Merge pull request #35 from dongri/fix-function-call-type
Add none to function call type
2023-10-06 09:27:12 +09:00
7a592ce35d Add none to function call type 2023-10-06 09:26:49 +09:00
cd058c0ac2 Fix version 2023-10-06 06:07:04 +09:00
d046af8600 Merge pull request #34 from dongri/fix-function-call
Add function call type
2023-10-06 06:05:10 +09:00
3a37c625e0 Add function call type 2023-10-04 16:57:13 +09:00
036b850035 Merge pull request #32 from dongri/refactoring-minreq-header
Refactoring http request headers
2023-08-27 09:49:08 +09:00
545d6adae6 Refactoring http request headers 2023-08-27 09:41:03 +09:00
e0e6a92143 Merge pull request #31 from Anush008/main
refactor: Transition from Async to Sync Requests using minreq
2023-08-27 09:26:12 +09:00
cadcb7ae8b docs: Update README.md 2023-08-25 17:44:25 +05:30
fb0bcfa371 chore: Bump to version 1.0.0
BREAKING CHANGE
2023-08-25 17:34:01 +05:30
f453dc9323 chore: update examples 2023-08-25 17:29:36 +05:30
ffe2bd49be refactor: sync with minreq 2023-08-25 17:29:23 +05:30
eee3ae6153 chore(deps): remove tokio, reqwest 2023-08-25 17:29:04 +05:30
bf7cc4bdf6 Merge pull request #29 from szabgab/main-1
Update Cargo.toml add repository
2023-08-24 22:36:13 +09:00
307ff284a4 Update Cargo.toml add repository
to allow crates.io, rust-digger, and others to link to it
2023-08-24 16:03:17 +03:00
9a4123e488 v0.1.15 2023-08-22 10:33:46 +09:00