LowcoBot is an 🌑 Eclipse-based code generator for chatbots aimed at low-code platforms written in 🐍 Python.
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-streamlitEclipse 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.launchfile (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.exampleinto.env, and fill inOPENAI_API_KEY.
-
-
Modify
model.flexmiand 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/outputintolowcobot-streamlit/tools. -
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.
Pull requests are welcome in the respective repositories. For major changes, please open an issue first to discuss what you would like to change.
Francisco Martínez-Lasaca¹², Pablo Díez², Esther Guerra¹, and Juan de Lara¹ from the Autonomous University Of Madrid¹ and UGROUND².