fluxninja / aperture

Rate limiting, caching, and request prioritization for modern workloads
https://docs.fluxninja.com
Apache License 2.0
622 stars 24 forks source link

Update Guides #3060

Closed karansohi closed 9 months ago

karansohi commented 9 months ago

Description of change

Checklist

Summary by CodeRabbit

coderabbitai[bot] commented 9 months ago

Walkthrough

The project has introduced a bash script to streamline validation and updated its YAML configurations, indicating a policy shift from a 'TPM' to an 'RPM' model. This reflects an adjustment in resource allocation parameters, possibly for managing user requests or quotas more effectively.

Changes

File Path Change Summary
.../openai/validate.sh Added a new bash script for validation processes within the project.
.../guides/openai.md Updated YAML configurations: changed policy name and adjusted resource allocation values.
values1.yaml Removed selectors for openai control point with specific match_labels.
values2.yaml Added new policy name gpt-4-rpm and updated bucket_capacity and fill_amount.
.../aperture-js/example/ui_snippets.ts Altered UIQSTokens and QSUI functions, changing properties like priority and workload.

🐇✨ In the code where we hop and play, A new script joins the fray. Policies shift, quotas bend, In YAML files, a rabbit's amend. 🌟📜


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - You can reply to a review comment made by CodeRabbit. - You can tag CodeRabbit on specific lines of code or files in the PR by tagging `@coderabbitai` in a comment. - You can tag `@coderabbitai` in a PR comment and ask one-off questions about the PR and the codebase. Use quoted replies to pass the context for follow-up questions. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Additionally, you can add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.v2.json). - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json`