चैट से शुरू करें
अगले कदम
- एक्शन जोड़ें: टूल्स — model को आपकी functions कॉल करने दें
- बाहरी टूल्स कनेक्ट करें: MCP Servers — होस्टेड MCP सर्वर्स का उपयोग करें
- वर्कफ़्लो को स्ट्रीम करें: स्ट्रीमिंग — प्रगति रियल‑टाइम में दिखाएँ
संदेश भेजें और किसी भी model से उत्तर प्राप्त करें
import asyncio
from dedalus_labs import AsyncDedalus, DedalusRunner
from dotenv import load_dotenv
load_dotenv()
async def main():
client = AsyncDedalus()
runner = DedalusRunner(client)
response = await runner.run(
input=(
"I want to find the nearest basketball games in January in San Francisco.\n\n"
"For now, do NOT make up events. Instead:\n"
"1) Ask any clarifying questions you need.\n"
"2) Propose a short plan for how you would find events.\n"
"3) List the fields you'd extract for each event (for a table later)."
),
model="anthropic/claude-opus-4-5",
)
print(response.final_output)
if __name__ == "__main__":
asyncio.run(main())
वाज़ दिस पेज हेल्पफुल