julee.domain.models.knowledge_service_config

Knowledge Service domain models for julee domain.

This module exports domain models for knowledge services in the Capture, Extract, Assemble, Publish workflow. Knowledge services represent external AI/ML services that can store documents and execute queries against them.

Submodules

Classes

KnowledgeServiceConfig

Knowledge service configuration that defines how to interact with

ServiceApi

Supported knowledge service APIs.

Package Contents

class julee.domain.models.knowledge_service_config.KnowledgeServiceConfig(/, **data)[source]

Bases: pydantic.BaseModel

Knowledge service configuration that defines how to interact with an external knowledge/AI service.

A KnowledgeServiceConfig represents a service endpoint that can store documents and execute queries against them. This could be an AI service, vector database, search engine, or any other service that can analyze documents and answer questions about them.

classmethod description_must_not_be_empty(v)[source]
classmethod knowledge_service_id_must_not_be_empty(v)[source]
classmethod name_must_not_be_empty(v)[source]
classmethod service_api_must_be_valid(v)[source]
created_at: datetime.datetime | None = None
description: str = None
knowledge_service_id: str = None
name: str = None
service_api: ServiceApi = None
updated_at: datetime.datetime | None = None
class julee.domain.models.knowledge_service_config.ServiceApi[source]

Bases: str, enum.Enum

Supported knowledge service APIs.

ANTHROPIC = 'anthropic'