Skip to content

TheCarBun/Perso9

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦊 Perso9 - Create Your Personalized AI Chat Assistant!

🦊 About

Perso9 is designed to make conversational AI more personal and fun. Whether you're building an assistant or just chatting for fun, Perso9 adapts to your needs! Perso9 is a powerful and customizable AI chatbot built with Streamlit and OpenAI. With Perso9, users can define the personality, role, tone, and knowledge scope of their AI assistant and have meaningful conversations tailored to their preferences.

📌 Table of Contents

✨ Features

  • Dynamic AI Personality: Customize how your AI behaves, from tone of voice to knowledge scope.
  • Interactive Chat: Intuitive chat interface that adapts to your custom AI definition.
  • Predefined or Custom Configurations: Start with a friendly assistant or create your own unique AI.
  • Easy Deployment: Deploy on Streamlit Cloud or run locally.
  • Responsive Design: Styled with custom CSS for a clean and modern look.

🛠 Installation

Prerequisites

  • Python 3.8 or later
  • OpenAI API Key

Steps

  1. Clone the repository:

    git clone https://github.com/your-repo/perso9.git
    cd perso9
  2. Install dependencies:

    pip install -r requirements.txt
  3. Set up your OpenAI API key:
    Add the API key to a .streamlit/secrets.toml file:

    [secrets]
    OPENAI_API_KEY = "your_openai_api_key"
  4. Run the app:

    streamlit run app.py

🎮 How to Use

  1. Launch the app.
  2. Use the sidebar to customize your AI assistant:
    • Define personality, tone, knowledge scope, and more.
  3. Start chatting in the input field at the bottom of the screen.
  4. Watch your AI respond dynamically based on your customization.

🎨 Customization Options

Field Description
AI Personality Define the AI's personality (e.g., "Curious philosopher").
AI Role Specify the AI's role (e.g., "Technical advisor").
Tone of Voice Choose between Formal, Casual, Inspirational, or Technical.
Knowledge Scope Define the topics the AI knows about (e.g., "Cryptocurrency and blockchain").
Preferred Language Choose the AI's language for responses.
Custom Instructions Add unique instructions for your AI to follow.

🚀 Tech Stack


🤝 Contributing

Contributions are welcome! Follow these steps to get started:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature-branch-name
  3. Commit your changes:
    git commit -m "Add feature description"
  4. Push to the branch:
    git push origin feature-branch-name
  5. Open a Pull Request.

📜 License

This project is licensed under the MIT License. See the LICENSE file for details.