@goat-sdk/plugin-opengradient
v0.1.1
Published
<div align="center"> <a href="https://github.com/goat-sdk/goat"> <img src="https://github.com/user-attachments/assets/5fc7f121-259c-492c-8bca-f15fe7eb830c" alt="GOAT" width="100px" height="auto" style="object-fit: contain;"> </a> </div>
Readme
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-opengradientUsage
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 OpenGradientopengradient_llm_completion- Generate text completions using LLMs through OpenGradientopengradient_llm_chat- Interact with LLMs using a chat interface through OpenGradient
