Skip to content

feat: new submodule JSON to Xatkit DSL parser #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

joszamama
Copy link

Hello!

I am currently working with Xatkit in my master thesis, and I have created a fork of the main repository.

I have developed an API with which I can build Chatbots automatically in a simple way using Xatkit in the backend. For this, I have developed a new module that parses a JSON object (with a syntax defined by my Xatkit-SPL-Backend project) and builds the chatbot definition in Java using the Xatkit DSL.

The main utility of this module is to support any kind of web application that wants to use Xatkit, since JSON is a standardized language in HTTP communications. With this parser, any application can send information in JSON format and build chatbots. No Java, no Maven, no dependencies.

In the folder ./src/bots/ExampleBot you can find a JSON file with the structure defined by my tool in JSON, and a Java file processed by this module when running the parser.

I make a pull request in case you are interested in this code. In the Readme documentation I have also left how it can be used to generate the Java file, and how to automate it using Docker.

Thanks and awesome tool btw!

@jcabot
Copy link
Member

jcabot commented Feb 10, 2023

Thanks for the contribution. This feels more like a separate project that we could add under the organization umbrella. Let's talk about it in our next meeting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants