Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kevlened
on Aug 7, 2024
|
parent
|
context
|
favorite
| on:
Structured Outputs in the API
OpenAI has a `max_tokens` setting. For the /chat/completions api, it defaults to the maximum for a desired model, but for the /completions api, it defaults to 16.
https://platform.openai.com/docs/api-reference/chat/create#c...
paradite
on Aug 8, 2024
[–]
Ops. Not sure how I missed that.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://platform.openai.com/docs/api-reference/chat/create#c...