Skip to content

Commit

Permalink
Add plugin details
Browse files Browse the repository at this point in the history
  • Loading branch information
conache committed Dec 30, 2024
1 parent 3c972e9 commit f6c5861
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs/docs/packages/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f6c5861

Please sign in to comment.