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

chore(openai): change openai from async to sync #10785

Merged
merged 5 commits into from
Mar 27, 2023

Conversation

BohuTANG
Copy link
Member

@BohuTANG BohuTANG commented Mar 27, 2023

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

  • change openai create from async to sync
  • ai_to_sql(prompt [, api_key]) to ai_to_sql(prompt)

Closes #10775

@vercel
Copy link

vercel bot commented Mar 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated
databend ⬜️ Ignored (Inspect) Visit Preview Mar 27, 2023 at 7:57AM (UTC)

@mergify mergify bot added the pr-chore this PR only has small changes that no need to record, like coding styles. label Mar 27, 2023
@BohuTANG BohuTANG marked this pull request as ready for review March 27, 2023 08:04
@BohuTANG BohuTANG merged commit edc3c3c into databendlabs:main Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-chore this PR only has small changes that no need to record, like coding styles.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

change openai api crate from async to sync
1 participant