Skip to content

Commit e9ca288

Browse files
committed
Add "withProject" to the README.md
1 parent 8ad051b commit e9ca288

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ $yourApiKey = getenv('YOUR_API_KEY');
8282
$client = OpenAI::factory()
8383
->withApiKey($yourApiKey)
8484
->withOrganization('your-organization') // default: null
85+
->withProject('Your Project') // default: null
8586
->withBaseUri('openai.example.com/v1') // default: api.openai.com/v1
8687
->withHttpClient($client = new \GuzzleHttp\Client([])) // default: HTTP client found using PSR-18 HTTP Client Discovery
8788
->withHttpHeader('X-My-Header', 'foo')

0 commit comments

Comments
 (0)