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