Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/workadventure/openai-bot-demo

This is a demo map featuring a bot operated by OpenAPI ChatGPT APIs
https://github.com/workadventure/openai-bot-demo

Last synced: 13 days ago
JSON representation

This is a demo map featuring a bot operated by OpenAPI ChatGPT APIs

Awesome Lists containing this project

README

        

# WorkAdventure ChatGPT bots

![map](./map.png)

This map is a demo map for the [WorkAdventure tutorial on how to build a bot using OpenAI Chat GPT](https://docs.workadventu.re/blog/gpt-bot).

## How to use this map

You will need a valid OpenAPI API key.

Start the map locally:

```
npm install
npm run start
```

Open a browser tab dedicated to the bot: http://play.workadventure.localhost/_/global/localhost:5173/map.tmj#bot=true&openaiApiKey=[YOUR_OPENAPI_KEY]

(do not forget to replace [YOUR_OPENAPI_KEY] with your own key)

Open another browser tab dedicated to the player: http://play.workadventure.localhost/_/global/localhost:5173/map.tmj

Enjoy!