vivekuppal / transcribe

Transcribe is a real time transcription, conversation, Language learning platform. It provides live transcripts from microphone and speaker. It generates a suggested conversation response using OpenAI's GPT API. It will read out the responses, simulating a real live conversation in English or another language.
https://abhinavuppal1.github.io/
MIT License
198 stars 45 forks source link

About Chinese #161

Closed Yrwxru closed 8 months ago

Yrwxru commented 9 months ago

请问如何修改中文的prompt,因为我不希望他转录识别未繁体,并且我想修改初始化给chatgpt的引导词。 Please tell me how to modify the Chinese prompt, because I don't want it to be transcribed and recognized as Traditional Chinese, and I want to modify the initialization guide word for chatgpt.

mang0sw33t commented 9 months ago

I don't want it to be transcribed and recognized as Traditional Chinese

Languages supported by OpenAI from this link - https://platform.openai.com/docs/guides/speech-to-text/quickstart

Afrikaans, Arabic, Armenian, Azerbaijani, Belarusian, Bosnian, Bulgarian, Catalan, Chinese, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, Galician, German, Greek, Hebrew, Hindi, Hungarian, Icelandic, Indonesian, Italian, Japanese, Kannada, Kazakh, Korean, Latvian, Lithuanian, Macedonian, Malay, Marathi, Maori, Nepali, Norwegian, Persian, Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovenian, Spanish, Swahili, Swedish, Tagalog, Tamil, Thai, Turkish, Ukrainian, Urdu, Vietnamese, and Welsh.

Only one version of chinese language is supported. All of these languages are supported for Speech to Text conversion in Transcribe.

I want to modify the initialization guide word for chatgpt

I do not understand what you are asking for

Yrwxru commented 9 months ago

I wish to preface our discourse by informing ChatGPT with a prompt similar to "Imagine yourself as an intrinsic product manager."

Thanks.

mang0sw33t commented 9 months ago

To add a custom prompt, add the following section to override.yaml file

OpenAI:
  system_prompt: "PROMPT TEXT"
mang0sw33t commented 9 months ago

With the latest code, add the following section to override.yaml file

General:
  system_prompt: "PROMPT TEXT"