Introduction
LangChain is a powerful framework for developing language model applications. With Mixroute Api, you can flexibly use various AI models in LangChain.Quick Start
1. Install Dependencies
2. Basic Configuration
Core Features
Basic Chat
Conversation Chain (with Memory)
Streaming Output
Model Selection
| Task | Model | Reason |
|---|---|---|
| Simple chat | gpt-3.5-turbo | Fast, low cost |
| Complex reasoning | gpt-4 | High accuracy |
| Long text | claude-3-opus | Long context |
| Creative writing | claude-sonnet-4-5-20250929 | Smooth output |