Giter Club home page Giter Club logo

Comments (5)

sethjuarez avatar sethjuarez commented on May 11, 2024

There's a combination of things that may work for you - interested in your thoughts.

  1. prompt flow inputs - you can control the inputs to the prompt flow using the inputs section - in theory you can put anything in there:
    image

  2. Activation Config - this stipulates when the node will run or if it is bypassed altogether:
    image

Will these settings be sufficient to achieve your desired result?

from promptflow.

bepuca avatar bepuca commented on May 11, 2024

Just a question then: My understanding is that whatever I put in inputs is expected to be in every record I pass the flow (or use the default). This, would not work, for instance if I wanted to try different runs from the same DAG varying one parameter for the same dataset. I could do some shanenigans before passing the data to the flow but I think it is too much complexity.

What I would need then is some mechanism where I can override a parameter in the DAG when I trigger a flow. I am fine of using inputs with defaults, but then I would like to be able to overwrite that default at runtime without modifying the YAML. Would that be possible somehow?

from promptflow.

ttthree avatar ttthree commented on May 11, 2024

@bepuca please check this example:

We used a config as flow parameter, it has default value, it can be override when doing batch run (so you don't have to have the config in every line of input), it can be override when deploy endpoint/app (so you don't have to include it in your request)

Example for batch run:

from promptflow.

bepuca avatar bepuca commented on May 11, 2024

Hello @ttthree , thank you very much for your answer! I just saw it now. This actually looks like it will solve my needs, thank you very much!

from promptflow.

github-actions avatar github-actions commented on May 11, 2024

Hi, we're sending this friendly reminder because we haven't heard back from you in 30 days. We need more information about this issue to help address it. Please be sure to give us your input.

from promptflow.

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.