Chunk #638

Aus: AI-Services (Index: 3)

107 Tokens
Synced Status
« Vorheriger (#2) Nächster (#4) »

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

AI Chat Embedding Ollama Configuration

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 am20.12.2025 12:48:24
Analyse-Modellgemma3:4b-it-qat
Embedding-Modellmxbai-embed-large
Qdrant-IDb3f7cd4b-6820-482f-9e71-4f9816d14999
Erstellt20.12.2025 12:34:42
Aktualisiert20.12.2025 12:53:41