Skip to content

waimorris/rolechat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoleChat

RoleChat is an AI-powered character dialogue generator that creates conversations between two characters based on their profiles and a starting prompt.

Features

  • Generate dynamic dialogues between two characters
  • Customize character profiles
  • Flexible starting conversation prompts
  • Easy-to-use Python interface

Installation

  1. Clone the repository:

  2. Install the required dependencies:

run characterglm_example.py

  1. The generated dialogue will be saved in dialogue.txt.

Customization

  • Character Profiles: Edit the create_character_profile function to create unique characters with distinct personalities, backgrounds, and speaking styles.
  • Conversation Starters: Modify the messages list to experiment with different conversation prompts and scenarios.

Requirements

  • Python 3.x
  • requests library
  • python-dotenv library
  • Custom API library (not included in this repository)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages