AI Assistant Module Guide7 months ago
AI Assistant Module | Overview | Quick Start | 1. API Key Setup | 2. Basic Usage | Option A: Use with jsBasicGadget | Option B: Standalone Shiny App | Features | Code Generation | Multiple AI Providers | Export Options | Safety Features | Important Notes | Data Access | Allowed Packages | Variable Structure | API Key Resolution Order | API Configuration Modes | show_api_config = TRUE (Default) | show_api_config = FALSE | Advanced Usage | Custom Variable Structure | Analysis Context | Production Deployment | Troubleshooting | API Key Not Found | Code Execution Errors | Summary Results Too Fragmented | Text Output Shows Escape Sequences | Best Practices | 1. Be Specific in Questions | 2. Review Generated Code | 3. Provide Context | 4. Use Appropriate Model | 5. Iterative Refinement | Limitations | Examples | Example 1: Descriptive Statistics | Example 2: Survival Analysis | Example 3: Visualization | Example 4: Model Diagnostics | Security Considerations | Code Execution Security | Environment-Aware Execution (Development vs Production) | Basic Security Features | API Key Security | Best Practices by Deployment Type | API Key Storage Locations | Compliance Considerations | Recommended Security Setup | Support | License
