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

Hierarchy (view full)

  • Toolkit
    • CloudflareWorkersAIEmbeddings

Constructors

Properties

ai: Ai
batchSize: number = 50
model: string = "@cf/baai/bge-base-en-v1.5"
modelName: string = "@cf/baai/bge-base-en-v1.5"
stripNewLines: boolean = true

Methods

""