Skip to main content
These docs will be deprecated and no longer maintained with the release of LangChain v1.0 in October 2025. Visit the v1.0 alpha docs

JigsawStack Prompt Engine

LangChain.js supports calling JigsawStack Prompt Engine LLMs.

Setup

  • Set up an account (Get started for free)
  • Create and retrieve your API key

Credentials

export JIGSAWSTACK_API_KEY="your-api-key"

Usage

  • npm
  • Yarn
  • pnpm
npm install @langchain/jigsawstack
import { JigsawStackPromptEngine } from "@langchain/jigsawstack";

export const run = async () => {
const model = new JigsawStackPromptEngine();
const res = await model.invoke(
"Tell me about the leaning tower of pisa?\nAnswer:"
);
console.log({ res });
};

Was this page helpful?


You can also leave detailed feedback on GitHub.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.