@or-sdk/qna
Advanced tools
Comparing version 3.2.0-beta.1571.0 to 3.2.0-beta.1575.0
@@ -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 = { |
{ | ||
"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
164919
2540