{"id":31785434,"url":"https://github.com/filaforge/filament-chat-ai","last_synced_at":"2026-01-20T16:33:02.576Z","repository":{"id":310719165,"uuid":"1040959737","full_name":"filaforge/filament-chat-ai","owner":"filaforge","description":"Filament plugin for AI chat functionality","archived":false,"fork":false,"pushed_at":"2025-08-19T23:31:45.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-10T11:55:08.591Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/filaforge.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-19T19:07:19.000Z","updated_at":"2025-08-19T20:58:06.000Z","dependencies_parsed_at":"2025-08-25T05:30:37.481Z","dependency_job_id":null,"html_url":"https://github.com/filaforge/filament-chat-ai","commit_stats":null,"previous_names":["filaforge/filament-chat-ai"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/filaforge/filament-chat-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filaforge%2Ffilament-chat-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filaforge%2Ffilament-chat-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filaforge%2Ffilament-chat-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filaforge%2Ffilament-chat-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/filaforge","download_url":"https://codeload.github.com/filaforge/filament-chat-ai/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filaforge%2Ffilament-chat-ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28607273,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-10T11:55:06.997Z","updated_at":"2026-01-20T16:33:02.561Z","avatar_url":"https://github.com/filaforge.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Filaforge Chat AI\n\nA powerful Filament plugin that integrates AI chat capabilities directly into your admin panel.\n\n## Features\n\n- **AI Chat Interface**: Seamless chat experience with AI models\n- **Multiple AI Providers**: Support for various AI services\n- **Conversation History**: Keep track of all your AI conversations\n- **Customizable Prompts**: Create and save custom prompt templates\n- **File Upload Support**: Send files to AI for analysis\n- **Response Export**: Save and share AI responses\n- **Real-time Chat**: Live chat experience with streaming responses\n\n## Installation\n\n### 1. Install via Composer\n\n```bash\ncomposer require filaforge/chat-ai\n```\n\n### 2. Publish \u0026 Migrate\n\n```bash\n# Publish provider groups (config, views, migrations)\nphp artisan vendor:publish --provider=\"Filaforge\\\\ChatAi\\\\Providers\\\\ChatAiServiceProvider\"\n\n# Run migrations\nphp artisan migrate\n```\n\n### 3. Register Plugin\n\nAdd the plugin to your Filament panel provider:\n\n```php\nuse Filament\\Panel;\n\npublic function panel(Panel $panel): Panel\n{\n    return $panel\n        // ... other configuration\n        -\u003eplugin(\\Filaforge\\ChatAi\\Providers\\ChatAiPanelPlugin::make());\n}\n```\n\n## Setup\n\n### Configuration\n\nThe plugin will automatically:\n- Publish configuration files to `config/chat-ai.php`\n- Publish view files to `resources/views/vendor/chat-ai/`\n- Publish migration files to `database/migrations/`\n- Register necessary routes and middleware\n\n### AI Provider Configuration\n\nConfigure your AI provider in the published config file:\n\n```php\n// config/chat-ai.php\nreturn [\n    'default_provider' =\u003e 'openai',\n    'providers' =\u003e [\n        'openai' =\u003e [\n            'api_key' =\u003e env('OPENAI_API_KEY'),\n            'model' =\u003e 'gpt-4',\n        ],\n        'anthropic' =\u003e [\n            'api_key' =\u003e env('ANTHROPIC_API_KEY'),\n            'model' =\u003e 'claude-3-sonnet',\n        ],\n    ],\n];\n```\n\n### Environment Variables\n\nAdd these to your `.env` file:\n\n```env\nOPENAI_API_KEY=your_openai_api_key_here\nANTHROPIC_API_KEY=your_anthropic_api_key_here\n```\n\n## Usage\n\n### Accessing the Chat AI\n\n1. Navigate to your Filament admin panel\n2. Look for the \"Chat AI\" menu item\n3. Start chatting with AI models\n\n### Starting a Conversation\n\n1. **Select AI Model**: Choose from available AI providers\n2. **Type Your Message**: Enter your question or prompt\n3. **Send Message**: Submit your message to the AI\n4. **View Response**: See the AI's response in real-time\n5. **Continue Chat**: Keep the conversation going\n\n### Advanced Features\n\n- **File Uploads**: Send documents, images, or other files\n- **Prompt Templates**: Save and reuse common prompts\n- **Conversation Export**: Download chat history\n- **Custom Settings**: Adjust AI parameters and behavior\n\n## Troubleshooting\n\n### Common Issues\n\n- **API key errors**: Verify your API keys are correct and have sufficient credits\n- **Rate limiting**: Check your AI provider's rate limits\n- **Model not available**: Ensure the selected model is available in your plan\n- **File upload issues**: Check file size limits and supported formats\n\n### Debug Steps\n\n1. Check the plugin configuration:\n```bash\nphp artisan config:show chat-ai\n```\n\n2. Verify routes are registered:\n```bash\nphp artisan route:list | grep chat-ai\n```\n\n3. Test API connectivity:\n```bash\nphp artisan tinker\n# Test your API keys manually\n```\n\n4. Clear caches:\n```bash\nphp artisan optimize:clear\n```\n\n5. Check logs for errors:\n```bash\ntail -f storage/logs/laravel.log\n```\n\n## Uninstall\n\n### 1. Remove Plugin Registration\n\nRemove the plugin from your panel provider:\n```php\n// remove -\u003eplugin(\\Filaforge\\ChatAi\\Providers\\ChatAiPanelPlugin::make())\n```\n\n### 2. Roll Back Migrations (Optional)\n\n```bash\nphp artisan migrate:rollback\n# or roll back specific published files if needed\n```\n\n### 3. Remove Published Assets (Optional)\n\n```bash\nrm -f config/chat-ai.php\nrm -rf resources/views/vendor/chat-ai\n```\n\n### 4. Remove Package and Clear Caches\n\n```bash\ncomposer remove filaforge/chat-ai\nphp artisan optimize:clear\n```\n\n## Support\n\n- **Documentation**: [GitHub Repository](https://github.com/filaforge/chat-ai)\n- **Issues**: [GitHub Issues](https://github.com/filaforge/chat-ai/issues)\n- **Discussions**: [GitHub Discussions](https://github.com/filaforge/chat-ai/discussions)\n\n## Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.\n\n## License\n\nThis plugin is open-sourced software licensed under the [MIT license](LICENSE).\n\n---\n\n**Made with ❤️ by the Filaforge Team**\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilaforge%2Ffilament-chat-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilaforge%2Ffilament-chat-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilaforge%2Ffilament-chat-ai/lists"}