- Modernized authentication with the introduction of TenantProject
- Created a base mail template - Adapt and improve document API to usage of catalogs and processors - Adapt eveai_sync to new authentication mechanism and usage of catalogs and processors
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
from typing import Dict, Type, Optional
|
||||
from flask import current_app
|
||||
from config.processor_types import PROCESSOR_TYPES
|
||||
from typing import Dict, Type
|
||||
from config.type_defs.processor_types import PROCESSOR_TYPES
|
||||
from .base_processor import BaseProcessor
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import io
|
||||
import os
|
||||
from datetime import datetime as dt, timezone as tz
|
||||
|
||||
from celery import states
|
||||
@@ -13,7 +11,7 @@ from langchain_core.runnables import RunnablePassthrough
|
||||
from sqlalchemy import or_
|
||||
from sqlalchemy.exc import SQLAlchemyError
|
||||
|
||||
from common.extensions import db, minio_client, template_manager
|
||||
from common.extensions import db, minio_client
|
||||
from common.models.document import DocumentVersion, Embedding, Document, Processor, Catalog
|
||||
from common.models.user import Tenant
|
||||
from common.utils.celery_utils import current_celery
|
||||
@@ -22,7 +20,7 @@ from common.utils.model_utils import create_language_template, get_model_variabl
|
||||
|
||||
from common.utils.business_event import BusinessEvent
|
||||
from common.utils.business_event_context import current_event
|
||||
from config.processor_types import PROCESSOR_TYPES
|
||||
from config.type_defs.processor_types import PROCESSOR_TYPES
|
||||
from eveai_workers.processors.processor_registry import ProcessorRegistry
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user