Getting Started with Conversational AI

Feature: PM-034 Conversational AI with Anaphoric Reference Resolution Implementation: Production-Ready ConversationManager Updated: 2025-08-08

Transform your product management workflow from command-based interactions to natural, context-aware conversations. Piper Morgan now understands references like “that issue”, “the document”, and “show me the first item” automatically.


Quick Start (15 Minutes)

Before: Command Mode Interaction

Traditional Approach:

User: "Create GitHub issue for login bug"
Piper: "Created issue #85 for login bug"

User: "Show me GitHub issue #85"  ← Must remember exact issue number
Piper: "Here are the details for GitHub issue #85"

Limitations:

After: Conversational AI Interaction

Natural Conversation:

User: "Create GitHub issue for login bug"
Piper: "Created issue #85 for login bug. The issue has been assigned to the development team."

User: "Show me that issue again"  ← Natural reference automatically resolved
Piper: "Here are the details for GitHub issue #85"

User: "What about the testing strategy?"  ← Context-aware follow-up
Piper: "For the login bug (#85), here's the recommended testing approach..."

Benefits:


Your First Conversational Session

Step 1: Start a Conversation (2 minutes)

Web Interface:

  1. Open Piper Morgan web interface
  2. Type your first request naturally: “Create a high priority bug for the payment processing failure”
  3. Review the generated issue and confirm creation

API Integration:

curl -X POST http://your-piper-instance/api/v1/conversation/message \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "message": "Create a high priority bug for the payment processing failure",
    "session_id": "my_session_123"
  }'

Step 2: Use Natural References (3 minutes)

Follow up with natural language:

User: "Show me that issue again"
User: "Update the bug description"
User: "What's the status of that ticket?"
User: "Assign it to the backend team"

Piper automatically resolves:

Step 3: Multi-turn Context (5 minutes)

Continue the conversation naturally:

User: "What about the testing strategy?"
Piper: "For the payment processing bug (#85), here's the recommended testing approach..."

User: "How long will the fix take?"
Piper: "Based on the payment processing issue complexity, estimated timeline is..."

User: "Create a follow-up task for the security review"
Piper: "Created security review task #86 linked to payment processing bug #85"

Context maintained throughout:

Step 4: Advanced References (5 minutes)

Test different reference types:

User: "Show me the first item from our backlog"
User: "Update the latest document"
User: "What's the status of my current task?"
User: "Close the main issue and create a follow-up"

Automatic resolution:


Natural Language Patterns

Definite References

Pattern Examples:

"Show me that issue again"
"Update the document"
"Close the bug"
"What's the status of the task?"

How it works:

Demonstrative References

Pattern Examples:

"Show me this one"
"Update that file"
"Close these items"
"What about those bugs?"

Resolution logic:

Comparative References

Pattern Examples:

"Show me the first item"
"Update the latest document"
"What's the main issue?"
"Close the oldest task"

Intelligent resolution:

Contextual References

Pattern Examples:

"What's my current task?"
"Show me our project status"
"Update the sprint backlog"
"What about the team's progress?"

Personalized resolution:


Before/After Examples

Example 1: Issue Management

Before (Command Mode):

User: "Create bug for login failure"
Piper: "Created issue #123 for login failure"

User: "Show me GitHub issue #123"  ← Must remember number
Piper: "Here are the details for GitHub issue #123"

User: "Update GitHub issue #123 with new information"  ← Repetitive
Piper: "Updated GitHub issue #123"

User: "What's the status of GitHub issue #123?"  ← Mechanical
Piper: "GitHub issue #123 is in progress"

After (Conversational AI):

User: "Create bug for login failure"
Piper: "Created issue #123 for login failure"

User: "Show me that issue again"  ← Natural reference
Piper: "Here are the details for GitHub issue #123"

User: "Update it with new information"  ← Simple reference
Piper: "Updated GitHub issue #123"

User: "What's the status?"  ← Context-aware
Piper: "The login failure issue is in progress"

Example 2: Document Management

Before (Command Mode):

User: "Upload requirements_v2.pdf"
Piper: "Uploaded requirements_v2.pdf to knowledge base"

User: "Search requirements_v2.pdf for API specifications"  ← Exact filename
Piper: "Found 3 API specifications in requirements_v2.pdf"

User: "Summarize requirements_v2.pdf"  ← Repetitive filename
Piper: "Summary of requirements_v2.pdf..."

