Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/workadventure/openai-bot-demo
- Owner: workadventure
- License: other
- Created: 2023-11-03T10:58:56.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-03T11:02:31.000Z (about 1 year ago)
- Last Synced: 2024-11-13T09:16:02.796Z (2 months ago)
- Language: TypeScript
- Size: 2.32 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.assets
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!