ask-next

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Query the Next.js documentation RAG API for the topic: $ARGUMENTS
Steps:
  1. Call the RAG API:
bash
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}')"
  1. Read the returned documentation carefully.
  2. Present a concise summary of the relevant Next.js documentation, citing specific doc file paths where applicable.
查询Next.js文档RAG API获取对应主题内容:$ARGUMENTS
步骤:
  1. 调用RAG API:
bash
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}')"
  1. 仔细阅读返回的文档内容。
  2. 给出相关Next.js文档的简洁总结,适用情况下标注具体的文档文件路径。