Examples and guides for using the OpenAI API
Msingh openai image fix (#1648)
Mandeep Singh23edfac9cd1d
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.ipynbindex 4f67eb84..6eaf0b75 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",- ""+ ""]},{@@ -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",- ""+ "\n",+ ""]},{@@ -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.pngsimilarity index 100%rename from examples/object_oriented_agentic_approach/resources/images/AgenticWorkflow.pngrename to images/oo_aa_image_1_code_interpreter_agents.pngdiff --git a/examples/object_oriented_agentic_approach/resources/diagrams/images/class_diagram_mermaid.png b/images/oo_aa_image_2_uml_diagram.pngsimilarity index 100%rename from examples/object_oriented_agentic_approach/resources/diagrams/images/class_diagram_mermaid.pngrename to images/oo_aa_image_2_uml_diagram.png