|
19 | 19 | ) |
20 | 20 | from ..._base_client import make_request_options |
21 | 21 | from ...types.classifications import universal_create_params |
22 | | -from ...types.shared_params.chunking_options import ChunkingOptions |
23 | 22 | from ...types.classifications.universal_classification_response import UniversalClassificationResponse |
24 | 23 |
|
25 | 24 | __all__ = ["UniversalResource", "AsyncUniversalResource"] |
@@ -53,7 +52,7 @@ def create( |
53 | 52 | texts: SequenceNotStr[str], |
54 | 53 | is_iql: bool | Omit = omit, |
55 | 54 | scoring_method: Literal["auto", "chunk_max", "chunk_avg", "chunk_min"] | Omit = omit, |
56 | | - chunking_options: Optional[ChunkingOptions] | Omit = omit, |
| 55 | + chunking_options: Optional[universal_create_params.ChunkingOptions] | Omit = omit, |
57 | 56 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
58 | 57 | # The extra values given here take precedence over values defined on the client or passed to this method. |
59 | 58 | extra_headers: Headers | None = None, |
@@ -154,7 +153,7 @@ async def create( |
154 | 153 | texts: SequenceNotStr[str], |
155 | 154 | is_iql: bool | Omit = omit, |
156 | 155 | scoring_method: Literal["auto", "chunk_max", "chunk_avg", "chunk_min"] | Omit = omit, |
157 | | - chunking_options: Optional[ChunkingOptions] | Omit = omit, |
| 156 | + chunking_options: Optional[universal_create_params.ChunkingOptions] | Omit = omit, |
158 | 157 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
159 | 158 | # The extra values given here take precedence over values defined on the client or passed to this method. |
160 | 159 | extra_headers: Headers | None = None, |
|
0 commit comments