GithubHelp home page GithubHelp logo

Comments (3)

benman1 avatar benman1 commented on July 3, 2024

Hey @raniat123! First of all - I am delighted you like the book. About this issue - I am a bit confused why you closed this. Have you found the solution? If yes, do you mind sharing it here?

from generative_ai_with_langchain.

raniat123 avatar raniat123 commented on July 3, 2024

from generative_ai_with_langchain.

benman1 avatar benman1 commented on July 3, 2024

Hi @raniat123
I think we've already talked about this on the discord server. The link looks very relevant, however, that doesn't seem to be the problem, as I can run the code without any issue. Let me take the discussion here, since this will be available for more people:

This could be a problem with the pydantic version that you have installed. Could you please check that it's version 1.10.13?

When I've just rerun the code, I've come across one issue as well, but unrelated - I had an issue with the LLM output. But after changing the llm like this:

llm = ChatOpenAI(model_name="gpt-3.5-turbo")

I got it to work. I've changed this in the information extraction module.

from generative_ai_with_langchain.

Related Issues (20)

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.