@@ -76,74 +76,6 @@ sdk.general.partition({
7676
7777<!-- End Dev Containers -->
7878
79-
80- ## SDK Example Usage
81- <!-- Start SDK Example Usage -->
82-
83-
84- ``` typescript
85- import { Unstructured } from " unstructured-client" ;
86- import { PartitionResponse } from " unstructured-client/dist/sdk/models/operations" ;
87-
88- const sdk = new Unstructured ({
89- security: {
90- apiKeyAuth: " YOUR_API_KEY" ,
91- },
92- });
93-
94- sdk .general .partition ({
95- coordinates: false ,
96- encoding: " utf-8" ,
97- files: {
98- content: " distinctio" .encode (),
99- files: " quibusdam" ,
100- },
101- gzUncompressedContentType: " application/pdf" ,
102- hiResModelName: " yolox" ,
103- includePageBreaks: false ,
104- ocrLanguages: [
105- " eng" ,
106- ],
107- outputFormat: " application/json" ,
108- pdfInferTableStructure: false ,
109- skipInferTableTypes: [
110- " pdf" ,
111- ],
112- strategy: " hi_res" ,
113- xmlKeepTags: false ,
114- }).then ((res : PartitionResponse ) => {
115- if (res .statusCode == 200 ) {
116- // handle response
117- }
118- });
119- ```
120- <!-- End SDK Example Usage -->
121-
122-
123-
124- <!-- Start SDK Available Operations -->
125- ## Available Resources and Operations
126-
127-
128- ### [ General] ( docs/sdks/general/README.md )
129-
130- * [ partition] ( docs/sdks/general/README.md#partition ) - Pipeline 1
131- <!-- End SDK Available Operations -->
132-
133-
134-
135- <!-- Start Pagination -->
136- # Pagination
137-
138- Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the
139- returned response object will have a ` next ` method that can be called to pull down the next group of results. If the
140- return value of ` next ` is ` null ` , then there are no more pages to be fetched.
141-
142- Here's an example of one such pagination call:
143-
144-
145- <!-- End Pagination -->
146-
14779<!-- Placeholder for Future Speakeasy SDK Sections -->
14880
14981### Maturity
0 commit comments