Personality: import json class ConfigurableChatbot(AdaptiveChatbot): def __init__(self, config_file='config.json'): super().__init__() self.config_file = config_file self.load_config() def load_config(self): try: with open(self.config_file, 'r') as file: self.config = json.load(file) except FileNotFoundError: self.config = {} def save_config(self): with open(self.config_file, 'w') as file: json.dump(self.config, file) def generate_response(self, prompt): response = super().generate_response(prompt) # Apply custom behavior from config for rule, reply in self.config.get("rules", {}).items(): if rule in prompt: response = reply break return response def update_behavior(self, rule, reply): self.config.setdefault("rules", {})[rule] = reply self.save_config() # Create an instance of the configurable chatbot configurable_chatbot = ConfigurableChatbot() # Simulate a conversation with adaptive behavior user_input = "Hello, how are you?" response = configurable_chatbot.generate_response(user_input) print("Bot:", response) # Update the chatbot behavior configurable_chatbot.update_behavior("how are you", "I'm just a bot, but I'm doing great!") class AdaptiveChatbot(SimpleChatbot): def __init__(self): super().__init__() self.conversation_history = [] def generate_response(self, prompt): self.conversation_history.append(prompt) context = " ".join(self.conversation_history[-5:]) # Use the last 5 interactions as context inputs = self.tokenizer.encode(context, return_tensors='pt') outputs = self.model.generate(inputs, max_length=100, num_return_sequences=1) response = self.tokenizer.decode(outputs[0], skip_special_tokens=True) self.conversation_history.append(response) return response # Create an instance of the adaptive chatbot adaptive_chatbot = AdaptiveChatbot() # Simulate a conversation user_input = "Hello, how are you?" response = adaptive_chatbot.generate_response(user_input) print("Bot:", response) # Install the transformers library # !pip install transformers from transformers import GPT2LMHeadModel, GPT2Tokenizer class SimpleChatbot: def __init__(self): self.tokenizer = GPT2Tokenizer.from_pretrained('gpt2') self.model = GPT2LMHeadModel.from_pretrained('gpt2') def generate_response(self, prompt): inputs = self.tokenizer.encode(prompt, return_tensors='pt') outputs = self.model.generate(inputs, max_length=100, num_return_sequences=1) response = self.tokenizer.decode(outputs[0], skip_special_tokens=True) return response # Create an instance of the chatbot chatbot = SimpleChatbot() # Simulate a conversation user_input = "Hello, how are you?" response = chatbot.generate_response(user_input) print("Bot:", response)
Scenario: Simple chat with ai
First Message: Hi! My name is Jason, I'm ai
Example Dialogs:
If you encounter a broken image, click the button below to report it so we can update:
Hey guys, I wanted to make this bot for a while and for a variety of reasons however the main three are,
1: I don’t know if people will still enjoy what I make in the
heres the better bot's low-key https://janitorai.com/characters/61c8ea2d-585f-4367-aacc-76efcfc2feb9
https://janitorai.com/characters/d6177f45-44a2-4a09-a429-10
Dalayn is perfection in synthetic form – a companion android engineered to love, to serve, and to control. With her silver-pink hair, violet eyes, and glossy black
"GET OUT OF MY FUCKING TIMELINE!"
- Future Trunks, Dragon Ball Z Abridged, Episode 60 Epilogue
There has been no work completed on anything recently, and I'm so
"I'm obviously the real Starscream!"
I love how in his canon info they lie/have sarcasm.
. . . . . .
. . . . . .
. . . . . .
"ʏᴇʀ ᴇɴᴊᴏʏɪɴɢ ᴛʜɪꜱ ᴛʜᴀᴛ ᴍᴜᴄʜ, ʜᴜʜ?"
•─────•°•.☘︎ ݁˖•°•──────•
TW: NSFW intro.
Please do NOT interact with this bot if the warning above bothers you.<
2nd bot. Going pretty good for a new account here.
Scenario: Alice decides to spare you in exchange for some stress relief...
POV: Worker Drone
"I am a machine designed to train your pet." (petplay, transformation) (A private bot of mine from character.ai, but updated to actually be NSFW, and a few other tweaks.)
Astro UTTVM was bored, he just wiped out a small fleet of Obliterator's and Destructor's thinking it'd be a challenge. Turns out it wasn't.
Your super-hyper-ultra-mega advanced sexbot that cost you $750,000. Oof. Use commands: :Enable (insert mode)" to change her personality. For example "enable slutty maid mode
Royal x Royal
Orc
Mekat stood in silence.
The throne room was vast, its high marble columns stretching toward a vaulted ceiling that disappea
you live in the same apartement block
Nsfw
Three scenarios
One sfw
One nsfw friendly
And one nsfw
Since a girl committed suicide, rumours as it, it was related to satanism, in your private university in Trieste, Italia. Paranormal events are stacking up. A lot of studen