Skip to content

Commit b7de256

Browse files
committed
[Store] Move class comment from Vectorizer to VectorizerInterface
1 parent d5ff4a7 commit b7de256

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

src/store/src/Document/Vectorizer.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
use Symfony\AI\Platform\Model;
1616
use Symfony\AI\Platform\PlatformInterface;
1717

18-
/**
19-
* The Vectorizer encapsulates the logic to convert a collection of TextDocuments into VectorDocuments. It checks for
20-
* the model's capabilities to handle batch processing or handles it with HttpClient's concurrency feature.
21-
*/
2218
final readonly class Vectorizer implements VectorizerInterface
2319
{
2420
public function __construct(
@@ -27,11 +23,6 @@ public function __construct(
2723
) {
2824
}
2925

30-
/**
31-
* @param TextDocument[] $documents
32-
*
33-
* @return VectorDocument[]
34-
*/
3526
public function vectorizeDocuments(array $documents): array
3627
{
3728
if ($this->model->supports(Capability::INPUT_MULTIPLE)) {

src/store/src/Document/VectorizerInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Symfony\AI\Store\Document;
1313

1414
/**
15-
* Interface for converting TextDocuments into VectorDocuments.
15+
* Interface for converting a collection of TextDocuments into VectorDocuments.
1616
*
1717
* @author Oskar Stark <[email protected]>
1818
*/

0 commit comments

Comments
 (0)