💬AI Assistant
Use the AI assistant for quick help, code queries, and document search
Your intelligent assistant for platform help and knowledge queries
📖 Table of Contents
Overview
What is the AI Assistant?
The AI Assistant is your built-in chatbot that can answer questions about:
Platform features: How to use Automatos AI
Your documents: Search and query your knowledge base
Your code: Ask about code in indexed repositories
Troubleshooting: Get help with errors and issues
Access: Click Assistant in sidebar, or click chat icon (💬) anywhere

What Can You Ask?
Platform Help:
"How do I create an agent?"
"What's the difference between workflows and agents?"
"How do I upload documents?"
Document Queries:
"What does our security policy say about passwords?"
"Summarize the Q4 report"
"Find deployment procedures"
Code Queries (if CodeGraph enabled):
"How is authentication implemented?"
"Where is the payment processing code?"
"Show me examples of error handling"
Troubleshooting:
"Why did my workflow fail?"
"Agent not executing tasks - help!"
"Document upload stuck - what to do?"
Quick Start
Ask Your First Question (1 Minute)
Goal: Get help from AI Assistant
Steps:
Click Assistant in sidebar
Type question: "How do I create an agent?"
Press Enter
Get instant response with links
Follow links for detailed guides
⏱️ Time: 30 seconds 🎯 Result: Answer with documentation links
Chat Interface
Layout
The chat interface has 3 main sections:

1. Welcome Message (on first load)
💡 Tooltip: "Introduces the assistant and suggests starter questions"
Displays:
Welcome text
Suggested questions (click to ask)
Feature highlights
Quick tips
Suggested Questions:
"How do I create my first agent?"
"What are workflows?"
"How do I upload documents?"
"Show me example workflows"

2. Message History
💡 Tooltip: "Conversation history. Scroll to see previous messages."
Shows:
All messages in conversation
Your messages (right side, blue)
Assistant messages (left side, gray)
Timestamps
Code snippets (formatted)
Document references (with links)
Message Features:
Auto-scroll to latest
Copy message text
Regenerate response (if unsatisfied)
Share conversation

3. Input Area
Text Input 💡 Tooltip: "Type your question or message. Press Enter to send, Shift+Enter for new line."
Multi-line support
Auto-resize as you type
Character count (if long)
Send Button 💡 Tooltip: "Send message to assistant. Also: press Enter"
Disabled while assistant is typing
Shows spinner during response
Keyboard shortcut: Enter
Attach Button (optional) 💡 Tooltip: "Attach code snippet or document reference for context"
Paste code
Link to document
Add screenshot (future)

Message Types
User Messages
Your messages appear:
Right-aligned
Blue background
Your avatar/initials
Timestamp
Message Actions (hover):
Copy text
Edit message (resend)
Delete message

Assistant Messages
Assistant messages appear:
Left-aligned
Gray background
AI icon
Timestamp
Rich Content Support:
Plain Text
Standard text responses with:
Markdown formatting
Bold, italic,
codeLists and bullets
Paragraphs

Code Blocks
Formatted code with syntax highlighting:
Code Block Features:
Syntax highlighting (via Prism.js)
Language badge (Python, JavaScript, etc.)
Copy button (one-click copy)
Line numbers (optional)

Links
Clickable links to:
Documentation pages
Agent details
Workflow results
Document previews
Link Preview (hover):
Shows link destination
Preview tooltip
Safe link indicator
Code Snippets
Code References Panel
When assistant includes code, a side panel may appear:
💡 Tooltip: "Extracted code snippets for easy reference and copying"

Features:
Code Snippet Cards:
Title: Description of what code does
Language: Programming language
Source: Where code is from (if from CodeGraph)
Code: Formatted, highlighted code
Copy Button: Copy to clipboard
Example Snippet Card:
Actions:
📋 Copy: Copy code to clipboard
📄 View Full File: Open source file (if CodeGraph)
🤖 Explain: Ask assistant to explain this code
✏️ Modify: Get help modifying code
Code Execution (Future Feature)
🔧 Advanced (coming soon)
Run code snippets in sandbox
See execution results
Test before using
Save to library
Document References
Document Panel
When assistant references documents, a panel shows sources:
💡 Tooltip: "Documents referenced in response. Click to view full document."

