Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Parameters to DataFrame #32

Open
kmaphoenix opened this issue Feb 9, 2022 · 7 comments
Open

[FR] Parameters to DataFrame #32

kmaphoenix opened this issue Feb 9, 2022 · 7 comments
Assignees
Labels
dataframes Issues or Features with Pandas Dataframes enhancement New feature or request fr Feature Request

Comments

@kmaphoenix
Copy link
Member

Is your proposal related to a problem?

As a user, it is difficult to know what Parameters are "active" across the CX Agent at any given time since CX Agents can have numerous Flows / Pages and it can be hard to track all of the various Parameters.

Describe the solution you'd like

Similar to bulk_intent_to_df we should include a method that allows the user to extract all Form Parameters, their associated Entity Types, and any Form Settings (i.e. redact in log, etc.) that may be available in a CX Agent at design-time.

@kmaphoenix kmaphoenix added enhancement New feature or request fr Feature Request dataframes Issues or Features with Pandas Dataframes labels Feb 9, 2022
@Greenford
Copy link
Collaborator

I have a nearly-ready solution for this. A few questions -

  1. Do we want location information like flow name, page name also? I assume we do, since the user would likely need to edit them.
  2. Do we want set_parameter_actions also? I think that'd be useful. For reference, here's the class & location in fulfillment

@Greenford
Copy link
Collaborator

Per our conversation today:

1 & 2: yes & yes
Form params: record 3 checkboxes like is_required too.

ALSO we want everywhere in the fulfillments that parameters are referenced.
find which fulfillment-referenced parameters are set by webhook (not set by set_parameter_actions or from a form)

@Greenford
Copy link
Collaborator

@SeanScripts you said you've worked on this a bit? May I see your code?

@Greenford
Copy link
Collaborator

Making a note for myself to include conditional routes in the parameter return

@kmaphoenix
Copy link
Member Author

Ping @Greenford and @SeanScripts !

Was there any progress on this one?

@Greenford
Copy link
Collaborator

I got it halfway completed maybe 3 weeks ago, but then realized it needed more types of data to fulfill the overall goal for this issue. Still planning to work on it!

@SeanScripts
Copy link
Collaborator

@skyyeat and I worked on a function in search util to get all the parameter presets in the agent as a dataframe. It's not quite the same as this issue, but it is closely related. The work is in branch feature/search_util_update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dataframes Issues or Features with Pandas Dataframes enhancement New feature or request fr Feature Request
Projects
None yet
Development

No branches or pull requests

3 participants