Skip to main content

Documentation Index

Fetch the complete documentation index at: https://llm-tools.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

To use Anthropic’s Claude models, you will need to get an API Key from Anthropic. You can do this from their console. Once you obtain a key, set it in the environment variable, like so -
ANTHROPIC_API_KEY="<Your key>"

Install Anthtopic addon

npm install @llm-tools/embedjs-anthropic

Usage

import { RAGApplicationBuilder } from '@llm-tools/embedjs';
import { Anthropic } from '@llm-tools/embedjs-anthropic';

const app = await new RAGApplicationBuilder()
.setModel(new Anthropic({ modelName: "..." }))