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

@or-sdk/qna

Package Overview
Dependencies
Maintainers
2
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@or-sdk/qna - npm Package Compare versions

Comparing version 3.2.0-beta.1571.0 to 3.2.0-beta.1575.0

6

dist/types/types.d.ts

@@ -79,2 +79,8 @@ import { OrderOptions, PaginationOptions, Token } from '@or-sdk/base';

updatedAt: string | Date;
temperature?: number;
maxTokens?: number;
frequencyPenalty?: number;
presencePenalty?: number;
maxDistance?: number;
modelName?: string;
};

@@ -81,0 +87,0 @@ export type SearchResult = {

2

package.json
{
"name": "@or-sdk/qna",
"version": "3.2.0-beta.1571.0",
"version": "3.2.0-beta.1575.0",
"main": "dist/cjs/index.js",

@@ -5,0 +5,0 @@ "module": "dist/esm/index.js",

@@ -309,3 +309,3 @@ import { OrderOptions, PaginationOptions, Token } from '@or-sdk/base';

* A summarization instruction used to generate a correct answer (Optional)
* Maximum length: 2048
* Maximum length: 1000
*/

@@ -316,3 +316,3 @@ answerInstruction?: string | null;

* A summarization instruction used to generate a correct search query (Optional)
* Maximum length: 2048
* Maximum length: 1000
*/

@@ -323,3 +323,3 @@ questionInstruction?: string | null;

* A summarization instruction used to generate a correct first message (Optional)
* Maximum length: 2048
* Maximum length: 1000
*/

@@ -343,2 +343,37 @@ greetingInstruction?: string | null;

updatedAt: string | Date;
/**
* What sampling temperature to use.
* Minimum value: 0, Maximum value: 2
*/
temperature?: number;
/**
* Max output length from the LLM
* Minimum value: 128, Maximum value: 2048
*/
maxTokens?: number;
/**
* Positive values penalize new tokens based on their existing frequency in the text so far.
* Minimum value: -2, Maximum value: 2
*/
frequencyPenalty?: number;
/**
* Penalize new tokens based on whether they appear in the text so far.
* Minimum value: -2, Maximum value: 2
*/
presencePenalty?: number;
/**
* Filter out passages that are further then maxDistance from the question or context by cosine metric.
* Minimum value: 0, Maximum value: 1
*/
maxDistance?: number;
/**
* Large language model name.
*/
modelName?: string;
};

@@ -345,0 +380,0 @@

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