File tree 7 files changed +13
-13
lines changed
7 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
- namespace App \Chat ;
5
+ namespace App \Blog \ Chat ;
6
6
7
7
use PhpLlm \LlmChain \ChainInterface ;
8
8
use PhpLlm \LlmChain \Model \Message \Message ;
11
11
use Symfony \Component \DependencyInjection \Attribute \Autowire ;
12
12
use Symfony \Component \HttpFoundation \RequestStack ;
13
13
14
- final class Rag
14
+ final class Blog
15
15
{
16
16
private const SESSION_KEY = 'rag-chat ' ;
17
17
Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
- namespace App \Command ;
5
+ namespace App \Blog \ Command ;
6
6
7
7
use App \Blog \Embedder ;
8
8
use Symfony \Component \Console \Attribute \AsCommand ;
Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
- namespace App \Twig ;
5
+ namespace App \Blog \ Twig ;
6
6
7
- use App \Chat \Rag ;
7
+ use App \Blog \ Chat \Blog ;
8
8
use PhpLlm \LlmChain \Model \Message \MessageBag ;
9
9
use Symfony \UX \LiveComponent \Attribute \AsLiveComponent ;
10
10
use Symfony \UX \LiveComponent \Attribute \LiveAction ;
11
11
use Symfony \UX \LiveComponent \Attribute \LiveArg ;
12
12
use Symfony \UX \LiveComponent \DefaultActionTrait ;
13
13
14
14
#[AsLiveComponent('rag ' )]
15
- final class RagComponent
15
+ final class BlogComponent
16
16
{
17
17
use DefaultActionTrait;
18
18
19
19
public function __construct (
20
- private readonly Rag $ chat ,
20
+ private readonly Blog $ chat ,
21
21
) {
22
22
}
23
23
Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
- namespace App \Chat ;
5
+ namespace App \Wikipedia \ Chat ;
6
6
7
7
use PhpLlm \LlmChain \ChainInterface ;
8
8
use PhpLlm \LlmChain \Model \Message \Message ;
Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
- namespace App \Twig ;
5
+ namespace App \Wikipedia \ Twig ;
6
6
7
- use App \Chat \Wikipedia ;
7
+ use App \Wikipedia \ Chat \Wikipedia ;
8
8
use PhpLlm \LlmChain \Model \Message \MessageBag ;
9
9
use Symfony \UX \LiveComponent \Attribute \AsLiveComponent ;
10
10
use Symfony \UX \LiveComponent \Attribute \LiveAction ;
Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
- namespace App \Chat ;
5
+ namespace App \YouTube \ Chat ;
6
6
7
7
use App \YouTube \TranscriptFetcher ;
8
8
use PhpLlm \LlmChain \ChainInterface ;
Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
- namespace App \Twig ;
5
+ namespace App \YouTube \ Twig ;
6
6
7
- use App \Chat \YouTube ;
7
+ use App \YouTube \ Chat \YouTube ;
8
8
use PhpLlm \LlmChain \Model \Message \MessageBag ;
9
9
use Psr \Log \LoggerInterface ;
10
10
use Symfony \UX \LiveComponent \Attribute \AsLiveComponent ;
You can’t perform that action at this time.
0 commit comments