Skip to content

Commit

Permalink
Merge pull request #30 from vlm-run/sh/add-vlm-embeddings-model-type
Browse files Browse the repository at this point in the history
Added vlm-1-embeddings as model type for document and image
  • Loading branch information
shahrear33 authored Jan 10, 2025
2 parents b3d1f73 + 96b4c08 commit 449ebba
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vlmrun",
"version": "0.1.4",
"version": "0.1.5",
"description": "The official TypeScript library for the Vlm API",
"author": "Vlm <[email protected]>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/resources/document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export interface DocumentGenerateParams {
/**
* The model to use for generating the response.
*/
model?: 'vlm-1';
model?: 'vlm-1' | 'vlm-1-embeddings';

/**
* The URL of the file (provide either `file_id` or `url`).
Expand Down
2 changes: 1 addition & 1 deletion src/resources/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export interface ImageGenerateParams {
/**
* The model to use for generating the response.
*/
model?: 'vlm-1';
model?: 'vlm-1' | 'vlm-1-embeddings';
}

export namespace ImageGenerateParams {
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.1.1';
export const VERSION = '0.1.5';

0 comments on commit 449ebba

Please sign in to comment.