Repository navigation
2.1. OpenAI Integration
The current integration has been completed using the OpenAI API.
To ensure sufficient performance when using this application, your OpenAI account should have an appropriate rate limit.
We recommend using at least Tier 4, which generally requires purchasing an initial $250 USD credit.
Depending on your OpenAI subscription tier, your account may be subject to different limitations, including:
- Available models
- Requests per minute
- Tokens per minute
- Other usage restrictions defined by OpenAI
These limits can directly affect the performance and availability of the application.
The application manages rate limits by returning an HTTP error when a limit is reached.
When the rate limit is exceeded, the application returns:
HTTP 429 Too Many RequestsThis ensures that the request can be postponed and retried after the delay specified by the error response. There is a dedicated layer that manages this event, but an internal limitation is in place to prevent indefinite postponement.
If postponing requests is not sufficient because rate limits are reached consistently, you should consider upgrading your OpenAI tier.
To increase your limits, you may need to purchase the required minimum credit amount to qualify for a higher tier, such as Tier 5.
Upgrading your tier can provide higher limits for:
- Model access
- Calls per minute
- Tokens per minute
- Overall throughput
As a best practice for safeguarding your overall credit budget, you should create a dedicated project in your OpenAI account with a defined monthly budget and spending alerts. This helps you maintain better control over your financial operations.
For better security, it is recommended to use a dedicated API key for this application.
This approach makes it easier to revoke or rotate the key if needed, without causing outages or affecting other services outside of this application.

https://orakllearn.com · Author: Jimmy Bourque · https://jbti-evolution.com
- Main page
- Overview
- Foundation
- Integration
- Flow
- Using OraklLearn
- Configuration
- Monitoring