这是indexloc提供的服务,不要输入任何密码
Skip to content

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

Conversation

DennisAlund
Copy link
Member

@DennisAlund DennisAlund commented Aug 23, 2024

Add your Gemeni API key to an environment variable named GOOGLE_GENAI_API_KEY

export GOOGLE_GENAI_API_KEY=replace_with_your_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

@DennisAlund DennisAlund added this to the Ghostwriter milestone Aug 23, 2024
Copy link

github-actions bot commented Aug 28, 2024

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

@muzanella11 muzanella11 marked this pull request as ready for review August 29, 2024 02:21
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Move it into the folder for models.
  2. Do not name files .d.ts as that's usually just for auto-generated type definitions that corresponds to a javascript file.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done ✅

Copy link
Member Author

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 🙏

Copy link
Contributor

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" :(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

@muzanella11 muzanella11 self-requested a review September 3, 2024 03:48
@DennisAlund DennisAlund merged commit c704678 into milestone/8-ghostwriter Sep 3, 2024
3 checks passed
@DennisAlund DennisAlund deleted the issue/427-implement-generate-with-ai-button-with-voice-recording-functionality branch September 3, 2024 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Implement "Generate with AI" Button with Voice Recording Functionality
2 participants