@@ -156,8 +156,8 @@ To change the default retry strategy for a single API call, simply provide a ret
156156import { openAsBlob } from " node:fs" ;
157157import { UnstructuredClient } from " unstructured-client" ;
158158import {
159- PartitionParametersSchemasStrategy ,
160- PartitionParametersStrategy ,
159+ VLMModel ,
160+ VLMModelProvider ,
161161} from " unstructured-client/sdk/models/shared" ;
162162
163163const unstructuredClient = new UnstructuredClient ();
@@ -171,8 +171,8 @@ async function run() {
171171 1 ,
172172 10 ,
173173 ],
174- vlmModel: PartitionParametersStrategy .Gpt4o ,
175- vlmModelProvider: PartitionParametersSchemasStrategy .Openai ,
174+ vlmModel: VLMModel .Gpt4o ,
175+ vlmModelProvider: VLMModelProvider .Openai ,
176176 },
177177 }, {
178178 retries: {
@@ -200,8 +200,8 @@ If you'd like to override the default retry strategy for all operations that sup
200200import { openAsBlob } from " node:fs" ;
201201import { UnstructuredClient } from " unstructured-client" ;
202202import {
203- PartitionParametersSchemasStrategy ,
204- PartitionParametersStrategy ,
203+ VLMModel ,
204+ VLMModelProvider ,
205205} from " unstructured-client/sdk/models/shared" ;
206206
207207const unstructuredClient = new UnstructuredClient ({
@@ -226,8 +226,8 @@ async function run() {
226226 1 ,
227227 10 ,
228228 ],
229- vlmModel: PartitionParametersStrategy .Gpt4o ,
230- vlmModelProvider: PartitionParametersSchemasStrategy .Openai ,
229+ vlmModel: VLMModel .Gpt4o ,
230+ vlmModelProvider: VLMModelProvider .Openai ,
231231 },
232232 });
233233
@@ -328,8 +328,8 @@ Certain SDK methods accept files as part of a multi-part request. It is possible
328328import { openAsBlob } from " node:fs" ;
329329import { UnstructuredClient } from " unstructured-client" ;
330330import {
331- PartitionParametersSchemasStrategy ,
332- PartitionParametersStrategy ,
331+ VLMModel ,
332+ VLMModelProvider ,
333333} from " unstructured-client/sdk/models/shared" ;
334334
335335const unstructuredClient = new UnstructuredClient ();
@@ -343,8 +343,8 @@ async function run() {
343343 1 ,
344344 10 ,
345345 ],
346- vlmModel: PartitionParametersStrategy .Gpt4o ,
347- vlmModelProvider: PartitionParametersSchemasStrategy .Openai ,
346+ vlmModel: VLMModel .Gpt4o ,
347+ vlmModelProvider: VLMModelProvider .Openai ,
348348 },
349349 });
350350
0 commit comments