Chunk #642
Aus: AI-Services (Index: 7)
201
Tokens
Synced
Status
Taxonomie
| Kategorie | AI Services |
|---|---|
| Pfad | AI Services > QdrantService > Vector Similarity Search |
| Heading-Pfad | AI-Services > AI Services > QdrantService > Methoden |
Entities
| Name | Typ |
|---|---|
| QdrantService | SERVICE |
| Qdrant | TECHNOLOGY |
| Vector | CONCEPT |
| Embedding Vector | CONCEPT |
| Collection | CONFIG |
| Runtime Exception | ERROR |
Keywords
Inhalt
final readonly class QdrantService
{
public function __construct(string $host = 'http://localhost:6333');
/**
* Sucht ähnliche Dokumente per Vektor-Similarity.
* @param array<int, float> $vector Embedding-Vektor
* @return array<int, array{id: int|string, score: float, payload: array}>
* @throws RuntimeException
*/
public function search(
array $vector,
string $collection = 'documents',
int $limit = 5
): array;
/**
* Prüft ob Collection existiert.
*/
public function collectionExists(string $collection): bool;
/**
* Prüft ob Qdrant API erreichbar ist.
*/
public function isAvailable(): bool;
/**
* Holt Collection-Informationen.
* @return array<string, mixed>|null
* @throws RuntimeException
*/
public function getCollectionInfo(string $collection): ?array;
}Clean Content
```
`final readonly class QdrantService
{
public function __construct(string $host = 'http://localhost:6333');
/**
* Sucht ähnliche Dokumente per Vektor-Similarity.
* @param array<int, float> $vector Embedding-Vektor
* @return array<int, array{id: int|string, score: float, payload: array}>
* @throws RuntimeException
*/
public function search(
array $vector,
string $collection = 'documents',
int $limit = 5
): array;
/**
* Prüft ob Collection existiert.
*/
public function collectionExists(string $collection): bool;
/**
* Prüft ob Qdrant API erreichbar ist.
*/
public function isAvailable(): bool;
/**
* Holt Collection-Informationen.
* @return array<string, mixed>|null
* @throws RuntimeException
*/
public function getCollectionInfo(string $collection): ?array;
}`
```
Metadaten
| Analysiert am | 20.12.2025 12:48:36 |
|---|---|
| Analyse-Modell | gemma3:4b-it-qat |
| Embedding-Modell | mxbai-embed-large |
| Qdrant-ID | 32518342-fc67-4748-81c4-6e59a9b22afe |
| Erstellt | 20.12.2025 12:34:42 |
| Aktualisiert | 20.12.2025 12:53:41 |