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
Copy file name to clipboardExpand all lines: README.md
+11-6Lines changed: 11 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -69,21 +69,26 @@ Then you can create a client like this:
69
69
client =OpenAI::Client.new
70
70
```
71
71
72
-
#### Setting request timeout
72
+
#### Custom timeout or base URI
73
73
74
-
The default timeout for any OpenAI request is 120 seconds. You can change that passing the `request_timeout` when initializing the client:
74
+
The default timeout for any OpenAI request is 120 seconds. You can change that passing the `request_timeout` when initializing the client. You can also change the base URI used for all requests, eg. to use observability tools like [Helicone](https://docs.helicone.ai/quickstart/integrate-in-one-line-of-code):
0 commit comments