Giter Site home page Giter Site logo

Comments (4)

dviviali avatar dviviali commented on July 23, 2024

Hi, Could you please check and make sure your Langchain version is 0.0.246?

Also, given the recent update of Langchain, we are modifying the code to use the latest version. Will release after code review.

from aiml-genai-multimodal-agent.

rizblie avatar rizblie commented on July 23, 2024

Yes it is 0.0.246. See below:

image

from aiml-genai-multimodal-agent.

rizblie avatar rizblie commented on July 23, 2024

After some trial and error, I found that the highest version of langchain that will work with anthropic version 0.2.10 is 0.0.224.

I am not sure why langchain==0.0.246 is used in the notebook as this does not work. It appears to get caught by this validation check in langchain/llms/anthropic.py:

check_package_version("anthropic", gte_version="0.3")

I am now progressing through the rest of the notebook with langchain==0.0.224 and so far so good. I will post a final report here when completed, and raise a PR if successful.

from aiml-genai-multimodal-agent.

rizblie avatar rizblie commented on July 23, 2024

Using langchain 0.0.224 I managed to execute all the notebook until the last step. Here I has mixed results - the agent managed to get half way through the task before ending with an error e.g.
TypeError: __main__.OptimizePortfolio._run() argument after ** must be a mapping, not list
I tried starting again with a clean history for a few times, and the agent was successful on the fourth attempt.

from aiml-genai-multimodal-agent.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.