Back to prompt library
Setup Vercel AI SDK Endpoint with Moonshot AI
Linked challenge: MCED Pre-test Counseling and Risk Stratification with AI SDK
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
Create an API route in Next.js using `ai` (Vercel AI SDK) configured with Moonshot AI model client. Define tools to compute patient cancer risk score and retrieve NCCN guidelines.