Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@becomposable/common

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@becomposable/common - npm Package Compare versions

Comparing version 0.38.2 to 0.38.3

5

lib/types/payload.d.ts

@@ -1,3 +0,3 @@

import { FacetSpec } from "./facets.js";
import { InteractionSearchQuery, ObjectSearchQuery, ObjectTypeSearchQuery, PromptSearchQuery, SimpleSearchQuery } from "./query.js";
import { FacetSpec } from './facets.js';
import { InteractionSearchQuery, ObjectSearchQuery, ObjectTypeSearchQuery, PromptSearchQuery, SimpleSearchQuery, VectorSearchQuery } from './query.js';
export interface SearchPayload {

@@ -29,2 +29,3 @@ query?: SimpleSearchQuery;

query?: ObjectSearchQuery;
vector?: VectorSearchQuery;
}

@@ -31,0 +32,0 @@ export interface ComputePromptFacetPayload extends ComputeFacetPayload {

15

lib/types/query.d.ts

@@ -1,3 +0,3 @@

import { ExecutionRunStatus } from "./interaction.js";
import { SupportedEmbeddingTypes } from "./project.js";
import { ExecutionRunStatus } from './interaction.js';
import { SupportedEmbeddingTypes } from './project.js';
export interface RunListingQueryOptions {

@@ -20,2 +20,10 @@ project?: string;

}
export interface VectorSearchQuery {
objectId?: string;
values?: number[];
text?: string;
image?: string;
threshold?: number;
type: SupportedEmbeddingTypes;
}
export interface SimpleSearchQuery {

@@ -43,2 +51,5 @@ name?: string;

}
export interface ComplexSearchQuery extends ObjectSearchQuery {
vector?: VectorSearchQuery;
}
//# sourceMappingURL=query.d.ts.map

@@ -1,6 +0,6 @@

import { SearchPayload } from "../payload.js";
import { SupportedEmbeddingTypes } from "../project.js";
import { ObjectSearchQuery } from "../query.js";
import { BaseObject } from "./common.js";
import { RenditionProperties } from "./index.js";
import { SearchPayload } from '../payload.js';
import { SupportedEmbeddingTypes } from '../project.js';
import { ComplexSearchQuery } from '../query.js';
import { BaseObject } from './common.js';
import { RenditionProperties } from './index.js';
export declare enum ContentObjectStatus {

@@ -62,13 +62,2 @@ created = "created",

}
export interface ComplexSearchQuery extends ObjectSearchQuery {
vector?: VectorSearchQuery;
}
export interface VectorSearchQuery {
objectId?: string;
values?: number[];
text?: string;
image?: string;
threshold?: number;
type: SupportedEmbeddingTypes;
}
export interface ComplexSearchPayload extends Omit<SearchPayload, 'query'> {

@@ -75,0 +64,0 @@ query?: ComplexSearchQuery;

{
"name": "@becomposable/common",
"version": "0.38.2",
"version": "0.38.3",
"type": "module",

@@ -5,0 +5,0 @@ "types": "./lib/types/index.d.ts",

@@ -1,3 +0,3 @@

import { FacetSpec } from "./facets.js";
import { InteractionSearchQuery, ObjectSearchQuery, ObjectTypeSearchQuery, PromptSearchQuery, SimpleSearchQuery } from "./query.js";
import { FacetSpec } from './facets.js';
import { InteractionSearchQuery, ObjectSearchQuery, ObjectTypeSearchQuery, PromptSearchQuery, SimpleSearchQuery, VectorSearchQuery } from './query.js';

@@ -37,2 +37,3 @@ export interface SearchPayload {

query?: ObjectSearchQuery;
vector?: VectorSearchQuery;
}

@@ -39,0 +40,0 @@

@@ -1,3 +0,3 @@

import { ExecutionRunStatus } from "./interaction.js";
import { SupportedEmbeddingTypes } from "./project.js";
import { ExecutionRunStatus } from './interaction.js';
import { SupportedEmbeddingTypes } from './project.js';

@@ -23,2 +23,11 @@ export interface RunListingQueryOptions {

export interface VectorSearchQuery {
objectId?: string;
values?: number[];
text?: string;
image?: string;
threshold?: number;
type: SupportedEmbeddingTypes
}
export interface SimpleSearchQuery {

@@ -49,2 +58,6 @@ name?: string;

version?: number;
}
export interface ComplexSearchQuery extends ObjectSearchQuery {
vector?: VectorSearchQuery;
}

@@ -1,6 +0,6 @@

import { SearchPayload } from "../payload.js";
import { SupportedEmbeddingTypes } from "../project.js";
import { ObjectSearchQuery } from "../query.js";
import { BaseObject } from "./common.js";
import { RenditionProperties } from "./index.js";
import { SearchPayload } from '../payload.js';
import { SupportedEmbeddingTypes } from '../project.js';
import { ComplexSearchQuery } from '../query.js';
import { BaseObject } from './common.js';
import { RenditionProperties } from './index.js';

@@ -79,15 +79,2 @@ export enum ContentObjectStatus {

export interface ComplexSearchQuery extends ObjectSearchQuery {
vector?: VectorSearchQuery;
}
export interface VectorSearchQuery {
objectId?: string;
values?: number[];
text?: string;
image?: string;
threshold?: number;
type: SupportedEmbeddingTypes
}
export interface ComplexSearchPayload extends Omit<SearchPayload, 'query'> {

@@ -94,0 +81,0 @@ query?: ComplexSearchQuery;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc