Skip to content

Increased latency when using structuredOutputs on first #3656

Answered by lgrammel
viktorlarsson asked this question in Help
Discussion options

You must be logged in to vote

This is a known OpenAI limitation that they announced when they released structured outputs.

See https://platform.openai.com/docs/guides/structured-outputs#how-to-use

Note: the first request you make with any schema will have additional latency as our API processes the schema, but subsequent requests with the same schema will not have additional latency.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@viktorlarsson
Comment options

@lgrammel
Comment options

Answer selected by viktorlarsson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants