Closed stevenlee87 closed 1 year ago
To deploy the service on Vercel, you only need to supply the VITE_OPENAI_API_KEY
(or provide none of these when deploying and fill it in after deploying in website settings.).
The OpenAI Host is for direct access if your network environment is unable to connect to api.openai.com
due to government-imposed firewalls.
Azure-related keys are required for utilizing Azure TTS and speech recognition services, while AWS-related keys are necessary for using the Amazon Polly TTS service.
To deploy the service on Vercel, you only need to supply the
VITE_OPENAI_API_KEY
(or provide none of these when deploying and fill it in after deploying in website settings.). The OpenAI Host is for direct access if your network environment is unable to connect toapi.openai.com
due to government-imposed firewalls. Azure-related keys are required for utilizing Azure TTS and speech recognition services, while AWS-related keys are necessary for using the Amazon Polly TTS service.
@erbanku thank you for your answer.
The deploy button cannot be clicked if nothing is filled in during deployment. The message "missing" will be displayed
And then except the VITE_OPENAI_API_KEY parameter I filled in some random parameters, then deployed them, and didn't automatically reply to me. I do not know why.
Please try this
Deploying with Vercel
In this case you only need to provide the OpenAI API key when deploying
@erbanku thank you very much! this vercel deploy is good.
Why is this project's vercel deploy faulty? (https://github.com/hahahumble/speechgpt )
Actually, the Vercel Deploy button is a link like the ones below.
Project's Vercel deploy button:
https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fhahahumble%2Fspeechgpt&env=VITE_OPENAI_API_KEY,VITE_OPENAI_HOST,VITE_AWS_REGION,VITE_AWS_ACCESS_KEY_ID,VITE_AWS_ACCESS_KEY,VITE_AZURE_REGION,VITE_AZURE_KEY&envDescription=If%20you%20do%20not%20want%20to%20provide%20a%20value%2C%20use%20REPLACE_WITH_YOUR_OWN.&project-name=speechgpt&repository-name=speechgpt
Modified Vercel deploy button:
https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fhahahumble%2Fspeechgpt&env=VITE_OPENAI_API_KEY&envDescription=If%20you%20do%20not%20want%20to%20provide%20a%20value%2C%20use%20REPLACE_WITH_YOUR_OWN.&project-name=speechgpt&repository-name=speechgpt
Ass you can see the original one requires other environment variables, and it's must
, not optional
, you can bypass this by deleting the other required environment variables in the link.
@erbanku ok. I get it. Thank you again!
Is your feature request related to a problem?
How to fill in the parameters for deploying services on vercel
Describe the solution you'd like
I don't have any except the VITE_OPENAI_API_KEY parameter
Additional context
No response