Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/workadventure/bot-starter-kit

A starter kit to build custom bots in WorkAdventure
https://github.com/workadventure/bot-starter-kit

Last synced: about 2 months ago
JSON representation

A starter kit to build custom bots in WorkAdventure

Awesome Lists containing this project

README

        

# Bot starter kit

The WorkAdventure bot starter kit is a starter kit to help you write custom bots in WorkAdventure.

WorkAdventure SAAS provides out of the box support for bots that are powered by OpenAI, or Tock.ai.
You can also provide your own Ollama compatible LLM model.

However, if you have very special needs, you can also build your own bot from the ground, using a custom script.
This starter kit will help you with this process.

## Coding the bot

The bot script should be put in `src/main.ts`, in the body of the `run` function.

Build your bot using `npm run build`.

The resulting file will be in `dist/bot.js`. You can host this file on any webserver with CORS enabled.

One easy solution is to use GitHub pages. This repository comes with a GitHub action that automatically publishes
the script on GitHub pages.