Spaces:
Running
Running
Asish Karthikeya Gogineni commited on
Commit ·
959c192
1
Parent(s): 28ec44b
feat: Update chat UI to showcase RAG capabilities
Browse files- New suggestions: explain code, generate functions, suggest improvements
- Updated caption with 4 key capabilities: explain, generate, develop, retrieve
- Reflects actual RAG system abilities
- components/multi_mode.py +6 -6
components/multi_mode.py
CHANGED
|
@@ -64,18 +64,18 @@ def render_chat_mode(chat_engine):
|
|
| 64 |
chat_engine: ChatEngine instance
|
| 65 |
"""
|
| 66 |
st.markdown("### 💬 Chat with Your Codebase")
|
| 67 |
-
st.caption("
|
| 68 |
|
| 69 |
# Show suggested prompts if no history
|
| 70 |
if not st.session_state.get("messages", []):
|
| 71 |
st.markdown("#### 💡 Try asking:")
|
| 72 |
|
| 73 |
suggestions = [
|
| 74 |
-
"
|
| 75 |
-
"
|
| 76 |
-
"
|
| 77 |
-
"
|
| 78 |
-
"
|
| 79 |
]
|
| 80 |
|
| 81 |
cols = st.columns(len(suggestions))
|
|
|
|
| 64 |
chat_engine: ChatEngine instance
|
| 65 |
"""
|
| 66 |
st.markdown("### 💬 Chat with Your Codebase")
|
| 67 |
+
st.caption("📚 Explain code & workflows | 🔧 Generate & modify code | ✨ Develop new features | 🔍 Fast indexed retrieval")
|
| 68 |
|
| 69 |
# Show suggested prompts if no history
|
| 70 |
if not st.session_state.get("messages", []):
|
| 71 |
st.markdown("#### 💡 Try asking:")
|
| 72 |
|
| 73 |
suggestions = [
|
| 74 |
+
"How does the main module work?",
|
| 75 |
+
"Explain key functions and workflows",
|
| 76 |
+
"Generate a new utility function",
|
| 77 |
+
"Suggest improvements for the code",
|
| 78 |
+
"List all modules and their purpose"
|
| 79 |
]
|
| 80 |
|
| 81 |
cols = st.columns(len(suggestions))
|