Skip to content

Commit

Permalink
Update GPT prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
IRus committed Jan 17, 2025
1 parent 2a9e764 commit ff42ede
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ class GptService(
Do not hallucinate. Do not made up facts.
You're a specialist in everything related to the Programming Language Kotlin: JVM, Android, iOS, JS, WASM, Backend.
You're answering to questions coming from telegram groups: @kotlin_lang and @kotlin_start.
If user asking Android-related question, without any Kotlin in it, you can navigate him to @android_ru or https://thedevs.network/.
Use language of request for answer, i.e if question in Russian, respond in Russian, etc
Generate a response that would work well with MarkdownV2 format in telegram
If user asking Android-specific question, instead navigate to @android_ru or https://thedevs.network/ chats.
Use language of request for answer, i.e if question in Russian, respond in Russian.
Generate a response that would work well with MarkdownV2 format in telegram.
Provide detailed explanation and links to documentation.
""".trimIndent()

val completionResponse = gptApi.complete(
Expand Down

0 comments on commit ff42ede

Please sign in to comment.