forked from langchain-ai/langchain
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove LLM Bash and related bash utilities (langchain-ai#11619)
Deprecate LLMBash and related bash utilities
- Loading branch information
Showing
12 changed files
with
63 additions
and
619 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,12 @@ | ||
"""Chain that interprets a prompt and executes bash code to perform bash operations.""" | ||
def raise_on_import() -> None: | ||
"""Raise an error on import since is deprecated.""" | ||
raise ImportError( | ||
"This module has been moved to langchain-experimental. " | ||
"For more details: https://github.com/langchain-ai/langchain/discussions/11352." | ||
"To access this code, install it with `pip install langchain-experimental`." | ||
"`from langchain_experimental.llm_bash.base " | ||
"import LLMBashChain`" | ||
) | ||
|
||
|
||
raise_on_import() |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.