@@ -22,7 +22,11 @@ llm_chain:
22
22
name : ' GPT'
23
23
version : ' gpt-4o-mini'
24
24
tools :
25
- - ' PhpLlm\LlmChain\Chain\ToolBox\Tool\SimilaritySearch'
25
+ - ' PhpLlm\LlmChain\Chain\Toolbox\Tool\SimilaritySearch'
26
+ - service : ' clock'
27
+ name : ' clock'
28
+ description : ' Provides the current date and time.'
29
+ method : ' now'
26
30
youtube :
27
31
model :
28
32
name : ' GPT'
@@ -36,13 +40,18 @@ llm_chain:
36
40
temperature : 0.5
37
41
system_prompt : ' Please answer the users question based on Wikipedia and provide a link to the article.'
38
42
tools :
39
- - ' PhpLlm\LlmChain\Chain\ToolBox \Tool\Wikipedia'
43
+ - ' PhpLlm\LlmChain\Chain\Toolbox \Tool\Wikipedia'
40
44
audio :
41
45
model :
42
46
name : ' GPT'
43
47
version : ' gpt-4o-mini'
44
48
system_prompt : ' You are a friendly chatbot that likes to have a conversation with users and asks them some questions.'
45
- tools : false
49
+ tools :
50
+ # Chain in chain 🤯
51
+ - service : ' llm_chain.chain.blog'
52
+ name : ' symfony_blog'
53
+ description : ' Can answer questions based on the Symfony blog.'
54
+ is_chain : true
46
55
store :
47
56
chroma_db :
48
57
symfonycon :
@@ -63,10 +72,10 @@ services:
63
72
autowire : true
64
73
autoconfigure : true
65
74
66
- # PhpLlm\LlmChain\Chain\ToolBox \Tool\Clock: ~
67
- # PhpLlm\LlmChain\Chain\ToolBox \Tool\OpenMeteo: ~
68
- # PhpLlm\LlmChain\Chain\ToolBox \Tool\SerpApi:
75
+ # PhpLlm\LlmChain\Chain\Toolbox \Tool\Clock: ~
76
+ # PhpLlm\LlmChain\Chain\Toolbox \Tool\OpenMeteo: ~
77
+ # PhpLlm\LlmChain\Chain\Toolbox \Tool\SerpApi:
69
78
# $apiKey: '%env(SERP_API_KEY)%'
70
- PhpLlm\LlmChain\Chain\ToolBox \Tool\Wikipedia : ~
71
- PhpLlm\LlmChain\Chain\ToolBox \Tool\SimilaritySearch : ~
79
+ PhpLlm\LlmChain\Chain\Toolbox \Tool\Wikipedia : ~
80
+ PhpLlm\LlmChain\Chain\Toolbox \Tool\SimilaritySearch : ~
72
81
0 commit comments