https://github.com/enoobis/character_ai_bot
https://github.com/enoobis/character_ai_bot
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/enoobis/character_ai_bot
- Owner: enoobis
- Created: 2023-10-25T06:57:52.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-25T07:21:49.000Z (almost 2 years ago)
- Last Synced: 2025-06-22T07:03:55.152Z (4 months ago)
- Language: Python
- Homepage: replit.com/@enoobis1/aibot
- Size: 34.6 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Character AI Bot
Character AI Bot is a Python application that interacts with the CharacterAI API to simulate conversations with an AI character.
## Table of Contents
- [Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Usage](#usage)
- [Examples](#examples)
- [License](#license)## Getting Started
### Prerequisites
Before using Character AI Bot, you need to set up your environment and obtain API credentials:
1. You must have Python 3.x installed on your machine.
2. You need to sign up for an API key from CharacterAI and store it as an environment variable. You can find more information on how to obtain the API key in the [CharacterAI documentation](https://github.com/kramcat/CharacterAI).```shell
export CLIENT=your-api-key
export CHAR=your-character-identifier
```# Installation
1. Clone the repository to your local machine:
```shell
git clone https://github.com/your-username/character_ai_bot.git
cd character_ai_bot
```
2. Install the required Python packages:
```shell
pip install -r requirements.txt
```
# UsageTo use Character AI Bot, follow these steps:
1. Run the Python script:
```shell
python character_ai_bot.py
```
2. The bot will prompt you for input. You can enter your message, and the bot will send it to the AI character and display the response.
3. Interact with the bot by providing input and receiving responses.# Examples
```
You: Hello, how are you?
AI Bot: I'm doing well, thank you! How can I assist you today?You: Tell me a joke.
AI Bot: Why did the AI break up with the computer? It had too many trust issues!You: Goodbye!
AI Bot: Farewell! Have a great day.
```
#License
This project is licensed under the MIT License