File tree Expand file tree Collapse file tree 6 files changed +6
-61
lines changed
Expand file tree Collapse file tree 6 files changed +6
-61
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ edit_field() {
2222}
2323set -x
2424
25- edit_field description " Python client for the Vectorize API"
25+ edit_field description " Client for the Vectorize API"
2626edit_field author " Vectorize <contact@vectorize.io>"
2727edit_field repository.url " https://github.com/vectorize-io/vectorize-clients"
2828edit_field scripts.preinstall " npm install typescript"
@@ -32,8 +32,6 @@ edit_field publishConfig.access "public"
3232
3333cp $ROOT_DIR /scripts/ts_README.md $SRC_DIR /ts/README.md
3434
35- npm run typedoc
36-
3735
3836
3937
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
22 "name" : " @vectorize-io/vectorize-client" ,
3- "version" : " 0.0.1-SNAPSHOT.202502241358 " ,
4- "description" : " Python client for the Vectorize API" ,
3+ "version" : " 0.0.1-SNAPSHOT.202502251020 " ,
4+ "description" : " Client for the Vectorize API" ,
55 "author" : " Vectorize <contact@vectorize.io>" ,
66 "repository" : {
77 "type" : " git" ,
1616 "preinstall" : " npm install typescript"
1717 },
1818 "devDependencies" : {
19- "typescript" : " ^5.7.3 "
19+ "typescript" : " ^4.0 || ^5.0 "
2020 },
2121 "publishConfig" : {
2222 "registry" : " https://registry.npmjs.org" ,
Original file line number Diff line number Diff line change @@ -186,8 +186,7 @@ export class ExtractionApi extends runtime.BaseAPI {
186186 * @export
187187 */
188188export const StartExtractionTypeEnum = {
189- Iris : 'iris' ,
190- Fast : 'fast'
189+ Iris : 'iris'
191190} as const ;
192191export type StartExtractionTypeEnum = typeof StartExtractionTypeEnum [ keyof typeof StartExtractionTypeEnum ] ;
193192/**
Original file line number Diff line number Diff line change @@ -18,9 +18,7 @@ describe("extraction", () => {
1818 const response = await extractionApi . startExtraction ( {
1919 organization : testContext . orgId ,
2020 file : blob ,
21- type : "iris" ,
2221 chunkSize : 512 ,
23- chunkingStrategy : "Markdown"
2422 } )
2523 await pollExtraction ( extractionApi , response . extractionId )
2624
@@ -50,23 +48,4 @@ describe("extraction", () => {
5048 }
5149 }
5250
53- it ( "verify fast extraction" , async ( ) => {
54- let extractionApi = new ExtractionApi ( testContext . configuration )
55- try {
56- const text = "Hello, this is a test blob!" ;
57- const blob = new Blob ( [ text ] , { type : "text/plain" } ) ;
58-
59- const response = await extractionApi . startExtraction ( {
60- organization : testContext . orgId ,
61- file : blob
62- } )
63- await pollExtraction ( extractionApi , response . extractionId )
64-
65- } catch ( error : any ) {
66- console . error ( error ?. response ) ;
67- console . error ( await error ?. response ?. text ( ) ) ;
68- throw error
69- }
70- } , 120000 ) ;
71-
7251} ) ;
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments