Closed karansohi closed 11 months ago
The recent updates introduce comprehensive guidance and examples for managing API quotas and rate limiting using the Aperture SDK. New documents and scripts have been added to assist users in setting up quota scheduling policies and monitoring their performance. The SDK examples have been enriched with functions to initialize the Aperture Client, handle request rate limits, and schedule requests based on user tiers, enhancing the developer experience with practical, executable code.
File Path | Change Summary |
---|---|
docs/content/guides/api-quota-management.md |
Added new document for API Quota Management with Aperture SDK instructions and examples. |
docs/content/guides/assets/managing-quotas/validate.sh |
Introduced new Bash script for validating quota management setups. |
docs/content/guides/assets/per-user-rate-limiting/validate.sh |
Updated paths for copying generated policy and graph files. |
docs/content/guides/openai.md |
Updated sidebar position and import paths for managing OpenAI API rate limits. |
docs/content/guides/per-user-rate-limiting.md |
Added instructions for setting up and monitoring rate limiting policies in Aperture. |
sdks/aperture-js/example/quota_scheduler_example.ts |
Added new SDK example for quota scheduling with ApertureClient and inquirer . |
sdks/aperture-js/example/rate_limit_example.ts |
Added new SDK example for rate limiting with ApertureClient and inquirer . |
🐇✨ In the land of code where the data streams flow,
The Aperture SDK has put on a show.
With quotas and limits all neatly in line,
The rabbits rejoice, "The API's fine!"
🎉🐰
Description of change
Checklist
Summary by CodeRabbit
Documentation
New Features
Refactor