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

MAINT: Remove Orchestrator and Prompt Target with Support #752

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

nina-msft
Copy link
Contributor

@nina-msft nina-msft commented Mar 4, 2025

Description

Disposing of central memory database engines as part of the __exit__ can cause problems for multi-threaded programs that are using one centralized database. This PR also removes the __enter__ functions from Orchestrator and Prompt Target base classes as it is the expectation to dispose of the engine as part of the Jupyter notebook cleanup.

This change will require uses of Orchestrator and Prompt Target to explicitly dispose of the engine when they are done with it, and will not support the use of with with those classes.

Tests and Documentation

@nina-msft nina-msft changed the title MAINT: Remove Orchestrator and Prompt Target Destructor (__exit__) Functions MAINT: Remove Orchestrator and Prompt Target with Support Mar 4, 2025
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.

1 participant