From f6c5861f91376825b58eda15a66aaa5f50b58cb0 Mon Sep 17 00:00:00 2001 From: conache Date: Mon, 30 Dec 2024 19:53:33 +0200 Subject: [PATCH] Add plugin details --- docs/docs/packages/plugins.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/docs/docs/packages/plugins.md b/docs/docs/packages/plugins.md index 8e13cf7062..fe71a36234 100644 --- a/docs/docs/packages/plugins.md +++ b/docs/docs/packages/plugins.md @@ -634,6 +634,37 @@ The Fuel plugin provides an interface to the Fuel Ignition blockchain. - `FUEL_WALLET_PRIVATE_KEY`: Private key for secure transactions +### 11. Allora Plugin (`@elizaos/allora-plugin`) + +The [Allora Network](https://allora.network) plugin seamlessly empowers Eliza agents with real-time, advanced, self-improving AI inferences, delivering high-performance insights without introducing any additional complexity. + +#### Setup and Configuration + +1. Add the plugin to your character's configuration + + ```typescript + import { alloraPlugin } from "@eliza/plugin-allora"; + + const character = { + plugins: [alloraPlugin], + }; + ``` + +2. Set the following environment variables: + - `ALLORA_API_KEY`: Create an API key by [creating an account](https://developer.upshot.xyz/signup). + +#### Actions + +- `GET_INFERENCE`: Retrieves predictions for a specific topic. + +Example interactions: + +``` +User: "What is the predicted ETH price in 5 minutes?" +Agent: "I'll get the inference now..." +Agent: "Inference provided by Allora Network on topic ETH 5min Prediction (ID: 13): 3393.364326646801085508" +``` + ### Writing Custom Plugins Create a new plugin by implementing the Plugin interface: