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

Create GPT-3 Complete Laravel Facade #1

Open
gregpriday opened this issue Jun 29, 2021 · 0 comments
Open

Create GPT-3 Complete Laravel Facade #1

gregpriday opened this issue Jun 29, 2021 · 0 comments

Comments

@gregpriday
Copy link
Member

Create a simple GPT-3 completions Facade for Laravel. This should include a service provider and a config file to set an OpenAI key, as well as default values.

This would work something like follows

use SiteOrigin\LaravelOpenAI\Facades\GPT3Complete;

GPT3Complete::withOptions(['temperature' => 0.7])->complete("I think, therefor I");

We'll obviously need a service class and a service provider to go along with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant