materio_ai: Ollama embedding client with timeout, num_thread and dimension check (V2)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
This commit is contained in:
2026-11-16 19:46:22 +01:00
co-authored by Claude Opus 5.5
parent 890c80eb12
commit 45f21b2e49
4 changed files with 175 additions and 0 deletions
@@ -2,3 +2,8 @@ services:
logger.channel.materio_ai:
parent: logger.channel_base
arguments: ['materio_ai']
materio_ai.embedding_client:
class: Drupal\materio_ai\Embedding\OllamaEmbeddingClient
arguments: ['@http_client', '@config.factory']
Drupal\materio_ai\Embedding\EmbeddingClientInterface: '@materio_ai.embedding_client'