@promptbook/remote-client
Advanced tools
Comparing version 0.61.0-27 to 0.61.0-28
@@ -211,3 +211,3 @@ import { io } from 'socket.io-client'; | ||
* TODO: [π] Allow to list compatible models with each variant | ||
* TODO: [π€ΉββοΈ] RemoteLlmExecutionTools should extend Destroyable and implement IDestroyable | ||
* TODO: [π―] RemoteLlmExecutionTools should extend Destroyable and implement IDestroyable | ||
*/ | ||
@@ -218,3 +218,3 @@ | ||
*/ | ||
var PROMPTBOOK_VERSION = '0.61.0-26'; | ||
var PROMPTBOOK_VERSION = '0.61.0-27'; | ||
// TODO: !!!! List here all the versions and annotate + put into script | ||
@@ -221,0 +221,0 @@ |
import type { string_date_iso8601 } from '../types/typeAliases'; | ||
import type { string_model_name } from '../types/typeAliases'; | ||
import type { string_prompt } from '../types/typeAliases'; | ||
import type { TODO_object } from '../utils/organization/TODO_object'; | ||
@@ -73,3 +74,17 @@ import type { EmbeddingVector } from './EmbeddingVector'; | ||
/** | ||
* Exact text of the prompt (with all replacements) | ||
* | ||
* Note: This contains redundant information | ||
*/ | ||
readonly rawPromptContent: string_prompt; | ||
/** | ||
* Raw request to the model | ||
* | ||
* Note: This contains redundant information | ||
*/ | ||
readonly rawRequest: TODO_object | null; | ||
/** | ||
* Raw response from the model | ||
* | ||
* Note: This contains redundant information | ||
*/ | ||
@@ -76,0 +91,0 @@ readonly rawResponse: TODO_object; |
@@ -53,3 +53,3 @@ import type { AvailableModel } from '../../execution/LlmExecutionTools'; | ||
* TODO: [π] Allow to list compatible models with each variant | ||
* TODO: [π€ΉββοΈ] RemoteLlmExecutionTools should extend Destroyable and implement IDestroyable | ||
* TODO: [π―] RemoteLlmExecutionTools should extend Destroyable and implement IDestroyable | ||
*/ |
@@ -15,6 +15,6 @@ import type { IDestroyable } from 'destroyable'; | ||
* TODO: Handle progress - support streaming | ||
* TODO: [π€ΉββοΈ] Do not hang up immediately but wait until client closes OR timeout | ||
* TODO: [π€ΉββοΈ] Timeout on chat to free up resources | ||
* TODO: [π―] Do not hang up immediately but wait until client closes OR timeout | ||
* TODO: [π―] Timeout on chat to free up resources | ||
* TODO: [π] Pass here some security token to prevent malitious usage and/or DDoS | ||
* TODO: [0] Set unavailable models as undefined in `RemoteLlmExecutionTools` NOT throw error here | ||
*/ |
@@ -15,4 +15,4 @@ import type { PipelineJson } from '../types/PipelineJson/PipelineJson'; | ||
* TODO: [π§] In future one preparation can take data from previous preparation and save tokens and time | ||
* TODO: [π] !!!!!! Use here countTotalUsage | ||
* TODO: [π] !!!!! Use here countTotalUsage | ||
* TODO: [π ] Actions, instruments (and maybe knowledge) => Functions and tools | ||
*/ |
{ | ||
"name": "@promptbook/remote-client", | ||
"version": "0.61.0-27", | ||
"version": "0.61.0-28", | ||
"description": "Supercharge your use of large language models", | ||
@@ -50,3 +50,3 @@ "private": false, | ||
"peerDependencies": { | ||
"@promptbook/core": "0.61.0-27" | ||
"@promptbook/core": "0.61.0-28" | ||
}, | ||
@@ -53,0 +53,0 @@ "main": "./umd/index.umd.js", |
@@ -215,3 +215,3 @@ (function (global, factory) { | ||
* TODO: [π] Allow to list compatible models with each variant | ||
* TODO: [π€ΉββοΈ] RemoteLlmExecutionTools should extend Destroyable and implement IDestroyable | ||
* TODO: [π―] RemoteLlmExecutionTools should extend Destroyable and implement IDestroyable | ||
*/ | ||
@@ -222,3 +222,3 @@ | ||
*/ | ||
var PROMPTBOOK_VERSION = '0.61.0-26'; | ||
var PROMPTBOOK_VERSION = '0.61.0-27'; | ||
// TODO: !!!! List here all the versions and annotate + put into script | ||
@@ -225,0 +225,0 @@ |
import type { string_date_iso8601 } from '../types/typeAliases'; | ||
import type { string_model_name } from '../types/typeAliases'; | ||
import type { string_prompt } from '../types/typeAliases'; | ||
import type { TODO_object } from '../utils/organization/TODO_object'; | ||
@@ -73,3 +74,17 @@ import type { EmbeddingVector } from './EmbeddingVector'; | ||
/** | ||
* Exact text of the prompt (with all replacements) | ||
* | ||
* Note: This contains redundant information | ||
*/ | ||
readonly rawPromptContent: string_prompt; | ||
/** | ||
* Raw request to the model | ||
* | ||
* Note: This contains redundant information | ||
*/ | ||
readonly rawRequest: TODO_object | null; | ||
/** | ||
* Raw response from the model | ||
* | ||
* Note: This contains redundant information | ||
*/ | ||
@@ -76,0 +91,0 @@ readonly rawResponse: TODO_object; |
@@ -53,3 +53,3 @@ import type { AvailableModel } from '../../execution/LlmExecutionTools'; | ||
* TODO: [π] Allow to list compatible models with each variant | ||
* TODO: [π€ΉββοΈ] RemoteLlmExecutionTools should extend Destroyable and implement IDestroyable | ||
* TODO: [π―] RemoteLlmExecutionTools should extend Destroyable and implement IDestroyable | ||
*/ |
@@ -15,6 +15,6 @@ import type { IDestroyable } from 'destroyable'; | ||
* TODO: Handle progress - support streaming | ||
* TODO: [π€ΉββοΈ] Do not hang up immediately but wait until client closes OR timeout | ||
* TODO: [π€ΉββοΈ] Timeout on chat to free up resources | ||
* TODO: [π―] Do not hang up immediately but wait until client closes OR timeout | ||
* TODO: [π―] Timeout on chat to free up resources | ||
* TODO: [π] Pass here some security token to prevent malitious usage and/or DDoS | ||
* TODO: [0] Set unavailable models as undefined in `RemoteLlmExecutionTools` NOT throw error here | ||
*/ |
@@ -15,4 +15,4 @@ import type { PipelineJson } from '../types/PipelineJson/PipelineJson'; | ||
* TODO: [π§] In future one preparation can take data from previous preparation and save tokens and time | ||
* TODO: [π] !!!!!! Use here countTotalUsage | ||
* TODO: [π] !!!!! Use here countTotalUsage | ||
* TODO: [π ] Actions, instruments (and maybe knowledge) => Functions and tools | ||
*/ |
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
669967
13205