Initialization
Parameters
TheTextPromptAgent
is initialized with two arguments:
A string that represents the prompt used to guide the modelβs analysis of the text.
The selected model. All supported
LLM
models can be found below:Example
This simple example demonstrates how theTextPromptAgent
can be used in customer support to enhance interactions by prompting for additional information.
example.py