File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,6 +51,18 @@ This course is perfect for:
5151- Anyone who wants to understand and use AI agents in practical ways
5252
5353Let's begin our journey into the fascinating world of AI agents!
54+ <iframe
55+ id = " codeExecutionFrame"
56+ src = " https://code-execution-server-praisonai.replit.app/?code=import%20openai%0A%0Aclient%20%3D%20openai.OpenAI()%0Aresult%20%3D%20client.chat.completions.create(%0A%20%20%20%20model%3D%22gpt-3.5-turbo%22%2C%0A%20%20%20%20messages%3D%5B%0A%20%20%20%20%20%20%20%20%7B%22role%22%3A%20%22user%22%2C%20%22content%22%3A%20%22Hello%20World%22%7D%0A%20%20%20%20%5D%0A)%0A%0Aprint(result.choices%5B0%5D.message.content)"
57+ width = " 100%"
58+ height = " 600px"
59+ frameborder = " 0"
60+ allow = " clipboard-read; clipboard-write"
61+ scrolling = " yes"
62+ onload = " resizeIframe(this)"
63+ ></iframe >
64+
65+ <IframeWithAutoHeight />
5466
5567<CardGroup cols = { 1 } >
5668 <Card title = " Ready to Start?" icon = " rocket" >
Original file line number Diff line number Diff line change @@ -270,6 +270,19 @@ agents.start()
270270 </Tab >
271271</Tabs >
272272
273+ ## Playground
274+
275+ <iframe
276+ id = " codeExecutionFrame"
277+ src = " https://code-execution-server-praisonai.replit.app/?code=import%20openai%0A%0Aclient%20%3D%20openai.OpenAI()%0Aresult%20%3D%20client.chat.completions.create(%0A%20%20%20%20model%3D%22gpt-3.5-turbo%22%2C%0A%20%20%20%20messages%3D%5B%0A%20%20%20%20%20%20%20%20%7B%22role%22%3A%20%22user%22%2C%20%22content%22%3A%20%22Hello%20World%22%7D%0A%20%20%20%20%5D%0A)%0A%0Aprint(result.choices%5B0%5D.message.content)"
278+ width = " 100%"
279+ height = " 600px"
280+ frameborder = " 0"
281+ allow = " clipboard-read; clipboard-write"
282+ scrolling = " yes"
283+ onload = " resizeIframe(this)"
284+ ></iframe >
285+
273286## AI Agents Flow
274287
275288``` mermaid
Original file line number Diff line number Diff line change @@ -312,6 +312,19 @@ agents.start()
312312 </Tab >
313313</Tabs >
314314
315+ ## Playground
316+
317+ <iframe
318+ id = " codeExecutionFrame"
319+ src = " https://code-execution-server-praisonai.replit.app/?code=import%20openai%0A%0Aclient%20%3D%20openai.OpenAI()%0Aresult%20%3D%20client.chat.completions.create(%0A%20%20%20%20model%3D%22gpt-3.5-turbo%22%2C%0A%20%20%20%20messages%3D%5B%0A%20%20%20%20%20%20%20%20%7B%22role%22%3A%20%22user%22%2C%20%22content%22%3A%20%22Hello%20World%22%7D%0A%20%20%20%20%5D%0A)%0A%0Aprint(result.choices%5B0%5D.message.content)"
320+ width = " 100%"
321+ height = " 600px"
322+ frameborder = " 0"
323+ allow = " clipboard-read; clipboard-write"
324+ scrolling = " yes"
325+ onload = " resizeIframe(this)"
326+ ></iframe >
327+
315328## Key Features
316329
317330<CardGroup cols = { 3 } >
Original file line number Diff line number Diff line change @@ -238,6 +238,19 @@ agents.start()
238238- For other LLM providers, see [ Models] ( /models )
239239</Note >
240240
241+ ## Playground
242+
243+ <iframe
244+ id = " codeExecutionFrame"
245+ src = " https://code-execution-server-praisonai.replit.app/?code=import%20openai%0A%0Aclient%20%3D%20openai.OpenAI()%0Aresult%20%3D%20client.chat.completions.create(%0A%20%20%20%20model%3D%22gpt-3.5-turbo%22%2C%0A%20%20%20%20messages%3D%5B%0A%20%20%20%20%20%20%20%20%7B%22role%22%3A%20%22user%22%2C%20%22content%22%3A%20%22Hello%20World%22%7D%0A%20%20%20%20%5D%0A)%0A%0Aprint(result.choices%5B0%5D.message.content)"
246+ width = " 100%"
247+ height = " 600px"
248+ frameborder = " 0"
249+ allow = " clipboard-read; clipboard-write"
250+ scrolling = " yes"
251+ onload = " resizeIframe(this)"
252+ ></iframe >
253+
241254# Advanced
242255
243256## Providing Detailed Tasks to Agents (Optional)
You can’t perform that action at this time.
0 commit comments