New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

qabot

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qabot - npm Package Compare versions

Comparing version 0.3.12 to 0.3.13

dist/typings/lib/uuid.d.ts

35

dist/typings/lib/jina-docbot-rpc.d.ts
import { HTTPService } from './http-service';
import { DocumentArray, Document } from './jina-document-array';
export interface JinaServerEnvelope<T = any> {
data: {
docs: T;
groundtruths: unknown[];
export interface JinaServerEnvelope<T = DocumentArray> {
data: T;
header: {
execEndpoint: string;
requestId: string;
status?: {
code: number;
description: string;
exception?: {
name: string;
executor?: string;
args?: string;
stacks?: string[];
};
};
targetExecutor: string;
};
requestId: string;
parameters: unknown;
routes: Array<{
startTime: string;
endTime: string;
executor: string;
status?: unknown;
}>;
}

@@ -21,4 +39,9 @@ export declare enum DOCQA_ANSWER_STATUS {

}
export declare class UpstreamError extends Error {
detail: any;
constructor(msg: string, detail: any);
}
export declare class JinaDocBotRPC extends HTTPService {
constructor(serverUri: string);
protected clientId: string;
constructor(serverUri: string, clientId: string);
askQuestion(text: string): Promise<Response & {

@@ -25,0 +48,0 @@ data: JinaServerEnvelope<DocumentArray<Document>> & DocQAAnswer;

30

dist/typings/lib/jina-document-array.d.ts

@@ -35,25 +35,25 @@ export interface DenseNDArray {

id: string;
granularity: number;
adjacency: number;
parentId: string;
granularity?: number;
adjacency?: number;
parentId?: string;
buffer?: string;
blob?: NDArray;
text: string;
text?: string;
graph?: Graph;
chunks: Document[];
weight: number;
matches: Document[];
uri: string;
mimeType: string;
tags: {
chunks?: Document[];
weight?: number;
matches?: Document[];
uri?: string;
mimeType?: string;
tags?: {
[k: string]: any;
};
location: number[];
offset: number;
location?: number[];
offset?: number;
embedding?: NDArray;
scores: {
scores?: {
[k: string]: NamedScore;
};
modality: string;
evaluations: {
modality?: string;
evaluations?: {
[k: string]: NamedScore;

@@ -60,0 +60,0 @@ };

@@ -16,2 +16,3 @@ import { ReactiveController, ReactiveControllerHost } from 'lit';

protected storageEventListener?: (storageEvent: StorageEvent) => void;
clientId: string;
constructor(host: ReactiveControllerHost, serverUri: string, channel?: string);

@@ -18,0 +19,0 @@ loadQaPairs(localData?: string): void;

{
"name": "qabot",
"version": "0.3.12",
"version": "0.3.13",
"description": "WebComponent <qa-bot> for Jina DocsQA",

@@ -5,0 +5,0 @@ "main": "dist/qabot.js",

@@ -20,3 +20,3 @@ # &lt;qa-bot&gt;

label="Try custom title ✨"
server="https://jina-ai-jina-docsqa.jina.ai"
server="https://jina-ai-jina.docsqa.jina.ai"
open

@@ -23,0 +23,0 @@ site="https://docs.jina.ai"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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