CustomAI Studio is a Streamlit-based application for creating and managing AI assistants. This application allows users to input custom prompts or auto-generate prompts for new assistants, interact with the assistants through a chat interface, and manage multiple assistants.
- Create Assistants: Input custom prompts or auto-generate prompts for new assistants.
- Chat Interface: Interact with assistants using a chat interface.
- Assistant Management: Select, create, and delete assistants easily.
-
Clone the repository:
git clone https://github.com/yusufgencer/CustomAI-Studio.git cd customai-studio
-
Install the required packages:
pip install -r requirements.txt
Run the Streamlit application:
streamlit run streamlit_app/main.py
The application sets up the page configuration with a custom SVG icon, wide layout, and a friendly "About" message.
The sidebar includes:
- An image at the top.
- Input for the Groq API key.
- Buttons to navigate between the "Chat Page" and "Create Assistant" page.
- Assistant selection and management options.
Prompts are read from a specified directory and initialized in the session state. The application includes a default assistant prompt and any additional prompts read from the directory.
On the "Chat Page", users can:
- Select a model.
- Input prompts.
- View chat responses from the assistant.
- Clear chat history.
On the "Create Assistant" page, users can:
- Enter an assistant name.
- Choose between inputting a custom prompt or auto-generating a prompt.
- Create a new assistant with the specified prompt.
Contributions are welcome! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
Developed by Yusuf Gencer. Feel free to reach out on LinkedIn for any questions or feedback.