diff --git a/RECIPES.md b/RECIPES.md index 8b2130ef..5a56dd33 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -457,6 +457,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [pentatrion/vite-bundle](https://packagist.org/packages/pentatrion/vite-bundle) | [6.5](pentatrion/vite-bundle/6.5) | | [php-amqplib/rabbitmq-bundle](https://packagist.org/packages/php-amqplib/rabbitmq-bundle) | [1.12](php-amqplib/rabbitmq-bundle/1.12) | | [php-http/httplug-bundle](https://packagist.org/packages/php-http/httplug-bundle) | [1.6](php-http/httplug-bundle/1.6) | +| [php-llm/llm-chain-bundle](https://packagist.org/packages/php-llm/llm-chain-bundle) | [0.16](php-llm/llm-chain-bundle/0.16) | | [php-translation/loco-adapter](https://packagist.org/packages/php-translation/loco-adapter) | [0.8](php-translation/loco-adapter/0.8) | | [php-translation/symfony-bundle](https://packagist.org/packages/php-translation/symfony-bundle) | [0.10](php-translation/symfony-bundle/0.10) | | [phpfastcache/phpfastcache-bundle](https://packagist.org/packages/phpfastcache/phpfastcache-bundle) | [3.0](phpfastcache/phpfastcache-bundle/3.0) | diff --git a/archived/php-llm.llm-chain-bundle/9cc23d12a6e131cde98e1cfd33a6f2a9048bee1d.json b/archived/php-llm.llm-chain-bundle/9cc23d12a6e131cde98e1cfd33a6f2a9048bee1d.json new file mode 100644 index 00000000..7b5fac7f --- /dev/null +++ b/archived/php-llm.llm-chain-bundle/9cc23d12a6e131cde98e1cfd33a6f2a9048bee1d.json @@ -0,0 +1,51 @@ +{ + "manifests": { + "php-llm/llm-chain-bundle": { + "manifest": { + "bundles": { + "PhpLlm\\LlmChainBundle\\LlmChainBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "OPENAI_API_KEY": "" + } + }, + "files": { + "config/packages/llm_chain.yaml": { + "contents": [ + "# config/packages/llm_chain.yaml", + "services:", + " _defaults:", + " autowire: true", + " autoconfigure: true", + "", + " PhpLlm\\LlmChain\\Chain\\ToolBox\\Tool\\Clock: null", + "", + "llm_chain:", + " platform:", + " openai:", + " api_key: '%env(OPENAI_API_KEY)%'", + "", + " chain:", + " default:", + " platform: 'llm_chain.platform.openai'", + " model:", + " name: 'GPT'", + " version: 'gpt-4o-mini'", + " system_prompt: |", + " You are a helpful assistant and you can provide the current date and time.", + " tools:", + " - 'PhpLlm\\LlmChain\\Chain\\ToolBox\\Tool\\Clock'", + "" + ], + "executable": false + } + }, + "ref": "9cc23d12a6e131cde98e1cfd33a6f2a9048bee1d" + } + } +} diff --git a/index.json b/index.json index 48552eb8..d51a6523 100644 --- a/index.json +++ b/index.json @@ -1456,6 +1456,9 @@ "php-http/httplug-bundle": [ "1.6" ], + "php-llm/llm-chain-bundle": [ + "0.16" + ], "php-translation/loco-adapter": [ "0.8" ], diff --git a/php-llm.llm-chain-bundle.0.16.json b/php-llm.llm-chain-bundle.0.16.json new file mode 100644 index 00000000..7b5fac7f --- /dev/null +++ b/php-llm.llm-chain-bundle.0.16.json @@ -0,0 +1,51 @@ +{ + "manifests": { + "php-llm/llm-chain-bundle": { + "manifest": { + "bundles": { + "PhpLlm\\LlmChainBundle\\LlmChainBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "OPENAI_API_KEY": "" + } + }, + "files": { + "config/packages/llm_chain.yaml": { + "contents": [ + "# config/packages/llm_chain.yaml", + "services:", + " _defaults:", + " autowire: true", + " autoconfigure: true", + "", + " PhpLlm\\LlmChain\\Chain\\ToolBox\\Tool\\Clock: null", + "", + "llm_chain:", + " platform:", + " openai:", + " api_key: '%env(OPENAI_API_KEY)%'", + "", + " chain:", + " default:", + " platform: 'llm_chain.platform.openai'", + " model:", + " name: 'GPT'", + " version: 'gpt-4o-mini'", + " system_prompt: |", + " You are a helpful assistant and you can provide the current date and time.", + " tools:", + " - 'PhpLlm\\LlmChain\\Chain\\ToolBox\\Tool\\Clock'", + "" + ], + "executable": false + } + }, + "ref": "9cc23d12a6e131cde98e1cfd33a6f2a9048bee1d" + } + } +}