⚠️ Deprecated ⚠️

Install and import from "@langchain/cloudflare" instead.

This feature is deprecated and will be removed in the future.

It is not recommended for use.

Class representing the CloudflareWorkersAI language model. It extends the LLM (Large Language Model) class, providing a standard interface for interacting with the CloudflareWorkersAI language model.

Hierarchy

Implements

Constructors

Properties

baseUrl: string
model: string = "@cf/meta/llama-2-7b-chat-int8"
streaming: boolean = false
cloudflareAccountId?: string
cloudflareApiToken?: string

Accessors

Methods

Generated using TypeDoc