Shroominic commited on
Commit
3539336
·
1 Parent(s): 7bc6f43

add image example

Browse files
Files changed (2) hide show
  1. README.md +5 -1
  2. examples/bitcoin_chart.png +0 -0
README.md CHANGED
@@ -22,7 +22,7 @@ await session.astart()
22
 
23
  # generate a response based on user input
24
  output = await session.generate_response(
25
- f"Plot the bitcoin chart of 2023 YTD"
26
  )
27
  # show output image in default image viewer
28
  file = output.files[0]
@@ -35,6 +35,10 @@ print("AI: ", output.content)
35
  await session.stop()
36
 
37
  ```
 
 
 
 
38
 
39
  ## Production
40
 
 
22
 
23
  # generate a response based on user input
24
  output = await session.generate_response(
25
+ "Plot the bitcoin chart of 2023 YTD"
26
  )
27
  # show output image in default image viewer
28
  file = output.files[0]
 
35
  await session.stop()
36
 
37
  ```
38
+ ## Output
39
+
40
+ ![Bitcoin YTD](https://raw.githubusercontent.com/shroominic/codeinterpreterapi/main/examples/bitcoin_chart.png)
41
+
42
 
43
  ## Production
44
 
examples/bitcoin_chart.png ADDED