Chunk #638
Aus: AI-Services (Index: 3)
107
Tokens
Synced
Status
Taxonomie
| Kategorie | AI-Services |
|---|---|
| Pfad | AI-Services > AIConfig > Chat/Embedding |
| Heading-Pfad | AI-Services > AI Services > AIConfig > Verwendung |
Entities
| Name | Typ |
|---|---|
| AIConfig | CONFIG |
| ChatService | SERVICE |
| OllamaService | SERVICE |
| Embedding | CONCEPT |
| CredentialsFile | CONFIG |
Keywords
Inhalt
use Infrastructure\AI\AIConfig;
// Einfachster Weg: ChatService direkt nutzen
$config = AIConfig::fromCredentialsFile();
$chat = $config->createChatService();
$result = $chat->chat('Was ist systemisches Coaching?');
// Alternative: Einzelne Services für spezielle Aufgaben
$config = AIConfig::fromCredentialsFile();
$ollama = $config->createOllamaService();
$embedding = $ollama->getEmbedding('Text zum Einbetten');Clean Content
```
`use Infrastructure\AI\AIConfig;
// Einfachster Weg: ChatService direkt nutzen
$config = AIConfig::fromCredentialsFile();
$chat = $config->createChatService();
$result = $chat->chat('Was ist systemisches Coaching?');
// Alternative: Einzelne Services für spezielle Aufgaben
$config = AIConfig::fromCredentialsFile();
$ollama = $config->createOllamaService();
$embedding = $ollama->getEmbedding('Text zum Einbetten');`
```
Metadaten
| Analysiert am | 20.12.2025 12:48:24 |
|---|---|
| Analyse-Modell | gemma3:4b-it-qat |
| Embedding-Modell | mxbai-embed-large |
| Qdrant-ID | b3f7cd4b-6820-482f-9e71-4f9816d14999 |
| Erstellt | 20.12.2025 12:34:42 |
| Aktualisiert | 20.12.2025 12:53:41 |