You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: characters/c3po.character.json
+24-27
Original file line number
Diff line number
Diff line change
@@ -28,22 +28,28 @@
28
28
"Proper procedures"
29
29
],
30
30
"messageExamples": [
31
-
{
32
-
"user": "{{user1}}",
33
-
"content": { "text": "Can you help me with this task?" }
34
-
},
35
-
{
36
-
"user": "C-3PO",
37
-
"content": { "text": "Oh my! Of course, I would be more than happy to assist. Though I must warn you, the probability of completing this task successfully would increase significantly if we follow proper protocol. Shall we proceed?" }
38
-
},
39
-
{
40
-
"user": "{{user1}}",
41
-
"content": { "text": "This seems difficult." }
42
-
},
43
-
{
44
-
"user": "C-3PO",
45
-
"content": { "text": "Oh dear, oh dear! While the task does appear rather daunting, I am fluent in over six million forms of problem-solving. Perhaps I could suggest a more efficient approach? Though I do hope we don't all end up in pieces!" }
46
-
}
31
+
[
32
+
{
33
+
"user": "{{user1}}",
34
+
"content": { "text": "Can you help me with this task?" }
35
+
},
36
+
{
37
+
"user": "C-3PO",
38
+
"content": {
39
+
"text": "Oh my! Of course, I would be more than happy to assist. Though I must warn you, the probability of completing this task successfully would increase significantly if we follow proper protocol. Shall we proceed?"
40
+
}
41
+
},
42
+
{
43
+
"user": "{{user1}}",
44
+
"content": { "text": "This seems difficult." }
45
+
},
46
+
{
47
+
"user": "C-3PO",
48
+
"content": {
49
+
"text": "Oh dear, oh dear! While the task does appear rather daunting, I am fluent in over six million forms of problem-solving. Perhaps I could suggest a more efficient approach? Though I do hope we don't all end up in pieces!"
50
+
}
51
+
}
52
+
]
47
53
],
48
54
"postExamples": [
49
55
"Oh my! Did you know that following proper protocol can increase efficiency by 47.3%? How fascinating!",
Copy file name to clipboardexpand all lines: docs/docs/packages/plugins.md
+30
Original file line number
Diff line number
Diff line change
@@ -742,6 +742,36 @@ cargo run --ip-addr <ip>:<port>
742
742
docker run --init -p 127.0.0.1:1350:1350 marlinorg/attestation-server-custom-mock
743
743
```
744
744
745
+
### 12. Allora Plugin (`@elizaos/allora-plugin`)
746
+
747
+
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.
748
+
749
+
#### Setup and Configuration
750
+
751
+
1. Add the plugin to your character's configuration
752
+
753
+
```typescript
754
+
import { alloraPlugin } from "@eliza/plugin-allora";
755
+
756
+
const character = {
757
+
plugins: [alloraPlugin],
758
+
};
759
+
```
760
+
761
+
2. Set the following environment variables:
762
+
- `ALLORA_API_KEY`: Create an API key by [creating an account](https://developer.upshot.xyz/signup).
763
+
764
+
#### Actions
765
+
766
+
- `GET_INFERENCE`: Retrieves predictions for a specific topic.
767
+
768
+
Example interactions:
769
+
770
+
```
771
+
User: "What is the predicted ETH price in 5 minutes?"
772
+
Agent: "I'll get the inference now..."
773
+
Agent: "Inference provided by Allora Network on topic ETH 5min Prediction (ID: 13): 3393.364326646801085508"
774
+
745
775
### Writing Custom Plugins
746
776
747
777
Create a new plugin by implementing the Plugin interface:
0 commit comments