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: .env.example
+12
Original file line number
Diff line number
Diff line change
@@ -424,6 +424,9 @@ SPHERON_WALLET_ADDRESS=
424
424
# Stargaze NFT marketplace from Cosmos (You can use https://graphql.mainnet.stargaze-apis.com/graphql)
425
425
STARGAZE_ENDPOINT=
426
426
427
+
# API key for giphy from https://developers.giphy.com/dashboard/
428
+
GIPHY_API_KEY=
429
+
427
430
# GenLayer
428
431
GENLAYER_PRIVATE_KEY=# Private key of the GenLayer account to use for the agent in this format (0x0000000000000000000000000000000000000000000000000000000000000000)
429
432
@@ -433,3 +436,12 @@ OPEN_WEATHER_API_KEY= # OpenWeather API key
433
436
# Allora
434
437
ALLORA_API_KEY=# Allora API key, format: UP-f8db7d6558ab432ca0d92716
435
438
ALLORA_CHAIN_SLUG=# must be one of mainnet, testnet. If not specified, it will use testnet by default
A plugin for sending GIFs in response to user messages.
4
+
5
+
## Overview
6
+
7
+
The **Plugin Giphy** enhances your agent's interactions by enabling it to respond with relevant GIFs based on user inputs. Leveraging the [Giphy API](https://developers.giphy.com/), this plugin detects specific triggers in user messages and responds with appropriate GIFs to make conversations more engaging and expressive.
8
+
9
+
## Installation
10
+
11
+
```bash
12
+
pnpm add @elizaos/plugin-giphy
13
+
```
14
+
15
+
## Configuration
16
+
17
+
Set up your environment with the required Giphy API key:
18
+
19
+
| Variable Name | Description |
20
+
|--------------|-------------|
21
+
|`GIPHY_API_KEY`| Giphy API key for authenticating requests |
22
+
23
+
You need to obtain an API key by signing up at [Giphy Developers](https://developers.giphy.com/).
// const agent = new Agent({ plugins, ...otherConfig });
42
+
```
43
+
44
+
The plugin provides the `SEND_GIF` action, which automatically responds with a GIF based on the context of user messages. No additional setup is required beyond installing and configuring the plugin.
0 commit comments