Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.kingbbode:spring-boot-starter-chatbot:1.0.3-SNAPSHOT'
}
dependencies {
implementation("com.github.kingbbode:spring-boot-starter-chatbot:1.0.3-SNAPSHOT")
}
<dependency>
<groupId>com.github.kingbbode</groupId>
<artifactId>spring-boot-starter-chatbot</artifactId>
<version>1.0.3-SNAPSHOT</version>
</dependency>
libraryDependencies += "com.github.kingbbode" % "spring-boot-starter-chatbot" % "1.0.3-SNAPSHOT"
:dependencies [[com.github.kingbbode/spring-boot-starter-chatbot "1.0.3-SNAPSHOT"]]
@Deprecated https://github.com/ultzum/spring-boot-starter-chatbot
https://github.com/kingbbode/spring-boot-chatbot 로 이전
최초 작성일 : 2017-02-07
Document 는 최하단 작성
Brain , 구현체 객체 내부에 하나의 명령어와 Mapping되는 기능을 BrainCell 이라고 컨셉을 잡음.DispatcherBrainBrainFactory거의 노는 용..




# CHAT-BOT
chatbot.name = default
chatbot.basePackage = com.kingbbode.example
chatbot.enabled = true
chatbot.enableBase = true
chatbot.enableEmoticon = true
chatbot.enableKnowledge = true
# Redis
chatbot.hostName = localhost
chatbot.port = 6879
chatbot.timeout = 0
chatbot.password = {password}
chatbot.usePool = true
chatbot.useSsl = false
chatbot.dbIndex = 0
chatbot.clientName = {clientName}
chatbot.convertPipelineAndTxResults = true
# Command
chatbot.commandPrefix = #
chatbot.emoticonPrefix = @
# TEAMUP
chatbot.teamup.enabled = true
chatbot.teamup.id = {아이디}
chatbot.teamup.password = {비밀번호}
chatbot.teamup.clientId = {clientId}
chatbot.teamup.clientSecret = {clientSecret}
chatbot.teamup.testRoom = {DEV 모드 테스트 방 번호}
chatbot.teamup.testFeed = {DEV 모드 테스트 피드 번호}
chatbot.teamup.bot[0] = {bot user id}
..
chatbot.teamup.bot[n] = {bot user id}
Core
Redis
대화형(이전 대화와 연결되는 형태)을 완성시키기 위해 대화 상태를 저장하는 저장소를 REDIS 로 사용.
메신저 TEAMUP