@promptbook/remote-client
Advanced tools
Comparing version 0.50.0-1 to 0.50.0-3
import type { CommonExecutionToolsOptions } from '../execution/CommonExecutionToolsOptions'; | ||
import type { ExecutionTools } from '../execution/ExecutionTools'; | ||
import type { LlmExecutionTools } from '../execution/LlmExecutionTools'; | ||
import type { AvailableModel, LlmExecutionTools } from '../execution/LlmExecutionTools'; | ||
import type { PromptChatResult, PromptCommonResult, PromptCompletionResult, PromptResult } from '../execution/PromptResult'; | ||
@@ -23,3 +23,3 @@ import type { PromptbookExecutor } from '../execution/PromptbookExecutor'; | ||
import { FromtoItems } from '../utils/FromtoItems'; | ||
export { client_id, CommonExecutionToolsOptions, ExecutionReportJson, ExecutionTools, ExecutionType, EXPECTATION_UNITS, ExpectationAmount, ExpectationUnit, FromtoItems, LlmExecutionTools as LlmExecutionTools, ModelRequirements, ModelVariant, Parameters, Prompt, PromptbookExecutor, PromptbookJson, PromptbookLibrary, PromptbookString, PromptChatResult, PromptCommonResult, PromptCompletionResult, PromptResult, PromptTemplateJson, PromptTemplateParameterJson, ScriptExecutionTools, ScriptExecutionToolsExecuteOptions, ScriptLanguage, string_char, string_char_emoji, string_chat_prompt, string_completion_prompt, string_data_url, string_domain, string_email, string_file_absolute_path, string_file_extension, string_file_path, string_file_relative_path, string_filename, string_folder_absolute_path, string_folder_path, string_folder_relative_path, string_host, string_hostname, string_href, string_html, string_javascript, string_javascript_name, string_license, string_markdown, string_markdown_text, string_mime_type, string_mime_type_with_wildcard, string_model_name, string_name, string_person_fullname, string_prompt, string_promptbook_url, string_promptbook_url_with_hashtemplate, string_script, string_sha256, string_tdl, string_template, string_text_prompt, string_title, string_token, string_translate_language, string_uri, string_uri_part, string_url, string_url_image, string_version, TaskProgress, UserInterfaceTools, UserInterfaceToolsPromptDialogOptions, }; | ||
export { AvailableModel, client_id, CommonExecutionToolsOptions, ExecutionReportJson, ExecutionTools, ExecutionType, EXPECTATION_UNITS, ExpectationAmount, ExpectationUnit, FromtoItems, LlmExecutionTools as LlmExecutionTools, ModelRequirements, ModelVariant, Parameters, Prompt, PromptbookExecutor, PromptbookJson, PromptbookLibrary, PromptbookString, PromptChatResult, PromptCommonResult, PromptCompletionResult, PromptResult, PromptTemplateJson, PromptTemplateParameterJson, ScriptExecutionTools, ScriptExecutionToolsExecuteOptions, ScriptLanguage, string_char, string_char_emoji, string_chat_prompt, string_completion_prompt, string_data_url, string_domain, string_email, string_file_absolute_path, string_file_extension, string_file_path, string_file_relative_path, string_filename, string_folder_absolute_path, string_folder_path, string_folder_relative_path, string_host, string_hostname, string_href, string_html, string_javascript, string_javascript_name, string_license, string_markdown, string_markdown_text, string_mime_type, string_mime_type_with_wildcard, string_model_name, string_name, string_person_fullname, string_prompt, string_promptbook_url, string_promptbook_url_with_hashtemplate, string_script, string_sha256, string_tdl, string_template, string_text_prompt, string_title, string_token, string_translate_language, string_uri, string_uri_part, string_url, string_url_image, string_version, TaskProgress, UserInterfaceTools, UserInterfaceToolsPromptDialogOptions, }; | ||
/** | ||
@@ -26,0 +26,0 @@ * TODO: [π§ ][π] Is this the best package to export custom errors from? |
import type { Promisable } from 'type-fest'; | ||
import type { ModelVariant } from '../types/ModelRequirements'; | ||
import type { Prompt } from '../types/Prompt'; | ||
import type { string_model_name } from '../types/typeAliases'; | ||
import type { string_model_name, string_title } from '../types/typeAliases'; | ||
import type { PromptChatResult, PromptCompletionResult } from './PromptResult'; | ||
@@ -25,3 +25,3 @@ /** | ||
*/ | ||
listModels(): Promisable<Array<AviableModel>>; | ||
listModels(): Promisable<Array<AvailableModel>>; | ||
}; | ||
@@ -31,4 +31,8 @@ /** | ||
*/ | ||
export type AviableModel = { | ||
export type AvailableModel = { | ||
/** | ||
* The model title | ||
*/ | ||
readonly modelTitle: string_title; | ||
/** | ||
* The model name aviailable | ||
@@ -35,0 +39,0 @@ */ |
@@ -9,3 +9,3 @@ import type { LlmExecutionTools } from '../../../LlmExecutionTools'; | ||
/** | ||
* TODO: [π][β] Allow to list the aviable prompts in Langtail | ||
* TODO: [π][β] Allow to list the available prompts in Langtail | ||
*/ |
import type { Prompt } from '../../../../types/Prompt'; | ||
import type { CommonExecutionToolsOptions } from '../../../CommonExecutionToolsOptions'; | ||
import type { AviableModel, LlmExecutionTools } from '../../../LlmExecutionTools'; | ||
import type { AvailableModel, LlmExecutionTools } from '../../../LlmExecutionTools'; | ||
import type { PromptChatResult, PromptCompletionResult } from '../../../PromptResult'; | ||
@@ -22,3 +22,3 @@ /** | ||
*/ | ||
listModels(): Array<AviableModel>; | ||
listModels(): Array<AvailableModel>; | ||
} | ||
@@ -25,0 +25,0 @@ /** |
import type { Prompt } from '../../../../types/Prompt'; | ||
import type { CommonExecutionToolsOptions } from '../../../CommonExecutionToolsOptions'; | ||
import type { AviableModel, LlmExecutionTools } from '../../../LlmExecutionTools'; | ||
import type { AvailableModel, LlmExecutionTools } from '../../../LlmExecutionTools'; | ||
import type { PromptChatResult, PromptCompletionResult } from '../../../PromptResult'; | ||
@@ -20,5 +20,5 @@ /** | ||
/** | ||
* List all available fake-models that can be used | ||
*/ | ||
listModels(): Array<AviableModel>; | ||
* List all available fake-models that can be used | ||
*/ | ||
listModels(): Array<AvailableModel>; | ||
} |
import type { Promisable } from 'type-fest'; | ||
import type { Prompt } from '../../../../types/Prompt'; | ||
import type { AviableModel, LlmExecutionTools } from '../../../LlmExecutionTools'; | ||
import type { AvailableModel, LlmExecutionTools } from '../../../LlmExecutionTools'; | ||
import type { PromptChatResult, PromptCompletionResult } from '../../../PromptResult'; | ||
@@ -32,3 +32,3 @@ import type { OpenAiExecutionToolsOptions } from './OpenAiExecutionToolsOptions'; | ||
*/ | ||
listModels(): Promisable<Array<AviableModel>>; | ||
listModels(): Promisable<Array<AvailableModel>>; | ||
} | ||
@@ -35,0 +35,0 @@ /** |
import type { Prompt } from '../../../../types/Prompt'; | ||
import type { AviableModel, LlmExecutionTools } from '../../../LlmExecutionTools'; | ||
import type { AvailableModel, LlmExecutionTools } from '../../../LlmExecutionTools'; | ||
import type { PromptChatResult, PromptCompletionResult } from '../../../PromptResult'; | ||
@@ -35,3 +35,3 @@ import type { RemoteLlmExecutionToolsOptions } from './RemoteLlmExecutionToolsOptions'; | ||
*/ | ||
listModels(): Promise<Array<AviableModel>>; | ||
listModels(): Promise<Array<AvailableModel>>; | ||
} | ||
@@ -38,0 +38,0 @@ /** |
{ | ||
"name": "@promptbook/remote-client", | ||
"version": "0.50.0-1", | ||
"version": "0.50.0-3", | ||
"description": "Library to supercharge your use of large language models", | ||
@@ -50,3 +50,3 @@ "private": false, | ||
"peerDependencies": { | ||
"@promptbook/core": "0.50.0-1" | ||
"@promptbook/core": "0.50.0-3" | ||
}, | ||
@@ -53,0 +53,0 @@ "main": "./umd/index.umd.js", |
import type { CommonExecutionToolsOptions } from '../execution/CommonExecutionToolsOptions'; | ||
import type { ExecutionTools } from '../execution/ExecutionTools'; | ||
import type { LlmExecutionTools } from '../execution/LlmExecutionTools'; | ||
import type { AvailableModel, LlmExecutionTools } from '../execution/LlmExecutionTools'; | ||
import type { PromptChatResult, PromptCommonResult, PromptCompletionResult, PromptResult } from '../execution/PromptResult'; | ||
@@ -23,3 +23,3 @@ import type { PromptbookExecutor } from '../execution/PromptbookExecutor'; | ||
import { FromtoItems } from '../utils/FromtoItems'; | ||
export { client_id, CommonExecutionToolsOptions, ExecutionReportJson, ExecutionTools, ExecutionType, EXPECTATION_UNITS, ExpectationAmount, ExpectationUnit, FromtoItems, LlmExecutionTools as LlmExecutionTools, ModelRequirements, ModelVariant, Parameters, Prompt, PromptbookExecutor, PromptbookJson, PromptbookLibrary, PromptbookString, PromptChatResult, PromptCommonResult, PromptCompletionResult, PromptResult, PromptTemplateJson, PromptTemplateParameterJson, ScriptExecutionTools, ScriptExecutionToolsExecuteOptions, ScriptLanguage, string_char, string_char_emoji, string_chat_prompt, string_completion_prompt, string_data_url, string_domain, string_email, string_file_absolute_path, string_file_extension, string_file_path, string_file_relative_path, string_filename, string_folder_absolute_path, string_folder_path, string_folder_relative_path, string_host, string_hostname, string_href, string_html, string_javascript, string_javascript_name, string_license, string_markdown, string_markdown_text, string_mime_type, string_mime_type_with_wildcard, string_model_name, string_name, string_person_fullname, string_prompt, string_promptbook_url, string_promptbook_url_with_hashtemplate, string_script, string_sha256, string_tdl, string_template, string_text_prompt, string_title, string_token, string_translate_language, string_uri, string_uri_part, string_url, string_url_image, string_version, TaskProgress, UserInterfaceTools, UserInterfaceToolsPromptDialogOptions, }; | ||
export { AvailableModel, client_id, CommonExecutionToolsOptions, ExecutionReportJson, ExecutionTools, ExecutionType, EXPECTATION_UNITS, ExpectationAmount, ExpectationUnit, FromtoItems, LlmExecutionTools as LlmExecutionTools, ModelRequirements, ModelVariant, Parameters, Prompt, PromptbookExecutor, PromptbookJson, PromptbookLibrary, PromptbookString, PromptChatResult, PromptCommonResult, PromptCompletionResult, PromptResult, PromptTemplateJson, PromptTemplateParameterJson, ScriptExecutionTools, ScriptExecutionToolsExecuteOptions, ScriptLanguage, string_char, string_char_emoji, string_chat_prompt, string_completion_prompt, string_data_url, string_domain, string_email, string_file_absolute_path, string_file_extension, string_file_path, string_file_relative_path, string_filename, string_folder_absolute_path, string_folder_path, string_folder_relative_path, string_host, string_hostname, string_href, string_html, string_javascript, string_javascript_name, string_license, string_markdown, string_markdown_text, string_mime_type, string_mime_type_with_wildcard, string_model_name, string_name, string_person_fullname, string_prompt, string_promptbook_url, string_promptbook_url_with_hashtemplate, string_script, string_sha256, string_tdl, string_template, string_text_prompt, string_title, string_token, string_translate_language, string_uri, string_uri_part, string_url, string_url_image, string_version, TaskProgress, UserInterfaceTools, UserInterfaceToolsPromptDialogOptions, }; | ||
/** | ||
@@ -26,0 +26,0 @@ * TODO: [π§ ][π] Is this the best package to export custom errors from? |
import type { Promisable } from 'type-fest'; | ||
import type { ModelVariant } from '../types/ModelRequirements'; | ||
import type { Prompt } from '../types/Prompt'; | ||
import type { string_model_name } from '../types/typeAliases'; | ||
import type { string_model_name, string_title } from '../types/typeAliases'; | ||
import type { PromptChatResult, PromptCompletionResult } from './PromptResult'; | ||
@@ -25,3 +25,3 @@ /** | ||
*/ | ||
listModels(): Promisable<Array<AviableModel>>; | ||
listModels(): Promisable<Array<AvailableModel>>; | ||
}; | ||
@@ -31,4 +31,8 @@ /** | ||
*/ | ||
export type AviableModel = { | ||
export type AvailableModel = { | ||
/** | ||
* The model title | ||
*/ | ||
readonly modelTitle: string_title; | ||
/** | ||
* The model name aviailable | ||
@@ -35,0 +39,0 @@ */ |
@@ -9,3 +9,3 @@ import type { LlmExecutionTools } from '../../../LlmExecutionTools'; | ||
/** | ||
* TODO: [π][β] Allow to list the aviable prompts in Langtail | ||
* TODO: [π][β] Allow to list the available prompts in Langtail | ||
*/ |
import type { Prompt } from '../../../../types/Prompt'; | ||
import type { CommonExecutionToolsOptions } from '../../../CommonExecutionToolsOptions'; | ||
import type { AviableModel, LlmExecutionTools } from '../../../LlmExecutionTools'; | ||
import type { AvailableModel, LlmExecutionTools } from '../../../LlmExecutionTools'; | ||
import type { PromptChatResult, PromptCompletionResult } from '../../../PromptResult'; | ||
@@ -22,3 +22,3 @@ /** | ||
*/ | ||
listModels(): Array<AviableModel>; | ||
listModels(): Array<AvailableModel>; | ||
} | ||
@@ -25,0 +25,0 @@ /** |
import type { Prompt } from '../../../../types/Prompt'; | ||
import type { CommonExecutionToolsOptions } from '../../../CommonExecutionToolsOptions'; | ||
import type { AviableModel, LlmExecutionTools } from '../../../LlmExecutionTools'; | ||
import type { AvailableModel, LlmExecutionTools } from '../../../LlmExecutionTools'; | ||
import type { PromptChatResult, PromptCompletionResult } from '../../../PromptResult'; | ||
@@ -20,5 +20,5 @@ /** | ||
/** | ||
* List all available fake-models that can be used | ||
*/ | ||
listModels(): Array<AviableModel>; | ||
* List all available fake-models that can be used | ||
*/ | ||
listModels(): Array<AvailableModel>; | ||
} |
import type { Promisable } from 'type-fest'; | ||
import type { Prompt } from '../../../../types/Prompt'; | ||
import type { AviableModel, LlmExecutionTools } from '../../../LlmExecutionTools'; | ||
import type { AvailableModel, LlmExecutionTools } from '../../../LlmExecutionTools'; | ||
import type { PromptChatResult, PromptCompletionResult } from '../../../PromptResult'; | ||
@@ -32,3 +32,3 @@ import type { OpenAiExecutionToolsOptions } from './OpenAiExecutionToolsOptions'; | ||
*/ | ||
listModels(): Promisable<Array<AviableModel>>; | ||
listModels(): Promisable<Array<AvailableModel>>; | ||
} | ||
@@ -35,0 +35,0 @@ /** |
import type { Prompt } from '../../../../types/Prompt'; | ||
import type { AviableModel, LlmExecutionTools } from '../../../LlmExecutionTools'; | ||
import type { AvailableModel, LlmExecutionTools } from '../../../LlmExecutionTools'; | ||
import type { PromptChatResult, PromptCompletionResult } from '../../../PromptResult'; | ||
@@ -35,3 +35,3 @@ import type { RemoteLlmExecutionToolsOptions } from './RemoteLlmExecutionToolsOptions'; | ||
*/ | ||
listModels(): Promise<Array<AviableModel>>; | ||
listModels(): Promise<Array<AvailableModel>>; | ||
} | ||
@@ -38,0 +38,0 @@ /** |
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
414336
6856