Comments (5)
There's a combination of things that may work for you - interested in your thoughts.
-
prompt flow inputs - you can control the inputs to the prompt flow using the inputs section - in theory you can put anything in there:
-
Activation Config - this stipulates when the node will run or if it is bypassed altogether:
Will these settings be sufficient to achieve your desired result?
from promptflow.
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.
@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.
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.
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)
- [Feature Request]: Using Managed Identity (RBAC) instead of basic key autentication for Connections HOT 6
- [BUG] Run environment variables not sent by pfazure to Azure ML HOT 4
- [BUG] Debugging does not work when specifying `additional_includes` HOT 1
- [BUG] Defaults aren't getting saved in the `flow.dag.yaml` in the Promptflow UI (AML Studio) HOT 1
- [BUG] async promptflow function cannot be executed asynchronously HOT 4
- Unable to create variant in Prompt Flow VSCode HOT 5
- [Feature Request] Allow custom handling of errors HOT 7
- [Contribution Request] Align promptflow traces and metrics with OpenLLMetry HOT 5
- [Feature Request] Add `status` field to the output of `runs.get_details` HOT 2
- [Feature Request]Support use several connections in one LLM node to allow bigger parallel count and faster batch run HOT 2
- [BUG] Cannot use load_flow in AzureML prompt flow HOT 1
- [BUG] DECENT DOCUMENTATIONS HOT 2
- Consider upgrading cryptography up to 42.0.5 HOT 1
- [Contribution Request] Remove text-davinci-003 model usage in example HOT 1
- [Feature Request] Track runs in self deployed MLFlow server HOT 1
- [BUG] [VSCode Extension] HOT 1
- [BUG] - promptflow executor raises KeyError in _update_operation_context HOT 3
- [BUG] [VSCode Extension] Open LLM Tool fails calling list_endpoint_names HOT 3
- Need http/https/socks proxy to requests openai API HOT 3
- [Feature Request] Support directly specifying the input data of a flow in Web UI for batch run instead of specifying it through an additional evaluate flow. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from promptflow.