This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends Node | |
## This is a script to query Openai for AI-generated NPC dialogue. | |
## You need a OpenAI API key for this to work; put it as a string in the export variable for API Key | |
## See https://platform.openai.com/ | |
## Openai endpoings for speech to text, text generation, text to speech, image generation and image interpretation(vision) are supported. | |
# Signal used to alert speech recording started | |
signal STT_speech_recording |