Dify logo
Dify logo
Marketplace
plugin-tavan/faker-logo
faker
0.0.1

Quickly generate a set of mock data (name, address, email, credit card number, etc.).

tavan/faker745 installs

README: Faker (Dify Plugin)

📌 Overview

Faker is a Dify plugin that generates fake data using the Faker library. It supports multiple data formats, including text, JSON, and CSV, and allows users to specify data types and locales.


🚀 Features

  • 📜 Generate fake data for various types (e.g., names, addresses, phone numbers, emails, etc.).
  • 🌍 Supports multiple locales (default: en_US).
  • 🔄 Output formats: Text, JSON, and CSV.
  • 📦 Easily configurable via tool parameters.

🛠️ Usage

The plugin can be integrated with Dify and used with the following parameters:

ParameterTypeDefaultDescription
localestringen_USLocale for fake data generation (e.g., zh_CN, fr_FR).
typestringnameType of data to generate (name, address, phone_number, email, credit_card_number).
countint1Number of fake records to generate (max: 1000).

🔄 Supported Data Types

The following data types are currently supported:

  • name → Generates a random name.
  • address → Generates a random address.
  • phone_number → Generates a fake phone number.
  • email → Generates a fake email address.
  • credit_card_number → Generates a fake credit card number.

For an extensive list of available Faker methods, check the official Faker documentation.


🔥 Future Enhancements

  • ✅ Add more Faker data types (e.g., company names, job titles, etc.).
  • ✅ Allow users to define custom Faker methods.
  • ✅ Improve error handling and user input validation.

📝 License

This project is licensed under the MIT License.


CATEGORY
Tool
VERSION
0.0.1
tavan·2025-04-02 01:48:52
REQUIREMENTS
Tool invocation
Endpoint registration
Maximum memory
256MB
Maximum storage
1MB