mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 23:26:40 +03:00
52 lines
2.0 KiB
JSON
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"
|
|
}
|
|
}
|
|
}
|