mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
New API
This commit is contained in:
@@ -26,11 +26,11 @@ export default () => (
|
|||||||
<Subtitle>3. Are there any industry-specific use cases?</Subtitle>
|
<Subtitle>3. Are there any industry-specific use cases?</Subtitle>
|
||||||
<p>Absolutely! We have two custom deployments pre-built:</p>
|
<p>Absolutely! We have two custom deployments pre-built:</p>
|
||||||
<ul className="mb-2 md:mb-4">
|
<ul className="mb-2 md:mb-4">
|
||||||
<li>
|
<li key="1">
|
||||||
· Reflector Media: Ideal for meetings, providing real-time notes and
|
· Reflector Media: Ideal for meetings, providing real-time notes and
|
||||||
topic summaries.
|
topic summaries.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li key="2">
|
||||||
· Projector Reflector: Suited for larger events, offering live topic
|
· Projector Reflector: Suited for larger events, offering live topic
|
||||||
summaries, translations, and agenda tracking.
|
summaries, translations, and agenda tracking.
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -5,18 +5,18 @@ export default () => (
|
|||||||
<Title>Privacy Policy</Title>
|
<Title>Privacy Policy</Title>
|
||||||
<Paragraph className="italic">Last updated on September 22, 2023</Paragraph>
|
<Paragraph className="italic">Last updated on September 22, 2023</Paragraph>
|
||||||
<ul className="mb-2 md:mb-4">
|
<ul className="mb-2 md:mb-4">
|
||||||
<li className="mb-2">
|
<li key="2" className="mb-2">
|
||||||
· Recording Consent: By using Reflector, you grant us permission to
|
· Recording Consent: By using Reflector, you grant us permission to
|
||||||
record your interactions for the purpose of showcasing Reflector's
|
record your interactions for the purpose of showcasing Reflector's
|
||||||
capabilities during the All In AI conference.
|
capabilities during the All In AI conference.
|
||||||
</li>
|
</li>
|
||||||
<li className="mb-2">
|
<li key="3" className="mb-2">
|
||||||
· Data Access: You will have convenient access to your recorded sessions
|
· Data Access: You will have convenient access to your recorded sessions
|
||||||
and transcriptions via a unique URL, which remains active for a period
|
and transcriptions via a unique URL, which remains active for a period
|
||||||
of seven days. After this time, your recordings and transcripts will be
|
of seven days. After this time, your recordings and transcripts will be
|
||||||
deleted.
|
deleted.
|
||||||
</li>
|
</li>
|
||||||
<li className="mb-2">
|
<li key="5" className="mb-2">
|
||||||
· Data Confidentiality: Rest assured that none of your audio data will
|
· Data Confidentiality: Rest assured that none of your audio data will
|
||||||
be shared with third parties.
|
be shared with third parties.
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ export const viewport: Viewport = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
metadataBase: process.env.DEV_URL || "https://reflector.media",
|
metadataBase: new URL(process.env.DEV_URL || "https://reflector.media"),
|
||||||
title: {
|
title: {
|
||||||
template: "%s – Reflector",
|
template: "%s – Reflector",
|
||||||
default: "Reflector - AI-Powered Meeting Transcriptions by Monadical",
|
default: "Reflector - AI-Powered Meeting Transcriptions by Monadical",
|
||||||
|
|||||||
@@ -16,8 +16,6 @@ import ShareModal from "./shareModal";
|
|||||||
import Player from "../player";
|
import Player from "../player";
|
||||||
import WaveformLoading from "../waveformLoading";
|
import WaveformLoading from "../waveformLoading";
|
||||||
import { useRouter } from "next/navigation";
|
import { useRouter } from "next/navigation";
|
||||||
import { faSpinner } from "@fortawesome/free-solid-svg-icons";
|
|
||||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
||||||
import { featureEnabled } from "../../domainContext";
|
import { featureEnabled } from "../../domainContext";
|
||||||
import { toShareMode } from "../../../lib/shareMode";
|
import { toShareMode } from "../../../lib/shareMode";
|
||||||
|
|
||||||
|
|||||||
@@ -75,10 +75,9 @@ const TranscriptRecord = (details: TranscriptDetails) => {
|
|||||||
}, [webSockets.status.value, transcript.response?.status]);
|
}, [webSockets.status.value, transcript.response?.status]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (webSockets.duration) {
|
if (transcript.response?.status === "ended")
|
||||||
mp3.getNow();
|
mp3.getNow();
|
||||||
}
|
}, [transcript.response]);
|
||||||
}, [webSockets.duration]);
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
lockWakeState();
|
lockWakeState();
|
||||||
|
|||||||
@@ -22,16 +22,9 @@ const useCreateTranscript = (): UseTranscript => {
|
|||||||
|
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
|
|
||||||
console.log(
|
|
||||||
"POST - /v1/transcripts/ - Requesting new transcription creation",
|
|
||||||
transcriptCreationDetails,
|
|
||||||
api,
|
|
||||||
);
|
|
||||||
|
|
||||||
api
|
api
|
||||||
.v1TranscriptsCreate(transcriptCreationDetails)
|
.v1TranscriptsCreate(transcriptCreationDetails)
|
||||||
.then((transcript) => {
|
.then((transcript) => {
|
||||||
console.debug("New transcript created:", transcript);
|
|
||||||
setTranscript(transcript);
|
setTranscript(transcript);
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
})
|
})
|
||||||
@@ -43,9 +36,6 @@ const useCreateTranscript = (): UseTranscript => {
|
|||||||
setErrorState(err);
|
setErrorState(err);
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
})
|
})
|
||||||
.finally(() => {
|
|
||||||
console.log("At least this should display?");
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
||||||
return { transcript, loading, error, create };
|
return { transcript, loading, error, create };
|
||||||
|
|||||||
Reference in New Issue
Block a user