Closed marthendalnunes closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
light-turbo-eth | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 10, 2023 6:06pm |
turbo-eth | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 10, 2023 6:06pm |
turbo-test | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 10, 2023 6:06pm |
@marthendalnunes is attempting to deploy a commit to the District Labs Team on Vercel.
A member of the Team first needs to authorize it.
This pull request introduces a new integration with the OpenAI API using a custom React Hook and component. Users can generate AI responses directly from their browser by providing their OpenAI API key and a prompt. The integration accepts the API key either as an environment variable
OPENAI_API_KEY
or through user input as an argument to thegenerateAIResponse
function from theuseOpenAIPrompt
hook.Deploy preview
Changes:
useOpenAIPrompt
to interact with the OpenAI APIFormOpenAIPrompt
component for collecting user's OpenAI API key and promptMore details on the integration's README