-
Notifications
You must be signed in to change notification settings - Fork 2
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
How to make app function #1
Comments
Good morning mate
If you're still working in your local machine . Then just place the key in
where you processing the key like.. process.env.openai_api_key with your
api key. .. but if you're going to host it in web .then it will rotate it
and your api key will be invalid .so now create an env file .place it and
use the process.env.[your api key] .and it will work
…On Sun, Feb 12, 2023, 9:11 AM Jesse Moll ***@***.***> wrote:
Hey i was hoping you could tell me where to place my openai api key to
make the code actually function like your app?
The web app won’t actually perform the api call and not sure why.
what exactly do i need to change with the code?
I would really appreciate your help.
—
Reply to this email directly, view it on GitHub
<#1>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2UE42MR74REHASNRZYHEJLWXBLXHANCNFSM6AAAAAAUZCADCM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Is that the only thing i need to change? Also what url does the fetch post request need to be changed to? |
Hey does the api endpoint need to be changed to make this work? Still can’t get it to do anything. Thanks |
Send me your GitHub link
…On Mon, Feb 13, 2023, 2:21 PM Jesse Moll ***@***.***> wrote:
Hey does the api endpoint need to be changed to make this work? Still
can’t get it to do anything.
Thanks
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2UE42OFBQJVAPPPVBX4FB3WXHYX7ANCNFSM6AAAAAAUZCADCM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey i was hoping you could tell me where to place my openai api key to make the code actually function like your app?
The web app won’t actually perform the api call and not sure why.
what exactly do i need to change with the code?
I would really appreciate your help.
The text was updated successfully, but these errors were encountered: