diff --git a/README.md b/README.md index 7bda276..7d0dd93 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ const client = new VlmRun({ }); // Process an image (using image url) -imageUrl = +const imageUrl = "https://storage.googleapis.com/vlm-data-public-prod/hub/examples/document.invoice/invoice_1.jpg"; const response = await client.image.generate({ images: [imageUrl], @@ -94,7 +94,7 @@ const response = await client.document.generate({ console.log(response); // Process a document (using url) -documentUrl = +const documentUrl = "https://storage.googleapis.com/vlm-data-public-prod/hub/examples/document.invoice/google_invoice.pdf"; const response = await client.document.generate({ url: documentUrl, diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 1220644..0b9dfaf 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -40,8 +40,16 @@ npm install 3. Run tests: +Add .env.test file with the following variables: + +```bash +TEST_API_KEY= +TEST_BASE_URL=https://dev.vlm.run/v1 +``` + ```bash npm test +npm run test:integration ``` ## Code Style