From 540c761433c753decbf87a9f1e8d47bfa84c4756 Mon Sep 17 00:00:00 2001 From: klappstuhl24 Date: Fri, 5 Apr 2024 17:32:17 +0200 Subject: [PATCH] sie sprechen ihn jetzt mit gottfried an --- 3d Prototyp/Assets/Scripts/Text2Speech.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3d Prototyp/Assets/Scripts/Text2Speech.cs b/3d Prototyp/Assets/Scripts/Text2Speech.cs index b79fff2d..24f92bb8 100644 --- a/3d Prototyp/Assets/Scripts/Text2Speech.cs +++ b/3d Prototyp/Assets/Scripts/Text2Speech.cs @@ -38,7 +38,7 @@ public class Text2Speech : MonoBehaviour private OpenAIAPI _openAiApi; private Conversation? _conversation; private readonly string _openAiApiKey = "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"; - private readonly string _prompt = "Write a short text for an NPC in a game. The text should be based on the following bullet-point context, which describes the events of the last moments. Remember to only respond with the short text that the ONE NPC should speak! The context is: "; + private readonly string _prompt = "Write a short text for an NPC in a game. The NPC works at a small gamedevelopement office and his Manager is called Gottfried. The text should be based on the following bullet-point context, which describes the events of the last moments. Remember to only respond with the short text that the ONE NPC should speak! The context is: "; void Start() {