Skip to main content

NIBittensor

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..."
}
*/

API Reference:


Help us out by providing feedback on this documentation page: