Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/workadventure/bot-starter-kit
- Owner: workadventure
- License: other
- Created: 2024-06-24T16:58:09.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-06-24T17:03:14.000Z (7 months ago)
- Last Synced: 2024-06-24T18:59:54.041Z (7 months ago)
- Language: TypeScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.