最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

typescript - Cannot find module '@wxflowssdklangchain' or its corresponding type declarations - Stack Overflow

programmeradmin0浏览0评论

I am following Waston AI flowengine documents where one can create tools by exporting the database source. so you need to import this library.

import wxflows from "@wxflows/sdk/langchain";

client creation below

const toolClient = new wxflows({
  endpoint: process.env.WXFLOWS_ENDPOINT || "",
  apikey: process.env.WXFLOWS_APIKEY,
});

And I have installed the dependencies required for it but I am still getting this error "Cannot find module '@wxflows/sdk/langchain' or its corresponding type declarations."

Has anyone faced this issue and what is the resolution to it?

发布评论

评论列表(0)

  1. 暂无评论