@supabase/functions-js
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -1,2 +0,2 @@ | ||
export declare const version = "2.3.0"; | ||
export declare const version = "2.3.1"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = '2.3.0'; | ||
exports.version = '2.3.1'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const version = "2.3.0"; | ||
export declare const version = "2.3.1"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export const version = '2.3.0'; | ||
export const version = '2.3.1'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@supabase/functions-js", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "JS Client library to interact with Supabase Functions.", | ||
@@ -5,0 +5,0 @@ "main": "dist/main/index.js", |
@@ -1,45 +0,47 @@ | ||
interface ModelOptions { | ||
/** | ||
* Pool embeddings by taking their mean. Applies only for `gte-small` model | ||
*/ | ||
mean_pool?: boolean | ||
declare namespace Supabase { | ||
export interface ModelOptions { | ||
/** | ||
* Pool embeddings by taking their mean. Applies only for `gte-small` model | ||
*/ | ||
mean_pool?: boolean | ||
/** | ||
* Normalize the embeddings result. Applies only for `gte-small` model | ||
*/ | ||
normalize?: boolean | ||
/** | ||
* Normalize the embeddings result. Applies only for `gte-small` model | ||
*/ | ||
normalize?: boolean | ||
/** | ||
* Stream response from model. Applies only for LLMs like `mistral` (default: false) | ||
*/ | ||
stream?: boolean | ||
/** | ||
* Stream response from model. Applies only for LLMs like `mistral` (default: false) | ||
*/ | ||
stream?: boolean | ||
/** | ||
* Automatically abort the request to the model after specified time (in seconds). Applies only for LLMs like `mistral` (default: 60) | ||
*/ | ||
timeout?: number | ||
} | ||
/** | ||
* Automatically abort the request to the model after specified time (in seconds). Applies only for LLMs like `mistral` (default: 60) | ||
*/ | ||
timeout?: number | ||
} | ||
interface Session { | ||
/** | ||
* Execute the given prompt in model session | ||
*/ | ||
run(prompt: string, modelOptions?: ModelOptions): unknown | ||
} | ||
export class Session { | ||
/** | ||
* Create a new model session using given model | ||
*/ | ||
constructor(model: string, sessionOptions?: unknown) | ||
declare var Session: { | ||
prototype: Session | ||
/** | ||
* Execute the given prompt in model session | ||
*/ | ||
run(prompt: string, modelOptions?: ModelOptions): unknown | ||
} | ||
/** | ||
* Create a new model session using given model | ||
* Provides AI related APIs | ||
*/ | ||
new (model: string, sessionOptions?: unknown): Session | ||
} | ||
export interface Ai { | ||
readonly Session: typeof Session | ||
} | ||
declare var Supabase: { | ||
/** | ||
* Provides AI related APIs | ||
*/ | ||
readonly ai: { | ||
readonly Session: typeof Session | ||
} | ||
export const ai: Ai | ||
} |
@@ -1,1 +0,1 @@ | ||
export const version = '2.3.0' | ||
export const version = '2.3.1' |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51189
841