NPC Dialog Generator using OpenAI

Author: jacklehamster


To use this API, first call: "/api", then provide the following query parameters: - choice [optional]: Choices separated by "|". Ex: choice=A|B|A|C (note that you must include previous choices to continue a conversation). You can also insert custom choices like choice=pizza|A - model [optional]: The chatgpt model to use. Default is "gpt-3.5-turbo-1106". List at: https://platform.openai.com/docs/models - creature [optional]: A description of the creature. Default is "an angel with wings".
You can check out the NPC dialog demo, which uses this API. Click here:

DEMO

NPC Dialog Demo

Test the API

/api

Source on Github: https://github.com/jacklehamster/open-ai-npc