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
- 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.
- Python 3.8 or later
- OpenAI API Key
-
Clone the repository:
git clone https://github.com/your-repo/perso9.git cd perso9
-
Install dependencies:
pip install -r requirements.txt
-
Set up your OpenAI API key:
Add the API key to a.streamlit/secrets.toml
file:[secrets] OPENAI_API_KEY = "your_openai_api_key"
-
Run the app:
streamlit run app.py
- Launch the app.
- Use the sidebar to customize your AI assistant:
- Define personality, tone, knowledge scope, and more.
- Start chatting in the input field at the bottom of the screen.
- Watch your AI respond dynamically based on your customization.
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. |
- Frontend: Streamlit
- Backend: OpenAI API
- Styling: Custom CSS
Contributions are welcome! Follow these steps to get started:
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch-name
- Commit your changes:
git commit -m "Add feature description"
- Push to the branch:
git push origin feature-branch-name
- Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.