code header

This commit is contained in:
Lars committed 2025-12-15 15:40:39 +01:00
1 parent ec759dd1dc
commit 83bb18b6a7
42 files changed
+469 -615

No files matched your search

+6 -8
View File
@@ -1,12 +1,10 @@
"""
app/services/embeddings_client.py — Text→Embedding Service
Zweck:
Einheitlicher Client für Embeddings via Ollama (Nomic).
Stellt sicher, dass sowohl Async (Ingestion) als auch Sync (Retriever)
denselben Vektorraum (768 Dim) nutzen.
Version: 2.5.0 (Unified Ollama)
FILE: app/services/embeddings_client.py
DESCRIPTION: Unified Embedding Client. Nutzt Ollama API (HTTP). Ersetzt lokale sentence-transformers.
VERSION: 2.5.0
STATUS: Active
DEPENDENCIES: httpx, requests, app.config
LAST_ANALYSIS: 2025-12-15
"""
from __future__ import annotations
import os