From 23edfac9cd1dd3e8703486c02f04dea8199503ba Mon Sep 17 00:00:00 2001 From: Mandeep Singh <168678187+msingh-openai@users.noreply.github.com> Date: Mon, 27 Jan 2025 13:39:59 -0800 Subject: [PATCH] Msingh openai image fix (#1648) --- ...ecure_code_interpreter_tool_for_LLM_agents.ipynb | 11 ++++++----- .../oo_aa_image_1_code_interpreter_agents.png | Bin .../oo_aa_image_2_uml_diagram.png | Bin 3 files changed, 6 insertions(+), 5 deletions(-) rename examples/object_oriented_agentic_approach/resources/images/AgenticWorkflow.png => images/oo_aa_image_1_code_interpreter_agents.png (100%) rename examples/object_oriented_agentic_approach/resources/diagrams/images/class_diagram_mermaid.png => images/oo_aa_image_2_uml_diagram.png (100%) diff --git a/examples/object_oriented_agentic_approach/Secure_code_interpreter_tool_for_LLM_agents.ipynb b/examples/object_oriented_agentic_approach/Secure_code_interpreter_tool_for_LLM_agents.ipynb index 4f67eb8..6eaf0b7 100644 --- a/examples/object_oriented_agentic_approach/Secure_code_interpreter_tool_for_LLM_agents.ipynb +++ b/examples/object_oriented_agentic_approach/Secure_code_interpreter_tool_for_LLM_agents.ipynb @@ -98,7 +98,7 @@ "\n", "The overall orchestration is shown below:\n", "\n", - "![Agentic Workflow Orchestration](./resources/images/AgenticWorkflow.png)" + "![](../../images/oo_aa_image_1_code_interpreter_agents.png)" ] }, { @@ -284,7 +284,8 @@ "source": [ "#### UML Class Diagram for Core Classes\n", "The following class diagram shows the relationship between the core classes. This UML (Unified Modeling Language) has been generated using [Mermaid](https://mermaid)\n", - "![Class Diagram](./resources/diagrams/images/class_diagram_mermaid.png)" + "\n", + "![](../../images/oo_aa_image_2_uml_diagram.png)" ] }, { @@ -471,9 +472,9 @@ "\n", "print(\"Setting up the agents... \")\n", "\n", - "# Instantiate the agents\n", + "# Instantiate the agents with the default constructor defined values\n", "\n", - "# Developer can accept the default prompt, model, logger, and language model interface or accept the default values from the constructor\n", + "# Developer override the default values - prompt, model, logger, and language model interface if needed\n", "\n", "file_ingestion_agent = FileAccessAgent()\n", "data_analysis_agent = PythonExecAgent()\n", @@ -482,7 +483,7 @@ "# Give a task to the file ingestion agent to read the file and provide the context to the data analysis agent \n", "file_ingestion_agent_output = file_ingestion_agent.task(prompt)\n", "\n", - "# add the file content as context to the data analysis agent \n", + "# Add the file content as context to the data analysis agent\n", "# The context is added to the agent's tool manager so that the tool manager can use the context to generate the code \n", "\n", "data_analysis_agent.add_context(prompt)\n", diff --git a/examples/object_oriented_agentic_approach/resources/images/AgenticWorkflow.png b/images/oo_aa_image_1_code_interpreter_agents.png similarity index 100% rename from examples/object_oriented_agentic_approach/resources/images/AgenticWorkflow.png rename to images/oo_aa_image_1_code_interpreter_agents.png diff --git a/examples/object_oriented_agentic_approach/resources/diagrams/images/class_diagram_mermaid.png b/images/oo_aa_image_2_uml_diagram.png similarity index 100% rename from examples/object_oriented_agentic_approach/resources/diagrams/images/class_diagram_mermaid.png rename to images/oo_aa_image_2_uml_diagram.png