Customersatisfaction¶
flowtask.components.CustomerSatisfaction
¶
CustomerSatisfaction
¶
Bases: ParrotBot, FlowComponent
CustomerSatisfaction
Overview
The CustomerSatisfaction class is a component for interacting with an IA Agent for making Customer Satisfaction Analysis.
It extends the FlowComponent class.
.. table:: Properties :widths: auto
+------------------+----------+--------------------------------------------------------------------------------------------------+
| Name | Required | Description |
+------------------+----------+--------------------------------------------------------------------------------------------------+
| output_column | Yes | Column for saving the Customer Satisfaction information. |
+------------------+----------+--------------------------------------------------------------------------------------------------+
Return
A Pandas Dataframe with the Customer Satisfaction statistics.
Example:
CustomerSatisfaction:
llm:
name: VertexLLM
model_name: gemini-1.5-pro
temperature: 0.4
review_column: review
product_column: product_name
columns:
- product_id
- product_name
- product_model
- product_type
- product_variant
- account_name
- picture_url
- url
output_column: customer_satisfaction