hap.types.enginesΒΆ
HAP type definitions for Haive engines.
This module defines HAP protocol types for exposing Haive engine configurations and capabilities through the protocol.
ClassesΒΆ
Information about AugLLMConfig engine. |
|
Information about document processing engines. |
|
Describes a specific capability of an engine. |
|
Request to execute an engine. |
|
Result from engine execution. |
|
Information about a Haive engine exposed through HAP. |
|
Information about retriever engines. |
|
Information about tool engines. |
|
Information about vector store engines. |
Module ContentsΒΆ
- class hap.types.engines.AugLLMConfigInfo(/, **data: Any)ΒΆ
Bases:
EngineInfo
Information about AugLLMConfig engine.
- Parameters:
data (Any)
- engine_type: Literal['LLM'] = 'LLM'ΒΆ
- class hap.types.engines.DocumentEngineInfo(/, **data: Any)ΒΆ
Bases:
EngineInfo
Information about document processing engines.
- Parameters:
data (Any)
- engine_type: Literal['DOCUMENT'] = 'DOCUMENT'ΒΆ
- class hap.types.engines.EngineCapability(/, **data: Any)ΒΆ
Bases:
pydantic.BaseModel
Describes a specific capability of an engine.
- Parameters:
data (Any)
- class hap.types.engines.EngineExecutionRequest(/, **data: Any)ΒΆ
Bases:
pydantic.BaseModel
Request to execute an engine.
- Parameters:
data (Any)
- class hap.types.engines.EngineExecutionResult(/, **data: Any)ΒΆ
Bases:
pydantic.BaseModel
Result from engine execution.
- Parameters:
data (Any)
- status: Literal['success', 'error'] = NoneΒΆ
- class hap.types.engines.EngineInfo(/, **data: Any)ΒΆ
Bases:
haive.hap.types.BaseInfo
Information about a Haive engine exposed through HAP.
Engines are configuration/factory classes that create runtime objects. This captures their metadata and capabilities.
- Parameters:
data (Any)
- class hap.types.engines.RetrieverEngineInfo(/, **data: Any)ΒΆ
Bases:
EngineInfo
Information about retriever engines.
- Parameters:
data (Any)
- engine_type: Literal['RETRIEVER'] = 'RETRIEVER'ΒΆ
- class hap.types.engines.ToolEngineInfo(/, **data: Any)ΒΆ
Bases:
EngineInfo
Information about tool engines.
- Parameters:
data (Any)
- engine_type: Literal['TOOL'] = 'TOOL'ΒΆ
- class hap.types.engines.VectorStoreEngineInfo(/, **data: Any)ΒΆ
Bases:
EngineInfo
Information about vector store engines.
- Parameters:
data (Any)
- engine_type: Literal['VECTORSTORE'] = 'VECTORSTORE'ΒΆ