@promptbook/fake-llm
Advanced tools
Changelog
0.67.0
(2024-08-21)
[🚉] Types and interfaces, JSON serialization
README.md
ExecutionReportJson
is fully serializable as JSONPrompt
is fully serializable as JSONstring_postprocessing_function_name
isSerializableAsJson
utility function, use it to protect inputs and check outputs and export from @promptbook/utils
serializeError
and deserializeError
utility functions and export from @promptbook/utils
ReferenceError
to PipelineUrlError
@promptbook/core
[🚉]
dangerouslyAllowBrowser
from createOpenAiExecutionTools
RemoteLlmExecutionTools
automatically retries on errorclient_id
-> string_user_id
and clientId
-> userId
Changelog
0.66.0
(2024-08-19)
[🎰] Model updates and registers
$
claude-3-5-sonnet-20240620
to AnthropicClaudeExecutionTools
AnthropicClaudeExecutionTools
@anthropic-ai/sdk
from 0.21.1
to 0.26.1
@azure/openai
from 1.0.0-beta.12
to 2.0.0-beta.1
openai
from 4.46.1
to 4.55.9
LlmExecutionToolsConstructor
$llmToolsConfigurationBoilerplatesRegister
$llmToolsRegister
Openai
->OpenAi