Skip to content

Slim PHP wrapper for Daniel Miessler's fabric pattern

License

Notifications You must be signed in to change notification settings

php-llm/fabric-pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fabric Pattern

Slim PHP wrapper for Daniel Miessler's fabric pattern library.

Installation

Use Composer to install the package:

composer require php-llm/fabric-pattern

On top to the PHP wrapper library this also downloads the Python repository into vendor/danielmiessler/fabric.

Usage

use PhpLlm\FabricPattern\Pattern;

// Return markdown of pattern's system prompt
$pattern = (new Pattern)->load('extract_wisdom');

You can find the list of available patterns directly in fabric's repository.

About

Slim PHP wrapper for Daniel Miessler's fabric pattern

Topics

Resources

License

Stars

Watchers

Forks

Languages