freeGPTFix
  • Welcome
  • Getting Started
    • Quickstart
  • Client
    • gpt3
    • gpt3.5
    • gpt4
    • gpt4o
    • gemini
    • prodia
    • pollinations
  • Lib
    • models
    • proxy
    • helper
    • room
      • ConnectRoles
      • ConnectModel
  • roles
    • roles
    • Undertale
      • SANS
      • PAPYRUS
      • GASTER
      • ALPHIS
    • HXH
      • GON
      • KILLUA
      • MERUEM
      • NETERO
    • KimetsuNoYaiba
      • RENGOKU
    • Other
      • FRIEND
      • HISTORIAN
      • PSYCHIATRIST
  • Change Log
    • Versions
      • 1.3.0
      • 1.2.0
  • Reference
    • Helpers
    • Contacts
Powered by GitBook
On this page
  1. Lib
  2. room

ConnectRoles

PreviousroomNextConnectModel

Last updated 9 months ago

Since version 1.2.0, freeGPTFix introduces the role-connection feature for AI (currently available only for rooms).

Example:

from freeGPTFix.lib.room import Room
from freeGPTFix.lib import roles

with Room(role=roles.FRIEND) as room:
	while True:
		text = input("> ")
		resp = room.send_message(text)
		print(resp["reply"])
		#room.saveHistory()

Cover

roles