User: "Compare requirements_v2.pdf with requirements_v1.pdf"  ← Complex
Piper: "Comparison between requirements_v2.pdf and requirements_v1.pdf..."

After (Conversational AI):

User: "Upload the new requirements document"
Piper: "Uploaded requirements_v2.pdf to knowledge base"

User: "Search it for API specifications"  ← Natural reference
Piper: "Found 3 API specifications in the requirements document"

User: "Summarize the document"  ← Simple reference
Piper: "Summary of the requirements document..."

User: "Compare it with the previous version"  ← Context-aware
Piper: "Comparison between requirements_v2.pdf and requirements_v1.pdf..."

Example 3: Project Management

Before (Command Mode):

User: "Create sprint task for user authentication"
Piper: "Created task #456 for user authentication"

User: "Show me task #456 details"  ← Must remember number
Piper: "Task #456 details..."

User: "Update task #456 status to in progress"  ← Mechanical
Piper: "Updated task #456 status"

User: "What's the priority of task #456?"  ← Repetitive
Piper: "Task #456 has high priority"

After (Conversational AI):

User: "Create sprint task for user authentication"
Piper: "Created task #456 for user authentication"

User: "Show me the task details"  ← Natural reference
Piper: "Task #456 details..."

User: "Mark it as in progress"  ← Simple reference
Piper: "Updated the authentication task status"

User: "What's the priority?"  ← Context-aware
Piper: "The user authentication task has high priority"

Troubleshooting Guide

Common Issues

Issue: “I can’t find that issue”

Issue: “Wrong item resolved”

Issue: “Context lost”

Issue: “Slow response”

Best Practices

For Best Results:

  1. Be specific when needed: “Show me the login bug” vs “Show me the bug”
  2. Use natural language: “Update it” instead of “Update GitHub issue #123”
  3. Maintain context: Keep related topics in same conversation
  4. Restart when needed: New session for completely different topics

Avoid:

Performance Tips

Optimal Usage:

When to Use:

When to Use Command Mode:


Advanced Features

Conversation Settings

Customize your experience:

{
  "context_window": 15, // Increase from default 10
  "reference_resolution": true, // Enable/disable references
  "performance_mode": "balanced", // speed/balanced/high_accuracy
  "cache_ttl": 300 // Cache duration in seconds
}

Session Management

Track conversation history:

# Get current conversation context
curl -X GET "http://your-piper-instance/api/v1/conversation/my_session_123/context"

# Update conversation settings
curl -X PUT "http://your-piper-instance/api/v1/conversation/my_session_123/settings" \
  -H "Content-Type: application/json" \
  -d '{"context_window": 15}'

Reference Resolution History

Analyze your conversation patterns:

# Get reference resolution history
curl -X GET "http://your-piper-instance/api/v1/conversation/my_session_123/references"

Sample output:

{
  "references": [
    {
      "original_text": "that issue",
      "resolved_entity": "GitHub issue #85",
      "confidence": 0.98,
      "resolution_time_ms": 15.3
    }
  ],
  "average_confidence": 0.95,
  "average_resolution_time_ms": 14.0
}

Migration from Command Mode

Quick Migration Checklist

For Existing Users:

Gradual Adoption Strategy

Week 1: Experiment

Week 2: Expand Usage

Week 3: Full Adoption

Command Mode Fallback

When to use exact identifiers:

Example fallback:

User: "Show me that issue"  ← Conversational
Piper: "I can't find a specific issue in our conversation"

User: "Show me GitHub issue #85"  ← Command mode fallback
Piper: "Here are the details for GitHub issue #85"

Success Metrics

Personal Success Indicators

You’re successfully using Conversational AI when:

Team Success Indicators

Your team is successfully adopting when:

Performance Benchmarks

Target Performance:

Current Performance (PM-034 Phase 3):


Next Steps

Immediate Actions

  1. Try your first conversation: Start with a simple issue creation
  2. Test reference resolution: Use “that issue” in follow-up messages
  3. Explore natural patterns: Try different reference types
  4. Practice multi-turn context: Keep related topics in same conversation

Advanced Learning

  1. Read “Understanding Anaphoric References”: Deep dive into reference resolution
  2. Explore “Conversation Memory and Context”: Learn about context window management
  3. Review “Upgrading from Command Mode”: Complete migration guide
  4. Practice with Real Examples: Test conversation scenarios

Support Resources


Next Steps


Ready to start? Begin with a simple conversation and experience the transformation from command mode to natural, context-aware interactions!