Skip to content

GPT4-turbo

PropertyPatternTypeDeprecatedDefinitionTitle/Description
- implementationNoconstNo-GPT4-turbo
- 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_unitNoCombinationNo--
- image_unitNoCombinationNo--
- 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: GPT4-turbo

Specific value: "GPT4-turbo"

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": "OpenAIGPT", "model": "gpt-4-turbo"}
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

Typecombining
RequiredNo
Additional properties[Any type: allowed]
Default"OpenAiSpeech"
Any of(Option)
overview.json
item 1

7.1. Property overview.json

TypeReference[AudioUnit]
RequiredNo
Defined inAudioUnit

Description: Overview of AudioUnit components

7.2. Property item 1

Typenull
RequiredNo

8. Property image_unit

Typecombining
RequiredNo
Additional properties[Any type: allowed]
Default"OpenAIImageUnit"

8.1. Property ImageUnit Reference

Title: ImageUnit Reference

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

8.1.1. Property implementation

Title: Implementation

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

8.2. Property item 1

Typenull
RequiredNo

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?.