I'm developing a web application in Copilot Studio where users select their expertise level, and I want the responses to be tailored accordingly. I need guidance on the best approach to implement this and clarification on the orchestrator's role, as well as how to use PowerFx and variables effectively.
- Implementation Approach for Tailored Responses:
Currently, I'm using a tool to generate responses in a specific format based on the user's expertise level. Is this a recommended pattern? Or should I have the tool return raw data and let the orchestrator handle formatting and tailoring the response to the expertise level?- What is the intended role of the orchestrator in Copilot Studio? Am I offloading too much responsibility to the tool by having it generate the exact response text based on the expertise level passed to it?
- Is there no definitive "right" approach, and is it context-dependent? In my case, is it acceptable for the tool to produce the final response text by incorporating the expertise level in its prompt?
- PowerFx and Variables in Instructions:
I'm also struggling with using PowerFx and variables within Copilot Studio instructions. For example, I expect System.Activity.Value to contain data (e.g., the user's expertiseLevel) at certain points in the process, but I'm encountering unexpected errors.- When is System.Activity.Value available, and can the orchestrator access variables like expertiseLevel?
- How should PowerFx and variables be properly used in instructions to avoid errors
Any insights or best practices for these topics would be greatly appreciated!
Thanks,
Wesley

Report
All responses (
Answers (