Reference Cards:
Each document shows:
📄 Document Name
Page/Section: Where content is from
Relevance: Similarity score
Preview: Relevant excerpt
Example Reference:
Actions:
👁️ View: Open document viewer
📋 Copy: Copy excerpt
🔍 Search More: Find related content in document
⬇️ Download: Download full document
Context Sources
Shows where assistant got information:
Source Types:
📚 Knowledge Base: Your uploaded documents
💻 CodeGraph: Your indexed code
📖 Platform Docs: Built-in documentation
🧠 Agent Memory: Learned from past interactions
Transparency:
All sources cited
Click to verify
See similarity scores
Trust and verify responses
Common Tasks
Task 1: Getting Platform Help
Scenario: You don't know how to do something
Steps:
Open AI Assistant
Ask naturally: "How do I configure credentials for Slack?"
Get response with:
Step-by-step instructions
Links to Settings page
Relevant documentation links
Follow instructions
Ask follow-up if needed: "What permissions do I need?"
⏱️ Time: 1-2 minutes 🎯 Result: Clear guidance
Task 2: Searching Your Documents
Scenario: Find information in your knowledge base
Steps:
Open AI Assistant
Ask: "What does our API documentation say about rate limiting?"
Assistant searches your documents
Returns answer with document references
Click reference to open full document
Get exact information needed
⏱️ Time: 30 seconds 🎯 Result: Found information with source
Task 3: Understanding Your Code
Scenario: Need to understand code in your repository
Prerequisites: CodeGraph project indexed
Steps:
Open AI Assistant
Ask: "How does user authentication work in our app?"
Assistant searches CodeGraph
Returns explanation with code references
Click code reference to see full file
Ask follow-up: "Show me the password hashing function"
⏱️ Time: 1-2 minutes 🎯 Result: Code understanding with examples
Task 4: Troubleshooting Errors
Scenario: Workflow failed with error
Steps:
Copy error message from workflow
Open AI Assistant
Paste error: "Error: Agent timeout after 5 minutes"
Get explanation and solutions:
What this error means
Common causes
How to fix
Apply suggested solution
Ask if unclear: "How do I increase the timeout?"
⏱️ Time: 2-3 minutes 🎯 Result: Error resolved
Advanced Features
Conversation Context
🔧 Advanced
The assistant maintains conversation context:
Context Awareness:
Remembers previous questions in session
Understands follow-up questions
References earlier code snippets
Builds on previous answers
Example:
Managing Context:
Clear Context: Start fresh conversation
Export Conversation: Save chat history
Bookmark Response: Save specific answer
Multi-Turn Conversations
Complex questions broken into turns:
Benefits:
Break complex tasks into steps
Interactive guidance
Contextual follow-ups
Session Management
Sessions persist:
Conversation saved across page navigation
Return to continue conversation
Sessions expire after 24 hours inactivity
Starting New Session:
Click "New Conversation" button
Clears current context
Fresh start
Tips & Best Practices
Asking Good Questions
💡 Best Practices:
Good questions:
✅ "How do I add Slack integration to an agent?"
✅ "What's causing error: 'Agent timeout exceeded'?"
✅ "Show me the authentication code in auth_service.py"
Poor questions:
❌ "help"
❌ "not working"
❌ "code"
Question Tips:
Be specific about what you need
Include error messages (copy-paste)
Mention what you've already tried
Provide context (which page, which agent, etc.)
Using Code Queries
For CodeGraph queries:
Mention file names when known
Use technical terms from your codebase
Ask about specific functions/classes
Follow up for details
Example Flow:
Getting Document Information
For document queries:
Mention document name if known
Ask specific questions
Request summaries for long docs
Ask for specific sections
Example:
Troubleshooting
Assistant Not Responding
Symptom: Message sent but no response
Solutions:
Check connection:
Look for connection status indicator
Green = connected, Red = disconnected
Refresh page if disconnected
Wait longer:
Complex queries take 5-10 seconds
Document searches take 3-5 seconds
Code queries take 2-4 seconds
Check message length:
Very long messages may timeout
Break into smaller questions
Retry:
Click retry button (if appears)
Or rephrase and send again
Incorrect or Unhelpful Responses
Symptom: Assistant gives wrong answer
Solutions:
Provide more context:
Add details about what you're trying to do
Mention specific page or feature
Include error messages
Rephrase question:
Try different wording
Break into multiple questions
Be more specific
Verify sources:
Check document references
Verify code snippets
Cross-check with documentation
Give feedback:
Thumbs up/down on responses
Helps improve assistant
No Code References
Symptom: Asked about code but no code shown
Solutions:
Check CodeGraph:
Is your code indexed?
Go to Knowledge → CodeGraph
Verify project exists
Be specific:
Mention file names
Include function/class names
Ask about specific files
Check project selection:
Some setups have multiple projects
Specify which project
"In the backend project, where is..."
No Document References
Symptom: Asked about documents but assistant doesn't find them
Solutions:
Check documents processed:
Knowledge → Library
Verify status is "Processed" (green)
Try keyword search:
Use exact terms from document
Include document name if known
Upload document:
May not be in knowledge base
Upload and wait for processing
Try query again
Related Guides
Knowledge Base Guide: Upload documents for chatbot queries
CodeGraph: Index code for code queries
Agents Guide: Learn about agents (chatbot can explain)
Keyboard Shortcuts
Ctrl/Cmd + K: Focus chat input
Enter: Send message
Shift + Enter: New line in message
Esc: Close chat (if modal)
↑ Arrow: Edit last message
Ctrl/Cmd + L: Clear conversation
FAQ
Is the chatbot connected to my knowledge base?
Yes! The assistant can search:
Your uploaded documents
Your indexed code (CodeGraph)
Platform documentation
Agent memories
How it works:
You ask a question
Assistant searches knowledge base
Retrieves relevant content
Generates answer with citations
What language models power the assistant?
Default: GPT-4 Turbo for best quality
Can be configured in Settings → System Settings → Chatbot Configuration
Options:
GPT-4 Turbo: Best quality, moderate speed
GPT-4: High quality, slower
GPT-3.5 Turbo: Fast, lower cost
Does it remember conversations?
Within session: Yes
Conversation context maintained
Follow-up questions work
References previous messages
Across sessions: No (currently)
Future feature: conversation history
Workaround: Export important conversations
Can I disable the assistant?
Yes, in Settings → System Settings → Features:
Disable chatbot toggle
Removes from navigation
Clears chat data (optional)
How accurate are the responses?
Generally high accuracy when:
✅ Asking about platform features (>95%)
✅ Querying your documents (>90%)
✅ CodeGraph queries (>85%)
Less accurate when:
⚠️ Complex multi-step questions
⚠️ Very recent features
⚠️ Ambiguous questions
Always:
Check sources
Verify code snippets
Test suggestions before applying
Next: Tools Guide →
Learn to integrate 400+ tools with your agents
Last updated

