You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the request should look more like the above.
Previously mentioned "config.limit" - But should be "config.llm_providers[1].limit.
Additionally, window_size and Limit for the AI RLA plugin are both not configured as arrays.
Code of Conduct and Community Expectations
I agree to follow this project's Code of Conduct
I agree to abide by the Community Expectations
The text was updated successfully, but these errors were encountered:
Where is the problem?
https://docs.konghq.com/hub/kong-inc/ai-rate-limiting-advanced/how-to/#add-the-ai-rate-limiting-advanced-plugin-to-the-service
What happened?
The curl on the page mentioned above to create the AI Rate Limiting Advanced plugin to the service is incorrect.
curl -i -X POST http://localhost:8001/services/example-service/plugins
--data name=ai-rate-limiting-advanced
--data config.limit=100,10000
--data config.window_size=60,3600
--data config.sync_rate=10
It also mentions that limit/window size is an array. This is not the case.
What did you expect to happen?
curl --request POST
--url http://localhost:8001/services/example-service/plugins
--header 'Content-Type: multipart/form-data'
--form 'config.llm_providers[1].limit=5'
--form 'config.llm_providers[1].name=llama2'
--form 'config.llm_providers[1].window_size=60'
--form name=ai-rate-limiting-advanced
the request should look more like the above.
Previously mentioned "config.limit" - But should be "config.llm_providers[1].limit.
Additionally, window_size and Limit for the AI RLA plugin are both not configured as arrays.
Code of Conduct and Community Expectations
The text was updated successfully, but these errors were encountered: