Skip to content

bot-craft/bot-craft-code

Repository files navigation

A web platform for Taskyto chatbots

Bot-Craft is a web platform designed to facilitate the development and deployment of task-oriented chatbots using the Taskyto domain-specific language. The platform addresses the complexity of manual chatbot construction by providing an online code editor and an intelligent assistant.

The Taskyto Assistant is an AI-powered tool integrated into the editor that allows users to generate code fragments, resolve syntax questions, and create complete YAML modules from natural language descriptions, significantly accelerating the development cycle.

Click HERE to use the deployed app.
Click HERE for more information about the platform.

Table of Contents

  1. REQUIREMENTS
  2. OVERVIEW
  3. DEMO
  4. CLONE
  5. DEPLOYMENT
  6. EXECUTION
  7. TURN OFF

1. REQUIREMENTS

  • Docker: It is necessary to have Docker installed.
  • OpenAI API Key: It is necessary to have an OpenAI API key that supports the gpt-4o-mini model. This model is used for both the Taskyto chatbots and the code editor assistant. It is very lightweight and cheap.

2. OVERVIEW

Main menu Main menu
Code Editor Main Code Editor
Interactive Chat Main Interactive Chat

For more information, consider checking bot-craft page

3. DEMO

Platform Walkthrough

A complete tour of the Bot-Craft platform, showcasing the chatbot list, code editor, interactive chat and the general workflow for chatbot creation.

bot-craft_demo.mp4

Automated Code Integration

A demonstration of the new automation feature. This functionality eliminates the need to manually copy and paste content generated by the assistant. A dedicated button now allows for the automatic creation of modules and direct insertion of code from the assistant's response.

bot-craft_new_feature.mp4

4. CLONE

git clone --recurse-submodules https://github.com/bot-craft/bot-craft-code.git --branch=dev
cd bot-craft-code
Ensure to be sticked to the sumodule corresponding branch
cd chatbot-llm
git checkout bot-craft-integration

5. DEPLOYMENT

Before DEPLOYMENT
This is only necesary the first time

It is required to create a .env file declaring REACT_APP_IP_ADDRESS environment variable.

The url the domain name of the machine it will be deployed such us miso.ii.uam.es or it could be simply localhost.

In this readme we will do it with localhost but the user is free to replace it by its domain server !!

From the repository's ROOT folder

echo "REACT_APP_IP_ADDRESS = \"localhost\"" > .env
Docker Deployment

From the repository's ROOT folder

docker compose up -d

6. EXECUTION

http://<REACT_APP_IP_ADDRESS>:9000

http://localhost:9000

7. TURN OFF

From the repository's ROOT folder

docker compose down # on previous  directories "where we made docker compose up -d"

About

bot-craft web platform open source code

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors