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