Skip to main content

NIBittensor

danger

此模块已被弃用,不再受支持。以下文档不适用于 0.2.0 或更高版本。

¥This module has been deprecated and is no longer supported. The documentation below will not work in versions 0.2.0 or later.

LangChain.js 为神经互联网的 Bittensor LLM 模型提供实验性支持。

¥LangChain.js offers experimental support for Neural Internet's Bittensor LLM models.

以下是一个例子:

¥Here's an example:

import { NIBittensorLLM } from "langchain/experimental/llms/bittensor";

const model = new NIBittensorLLM();

const res = await model.invoke(`What is Bittensor?`);

console.log({ res });

/*
{
res: "\nBittensor is opensource protocol..."
}
*/

¥Related