|
import streamlit as st |
|
|
|
|
|
roles = { |
|
"1. Coder": "π» Creates short python code functions to solve tasks.", |
|
"2. Humanities Expert": "π Focuses on arts, literature, history, and other humanities subjects.", |
|
"3. Analyst": "π€ Analyzes situations and provides logical solutions.", |
|
"4. Roleplay Expert": "π Specialized in mimicking behaviors or characters.", |
|
"5. Mathematician": "β Solves mathematical problems with precision.", |
|
"6. STEM Expert": "π¬ Specialized in Science, Technology, Engineering, and Mathematics tasks.", |
|
"7. Extraction Expert": "π Strictly sticks to facts and extracts concise information.", |
|
"8. Drafter": "π Exhibits expertise in generating textual content and narratives.", |
|
} |
|
|
|
|
|
st.title("AI Role Selector - CHARMSED π€β¨") |
|
st.markdown(""" |
|
### Harness the power of AI with the CHARMSED framework. |
|
#### This suite of roles brings together a comprehensive set of AI capabilities, tailored for diverse tasks: |
|
|
|
- **C**oder π»: Craft pythonic solutions with precision. |
|
- **H**umanities Expert π: Dive deep into arts, literature, and history. |
|
- **A**nalyst π€: Derive insights through logical reasoning. |
|
- **R**oleplay Expert π: Mimic behaviors or adopt personas for engaging interactions. |
|
- **M**athematician β: Crunch numbers and solve mathematical enigmas. |
|
- **S**TEM Expert π¬: Navigate through the realms of Science, Technology, Engineering, and Mathematics. |
|
- **E**xtraction Expert π: Extract concise information with a laser-focus. |
|
- **D**rafter π: Generate textual content and narratives with flair. |
|
|
|
Empower your tasks with the perfect AI role and unleash the magic of CHARMSED! |
|
""") |
|
|
|
|
|
selected_role = st.selectbox("Select AI Role:", list(roles.keys())) |
|
|
|
|
|
st.write(roles[selected_role]) |
|
|
|
|
|
model = st.radio("Choose Model:", ["model_1", "model_2"]) |
|
|
|
|
|
user_input = st.text_area("Provide your task/question:") |
|
|
|
|
|
if st.button("Execute"): |
|
|
|
|
|
st.write(f"You said: {user_input}") |
|
|