File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change 15
15
use Symfony \AI \Platform \Model ;
16
16
use Symfony \AI \Platform \PlatformInterface ;
17
17
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
- */
22
18
final readonly class Vectorizer implements VectorizerInterface
23
19
{
24
20
public function __construct (
@@ -27,11 +23,6 @@ public function __construct(
27
23
) {
28
24
}
29
25
30
- /**
31
- * @param TextDocument[] $documents
32
- *
33
- * @return VectorDocument[]
34
- */
35
26
public function vectorizeDocuments (array $ documents ): array
36
27
{
37
28
if ($ this ->model ->supports (Capability::INPUT_MULTIPLE )) {
Original file line number Diff line number Diff line change 12
12
namespace Symfony \AI \Store \Document ;
13
13
14
14
/**
15
- * Interface for converting TextDocuments into VectorDocuments.
15
+ * Interface for converting a collection of TextDocuments into VectorDocuments.
16
16
*
17
17
* @author Oskar Stark <[email protected] >
18
18
*/
You can’t perform that action at this time.
0 commit comments