File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ namespace LLM \Agents \PromptGenerator \Integration \Laravel ;
6+
7+ use Illuminate \Support \ServiceProvider ;
8+ use LLM \Agents \LLM \AgentPromptGeneratorInterface ;
9+ use LLM \Agents \PromptGenerator \PromptGeneratorPipeline ;
10+ use LLM \Agents \PromptGenerator \PromptGeneratorPipelineInterface ;
11+
12+ final class PromptGeneratorServiceProvider extends ServiceProvider
13+ {
14+ public function register (): void
15+ {
16+ $ this ->app ->singleton (PromptGeneratorPipeline::class, PromptGeneratorPipeline::class);
17+ $ this ->app ->singleton (PromptGeneratorPipelineInterface::class, PromptGeneratorPipeline::class);
18+ $ this ->app ->singleton (AgentPromptGeneratorInterface::class, PromptGeneratorPipeline::class);
19+ }
20+ }
You can’t perform that action at this time.
0 commit comments