
About the Project
Lore Forge goes beyond simple chat prompts by structuring OpenAI API outputs into usable RPG game data. The application uses rigid prompt engineering to force the AI to return consistent formats (like JSON objects for Items or NPCs), allowing the UI to render them as game cards rather than raw text. It demonstrates how to integrate indeterminate AI responses into a deterministic React UI.
Technologies
TypeScriptReactOpenAI APIVercel SDK