Skip to content

Commit

Permalink
Fix use of os.environ in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rshah713 authored and rlouf committed Jun 20, 2024
1 parent a9d58ef commit f20c774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/models/openai.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ from outlines import models

model = models.openai(
"gpt-3.5-turbo",
api_key=os.environ("OPENAI_API_KEY")
api_key=os.environ["OPENAI_API_KEY"]
)
```

Expand Down

0 comments on commit f20c774

Please sign in to comment.