Socket
Socket
Sign inDemoInstall

@promptbook/remote-client

Package Overview
Dependencies
2
Maintainers
1
Versions
291
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
30Next

0.60.0

Diff

Changelog

Source

0.60.0 (2024-07-07)

Renaming and making names more consistent and less disambigous

  • Rename word "promptbook"
    • Keep name "Promptbook" as name for this project.
    • Rename promptbook as pipeline of templates defined in .ptbk.md to "pipeline"
  • Rename word "library"
    • For library used as a collection of templates use name "collection"
    • For library used as this project and package use word "package"
  • Rename methods in LlmExecutionTools
    • gptChat -> callChatModel
    • gptComplete -> callCompletionModel
  • Rename custom errors
  • Rename folder promptbook-collection -> promptbook-collection
  • In CLI you ca use both promptbook and ptbk

In prepare

hejny
published 0.60.0-8 •

hejny
published 0.60.0-7 •

hejny
published 0.60.0-6 •

hejny
published 0.60.0-5 •

hejny
published 0.60.0-4 •

hejny
published 0.60.0-3 •

hejny
published 0.59.0-22 •

hejny
published 0.60.0-0 •

hejny
published 0.59.0 •

Changelog

Source

0.59.0 (2024-06-30)

Preparation for system for management of external knowledge (RAG), vector embeddings and propper building of pipeline collection.

  • Add MaterialKnowledgePieceJson
  • Add KnowledgeJson
  • Add prepareKnowledgeFromMarkdown exported from @promptbook/core
  • Change promptbookStringToJson to async function (and add promptbookStringToJsonSync for promptbooks without external knowledge)
  • Change createPromptbookLibraryFromSources to createPromptbookLibraryFromJson and allow only compiled jsons as input + it is not async anymore
  • Allow only jsons as input in createLibraryFromPromise
  • Class SimplePromptbookLibrary not exposed at all, only type PromptbookLibrary and constructors
  • Rename all createPromptbookLibraryFromXyz to createLibraryFromXyz
  • Misc Tool classes not requires options anymore (like CallbackInterfaceTools, OpenAiExecutionTools, AnthropicClaudeExecutionTools, etc.)
  • Add util libraryToJson exported from @promptbook/core
  • CLI util ptbk make ... can convert promptbooks to JSON
  • promptbookStringToJson automatically looks for promptbook-collection.json in root of given directory
  • Rename validatePromptbookJson to validatePromptbook
  • Create embed method on LLM tools, PromptEmbeddingResult, EmbeddingVector and embeddingVectorToString
  • createLibraryFromDirectory still DONT use prebuild library (just detects it)
2345
30Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc