__init__.py
- Pfad:
/var/www/scripts/pipeline/semantic_chunk/__init__.py - Namespace: pipeline
- Zeilen: 34 | Größe: 876 Bytes
- Geändert: 2025-12-25 18:29:01 | Gescannt: 2025-12-31 10:22:15
Code Hygiene Score: 75
- Dependencies: 0 (25%)
- LOC: 100 (20%)
- Methods: 100 (20%)
- Secrets: 100 (15%)
- Classes: 100 (10%)
- Magic Numbers: 100 (10%)
Keine Issues gefunden.
Dependencies 15
- use analyzers.EntityExtractor
- use analyzers.RelationExtractor
- use analyzers.SemanticsAnalyzer
- use analyzers.TaxonomyClassifier
- use models.ChunkSemantics
- use models.Entity
- use models.Relation
- use ollama_service.ANALYSIS_MODEL
- use ollama_service.OllamaService
- use pipeline.SemanticChunkPipeline
- use repositories.BATCH_SIZE
- use repositories.ChunkRepository
- use repositories.EntityRepository
- use repositories.SemanticsRepository
- use repositories.TaxonomyRepository
Code
"""
Semantic Chunk Analyzer Package.
Analysiert Chunks für:
- Semantik (summary, keywords, sentiment, topics)
- Entitäten
- Relationen
- Taxonomie
"""
from .analyzers import EntityExtractor, RelationExtractor, SemanticsAnalyzer, TaxonomyClassifier
from .models import ChunkSemantics, Entity, Relation
from .ollama_service import ANALYSIS_MODEL, OllamaService
from .pipeline import SemanticChunkPipeline
from .repositories import BATCH_SIZE, ChunkRepository, EntityRepository, SemanticsRepository, TaxonomyRepository
__all__ = [
"ChunkSemantics",
"Entity",
"Relation",
"OllamaService",
"ANALYSIS_MODEL",
"SemanticsAnalyzer",
"EntityExtractor",
"RelationExtractor",
"TaxonomyClassifier",
"ChunkRepository",
"SemanticsRepository",
"EntityRepository",
"TaxonomyRepository",
"BATCH_SIZE",
"SemanticChunkPipeline",
]