Added base agent

This commit is contained in:
2024-11-01 16:27:56 +01:00
parent a95c9676b4
commit f48b87f037
8 changed files with 322 additions and 62 deletions

View File

@@ -288,14 +288,18 @@ classDiagram
class BaseAgent {
<<abstract>>
#working_memory: WorkingMemory
#metrics: SystemMetrics
#llm: LLMEngine
#parser: ResponseParser
#validator: XMLValidator
#io_buffer: IOBuffer
-working_memory: WorkingMemory
-metrics: SystemMetrics
-llm: LLMEngine
-parser: ResponseParser
-validator: XMLValidator
-io_buffer: IOBuffer
-system_prompt: str
-action_schema: str
#compile_context() str
#_compile_context() str
#_process_llm_response(response str) Optional~Command~
#_update() void
}
class WorkingMemory {
@@ -386,14 +390,18 @@ stateDiagram-v2
classDiagram
class BaseAgent {
<<abstract>>
#working_memory: WorkingMemory
#metrics: SystemMetrics
#llm: LLMEngine
#parser: ResponseParser
#validator: XMLValidator
#io_buffer: IOBuffer
-working_memory: WorkingMemory
-metrics: SystemMetrics
-llm: LLMEngine
-parser: ResponseParser
-validator: XMLValidator
-io_buffer: IOBuffer
-system_prompt: str
-action_schema: str
#compile_context() str
#_compile_context() str
#_process_llm_response(response str) Optional~Command~
#_update() void
}
class StandardAgent {