You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFAIK the body element's type is Union[EmbeddingCreateParams, CompletionCreateParams]
The text was updated successfully, but these errors were encountered:
alugowski
changed the title
Missing type for batch request input and output objects
types: Missing type for batch request input and output objects
Dec 11, 2024
Confirm this is a feature request for the Python library and not the underlying OpenAI API.
Describe the feature or improvement you're requesting
Batch input files are a list of up to 50,000 request input objects, where each one looks like this:
https://platform.openai.com/docs/api-reference/batch/request-input
I don't see this anywhere in
openai.types
. It should be there to make it easier to use batches.Same for the output object, https://platform.openai.com/docs/api-reference/batch/request-output
Additional context
AFAIK the
body
element's type isUnion[EmbeddingCreateParams, CompletionCreateParams]
The text was updated successfully, but these errors were encountered: