Liang Zhang
Liang Zhang
Hi @Abonia1 @zinniz @jigsawmetric Would you mind specifying which Databricks Runtime version are you using? I tested with `DBR 12.2 LTS` and `DBR 13.0 ML` with `langchain==0.0.125` and `0.0.173`, and...
@WeichenXu123 Do you mean `typing-extensions>=4.2.0`? ``` %pip install langchain typing_extensions==4.1.0 ... pydantic 1.10.6 requires typing-extensions>=4.2.0, but you have typing-extensions 4.1.0 which is incompatible. ``` We are able to reproduce the...
Hi @Feya , would you mind checking if there is any error from the `%pip install langchain` command, and resolving the conflicting dependencies (typing-extensions)?
Having a similar error for `LLMBashChain`: Code: ```python from langchain.llms import OpenAI from langchain.chains import LLMBashChain llm_bash = LLMBashChain.from_llm(OpenAI()) llm_bash.save("/Users/liang.zhang/llm_bash.yaml") load_chain("/Users/liang.zhang/llm_bash.yaml") ``` Error: ``` --------------------------------------------------------------------------- ConstructorError Traceback (most recent call...
@hwchase17 I encountered this error when doing a quick check on which chains are supported with saving & loading: ```python llm = OpenAI(temperature=0) llm_math = LLMMathChain.from_llm(llm, verbose=True) llm_math.save("/Users/liang.zhang/math_chain.yaml") loaded_llm_math =...
@dev2049 Could you take a look at this failure (similar to #4977)? Thanks!
@hwchase17 Thanks for clarifying. Is there any documentation on this behavior? Also, it would be helpful if users can get more guidance in the error message and get an idea...
@dev2049 Yes, thank you for a quick fix!
@epec254 Thanks for the feedback. I added the suggested points. Let me know if anything you would like to add.
Hi @dev2049 , this is ready to merge. Thanks!