Commit 50d661f
Sync experiments branch with main 0.18.2 (#186)
* Update to Assistants example (#146)
* Update to Assistants example
* Update examples/assistants/src/main.rs
update api config for consistency and secutity
Co-authored-by: Himanshu Neema <[email protected]>
* added assistant creation
* exit, deconstruct assistant, improved readme
---------
Co-authored-by: Himanshu Neema <[email protected]>
* Add examples tool-call and tool-call-stream (#153)
* add names (#150)
* Link to openai-func-enums (#152)
* Link to openai-func-enums
* Link to openai-func-enums
* Update async-openai/README.md
---------
Co-authored-by: Himanshu Neema <[email protected]>
* In memory files (#154)
* Added ability to use in-memory files (Bytes, vec[u8])
* Removed unnecessary trait impls
* Polished example
* Spec, readme, and crate description updates (#156)
* get latest spec
* update description
* add WASM
* WASM support on experiments branch
* chore: Release
* Make tool choice lower case (#158)
* Fix: post_form to be Sendable (#157)
* changed to allow Send.
* add simple tests for sendable
* fix test name
* chore: Release
* Add support for rustls-webpki-roots (#168)
* Refactor `types` module (#170)
* Document `impl_from!` macro
* Fix up `impl_from!` docs
* Documents `impl_default!` macro
* Document `impl_input!` macro
* Factor out types from `assistants` module in `types`
* Factor out `model`
* Factor out `audio`
* Factor out `image`
* Factor out `file`
* Factor out `fine_tune`
* Factor out `moderation`
* Factor out `edit`
* Factor out `fine_tuning`
* Factor out missed `DeleteModelResponse` into `model`
* Factor out `embedding`
* Factor out `chat`
* Factor out `completion` and eliminate `types`
* Satisfy clippy
---------
Co-authored-by: Sharif Haason <[email protected]>
* Sync updates from Spec (#171)
* updates to doc comments and types
* deprecated
* update ChatCompletionFunctions to FunctionObject
* More type updates
* add logprobs field
* update from spec
* updated spec
* fixes suggested by cargo clippy
* add query param to list files (#172)
* chore: Release
* Optional model in ModifyAssistantRequest (#174)
All fields (including model) are optional in OpenAI API.
* update contribution guidelines (#182)
* update contribution guidelines
* fix link
* update
* consistency
* Code of conduct
* chore: Release
* fix file test by providing query param
* Added dimensions param to embedding request (#185)
* chore: Release
---------
Co-authored-by: Gravel Hill <[email protected]>
Co-authored-by: Himanshu Neema <[email protected]>
Co-authored-by: Frank Fralick <[email protected]>
Co-authored-by: Sam F <[email protected]>
Co-authored-by: David Weis <[email protected]>
Co-authored-by: yykt <[email protected]>
Co-authored-by: XTY <[email protected]>
Co-authored-by: sharif <[email protected]>
Co-authored-by: Sharif Haason <[email protected]>
Co-authored-by: Sebastian Sosa <[email protected]>
Co-authored-by: vmg-dev <[email protected]>1 parent 24da803 commit 50d661f
File tree
8 files changed
+47
-7
lines changed- async-openai
- src
- types
8 files changed
+47
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
124 | 137 | | |
125 | 138 | | |
126 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
108 | 130 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | | - | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments