Files
symfony-flex-recipes-contrib/php-llm.llm-chain-bundle.0.16.json
T
github-action[bot]andgithub-action[bot] 2bb804ac79 Update Flex endpoint
2025-03-17 15:27:56 +00:00

52 lines
2.0 KiB
JSON

{
"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"
}
}
}