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

Enhancement - refactor SDK to support asynchronous operations #1043

Merged
merged 2 commits into from
Dec 13, 2023

Conversation

aybruhm
Copy link
Member

@aybruhm aybruhm commented Dec 12, 2023

Description

This PR enhances the SDK to support asynchronous operations while also maintaining backward compatibility for synchronous use.

Related Issue

Closes #317

Additional Information

LLM app(s) currently using only the def keyword have backward compatibility. The included llm example in this PR utilizes the async def keyword in the function and also the OpenAI Async SDK, enhancing performance.

…ining backward compatibility for synchronous use
@aybruhm aybruhm requested a review from mmabrouk December 12, 2023 16:12
@aybruhm aybruhm marked this pull request as draft December 12, 2023 16:20
@aybruhm aybruhm marked this pull request as ready for review December 12, 2023 16:31
Copy link
Member

@mmabrouk mmabrouk left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @aybruhm ! Awesome job!

@mmabrouk mmabrouk merged commit e6689e1 into main Dec 13, 2023
6 checks passed
@mmabrouk mmabrouk deleted the gh/async-sdk-improvement branch December 13, 2023 16:07
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.

Create async version of the SDK
2 participants