Initial commit

This commit is contained in:
2023-12-17 14:34:22 +08:00
commit 9ce557d592
13 changed files with 735 additions and 0 deletions

23
build.gradle.kts Normal file
View File

@@ -0,0 +1,23 @@
plugins {
val kotlinVersion = "1.8.10"
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("net.mamoe.mirai-console") version "2.16.0"
}
group = "top.jie65535.mirai"
version = "1.0.0"
repositories {
mavenCentral()
maven("https://maven.aliyun.com/repository/public")
}
val openaiClientVersion = "3.6.2"
val ktorVersion = "2.3.7"
dependencies {
implementation("com.aallam.openai:openai-client:$openaiClientVersion")
implementation("io.ktor:ktor-client-okhttp:$ktorVersion")
}