Query the Next.js documentation RAG API for the topic: $ARGUMENTS
Steps:
- Call the RAG API:
curl -s -X POST "https://next-docs-agentic-rag.labs.vercel.dev/api/rag" \
-H "Content-Type: application/json" \
-d "$(jq -n --arg q "$ARGUMENTS" '{query: $q}')"
-
Read the returned documentation carefully.
-
Present a concise summary of the relevant Next.js documentation, citing specific doc file paths where applicable.