Skip to content

elizaos-plugins/plugin-giphy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plugin Giphy

A plugin for sending GIFs in response to user messages.

Overview

The Plugin Giphy enhances your agent's interactions by enabling it to respond with relevant GIFs based on user inputs. Leveraging the Giphy API, this plugin detects specific triggers in user messages and responds with appropriate GIFs to make conversations more engaging and expressive.

Installation

pnpm add @elizaos/plugin-giphy

Configuration

Set up your environment with the required Giphy API key:

Variable Name Description
GIPHY_API_KEY Giphy API key for authenticating requests

You need to obtain an API key by signing up at Giphy Developers.

Usage

import { giphyPlugin } from "@elizaos/plugin-giphy";

// Initialize the plugin
const plugin = giphyPlugin;

// Add the plugin to your agent's plugin list
const plugins = [
  giphyPlugin,
  // ... other plugins
];

// Initialize your agent with the plugins
// Example:
// const agent = new Agent({ plugins, ...otherConfig });

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.

License

MIT

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •