We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39ccc3d commit 2fd0e20Copy full SHA for 2fd0e20
src/openai/resources/embeddings.py
@@ -46,7 +46,7 @@ def with_streaming_response(self) -> EmbeddingsWithStreamingResponse:
46
def create(
47
self,
48
*,
49
- input: Union[str, List[str], Tuple[str], Iterable[int], Iterable[Iterable[int]]],
+ input: Union[str, List[str], Tuple[str, ...], Iterable[int], Iterable[Iterable[int]]],
50
model: Union[str, EmbeddingModel],
51
dimensions: int | NotGiven = NOT_GIVEN,
52
encoding_format: Literal["float", "base64"] | NotGiven = NOT_GIVEN,
@@ -162,7 +162,7 @@ def with_streaming_response(self) -> AsyncEmbeddingsWithStreamingResponse:
162
async def create(
163
164
165
166
167
168
0 commit comments