Skip to content

A code generator for chatbots for low-code platforms.

License

Notifications You must be signed in to change notification settings

LowcoBot/lowcobot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

💬🔨 LowcoBot

LowcoBot is an 🌑 Eclipse-based code generator for chatbots aimed at low-code platforms written in 🐍 Python.

Installation

First, this parent repository contains no code; first you have to clone the Eclipse environment and Streamlit application

git clone https://github.com/LowcoBot/lowcobot-eclipse
git clone https://github.com/LowcoBot/lowcobot-streamlit

Eclipse environment:

  • You will need: EMF and Epsilon 2.5.0.
  • Steps:
    • Import the Eclipse repository (File > Import... > Existing project into workspace).
    • Then, load the Generate prompt and tools.launch file (File > Import... > Run/Debug > Launch Configurations).
    • Finally, right click on metamodel/lowcobot.emf > Register EPackages.

Streamlit application:

  • You will need: Python ≥ v3.11.4, an OpenAI API key.
  • Steps:
    • Install the requried packages with

      pip install -r requirements.txt
    • Rename .env.example into .env, and fill in OPENAI_API_KEY.

Usage

  1. Modify model.flexmi and run the configuration.

    Make sure several Successfully wrote to output/*.py messages appear in the console. Every time you (re)generate the artifacts, copy the contents of lowcobot-eclipse/output into lowcobot-streamlit/tools.

  2. Run the Streamlit application with:

    streamlit run main.py

Tip

If you want to avoid copying files every time, create a soft link from lowcobot-eclipse/output to lowcobot-streamlit/tools, or change the output variable in generate.egx to an absolute path towards lowcobot-streamlit/tools.

Contributing

Pull requests are welcome in the respective repositories. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Authors

Francisco Martínez-Lasaca¹², Pablo Díez², Esther Guerra¹, and Juan de Lara¹ from the Autonomous University Of Madrid¹ and UGROUND².

About

A code generator for chatbots for low-code platforms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published