Giter VIP home page Giter VIP logo

Comments (4)

emekaokoli19 avatar emekaokoli19 commented on July 21, 2024

Hi @ShreyaR, I want to tackle this issue if available and I have some questions about the implementation like why a list of callbacks and the input arguments for before_prepare, after_prepare, etc

from guardrails.

ShreyaR avatar ShreyaR commented on July 21, 2024

@emekaokoli19 thanks for taking a look!

Feel free to post the specific questions you have. Some early thoughts:

List of callbacks:

  • Each callback may execute a specific task, e.g. one callback may track tokens, while the other logs outputs.

Arguments:

  • Good question. Early thoughts -- this would depend on the function. E.g., the arguments of the before_prepare and after_prepare methods would be determined by the arguments and the return values of the prepare method. For the prepare method, this would be instructions, prompt, prompt_params, input_schema, prepared_prompt and prepared_instructions. Let me know if this makes sense!

from guardrails.

Aman123lug avatar Aman123lug commented on July 21, 2024

Still, is anyone working on this?
if not I want to work on this

from guardrails.

smohiuddin avatar smohiuddin commented on July 21, 2024

Will tackle this issue as part of #536. Resolving.

from guardrails.

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.