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

Files changed (1) hide show
  1. 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("Ask questions about your code, get explanations, and more")
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
- "Explain how authentication works",
75
- "Find all database queries",
76
- "What are the main entry points?",
77
- "Show me the API endpoints",
78
- "Explain the data flow"
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))