0.1.1 • Published 7 months ago

@goat-sdk/plugin-opengradient v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

OpenGradient GOAT Plugin

This plugin integrates the OpenGradient service with the GOAT SDK, providing on-chain ML model inference and LLM interactions.

Installation

npm install @goat-sdk/plugin-opengradient
yarn add @goat-sdk/plugin-opengradient
pnpm add @goat-sdk/plugin-opengradient

Usage

import { opengradient } from "@goat-sdk/plugin-opengradient";

const tools = await getOnChainTools({
    wallet: viem(wallet),
    plugins: [
        opengradient(),
    ],
});

Tools

  • opengradient_model_inference - Run inference on machine learning models using OpenGradient
  • opengradient_llm_completion - Generate text completions using LLMs through OpenGradient
  • opengradient_llm_chat - Interact with LLMs using a chat interface through OpenGradient
0.1.1

7 months ago