We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c89a74 commit 557e462Copy full SHA for 557e462
README.md
@@ -23,7 +23,7 @@ This library aims to solve the same challenges for you by providing a resilient
23
24
## Quickstart
25
26
-```
+```javascript
27
import ResilientLLM from 'resilient-llm';
28
29
const llm = new ResilientLLM({
@@ -35,8 +35,8 @@ const llm = new ResilientLLM({
35
requestsPerMinute: 60, // Limit to 60 requests per minute
36
llmTokensPerMinute: 90000 // Limit to 90,000 LLM tokens per minute
37
},
38
- retries: 3,
39
- backoffFactor: 2
+ retries: 3, // Numner of times to retry if req. fails for reasons possible to fix by retry
+ backoffFactor: 2 // Increase delay between retries by this factor
40
});
41
42
const conversationHistory = [
0 commit comments