We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
php-llm/llm-chain-bundle
1 parent 719c292 commit 7958f69Copy full SHA for 7958f69
php-llm/llm-chain-bundle/0.19/config/packages/llm_chain.yaml
@@ -0,0 +1,23 @@
1
+# config/packages/llm_chain.yaml
2
+services:
3
+ _defaults:
4
+ autowire: true
5
+ autoconfigure: true
6
+
7
+ PhpLlm\LlmChain\Chain\Toolbox\Tool\Clock: null
8
9
+llm_chain:
10
+ platform:
11
+ openai:
12
+ api_key: '%env(OPENAI_API_KEY)%'
13
14
+ chain:
15
+ default:
16
+ platform: 'llm_chain.platform.openai'
17
+ model:
18
+ name: 'GPT'
19
+ version: 'gpt-4o-mini'
20
+ system_prompt: |
21
+ You are a helpful assistant and you can provide the current date and time.
22
+ tools:
23
+ - 'PhpLlm\LlmChain\Chain\Toolbox\Tool\Clock'
php-llm/llm-chain-bundle/0.19/manifest.json
@@ -0,0 +1,11 @@
+{
+ "bundles": {
+ "PhpLlm\\LlmChainBundle\\LlmChainBundle": ["all"]
+ },
+ "copy-from-recipe": {
+ "config/": "%CONFIG_DIR%/"
+ "env": {
+ "OPENAI_API_KEY": ""
+ }
+}
0 commit comments