We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60e51f4 commit 118a9fbCopy full SHA for 118a9fb
src/Integration/Laravel/PromptGeneratorServiceProvider.php
@@ -0,0 +1,20 @@
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
+}
0 commit comments