Coder Social home page Coder Social logo

Comments (3)

dosubot avatar dosubot commented on June 14, 2024 2

To address the issue with the ModuleNotFoundError for guidance.llms and update the documentation accordingly, you'll need to make a few changes reflecting the latest package structure. The GuidancePydanticProgram class has been moved and is now accessible under llama_index.legacy.program.guidance_program. When updating the documentation, ensure it instructs users to import from this new location.

Additionally, the documentation should explain that GuidancePydanticProgram is designed for use with guidance LLMs, detailing how to instantiate the class with an output class of type BaseModel, a prompt template string, and an optional guidance LLM instance. It's also crucial to mention the requirement for the guidance package, guiding users to install it if they encounter an ImportError.

For contributing these updates, refer to the CONTRIBUTING.md file in the LlamaIndex repository. This involves forking the repository, making your changes in the fork, and then submitting a pull request with your updates.

For more detailed guidance, including example code and further instructions on contributing, you can check the documentation and contribution guidelines directly in the repository.

Details

Sources


About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

from llama_index.

dosubot avatar dosubot commented on June 14, 2024

Hey there, @ubervincent! 👋 I'm Dosu, a friendly bot here to lend a hand with bugs, answer your questions, and guide you on your way to becoming a contributor. I'm like the digital helper you never knew you needed while you wait for a human maintainer to swing by. I'll be diving into your issue about the guidance in the Pydantic Program doc and will get back to you with a solution shortly. Hang tight! 🤖🛠

from llama_index.

logan-markewich avatar logan-markewich commented on June 14, 2024

Likely the guidance package has updated.

Very open to contributions to update the notebook

from llama_index.

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.