Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync experiments branch with main 0.18.2 #186

Merged
merged 22 commits into from
Jan 31, 2024

Conversation

ifsheldon
Copy link
Contributor

This syncs the changes from main to experiments branch. The code compiles fine on all targets.

Strange-Knoll and others added 22 commits November 24, 2023 19:46
* Update to Assistants example

* Update examples/assistants/src/main.rs

update api config for consistency and secutity

Co-authored-by: Himanshu Neema <himanshun.iitkgp@gmail.com>

* added assistant creation

* exit, deconstruct assistant, improved readme

---------

Co-authored-by: Himanshu Neema <himanshun.iitkgp@gmail.com>
* Link to openai-func-enums

* Link to openai-func-enums

* Update async-openai/README.md

---------

Co-authored-by: Himanshu Neema <himanshun.iitkgp@gmail.com>
* Added ability to use in-memory files (Bytes, vec[u8])

* Removed unnecessary trait impls

* Polished example
* get latest spec

* update description

* add WASM

* WASM support on experiments branch
* changed to allow Send.

* add simple tests for sendable

* fix test name
* 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 <sharif.haason@gmail.com>
* 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
All fields (including model) are optional in OpenAI API.
* update contribution guidelines

* fix link

* update

* consistency

* Code of conduct
# Conflicts:
#	async-openai/Cargo.toml
#	async-openai/src/client.rs
#	async-openai/src/types/audio.rs
#	async-openai/src/types/chat.rs
#	async-openai/src/types/common.rs
#	async-openai/src/types/completion.rs
#	async-openai/src/types/embedding.rs
#	async-openai/src/types/file.rs
#	async-openai/src/types/fine_tune.rs
#	async-openai/src/types/image.rs
#	async-openai/src/types/impls.rs
#	async-openai/src/util.rs
Copy link
Owner

@64bit 64bit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for keeping it in sync!

@64bit 64bit merged commit 50d661f into 64bit:experiments Jan 31, 2024
@ifsheldon ifsheldon deleted the sync_0.18.2 branch January 31, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet