added cookbook for batch api#5
Conversation
|
Warning Review limit reached
More reviews will be available in 20 minutes and 20 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@cookbook/batch-review-tagging.mdx`:
- Line 609: Update the example sentence in cookbook/batch-review-tagging.mdx
(the line starting "Cap batch size by your real SLO, not the 100 MB file
limit.") to remove the impossible "a million-line batch" example and replace it
with a realistic batch size within the Batch API limits (e.g., "a 50,000-line
batch" or "a batch near the 50k-line limit") so the guidance matches the
documented 50,000-line per-batch constraint and clarifies the recommendation to
pick chunk sizes that fit the completion_window.
- Line 609: Replace the incorrect "100 MB file limit" text with the correct
Batch API limit: "200 MB (209,715,200 bytes) file limit" in the sentence that
currently reads "**Cap batch size by your real SLO, not the 100 MB file
limit.**" (update the phrase so it reads "**Cap batch size by your real SLO, not
the 200 MB (209,715,200 bytes) file limit.**") to accurately reflect the API
limit in cookbook/batch-review-tagging.mdx.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 284e6a43-2e54-4515-a801-913396281c92
⛔ Files ignored due to path filters (1)
cookbook/batch-review-tagging/reviews.csvis excluded by!**/*.csv
📒 Files selected for processing (2)
cookbook/batch-review-tagging.mdxcookbook/batch-review-tagging/input.jsonl
…20labs/docs into batch-api-cookbook
Adds a complete Batch API cookbook demonstrating how to tag a CSV of customer reviews overnight.
Includes:
Jira
Summary by CodeRabbit