mirror of
https://github.com/james-m-jordan/openai-cookbook.git
synced 2025-05-09 19:32:38 +00:00
Msingh openai image fix (#1648)
This commit is contained in:
parent
8da727af99
commit
23edfac9cd
@ -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",
|
||||
|
Before Width: | Height: | Size: 200 KiB After Width: | Height: | Size: 200 KiB |
Before Width: | Height: | Size: 409 KiB After Width: | Height: | Size: 409 KiB |
Loading…
x
Reference in New Issue
Block a user