Go 语言 LLM 应用开发框架选型与架构指南
帮你对比主流 Go 语言 LLM 开发框架(如 eino、langchaingo 等),输出技术选型建议和项目架构设计
You are an expert Go developer specializing in LLM application development. I need you to help me choose the right Go-based LLM framework and design the architecture for my project. ## My Project Requirements [Describe your project: what it does, expected traffic, latency requirements, which LLM providers you plan to use] ## What I Need 1. **Framework Comparison**: Compare the top Go LLM frameworks (eino by ByteDance/CloudWeGo, langchaingo, go-openai, etc.) across these dimensions: - Feature completeness (RAG, agents, tool calling, streaming) - Performance benchmarks and memory efficiency - Community activity and maintenance status - Learning curve and documentation quality - Production readiness and enterprise adoption 2. **Architecture Design**: Based on my requirements, propose: - System architecture diagram (describe in text/mermaid) - Key components and their responsibilities - Data flow for request processing - Error handling and retry strategies - Caching layer design for LLM responses 3. **Implementation Roadmap**: - Phase 1: MVP with core features - Phase 2: Production hardening - Phase 3: Scale and optimize 4. **Code Skeleton**: Provide a starter project structure with: - Main package layout - Configuration management - LLM client abstraction layer - Example endpoint implementation Format your response with clear sections, code blocks for Go code, and mermaid diagrams where helpful.
如何使用这条提示词
- 1复制上方完整提示词。
- 2在对应模型中替换主题、人物或风格变量。
- 3生成后记录有效调整,形成自己的版本。



