ChineseAiDungeonChatGPT  by bupticybee

AI Dungeon in Chinese, powered by ChatGPT

created 2 years ago
1,395 stars

Top 29.6% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a Chinese language text-based adventure game powered by OpenAI's ChatGPT API, offering a significantly improved storytelling experience compared to previous custom models. It's designed for users interested in AI-driven interactive fiction and leverages the advanced natural language capabilities of ChatGPT for immersive gameplay.

How It Works

The core of the project utilizes OpenAI's ChatGPT API to generate story narratives and respond to user inputs. This approach bypasses the need for extensive fine-tuning of custom models, achieving superior storytelling quality with minimal development effort by directly harnessing the power of a large, pre-trained language model.

Quick Start & Requirements

  • Install dependencies: pip3 install -r requirements.txt
  • Run via CLI: python3 example_story.py
  • Run via GUI: python3 app.py (requires Python 3.9+)
  • Official API key usage is recommended for speed and robustness. Session token usage is deprecated.
  • For token-based authentication, ensure revChatGPT is updated: pip3 install --upgrade revChatGPT and configure config.py.

Highlighted Details

  • Achieves "orders of magnitude" better storytelling than previous custom models, including Tsinghua's CPM.
  • Demonstrates ChatGPT's storytelling capabilities approaching the quality of the original AI Dungeon.
  • Supports both command-line interface (CLI) and a GUI application.
  • Includes auto-save and load functionality.

Maintenance & Community

The project relies on the revChatGPT library, which has seen recent updates to adapt to OpenAI API changes. Users are advised to keep revChatGPT updated. Specific community links (Discord/Slack) or roadmap details are not provided in the README.

Licensing & Compatibility

The project's licensing is not explicitly stated in the README. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The project's stability is dependent on OpenAI's API availability and policies. Reliance on shared tokens or potentially outdated session tokens can lead to access issues. Users may need to manage their own OpenAI API keys and potentially configure proxy settings or update config.py as OpenAI's strategies evolve.

Health Check
Last commit

2 years ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
10 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.