julee.services.knowledge_service.anthropic ========================================== .. py:module:: julee.services.knowledge_service.anthropic .. autoapi-nested-parse:: Anthropic service implementations for julee domain. This module exports Anthropic-specific implementations of service protocols for the Capture, Extract, Assemble, Publish workflow. Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/julee/services/knowledge_service/anthropic/knowledge_service/index Classes ------- .. autoapisummary:: julee.services.knowledge_service.anthropic.AnthropicKnowledgeService Package Contents ---------------- .. py:class:: AnthropicKnowledgeService Bases: :py:obj:`julee.services.knowledge_service.knowledge_service.KnowledgeService` Anthropic implementation of the KnowledgeService protocol. This class handles interactions with Anthropic's API for document registration and query execution. It implements the KnowledgeService protocol with Anthropic-specific logic. .. py:method:: execute_query(config, query_text, service_file_ids = None, query_metadata = None, assistant_prompt = None) :async: Execute a query against Anthropic. :param config: KnowledgeServiceConfig for this operation :param query_text: The query to execute :param service_file_ids: Optional list of Anthropic file IDs to provide as context for the query :param query_metadata: Optional Anthropic-specific configuration such as model, temperature, max_tokens, etc. :param assistant_prompt: Optional assistant message content to constrain or prime the model's response :returns: QueryResult with Anthropic query results .. py:method:: register_file(config, document) :async: Register a document file with Anthropic. :param config: KnowledgeServiceConfig for this operation :param document: Document domain object to register :returns: FileRegistrationResult with Anthropic-specific details