Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agnext magentic one #15

Merged
merged 2 commits into from
Nov 18, 2024
Merged

Conversation

michalmar
Copy link
Contributor

This pull request introduces a new Streamlit application to run a MagenticOne workflow based on user-provided instructions. The application includes functionalities to input instructions, run the workflow, and display logs and final results.

Key changes:

New Streamlit Application:

  • Added Streamlit imports and initialized session state for instructions, running status, and final answer. (app-agnext.py)
  • Created a user interface with a text input for instructions and a button to run the workflow. (app-agnext.py)
  • Defined a function display_log_message to format and display log messages. (app-agnext.py)
  • Implemented an asynchronous main function to initialize MagenticOne, run the task, and stream logs. (app-agnext.py)
  • Integrated the workflow execution with Streamlit, displaying the final answer or an error message upon completion. (app-agnext.py)

@michalmar michalmar requested a review from yanivvak November 15, 2024 08:48
Copy link
Contributor

@yanivvak yanivvak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@yanivvak yanivvak merged commit 19d5ff6 into Azure-Samples:main Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants