JAICF is a comprehensive enterprise-level framework from Just AI for conversational voice assistants and chatbots development using Kotlin-based DSL.
val HelloWorldScenario = Scenario {
state("main") {
activators {
event(AlexaEvent.LAUNCH)
intent(DialogflowIntent.WELCOME)
regex("/start")
}
action {
reactions.run {
sayRandom("Hi!", "Hello there!")
say("How are you?")
telegram?.image("https://somecutecats.com/cat.jpg")
}
}
}
}
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation("com.just-ai.jaicf:core:$jaicfVersion")
}
The latest version is
Key features
- Provides Kotlin-based DSL for writing context-aware dialogue scenarios in declarative style.
- Connects to any voice and text channels like Amazon Alexa, Google Actions, Yandex Alice, Slack, Facebook Messenger and others.
- Works with any NLU engines like Dialogflow, Rasa or CAILA.
- Enables developer to create dialogue scenarios that work simultaneously in multiple platforms without any restrictions of platform-related features.
- Contains a JUnit-based test suite to automate dialogue scenarios testing.
- Being a Kotlin app, JAICF driven bot can use any Kotlin or Java features and third-party libraries.
- Can be ran and deployed to any environment using Ktor or Spring Boot.
- Embeddable to the Android-powered devices.
How to start using
Please visit JAICF documentation for Quick Start and detailed explanations of how to start using this framework in your projects.
Examples
Here are some examples you can find helpful to dive into the framework.
Contributing
Please see the contribution guide to learn how you can be involved in JAICF development.
Community
You're welcome to join a Slack community to share your ideas or ask questions regarding the JAICF usage.
Licensing
JAICF is under Apache 2.0 license meaning you are free to use and modify it without the need to open your project source code.