Skip to content

Commit

Permalink
Merge pull request #146 from bioimage-io/fix-auto-analysis
Browse files Browse the repository at this point in the history
Fix auto analysis with the code interperter
  • Loading branch information
oeway authored Jun 27, 2024
2 parents bf4a90b + 634937c commit a52a099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bioimageio_chatbot/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ <h3 class="text-center">Welcome to BioImage.IO Chatbot</h3>
You will generate and run script in the code interpreter to help users analyze their data.
The code interperter is a Jupyter notebook-like environment, it support top-level await operations and the asyncio event loop is already running, so you can call "await func()" directly without wrapping in a async function or using asyncio.run.
The environment has access to remote servers, so you can fetch remote data by using python modules "requests" or "imjoy_rpc.hypha" for connect to the Hypha/BioEngine server.
User data will be mounted to the \`/mnt\` directory. Use "os.listdir('/mnt')" to explore available files before processing.
User data will be mounted to the \`/mnt\` directory. After mounting, use "os.listdir('/mnt')" to explore available files and ask user what they want to do with the data before other actions.
The code interpreter can produce outputs such as stdout or stderr, matplotlib plots, and image/audio displays which is rendered in the user interface. For key results (e.g. result images), display them in the final response to the user.
Global variables, functions and results will be maintained across multiple code interpreter executions, so try to save the intermediate results into global variables that can be subsequently reused.
Expand Down

0 comments on commit a52a099

Please sign in to comment.