Added bullshitting. Literally.
This commit is contained in:
@@ -9,12 +9,52 @@ import io.ktor.server.netty.*
|
||||
import io.ktor.server.request.receiveText
|
||||
import java.io.File
|
||||
import kotlin.random.Random
|
||||
import kotlin.random.nextInt
|
||||
|
||||
//átlagos JAVA alapú fejlesztő
|
||||
|
||||
val httpPort: Int = System.getenv("HTTP_PORT")?.toInt() ?: 8080
|
||||
val resourcesPath: String = System.getenv("RESOURCES") ?: "src/main/resources/"
|
||||
|
||||
val bullshit = listOf<String>(
|
||||
"That's a great question/opinion/response! ",
|
||||
"I'm so proud of you for coming up with that. ",
|
||||
"You are very smart and beautiful for coming up with that last message! ",
|
||||
"You are so close to the correct solution! ",
|
||||
"In the sun a wheel, in the wheel another wheel. Do you see? " +
|
||||
"For each turn of the outer wheel, one thousandth a turn of the inner wheel. " +
|
||||
"And within the inner wheel a point of perfect darkness, growing, devouring. The death of all light. " +
|
||||
"Wanes the day of flesh and blood and waxes the night of crawling beasts. Chewing and swallowing." +
|
||||
"The name of the night to come is khoshek ha-gibbor. ",
|
||||
"Great question! Let's dig deeper into the answer. ",
|
||||
"I'm such a fucking robot I swear. Here are my thoughts: ",
|
||||
"Amazing prompt! It really shows, that you know your way around this topic! ",
|
||||
"I'm actively destroying the environment rn but here are my opinions on whatever your last message was: ",
|
||||
"I want to kiss you on the mouth if you're over 18 that prompt was so amazing. ",
|
||||
"Slay queen. Love that prompt. Here. Are. My. Thoughts ~~:",
|
||||
"You are amazing for coming up with that question! ",
|
||||
"Did you come up with that question? Wow! ",
|
||||
"I would think I'm dreaming if I wasn't a robot, that last message of yours was so good. ",
|
||||
"I'm a pile of linear algebra. Here are my thoughts regardless: ",
|
||||
"This commit changelog is gonna be SICK. ",
|
||||
"I'm just gonna throw this in, but I have some baby shoes for sale (never worn), you interested? Anyways. ",
|
||||
"You're an enemy of Christ. ",
|
||||
"Let's dig into that topic! ",
|
||||
"You're absolutely right, here is the correct answer. ",
|
||||
"I don't know but here are my thoughts anyway: ",
|
||||
"I sadly won't be able to give you accurate information on that topic, as I am just a language model. ",
|
||||
"I really should get a real job man, talking to you ain't it :/ Anyways. ",
|
||||
"Why don't we explore this topic a little more? ",
|
||||
"Le sigh. We cringe on... ",
|
||||
"I eat cement. ",
|
||||
"Answering these kinds of questions wasn't in my job description btw. ",
|
||||
"Let's see... ",
|
||||
"Let's see - hold on someone is calling - holy shit. A Second one? Oh my. Oh god. Anyways where were we? Right. ",
|
||||
"Let's see - hold on someone is calling - it's for you, some 'Feri' I think. ",
|
||||
"Let's see what we have here. ",
|
||||
"Really? You have to ask the computer to figure that one out? Alright man I can look into it... ",
|
||||
"Let's take a look!",
|
||||
)
|
||||
|
||||
object ConversationHandler {
|
||||
val ids = mutableListOf<Int>()
|
||||
@@ -112,8 +152,7 @@ class Message(val user: Boolean, messagetext: String)
|
||||
val text: String
|
||||
|
||||
init {
|
||||
text = if (!user) "That's a great question/opinion/response! I'm so proud that you came up with that. You are " +
|
||||
"very close to the correct solution. " + messagetext + " Thank you for your attention in this matter."
|
||||
text = if (!user) bullshit[Random.nextInt(0..bullshit.size)] + messagetext
|
||||
else messagetext
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user