Socket
Socket
Sign inDemoInstall

@promptbook/remote-client

Package Overview
Dependencies
Maintainers
1
Versions
417
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/remote-client - npm Package Compare versions

Comparing version 0.45.0 to 0.46.0-0

esm/typings/_packages/langtail.index.d.ts

3

esm/typings/_packages/core.index.d.ts
import { promptbookStringToJson } from '../conversion/promptbookStringToJson';
import { validatePromptbookJson } from '../conversion/validation/validatePromptbookJson';
import { createPromptbookExecutor } from '../execution/createPromptbookExecutor';
import { MockedEchoNaturalExecutionTools } from '../execution/plugins/natural-execution-tools/mocked/MockedEchoNaturalExecutionTools';
import { MockedFackedNaturalExecutionTools } from '../execution/plugins/natural-execution-tools/mocked/MockedFackedNaturalExecutionTools';
import { CallbackInterfaceTools } from '../execution/plugins/user-interface-execution-tools/callback/CallbackInterfaceTools';

@@ -19,4 +17,3 @@ import { CallbackInterfaceToolsOptions } from '../execution/plugins/user-interface-execution-tools/callback/CallbackInterfaceToolsOptions';

export { promptbookStringToJson, validatePromptbookJson };
export { MockedEchoNaturalExecutionTools, MockedFackedNaturalExecutionTools };
export { createPromptbookExecutor };
export { CallbackInterfaceTools, CallbackInterfaceToolsOptions };

@@ -13,4 +13,4 @@ import type { Expectations } from '../../../../types/PromptbookJson/PromptTemplateJson';

/**
* TODO: Implement better - create FakeLLM from this
* TODO: [๐Ÿš] Implement better - create FakeLLM from this
* TODO: [๐Ÿ’] Unite object for expecting amount and format - use here also a format
*/
{
"name": "@promptbook/remote-client",
"version": "0.45.0",
"version": "0.46.0-0",
"description": "Library to supercharge your use of large language models",

@@ -40,3 +40,3 @@ "private": false,

"peerDependencies": {
"@promptbook/core": "0.45.0"
"@promptbook/core": "0.46.0-0"
},

@@ -43,0 +43,0 @@ "main": "./umd/index.umd.js",

@@ -308,11 +308,22 @@ # ![Promptbook logo - cube with letters P and B](./other/design/logo-h1.png) Promptbook

This library is divided into several packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook):
This library is divided into several packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
You can install all of them at once:
```bash
npm i ptbk
```
Or you can install them separately:
<!--[๐Ÿ” ]-->
<!-- Add all new -->
- **[@promptbook/core](https://www.npmjs.com/package/@promptbook/core)** - Core of the library, it contains the main logic for promptbooks
- โญ **[@promptbook/utils](https://www.npmjs.com/package/@promptbook/utils)** - Utility functions used in the library but also useful for individual use in preprocessing and postprocessing LLM inputs and outputs
- โญ **[@promptbook/utils](https://www.npmjs.com/package/@promptbook/utils)** - Utility functions used in the library but also useful for individual use in preprocessing and postprocessing LLM inputs and outputs
- _(Not finished)_ **[@promptbook/wizzard](https://www.npmjs.com/package/@promptbook/wizzard)** - Wizard for creating+running promptbooks in single line
- **[@promptbook/execute-javascript](https://www.npmjs.com/package/@promptbook/execute-javascript)** - Execution tools for javascript inside promptbooks
- **[@promptbook/openai](https://www.npmjs.com/package/@promptbook/openai)** - Execution tools for OpenAI API, wrapper around OpenAI SDK
- **[@promptbook/langtail](https://www.npmjs.com/package/@promptbook/langtail)** - Execution tools for Langtail API, wrapper around Langtail SDK
- **[@promptbook/mock](https://www.npmjs.com/package/@promptbook/mock)** - Mocked execution tools for testing the library and saving the tokens
- **[@promptbook/remote-client](https://www.npmjs.com/package/@promptbook/remote-client)** - Remote client for remote execution of promptbooks

@@ -319,0 +330,0 @@ - **[@promptbook/remote-server](https://www.npmjs.com/package/@promptbook/remote-server)** - Remote server for remote execution of promptbooks

import { promptbookStringToJson } from '../conversion/promptbookStringToJson';
import { validatePromptbookJson } from '../conversion/validation/validatePromptbookJson';
import { createPromptbookExecutor } from '../execution/createPromptbookExecutor';
import { MockedEchoNaturalExecutionTools } from '../execution/plugins/natural-execution-tools/mocked/MockedEchoNaturalExecutionTools';
import { MockedFackedNaturalExecutionTools } from '../execution/plugins/natural-execution-tools/mocked/MockedFackedNaturalExecutionTools';
import { CallbackInterfaceTools } from '../execution/plugins/user-interface-execution-tools/callback/CallbackInterfaceTools';

@@ -19,4 +17,3 @@ import { CallbackInterfaceToolsOptions } from '../execution/plugins/user-interface-execution-tools/callback/CallbackInterfaceToolsOptions';

export { promptbookStringToJson, validatePromptbookJson };
export { MockedEchoNaturalExecutionTools, MockedFackedNaturalExecutionTools };
export { createPromptbookExecutor };
export { CallbackInterfaceTools, CallbackInterfaceToolsOptions };

@@ -13,4 +13,4 @@ import type { Expectations } from '../../../../types/PromptbookJson/PromptTemplateJson';

/**
* TODO: Implement better - create FakeLLM from this
* TODO: [๐Ÿš] Implement better - create FakeLLM from this
* TODO: [๐Ÿ’] Unite object for expecting amount and format - use here also a format
*/
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