Spracherkennung für: .ts vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
import { describe, expect, it } from "vitest";
import { formatVoiceIngressPrompt } from "./prompt.js";
describe("formatVoiceIngressPrompt", () => {
it("formats speaker-labeled voice input without imperative-looking prefixes", () => {
expect(formatVoiceIngressPrompt("hello there", "speaker-1")).toBe(
'Voice transcript from speaker "speaker-1":\nhello there',
);
});
it("returns the bare transcript when no speaker label exists", () => {
expect(formatVoiceIngressPrompt("hello there")).toBe("hello there");
});
});
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-04-27)
¤
*© Formatika GbR, Deutschland