How do I get started with cascadeflow? #60
Replies: 1 comment
-
from cascadeflow import CascadeAgent, ModelConfig Define cheap and expensive modelsmodels = [ agent = CascadeAgent( async def run(): import asyncio Integrate with LangChain from langchain import ChatOpenAI drafter = ChatOpenAI(model="gpt-4o-mini") cascade = CascadeFlow( Use
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
New to cascadeflow? Here's everything you need to get started!
Quick Start
Python
TypeScript
Resources
Common Questions
Q: Which models should I use?
A: We recommend Claude-3.5-Haiku + GPT-5 for best results. See Presets Guide.
Q: How much can I save?
A: Most users see 40-85% cost reduction depending on their use case.
Q: Does it work with streaming?
A: Yes! Both Python and TypeScript support streaming responses.
Have more questions? Ask below!
Beta Was this translation helpful? Give feedback.
All reactions