-
Notifications
You must be signed in to change notification settings - Fork 41
Issue 427: implement generate with ai button with voice recording functionality #435
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
Issue 427: implement generate with ai button with voice recording functionality #435
Conversation
…with-voice-recording-functionality # Conflicts: # hosting/src/components/DocumentType/DocumentTypeGenericList.tsx
Visit the preview URL for this PR (updated for commit 1c82ec4): https://tanam-testing--pr435-issue-427-implement-h3sidn34.web.app (expires Tue, 10 Sep 2024 06:57:09 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 5bbe8a1a68d9684d656bffba10008fe532204561 |
…ate-with-ai-button-with-voice-recording-functionality
hosting/global.d.ts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Move it into the folder for models.
- Do not name files
.d.ts
as that's usually just for auto-generated type definitions that corresponds to a javascript file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done ✅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete the .d.ts
file 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.d.ts
removed ✅
import {useParams, useRouter} from "next/navigation"; | ||
import {Suspense, useEffect, useState} from "react"; | ||
|
||
// TiptapEditor is also detected as ssr, even though it uses "use client" :( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙏
…ate-with-ai-button-with-voice-recording-functionality
Add your Gemeni API key to an environment variable named
GOOGLE_GENAI_API_KEY
Start up the app and go to "articles": http://localhost:3000/content/article
Screen recordings
Part one
WhatsApp.Video.2024-08-23.at.17.39.27.mp4
Part two
WhatsApp.Video.2024-08-23.at.17.39.45.mp4