Skip to content

APU

PropertyPatternTypeDeprecatedDefinitionTitle/Description
- implementationNoconstNo-APU
- max_num_function_callsNointegerNo-Max Num Function Calls
- io_unitNoReference[IOUnit]NoIn IOUnit
This is the IO unit for the APU. It is responsible for converting the prompts from the User to the LLM

This can be overridden to provide custom IO handling.
- memory_unitNoReference[MemoryUnit]NoIn MemoryUnitOverview of MemoryUnit components
- llm_unitNoReference[LLMUnit]NoIn LLMUnitOverview of LLMUnit components
- logic_unitsNoarrayNo-Logic Units
- audio_unitNoReference[AudioUnit]NoIn AudioUnitOverview of AudioUnit components
- image_unitNoobjectNo-ImageUnit Reference
- record_conversationNobooleanNo-Record Conversation
- allow_tool_errorsNobooleanNo-Allow Tool Errors
- document_processorNoReference[DocumentProcessor]NoIn DocumentProcessorOverview of DocumentProcessor components
- retrieverNoReference[Retriever]NoIn RetrieverOverview of Retriever components
- retriever_apuNoReference[APU]NoIn APU
The APU is the main interface for the Agent to interact with the LLM.
The APU provides a set of capabilities that encapsulate LLM functionality and creates a clear separation between business logic and the underlying LLM implementation.

To learn more, check out our blog article APU: What is it and how does it work?.

1. Property implementation

Typeconst
RequiredNo

Description: APU

Specific value: "APU"

2. Property max_num_function_calls

Title: Max Num Function Calls

Typeinteger
RequiredNo
Default10

Description: The maximum number of function calls to make in a single request.

3. Property io_unit

TypeReference[IOUnit]
RequiredNo
Default{"implementation": "IOUnit"}
Defined inIOUnit

Description: This is the IO unit for the APU. It is responsible for converting the prompts from the User to the LLM

This can be overridden to provide custom IO handling.

4. Property memory_unit

TypeReference[MemoryUnit]
RequiredNo
Default{"implementation": "MemoryUnit"}
Defined inMemoryUnit

Description: Overview of MemoryUnit components

5. Property llm_unit

TypeReference[LLMUnit]
RequiredNo
Default{"implementation": "LLMUnit"}
Defined inLLMUnit

Description: Overview of LLMUnit components

6. Property logic_units

Title: Logic Units

Typearray
RequiredNo
Default[]
Array restrictions
Min itemsN/A
Max itemsN/A
Items unicityFalse
Additional itemsFalse
Tuple validationSee below
Each item of this array must beDescription
overview.jsonOverview of LogicUnit components

6.1. overview.json

TypeReference[LogicUnit]
RequiredNo
Defined inLogicUnit

Description: Overview of LogicUnit components

7. Property audio_unit

TypeReference[AudioUnit]
RequiredNo
Defaultnull
Defined inAudioUnit

Description: Overview of AudioUnit components

8. Property image_unit

Title: ImageUnit Reference

Typeobject
RequiredNo
Additional properties[Any type: allowed]
Defaultnull
PropertyPatternTypeDeprecatedDefinitionTitle/Description
- implementationNostringNo-Implementation
- NoobjectNo--

8.1. Property implementation

Title: Implementation

Typestring
RequiredNo
Default"eidolon_ai_sdk.apu.image_unit.ImageUnit"

9. Property record_conversation

Title: Record Conversation

Typeboolean
RequiredNo
Defaulttrue

10. Property allow_tool_errors

Title: Allow Tool Errors

Typeboolean
RequiredNo
Defaulttrue

11. Property document_processor

TypeReference[DocumentProcessor]
RequiredNo
Default{"implementation": "DocumentProcessor"}
Defined inDocumentProcessor

Description: Overview of DocumentProcessor components

12. Property retriever

TypeReference[Retriever]
RequiredNo
Default{"implementation": "Retriever"}
Defined inRetriever

Description: Overview of Retriever components

13. Property retriever_apu

TypeReference[APU]
RequiredNo
Defaultnull
Defined inAPU

Description: The APU is the main interface for the Agent to interact with the LLM. The APU provides a set of capabilities that encapsulate LLM functionality and creates a clear separation between business logic and the underlying LLM implementation.

To learn more, check out our blog article APU: What is it and how does it work?.