|
98 | 98 | "\n", |
99 | 99 | "The overall orchestration is shown below:\n", |
100 | 100 | "\n", |
101 | | - "" |
| 101 | + "" |
102 | 102 | ] |
103 | 103 | }, |
104 | 104 | { |
|
284 | 284 | "source": [ |
285 | 285 | "#### UML Class Diagram for Core Classes\n", |
286 | 286 | "The following class diagram shows the relationship between the core classes. This UML (Unified Modeling Language) has been generated using [Mermaid](https://mermaid)\n", |
287 | | - "" |
| 287 | + "\n", |
| 288 | + "" |
288 | 289 | ] |
289 | 290 | }, |
290 | 291 | { |
|
471 | 472 | "\n", |
472 | 473 | "print(\"Setting up the agents... \")\n", |
473 | 474 | "\n", |
474 | | - "# Instantiate the agents\n", |
| 475 | + "# Instantiate the agents with the default constructor defined values\n", |
475 | 476 | "\n", |
476 | | - "# Developer can accept the default prompt, model, logger, and language model interface or accept the default values from the constructor\n", |
| 477 | + "# Developer override the default values - prompt, model, logger, and language model interface if needed\n", |
477 | 478 | "\n", |
478 | 479 | "file_ingestion_agent = FileAccessAgent()\n", |
479 | 480 | "data_analysis_agent = PythonExecAgent()\n", |
|
482 | 483 | "# Give a task to the file ingestion agent to read the file and provide the context to the data analysis agent \n", |
483 | 484 | "file_ingestion_agent_output = file_ingestion_agent.task(prompt)\n", |
484 | 485 | "\n", |
485 | | - "# add the file content as context to the data analysis agent \n", |
| 486 | + "# Add the file content as context to the data analysis agent\n", |
486 | 487 | "# The context is added to the agent's tool manager so that the tool manager can use the context to generate the code \n", |
487 | 488 | "\n", |
488 | 489 | "data_analysis_agent.add_context(prompt)\n", |
|
0 commit comments