Skip to main content

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 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.