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 8ad051b commit e9ca288Copy full SHA for e9ca288
README.md
@@ -82,6 +82,7 @@ $yourApiKey = getenv('YOUR_API_KEY');
82
$client = OpenAI::factory()
83
->withApiKey($yourApiKey)
84
->withOrganization('your-organization') // default: null
85
+ ->withProject('Your Project') // default: null
86
->withBaseUri('openai.example.com/v1') // default: api.openai.com/v1
87
->withHttpClient($client = new \GuzzleHttp\Client([])) // default: HTTP client found using PSR-18 HTTP Client Discovery
88
->withHttpHeader('X-My-Header', 'foo')
0 commit comments