Overview
The chat interface is your primary means of interaction with Factory. It combines natural language communication with powerful context-aware features to help you accomplish your development tasks efficiently.Key Features
Context Integration
Seamlessly incorporate code, documentation, and other context
@ Commands
Quick access to repositories, files, and external resources
Chat History
Navigate and branch conversations with visual history tracking
Using @ Commands
Factory provides several @ commands for quick context access:Available Commands
@file
@file
Access specific files:Brings in file contents and history
@repo
@repo
Reference entire repositories:Includes repository information and structure
@ticket
@ticket
Link to issue tracking:Retrieves ticket details and comments
@pr
@pr
Reference pull requests:Includes PR description and changes
Chat History
The chat history feature helps you navigate and manage your conversations effectively.Visual History Graph
1
Access History
Open the Chat History panel to view a visual graph of your conversation
2
Navigate Branches
Click on different nodes to move between conversation states
3
Create Branches
Start new conversation branches from any point in history
4
Track Context
See how context changes affect your conversation flow
History Features
- Branch Management: Create and switch between different conversation paths
- Context Tracking: Visualize when context was added or modified
- State Navigation: Jump to specific points in your conversation
- Branch Comparison: Compare different approaches to the same problem
Best Practices
1. Clear Communication
- Use specific, detailed questions
- Break complex requests into steps
- Provide necessary context upfront
- Ask for clarification when needed
2. Context Management
- Use @ commands strategically
- Keep context relevant and focused
- Update context when requirements change
- Remove outdated context
3. History Navigation
- Create branches for different approaches
- Label important conversation points
- Use history to compare solutions
- Clean up unused branches
4. Effective Questioning
- Start broad, then narrow down
- Include relevant details
- Reference specific context
- Follow up on unclear points
Advanced Features
Code Interaction
File Handling
- Upload files directly to chat
- Reference uploaded files in conversation
- Export chat contents and fragments
Keyboard Shortcuts
-
↑
: Edit last message -
Cmd/Ctrl + K
: Command palette -
Cmd/Ctrl + /
: Quick commands -
Cmd/Ctrl + B
: Toggle sidebar
Troubleshooting
Context Not Loading
Context Not Loading
- Verify file paths
- Check repository access
- Refresh context panel
- Clear cache if needed
History Issues
History Issues
- Ensure stable connection
- Check for browser updates
- Clear browser cache
- Reload session if needed