Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@promptbook/anthropic-claude

Package Overview
Dependencies
Maintainers
1
Versions
281
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/anthropic-claude - npm Package Versions

1
28

0.60.0-6

Diff

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)
hejny
published 0.59.0-36 •

hejny
published 0.59.0-35 •

hejny
published 0.59.0-34 •

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc